.loading-text, .nav-brand {
    font-weight: 700;
    font-family: var(--font-primary)
}

.gradient-text, .loading-text, .section-title {
    -webkit-text-fill-color: transparent
}

.bangla-font, .game-title, .hero-subtitle, .hero-title, .hero-title-bangla, .loading-text, .nav-brand, .section-title, .stat-label, .stat-number, .tournament-title {
    font-family: var(--font-primary)
}

.avatar-preview, .btn, .game-card, .hero-section, .leaderboard-table, .loading-bar {
    overflow: hidden
}

.btn, .nav-brand, .nav-link, .social-link {
    text-decoration: none
}

.achievement-item, .footer-bottom, .loading-content, .profile-stat, .section-header, .stat-item, .tournament-title {
    text-align: center
}

:root {
    --primary-blue: #00D4FF;
    --primary-purple: #8B5CF6;
    --primary-green: #00FF88;
    --accent-orange: #FF8A00;
    --accent-pink: #FF5A5F;
    --bg-primary: #0A0E1A;
    --bg-secondary: #1A1F2D;
    --bg-tertiary: #252B3D;
    --bg-card: rgba(26, 31, 45, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.1);
    --text-primary: #FFFFFF;
    --text-secondary: #A0B3D6;
    --text-muted: #6B7280;
    --gradient-primary: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    --gradient-secondary: linear-gradient(135deg, var(--accent-orange), var(--accent-pink));
    --gradient-light-secondary: linear-gradient(135deg, #FFD9A0, #FFB347);
    --gradient-bg: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    --gradient-champion: linear-gradient(145deg, #ca8a04, #facc15, #a16207);
    --gradient-success: linear-gradient(135deg, #16a34a, #4ade80, #15803d);
    --gradient-danger: linear-gradient(135deg, #dc2626, #ef4444, #b91c1c);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.3);
    --shadow-champion: 0 10px 30px rgba(250, 204, 21, 0.3);
    --font-primary: 'Orbitron',monospace;
    --font-secondary: 'Inter',sans-serif;
    --font-third: 'Anek Bangla',sans-serif;
    --font-fourth: 'Hind Siliguri',sans-serif;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    font-family: var(--font-secondary);
    background: var(--gradient-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh
}

.cursor-pointer {
    cursor: pointer
}

.green-border {
    border-left: 5px solid #32cd32;
    border-right: 5px solid #32cd32;
    border-radius: 6px
}

.rank-icon {
    height: 90px;
    width: 90px;
    vertical-align: middle;
    margin-right: 6px
}

.avatar-preview {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto;
    border: 3px solid #007bff;
    cursor: pointer;
    transition: .3s
}

    .avatar-preview img {
        width: 100%;
        height: 100%;
        object-fit: cover
    }

    .avatar-preview:hover {
        border-color: #0056b3;
        box-shadow: 0 0 12px rgba(0,123,255,.6)
    }

.avatar-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40%;
    background: rgba(0,0,0,.5);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: .3s
}

.loading-screen, .navbar {
    position: fixed;
    top: 0;
    left: 0
}

.loading-screen, .nav-container {
    display: flex;
    align-items: center
}

.avatar-preview:hover .avatar-overlay, .game-card:hover::before {
    opacity: 1
}

.avatar-overlay i {
    font-size: 20px;
    margin-bottom: 3px
}

.loading-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    justify-content: center;
    z-index: 9999;
    transition: opacity .5s,visibility .5s
}

    .loading-screen.hidden {
        opacity: 0;
        visibility: hidden
    }

.loading-content {
    animation: 1s fadeInUp
}

.loading-logo {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: 2s infinite bounce
}

.loading-text {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    margin-bottom: 2rem
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    margin: 0 auto 1rem
}

.gradient-text, .loading-progress, .nav-link.active::after {
    background: var(--gradient-primary)
}

.loading-progress {
    height: 100%;
    width: 0;
    animation: 2s ease-in-out infinite loadingProgress
}

.loading-subtitle {
    color: var(--text-secondary);
    font-size: 1rem
}

.navbar {
    width: 100%;
    background: rgba(10,14,26,.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,.1);
    z-index: 1000;
    transition: var(--transition-normal)
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    justify-content: space-between;
    height: 70px
}

.nav-brand, .nav-menu {
    align-items: center;
    display: flex
}

.nav-brand {
    gap: .5rem;
    font-size: 1.5rem;
    color: var(--text-primary)
}

.nav-link, .notification-btn {
    position: relative;
    color: var(--text-secondary);
    transition: var(--transition-fast)
}

.brand-icon {
    font-size: 2rem;
    animation: 4s linear infinite rotate
}

.nav-menu {
    gap: 2rem
}

.nav-link {
    font-weight: 500;
    padding: .5rem 1rem;
    border-radius: 8px
}

    .nav-link.active, .nav-link:hover, .notification-btn:hover {
        color: var(--text-primary);
        background: var(--bg-glass)
    }

        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 50%;
            transform: translateX(-50%);
            width: 20px;
            height: 2px;
            border-radius: 1px
        }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem
}

.notification-btn {
    background: 0 0;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: .5rem;
    border-radius: 8px
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--accent-pink);
    color: #fff;
    font-size: .7rem;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center
}

.mobile-menu-btn, .profile-btn {
    background: 0 0;
    cursor: pointer
}

.profile-btn {
    border: none;
    padding: 0
}

.profile-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary-blue);
    transition: var(--transition-fast)
}

    .profile-avatar:hover {
        border-color: var(--primary-purple);
        transform: scale(1.05)
    }

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    border: none;
    padding: .5rem;
    gap: 4px
}

    .mobile-menu-btn span {
        width: 25px;
        height: 3px;
        background: var(--text-primary);
        border-radius: 2px;
        transition: var(--transition-fast)
    }

.main-content {
    margin-top: 70px
}

.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center
}

.hero-background, .hero-particles {
    position: absolute;
    width: 100%;
    height: 100%
}

.hero-background {
    top: 0;
    left: 0;
    background: radial-gradient(circle at 30% 70%,rgba(0,212,255,.1) 0,transparent 50%),radial-gradient(circle at 70% 30%,rgba(139,92,246,.1) 0,transparent 50%)
}

.hero-particles {
    background-image: radial-gradient(2px 2px at 20px 30px,rgba(255,255,255,.3),transparent),radial-gradient(2px 2px at 40px 70px,rgba(0,212,255,.3),transparent),radial-gradient(1px 1px at 90px 40px,rgba(139,92,246,.3),transparent),radial-gradient(1px 1px at 130px 80px,rgba(0,255,136,.3),transparent),radial-gradient(2px 2px at 160px 30px,rgba(255,138,0,.3),transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: 20s linear infinite particlesFloat
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center
}

.hero-text {
    animation: 1s fadeInLeft
}

.hero-title, .hero-title-bangla {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem
}

.gradient-text {
    -webkit-background-clip: text;
    background-clip: text;
    animation: 3s ease-in-out infinite gradientShift
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: .5rem
}

.stat-label {
    font-size: .9rem;
    color: var(--text-secondary)
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: 1s fadeInRight
}

.floating-game-icons {
    position: relative;
    width: 300px;
    height: 300px
}

.game-icon {
    position: absolute;
    animation: 3s ease-in-out infinite float;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .3))
}

    .game-icon:first-child {
        top: 20%;
        left: 20%;
        animation-delay: var(--delay)
    }

    .game-icon:nth-child(2) {
        top: 10%;
        right: 20%;
        animation-delay: var(--delay)
    }

    .game-icon:nth-child(3) {
        bottom: 30%;
        left: 10%;
        animation-delay: var(--delay)
    }

    .game-icon:nth-child(4) {
        bottom: 20%;
        right: 10%;
        animation-delay: var(--delay)
    }

    .game-icon:nth-child(5) {
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        animation-delay: var(--delay);
        font-size: 4rem
    }

.btn::before, .game-card::before {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    transition: var(--transition-normal);
    width: 100%
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    font-size: 1rem;
    position: relative
}

.btn-secondary, .difficulty-btn {
    border: 1px solid rgba(255,255,255,.2)
}

.btn::before {
    left: -100%;
    background: linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent)
}

.btn:hover::before {
    left: 100%
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: var(--shadow-glow)
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 0 30px rgba(0,212,255,.5)
    }

.btn-secondary {
    background: var(--bg-glass);
    color: var(--text-primary);
    backdrop-filter: blur(10px)
}

    .btn-secondary:hover {
        background: rgba(255,255,255,.15);
        transform: translateY(-2px)
    }

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem
}

.section-header {
    margin-bottom: 3rem
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto
}

.games-section, .profile-section {
    background: rgba(26,31,45,.3);
    backdrop-filter: blur(10px)
}

.game-card, .tournament-card {
    backdrop-filter: blur(20px);
    position: relative
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(350px,1fr));
    gap: 2rem
}

.game-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    padding: 1.5rem;
    transition: var(--transition-normal)
}

    .game-card::before {
        left: 0;
        background: linear-gradient(135deg,rgba(0,212,255,.05) 0,rgba(139,92,246,.05) 100%);
        opacity: 0
    }

    .game-card:hover {
        transform: translateY(-5px);
        border-color: rgba(0,212,255,.3);
        box-shadow: var(--shadow-xl)
    }

.game-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem
}

.game-icon {
    font-size: 3rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .3))
}

.game-status {
    padding: .25rem .75rem;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 600
}

    .game-status.online {
        background: rgba(0,255,136,.2);
        color: var(--primary-green);
        border: 1px solid rgba(0,255,136,.3)
    }

    .game-status.offline {
        background: rgba(255,0,0,.2);
        color: var(--accent-pink);
        border: 1px solid rgba(255,0,0,.2)
    }

.game-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: .5rem;
    color: var(--text-primary)
}

.difficulty-btn, .difficulty-label, .game-description, .stat {
    color: var(--text-secondary)
}

.game-description {
    margin-bottom: 1rem;
    line-height: 1.5
}

.game-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem
}

.stat {
    display: flex;
    align-items: center;
    gap: .25rem;
    font-size: .9rem
}

.stat-icon {
    font-size: 1rem
}

.game-difficulty {
    margin-bottom: 1.5rem
}

.difficulty-label {
    font-size: .9rem;
    margin-bottom: .5rem;
    display: block
}

.difficulty-levels {
    display: flex;
    gap: .5rem
}

.difficulty-btn {
    padding: .25rem .75rem;
    background: 0 0;
    border-radius: 8px;
    font-size: .8rem;
    cursor: pointer;
    transition: var(--transition-fast)
}

.btn-game-info, .tab-btn {
    border: 1px solid rgba(255,255,255,.2)
}

    .difficulty-btn.active, .difficulty-btn:hover, .tab-btn.active, .tab-btn2.active, .tab-btn2:hover, .tab-btn:hover {
        background: var(--gradient-primary);
        color: #fff;
        border-color: transparent
    }

.game-card-footer {
    display: flex;
    gap: .75rem
}

.btn-game-play {
    flex: 1;
    background: var(--gradient-primary);
    color: #fff;
    justify-content: center
}

.btn-game-info {
    background: var(--bg-glass);
    color: var(--text-primary)
}

.leaderboard-table, .tournament-card {
    border: 1px solid rgba(255,255,255,.1)
}

.tournaments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
    gap: 2rem
}

.leaderboard-header, .leaderboard-row {
    grid-template-columns: 100px 1fr 120px 100px
}

.tournament-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 1.5rem;
    transition: var(--transition-normal)
}

.tournament-badge, .tournament-badge-danger {
    position: absolute;
    top: -10px;
    right: 1rem;
    color: #fff;
    font-size: .8rem;
    font-weight: 600;
    padding: .25rem .75rem;
    border-radius: 12px
}

.tournament-card.featured {
    border-color: rgba(255,138,0,.5);
    background: linear-gradient(135deg,rgba(255,138,0,.1) 0,var(--bg-card) 100%)
}

.tournament-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg)
}

.tournament-badge {
    background: var(--gradient-success)
}

.tournament-badge-danger {
    background: var(--gradient-danger)
}

.tournament-header, .tournament-info {
    margin-bottom: 1rem
}

.tournament-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: .5rem;
    margin-top: .7rem
}

.tournament-prize {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 1.1rem
}

.tournament-stat {
    display: flex;
    justify-content: space-between;
    margin-bottom: .5rem;
    font-size: .9rem
}

.games, .stat-label {
    color: var(--text-secondary)
}

.stat-value {
    color: var(--text-primary);
    font-weight: 500
}

.countdown {
    color: var(--accent-orange);
    font-weight: 600
}

.tournament-games {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1.5rem
}

.tournament-game {
    background: var(--bg-glass);
    padding: .25rem .75rem;
    border-radius: 12px;
    font-size: .8rem;
    border: 1px solid rgba(255,255,255,.1)
}

.tournament-join-btn {
    width: 100%;
    justify-content: center
}

.leaderboard-section {
    background: rgba(37,43,61,.3);
    backdrop-filter: blur(10px)
}

.leaderboard-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap
}

.winner-filter {
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 14px;
    cursor: pointer
}

.tab-btn, .tab-btn2 {
    padding: .75rem 1.5rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    font-weight: 500;
    cursor: pointer
}

.tab-btn {
    background: 0 0;
    border-radius: 12px
}

.tab-btn2 {
    background: var(--gradient-bg);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 12px
}

.leaderboard-table {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: 20px
}

.leaderboard-active-user {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--gradient-champion);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    box-shadow: var(--shadow-champion);
    color: #000
}

.leaderboard-header, .leaderboard-row-nonrank:hover, .leaderboard-row:hover {
    background: rgba(255,255,255,.05)
}

.leaderboard-header {
    display: grid;
    gap: 1rem;
    padding: 1rem 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: .9rem
}

.leaderboard-body {
    padding: 0
}

.leaderboard-row, .leaderboard-row-nonrank {
    display: grid;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,.05);
    transition: var(--transition-fast)
}

.leaderboard-row {
    align-items: center
}

.leaderboard-row-nonrank {
    grid-template-columns: 40px 1fr 120px 100px;
    align-items: center
}

.leaderboard-row-norank.top-player, .leaderboard-row.top-player {
    background: linear-gradient(135deg,rgba(255,215,0,.1) 0,transparent 100%)
}

.rank {
    font-weight: 700;
    font-size: 1.1rem
}

.player {
    display: flex;
    align-items: center;
    gap: .75rem
}

.player-avatar, .profile-header {
    display: flex;
    align-items: center
}

.player-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    justify-content: center;
    font-size: 1.2rem
}

.profile-header, .profile-section-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px)
}

.player-name {
    font-weight: 600;
    color: var(--text-primary)
}

.card-title, .profile-name, .score {
    font-weight: 700;
    font-family: var(--font-primary)
}

.achievement-desc, .player-level {
    font-size: .8rem;
    color: var(--text-secondary)
}

.footer-links a:hover, .footer-links link:hover, .score {
    color: var(--primary-blue)
}

.profile-header {
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px
}

.leaderboard-avatar-large, .profile-avatar-large {
    width: 100px;
    height: 100px;
    align-items: center;
    font-size: 3rem;
    display: flex
}

.profile-avatar-large {
    border-radius: 50%;
    justify-content: center;
    border: 3px solid rgba(0,212,255,.5)
}

.leaderboard-avatar-large {
    border-radius: 50%;
    justify-content: center;
    border: 3px solid rgba(0,255,255,.5)
}

.profile-name {
    font-size: 2rem;
    margin-bottom: .5rem
}

.profile-level {
    color: var(--text-secondary);
    margin-bottom: 1rem
}

.profile-stats {
    display: flex;
    gap: 2rem
}

.profile-content {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: 2rem
}

.profile-section-card {
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    padding: 1.5rem
}

.achievement-item, .activity-item {
    padding: 1rem;
    background: rgba(255,255,255,.05);
    border-radius: 12px
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary)
}

.achievement-icon, .footer-links li {
    margin-bottom: .5rem
}

.activity-list {
    space-y: 1rem
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem
}

.activity-icon {
    font-size: 1.5rem
}

.activity-text {
    flex: 1;
    color: var(--text-secondary)
}

.activity-time {
    font-size: .8rem;
    color: var(--text-muted)
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(120px,1fr));
    gap: 1rem
}

.referral-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 1rem
}

.achievement-item {
    transition: var(--transition-fast)
}

    .achievement-item.locked {
        opacity: .5
    }

    .achievement-item:hover {
        background: rgba(255,255,255,.1)
    }

.achievement-icon {
    font-size: 2rem
}

.achievement-name, .subscription-name {
    font-weight: 600;
    margin-bottom: .25rem
}

.achievement-name {
    font-size: .9rem
}

.subscription-name {
    font-size: 1.2rem
}

.game-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(10px)
}

    .game-modal.active {
        display: flex
    }

.game-modal-content {
    background: var(--bg-secondary);
    border-radius: 20px;
    width: 90%;
    max-width: 900px;
    max-height: 90%;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.1)
}

.game-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: rgba(255,255,255,.05);
    border-bottom: 1px solid rgba(255,255,255,.1)
}

.game-modal-close {
    background: 0 0;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: var(--transition-fast)
}

#game-container, .footer {
    background: var(--bg-primary)
}

.footer, .footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1)
}

.game-modal-close:hover {
    color: var(--accent-pink)
}

.game-modal-body {
    padding: 1rem;
    height: 70vh;
    overflow: auto
}

#game-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px
}

.footer {
    margin-top: 4rem
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 1rem
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 2rem;
    margin-bottom: 2rem
}

.footer-title {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    margin-left: 2rem
}

.footer-bottom, .footer-text {
    color: var(--text-secondary)
}

.footer-text {
    line-height: 1.6
}

.footer-links {
    list-style: none
}

    .footer-links a, .footer-links link {
        color: var(--text-secondary);
        text-decoration: none;
        transition: var(--transition-fast)
    }

.social-links {
    display: flex;
    gap: 1rem
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-fast)
}

    .social-link:hover {
        transform: translateY(-2px)
    }

.footer-bottom {
    padding-top: 2rem
}

.gamehub-swal, .gamehub-swal2 {
    color: var(--text-primary);
    box-shadow: var(--shadow-xl)
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

@keyframes bounce {
    0%,100%,20%,50%,80% {
        transform: translateY(0)
    }

    40% {
        transform: translateY(-10px)
    }

    60% {
        transform: translateY(-5px)
    }
}

@keyframes loadingProgress {
    0% {
        width: 0
    }

    50% {
        width: 70%
    }

    100% {
        width: 100%
    }
}

@keyframes rotate {
    from {
        transform: rotate(0)
    }

    to {
        transform: rotate(360deg)
    }
}

@keyframes float {
    0%,100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-20px)
    }
}

@keyframes particlesFloat {
    from {
        transform: translateY(0)
    }

    to {
        transform: translateY(-200px)
    }
}

@keyframes gradientShift {
    0%,100% {
        background-position: 0 50%
    }

    50% {
        background-position: 100% 50%
    }
}

@media (max-width:768px) {
    .games-grid, .hero-content, .tournaments-grid {
        grid-template-columns: 1fr
    }

    .games-col, .nav-menu {
        display: none
    }

    .mobile-menu-btn {
        display: flex
    }

    .hero-content {
        gap: 2rem;
        text-align: center
    }

    .hero-title, .hero-title-bangla {
        font-size: 2.5rem
    }

    .hero-stats, .profile-stats {
        justify-content: center
    }

    .leaderboard-header, .leaderboard-row {
        grid-template-columns: 75px 1fr 100px 80px;
        font-size: .8rem
    }

    .leaderboard-header, .leaderboard-row-norank {
        grid-template-columns: 60px 1fr 80px;
        font-size: .8rem
    }

    .profile-header {
        flex-direction: column;
        text-align: center
    }

    .section-container {
        padding: 2rem 1rem
    }

    .nav-container {
        padding: 0 1rem
    }
}

@media (max-width:480px) {
    .hero-title, .hero-title-bangla, .section-title {
        font-size: 2rem
    }

    .hero-actions {
        flex-direction: column;
        width: 100%
    }

    .btn {
        width: 100%;
        justify-content: center
    }

    .game-card-footer {
        flex-direction: column
    }

    .difficulty-levels {
        flex-wrap: wrap
    }
}

@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi) {
    .floating-game-icons .game-icon, .game-icon {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges
    }
}

@media (prefers-reduced-motion:reduce) {
    * {
        animation-duration: 0s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0s !important
    }

    .floating-game-icons .game-icon, .hero-particles {
        animation: none
    }
}

@media print {
    .footer, .game-modal, .hero-section, .navbar {
        display: none
    }

    body {
        background: #fff;
        color: #000
    }

    .section-container {
        padding: 1rem 0
    }
}

.gamehub-swal {
    background: var(--bg-secondary);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,.1);
    font-family: var(--font-primary)
}

.gamehub-swal2 {
    background: rgba(255,255,255,.1) !important;
    border-radius: 20px;
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    border: 1px solid rgba(255,255,255,.3);
    font-family: var(--font-third);
    max-width: 380px
}

.dropdown-menu {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-radius: 5px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,.1);
    box-shadow: var(--shadow-xl)
}

.gamehub-input, .register-input {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-size: 1rem;
    padding: .75rem 1rem;
    transition: var(--transition-fast);
    font-family: var(--font-secondary)
}

.dropdown-menu :hover {
    background: var(--bg-secondary);
    color: #fff
}

.gamehub-input {
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 10px;
    width: 80%
}

.register-input {
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 10px;
    width: 100%
}

.gamehub-input::placeholder {
    color: var(--text-muted)
}

.gamehub-input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 8px rgba(0,212,255,.5);
    outline: 0
}

.gamehub-checkbox {
    margin-top: 10px;
    font-size: .9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 2.8rem
}

.swal2-popup .btn {
    font-family: var(--font-secondary)
}

.fixed-footer, .slick-dots li:nth-child(n+5) {
    display: none
}

@media (max-width:430px) {
    .bottom-nav a, .footer-title {
        color: var(--text-primary);
        font-family: var(--font-primary)
    }

    .hero-section {
        margin-top: 100px !important
    }

    .fixed-footer, .fixed-header, .overlay {
        left: 0;
        width: 100vw
    }

    .nav-drawer {
        margin-left: 0
    }

    .footer-title {
        font-size: 1.2rem;
        font-weight: 700;
        margin-bottom: 1rem;
        text-align: center
    }

    .bottom-nav, .fixed-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        margin: 0 auto;
        height: 60px;
        background: rgba(10,14,26,.95);
        border-top: 1px solid #eee;
        z-index: 1000;
        display: flex
    }

    .footer-text {
        color: var(--text-secondary);
        line-height: 1.6;
        text-align: center
    }

    .footer-links {
        list-style: none;
        text-align: center
    }

    .social-links {
        display: flex;
        gap: 1rem;
        justify-content: center
    }

    .fixed-footer {
        align-items: center;
        justify-content: center
    }

    .bottom-nav {
        max-width: 530px;
        justify-content: space-around;
        align-items: center
    }

        .bottom-nav a {
            text-decoration: none;
            font-size: 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
            transition: .3s
        }

            .bottom-nav a.active {
                color: #1b6ec2
            }

            .bottom-nav a span {
                font-size: 12px
            }

            .bottom-nav a:active, .bottom-nav a:focus, .bottom-nav a:focus-visible {
                outline: 0 !important;
                box-shadow: none !important;
                border: none !important
            }
}

.slick-dots li button:before {
    font-size: 20px;
    color: #fff
}

.slick-dots li.slick-active button:before {
    font-size: 24px;
    color: gray
}
