

body {
    font-family: 'Poppins', sans-serif !important;
    background-color: var(--dark-bg);
    color: var(--text-white);
    margin: 0;
}

:root {
    --primary-blue: #1e3a8a;
    --accent-cyan: #06b6d4;
    --dark-bg: #0f172a;
    --card-bg: #1f2933;
    --text-white: #f9fafb;
    --success-green: #22c55e;
}

/* 1. STICKY HEADER */
.header-main {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    background-color: var(--primary-blue);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    border-bottom: 2px solid var(--accent-cyan);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
}

/* 2. LOGO */
.brand-logo {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--text-white) !important;
    text-decoration: none;
    letter-spacing: 1px;
}

    .brand-logo span {
        color: var(--accent-cyan);
    }

/* 3. DESKTOP MENU & HOVER UNDERLINE */
.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
}

.nav-item-link {
    color: var(--text-white) !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 15px;
    position: relative; /* For underline */
    transition: 0.3s;
    text-transform: uppercase;
}

    /* Hover Link Color Change */
    .nav-item-link:hover {
        color: var(--accent-cyan) !important;
    }

    /* Underline Animation */
    .nav-item-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 3px;
        bottom: 0;
        left: 0;
        background-color: var(--accent-cyan);
        transition: width 0.3s ease-in-out;
    }

    .nav-item-link:hover::after {
        width: 100%;
    }

    /* Home Button (Active State) */
    /* ACTIVE LINK STYLE */
    .nav-item-link.active-btn {
        color: var(--accent-cyan) !important;
    }

        /* Always show underline when active */
        .nav-item-link.active-btn::after {
            width: 100%;
        }


/* 4. ADMIN LOGIN BUTTON */
.admin-login-btn {
    background-color: var(--accent-cyan);
    color: var(--dark-bg) !important;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px solid transparent;
}

    .admin-login-btn:hover {
        background-color: transparent;
        color: var(--accent-cyan) !important;
        border-color: var(--accent-cyan);
        transform: translateY(-2px);
    }

/* 5. MOBILE/TABLET SIDEBAR */
.offcanvas {
    background-color: var(--card-bg) !important;
    border-left: 3px solid var(--accent-cyan);
}

.side-menu-link {
    color: var(--text-white);
    text-decoration: none;
    display: block;
    padding: 18px 25px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
}

    .side-menu-link:hover {
        background-color: var(--primary-blue);
        padding-left: 35px;
    }

.mobile-toggler {
    border: 2px solid var(--accent-cyan);
    color: var(--accent-cyan);
    background: none;
    padding: 5px 10px;
    border-radius: 6px;
}

/* Hide components based on screen */
@media (max-width: 991px) {
    .nav-list, .admin-desktop {
        display: none;
    }

    .mobile-toggler {
        display: block;
    }
}

@media (min-width: 992px) {
    .mobile-toggler {
        display: none;
    }
}


/*==================================
    Index Page Top Hero Section
==================================*/

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.tw-animate-spin-slow {
    animation: spin-slow 3s linear infinite;
}

/*================*/

.game-title {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(34, 211, 238, 0.6);
}

.yesterday-badge {
    background: #0ea5e9;
    color: #fff;
    box-shadow: 0 0 10px rgba(14,165,233,0.6);
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.tw-animate-spin-slow {
    animation: spin-slow 8s linear infinite;
}

/* Smooth Spin Animation for the Border */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}