/* public/games/football-squares/CSS/style.css */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&display=swap');

body {
    /* Fallback */
    background-color: #111827;
    /* CSS Gradient: Dark moody spotlight effect */
    background: radial-gradient(circle at 50% 0%, #374151 0%, #111827 60%, #000000 100%);
    background-attachment: fixed;
    
    color: #f3f4f6;
    font-family: 'JetBrains Mono', monospace;
    min-height: 100vh;
}

/* Landing Page Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Enforce Hidden State */
.hidden {
    display: none !important;
}

/* Hide number input arrows (Spinners) - Enforced Aggressively */
input[type="number"]::-webkit-inner-spin-button, 
input[type="number"]::-webkit-outer-spin-button { 
  -webkit-appearance: none !important; 
  margin: 0 !important; 
  display: none !important; /* Force hide */
}

input[type="number"] {
  -moz-appearance: textfield !important; /* Firefox */
  appearance: textfield !important; /* Standard */
}

.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: #1f2937; 
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #4b5563; 
    border-radius: 3px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #6b7280; 
}

/* Grid Cell Styling */
.grid-cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    cursor: default;
    transition: all 0.1s;
    user-select: none;
    overflow: hidden;
    text-align: center;
    line-height: 1.1;
    padding: 2px;
}

.grid-cell.header {
    background-color: #1f2937; /* Gray 800 */
    color: #9ca3af;
    font-size: 1rem;
}

.grid-cell.corner {
    background-color: #111827; /* Gray 900 */
    border: none;
}

.grid-cell.square {
    background-color: #374151; /* Gray 700 */
    color: #d1d5db;
}

.grid-cell.square:hover {
    background-color: #4b5563;
}

.grid-cell.taken {
    background-color: #064e3b; /* Emerald 900 */
    color: #34d399; /* Emerald 400 */
    border-color: #065f46;
}

.grid-cell.mine {
    background-color: #312e81; /* Indigo 900 */
    color: #818cf8; /* Indigo 400 */
    border-color: #3730a3;
}

.grid-cell.selectable {
    cursor: pointer;
}
.grid-cell.selectable:hover {
    background-color: #4b5563;
    box-shadow: inset 0 0 10px rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
    .grid-cell { font-size: 0.6rem; }
    .grid-cell.header { font-size: 0.8rem; }
}