/* =========================================
   HOME.CSS - Homepage-specific styles
   ========================================= */

body {
    background: var(--bg-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
}

.container {
    text-align: center;
    max-width: 50rem;
    /* 800px / 16 */
}

/* Category Label */
.category-label {
    display: block;
    font-family: var(--font-body);
    font-size: var(--text-lg);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: var(--space-1);
    font-weight: 500;
}

/* Logo Override for Homepage */
.logo {
    font-size: var(--text-5xl);
    letter-spacing: 3px;
    margin-bottom: var(--space-2);
}

.logo span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Tagline */
.tagline {
    color: var(--text-color);
    font-size: var(--text-xl);
    margin-bottom: var(--space-6);
    font-weight: 500;
}

.tagline em {
    color: var(--primary-color);
    font-style: normal;
    font-weight: 700;
}

/* Sports Grid - 2x2 on desktop */
.sports-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
    max-width: 37.5rem;
    /* 600px / 16 */
    margin: 0 auto;
}

/* Sport Cards */
.sport-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-align: center;
}

.sport-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.2);
}

.sport-card:active {
    transform: scale(0.98);
    opacity: 0.95;
}

.sport-card:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.sport-card h2 {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    letter-spacing: 2px;
    margin-bottom: var(--space-1);
}

.sport-card p {
    color: var(--text-muted);
    font-size: var(--text-sm);
}

/* Special All-Star Card */
.sport-card.special {
    position: relative;
    overflow: hidden;
    border-color: rgba(255, 215, 0, 0.3);
}

.sport-card.special:hover {
    border-color: #ffd700;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.special-footer {
    margin-top: var(--space-3);
    display: flex;
    justify-content: center;
    width: 100%;
}

.special-footer .sport-card.special {
    max-width: 18.75rem;
    /* 300px / 16 */
}


/* Disabled State */
.sport-card.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.sport-card.disabled:hover {
    transform: none;
    border-color: var(--border-color);
    box-shadow: none;
}

/* "Soon" text indicator */
.coming-soon h2::after {
    content: ' (Soon)';
    font-size: 0.6em;
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .logo {
        font-size: var(--text-4xl);
    }

    .tagline {
        font-size: var(--text-base);
    }

    .sports-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .sport-card h2 {
        font-size: var(--text-xl);
    }

    .sport-card.special {
        grid-column: auto;
        max-width: none;
        margin: 0;
    }
}

/* Ensure centering of the 5th item */
.sport-card.special {
    margin: 0 auto;
    width: 100%;
}