/* ==========================================================================
   1. GLOBAL RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f1f5f9;
    color: #0F172A;
    min-height: 100vh;
    padding-top: 70px;
}

/* ==========================================================================
   2. MAIN LAYOUT CONTAINERS
   ========================================================================== */
.main-content {
    min-height: calc(100vh - 80px);
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 20px 100px;
    display: block;
}

.fixed-games-shell {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

/* ==========================================================================
   3. SHELL HEADER COMPONENT
   ========================================================================== */
.shell-header {
    text-align: center;
    margin-bottom: 24px;
    padding: 32px 24px;
    background: white;
    border-radius: 24px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.shell-header h1 {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0EA5E9, #3B82F6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
}

.shell-header h1 i {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    color: #0EA5E9;
}

.shell-header p {
    color: #64748B;
    font-size: 0.95rem;
}

/* ==========================================================================
   4. INFO CARDS SYSTEM
   ========================================================================== */
.info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.info-card {
    background: white;
    border-radius: 20px;
    padding: 28px 20px;
    text-align: center;
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.1);
    border-color: rgba(14, 165, 233, 0.3);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.card-icon i {
    font-size: 1.8rem;
    color: #0EA5E9;
}

.info-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 10px;
}

.odds-range {
    display: inline-block;
    background: linear-gradient(135deg, #0EA5E9, #3B82F6);
    color: white;
    padding: 4px 16px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 16px;
}

.schedule, .games-count {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.8rem;
    color: #64748B;
    margin-bottom: 10px;
}

.schedule i, .games-count i {
    color: #0EA5E9;
    width: 18px;
}

.btn-view {
    background: linear-gradient(135deg, #0EA5E9, #3B82F6);
    color: white;
    border: none;
    padding: 10px 28px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-view:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.btn-view i {
    transition: transform 0.2s;
}

.btn-view:hover i {
    transform: translateX(4px);
}

/* ==========================================================================
   5. NEXT UPCOMING GAMES SECTION
   ========================================================================== */
.next-games {
    background: white;
    border-radius: 20px;
    border: 1px solid #E2E8F0;
    padding: 24px 20px;
    margin-bottom: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.next-games h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.next-games h2 i {
    color: #0EA5E9;
    font-size: 1.2rem;
}

.next-games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.next-game-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: #F8FAFC;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    transition: all 0.2s;
}

.next-game-card:hover {
    border-color: rgba(14, 165, 233, 0.3);
    background: white;
}

.next-game-icon {
    width: 48px;
    height: 48px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.next-game-icon i {
    font-size: 1.3rem;
    color: #0EA5E9;
}

.next-game-info h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 4px;
}

.next-date {
    font-size: 0.75rem;
    color: #64748B;
    margin-bottom: 4px;
}

.countdown {
    font-size: 0.7rem;
    font-weight: 600;
    color: #0EA5E9;
    font-family: monospace;
    background: rgba(14, 165, 233, 0.1);
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
}

/* ==========================================================================
   6. FAQ ACCORDION COMPONENT
   ========================================================================== */
.faq-section {
    background: white;
    border-radius: 20px;
    border: 1px solid #E2E8F0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.faq-header {
    text-align: center;
    padding: 24px 20px;
    background: #F8FAFC;
    border-bottom: 1px solid #E2E8F0;
}

.faq-header i {
    font-size: 2rem;
    color: #0EA5E9;
    margin-bottom: 8px;
}

.faq-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 4px;
}

.faq-header p {
    color: #64748B;
    font-size: 0.85rem;
}

.faq-container {
    padding: 0;
}

.faq-item {
    border-bottom: 1px solid #E2E8F0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    cursor: pointer;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #F8FAFC;
}

.faq-question i:first-child {
    color: #0EA5E9;
    font-size: 0.8rem;
    transition: transform 0.2s;
    width: 20px;
}

.faq-item.active .faq-question i:first-child {
    transform: rotate(90deg);
}

.faq-question span {
    font-weight: 600;
    font-size: 0.9rem;
    color: #0F172A;
    flex: 1;
}

.faq-answer {
    display: none;
    padding: 0 20px 20px 54px;
    color: #475569;
    font-size: 0.85rem;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ==========================================================================
   7. LOADERS & UTILITY
   ========================================================================== */
.loader-centered-small {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 48px;
    color: #64748B;
}

.loader-small {
    width: 24px;
    height: 24px;
    border: 2px solid #E2E8F0;
    border-top-color: #0EA5E9;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

#customToast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #0F172A;
    color: white;
    padding: 12px 24px;
    border-radius: 40px;
    font-size: 0.85rem;
    z-index: 10000;
    display: none;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.no-faqs {
    text-align: center;
    padding: 40px;
    color: #94A3B8;
}

/* ==========================================================================
   8. RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }

    .main-content {
        padding: 8px 12px 100px;
    }

    .fixed-games-shell {
        padding: 0;
    }

    .shell-header {
        padding: 20px 16px;
        margin-bottom: 20px;
        border-radius: 16px;
    }

    .shell-header h1 {
        font-size: 1.5rem;
    }

    .shell-header p {
        font-size: 0.85rem;
    }

    .info-cards {
        display: flex;
        flex-direction: column;
        gap: 14px;
        margin-bottom: 24px;
    }

    .info-card {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .info-card .card-icon {
        width: 52px;
        height: 52px;
    }

    .info-card .card-icon i {
        font-size: 1.4rem;
    }

    .info-card h3 {
        font-size: 1rem;
    }

    .info-card .odds-range {
        font-size: 0.7rem;
        padding: 3px 12px;
    }

    .info-card .schedule,
    .info-card .games-count {
        font-size: 0.75rem;
    }

    .info-card .btn-view {
        font-size: 0.75rem;
        padding: 8px 20px;
    }

    .next-games {
        padding: 18px 14px;
        border-radius: 16px;
        margin-bottom: 24px;
    }

    .next-games h2 {
        font-size: 1rem;
        margin-bottom: 16px;
    }

    .next-games-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .next-game-card {
        padding: 12px;
        border-radius: 12px;
    }

    .next-game-icon {
        width: 40px;
        height: 40px;
    }

    .next-game-icon i {
        font-size: 1rem;
    }

    .next-game-info h4 {
        font-size: 0.8rem;
    }

    .next-date {
        font-size: 0.7rem;
    }

    .countdown {
        font-size: 0.65rem;
    }

    .faq-section {
        border-radius: 16px;
    }

    .faq-header {
        padding: 18px 14px;
    }

    .faq-header h2 {
        font-size: 1rem;
    }

    .faq-question {
        padding: 12px 14px;
        gap: 10px;
    }

    .faq-question span {
        font-size: 0.8rem;
    }

    .faq-answer {
        padding: 0 14px 14px 46px;
        font-size: 0.8rem;
    }

    .loader-centered-small {
        padding: 32px;
    }
}

@media (max-width: 480px) {
    .shell-header h1 {
        font-size: 1.3rem;
    }

    .info-card {
        padding: 16px 12px;
    }

    .info-card .card-icon {
        width: 44px;
        height: 44px;
    }

    .info-card .card-icon i {
        font-size: 1.2rem;
    }

    .info-card h3 {
        font-size: 0.9rem;
    }

    .info-card .odds-range {
        font-size: 0.65rem;
        padding: 2px 10px;
    }

    .info-card .schedule,
    .info-card .games-count {
        font-size: 0.7rem;
        gap: 6px;
    }

    .info-card .btn-view {
        font-size: 0.7rem;
        padding: 6px 16px;
    }

    .next-game-card {
        padding: 10px;
        gap: 10px;
    }

    .next-game-icon {
        width: 34px;
        height: 34px;
    }

    .next-game-icon i {
        font-size: 0.9rem;
    }

    .next-game-info h4 {
        font-size: 0.75rem;
    }

    .next-date {
        font-size: 0.65rem;
    }

    .countdown {
        font-size: 0.6rem;
    }
}