@import "../webfont/tabler-icons.min.css";
@import "../css/swiper-bundle.min.css";
@import "../css/magnific-popup.js_1.1.0_magnific-popup.min.css";
@import url("https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

:root {
    --body-font: "Poppins", sans-serif;
    --head-font: "Chakra Petch", sans-serif;
    --p1: 246, 87, 30;
    --p2: 255, 172, 5;
    --s1: 96, 214, 0;
    --s2: 23, 125, 47;
    --s3: 13, 141, 232;
    --n0: 0, 0, 0;
    --n1: 255, 255, 255;
    --n3: 36, 40, 41;
    --n4: 13, 15, 18;
    --n5: 23, 25, 28;
    --n6: 181, 181, 181;
    --gradient1: lineTX-gradient(218deg, #F76D1F 0%, #F6471C 100%, #F62F1A 100%);
    --gradient2: lineTX-gradient(1deg, #F54C0A 0.43%, rgba(232, 81, 23, 0.20) 99.55%);
    --gradient3: lineTX-gradient(188deg, rgba(247, 109, 31, 0.15) 5.73%, rgba(246, 71, 28, 0.00) 92.87%, rgba(246, 47, 26, 0.15) 92.87%);
    --gradient4: lineTX-gradient(180deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.80) 100%);
    --transition: all 0.5s ease-in-out;
   
}


html {
    font-size: 14px;
    background-color:#000000;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
        background-color: #000000;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/*custom css start*/

.table > :not(caption) > * > * {
    padding: 0.5rem 0.5rem;
    color: #ffffff;
    background-color: rgb(13, 15, 18);
    border-bottom-width: var(--bs-border-width);
    box-shadow: inset 0 0 0 9999px var(--bs-table-bg-state, var(--bs-table-bg-type, var(--bs-table-accent-bg)));
}

/* Table Start*/
.table {
    width: 100%;
    border-collapse: collapse;
    border: none;
}

    .table td,
    .table th {
        padding: 12px 15px;
        border: 1px solid #696969;
        text-align: center;
        font-size: 16px;
    }

    

    .table th {
        background-color: rgb(var(--n3));
        color: #ffffff;
    }

    .table tbody tr:nth-child(even) {
        background-color: #d1e8f5;
    }

/*responsive*/

@media (max-width: 500px) {
    .table thead {
        display: none;
    }

    .table,
    .table tbody,
    .table tr,
    .table td {
        display: block;
        width: 100%;
    }

        .table tr {
            margin-bottom: 15px;
        }

        .table td {
            padding-left: 50%;
            text-align: left;
            position: relative;
        }

            .table td::before {
                content: attr(data-label);
                position: absolute;
                left: 0;
                width: 50%;
                padding-left: 15px;
                font-size: 15px;
                font-weight: bold;
                text-align: left;
            }
}
/* Table End*/



/* Custom SweetAlert2 styling for GameHub */
.gamehub-swal {
    background: #1a1a1a !important;
    color: var(--text-primary);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-xl);
    font-family: var(--font-primary);
}

.gamehub-swal2 {
    background: #1a1a1a !important;
    /* or use your own variable but keep transparency */
    color: var(--text-primary);
    border-radius: 20px;
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-xl);
    font-family: var(--font-third);
    max-width: 380px;
}

.user-status {
    color: #D3D3D3;
   
}

.primaryBtn {
    background-color: #f6571e;
    color: #ffffff;
}

.primaryBtn:hover {
    border: 1px solid #f6571e;
    border-radius: 5px;
}

.table {
    --bs-table-color-type: initial;
    --bs-table-bg-type: initial;
    --bs-table-color-state: initial;
    --bs-table-bg-state: initial;
    --bs-table-color: #ffffff;
    --bs-table-bg: var(--bg-card);
    --bs-table-border-color: var(--bs-border-color);
    --bs-table-accent-bg: transparent;
    --bs-table-striped-color: var(--bs-emphasis-color);
    --bs-table-striped-bg: rgba(var(--bs-emphasis-color-rgb), 0.05);
    --bs-table-active-color: var(--bs-emphasis-color);
    --bs-table-active-bg: rgba(var(--bs-emphasis-color-rgb), 0.1);
    --bs-table-hover-color: var(--bs-emphasis-color);
    --bs-table-hover-bg: rgba(var(--bs-emphasis-color-rgb), 0.075);
    width: 100%;
    margin-bottom: 1rem;
    vertical-align: top;
    border-color: var(--bs-table-border-color);
}

.cursor-pointer {
    cursor: pointer;
}

.green-border {
    border-left: 5px solid limegreen;
    border-right: 5px solid limegreen;
    border-radius: 6px;
}

.rank-icon {
    height: 90px;
    width: 90px;
    vertical-align: middle;
    margin-right: 6px;
}

.avatTX-preview {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    border: 3px solid #007bff;
    cursor: pointer;
    transition: 0.3s;
}

.avatTX-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatTX-preview:hover {
    border-color: #0056b3;
    box-shadow: 0 0 12px rgba(0,123,255,0.6);
}

.avatTX-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40%;
    background: rgba(0,0,0,0.5);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.3s;
}

.avatTX-preview:hover .avatTX-overlay {
    opacity: 1;
}

.avatTX-overlay i {
    font-size: 20px;
    margin-bottom: 3px;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

    .loading-screen.hidden {
        opacity: 0;
        visibility: hidden;
    }

.loading-content {
    text-align: center;
    animation: fadeInUp 1s ease;
}

.loading-logo {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

.loading-text {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto 1rem;
}

.loading-progress {
    height: 100%;
    background: var(--gradient-primary);
    width: 0;
    animation: loadingProgress 2s ease-in-out infinite;
}

.loading-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: var(--transition-normal);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--text-primary);
}

.brand-icon {
    font-size: 2rem;
    animation: rotate 4s linear infinite;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition-fast);
    position: relative;
}

    .nav-link:hover,
    .nav-link.active {
        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;
            background: var(--gradient-primary);
            border-radius: 1px;
        }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.notification-btn {
    position: relative;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: var(--transition-fast);
}

    .notification-btn:hover {
        color: var(--text-primary);
        background: var(--bg-glass);
    }

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--accent-pink);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.profile-btn {
    background: none;
    border: none;
    cursor: pointer;
    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;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
}

    .mobile-menu-btn span {
        width: 25px;
        height: 3px;
        background: var(--text-primary);
        border-radius: 2px;
        transition: var(--transition-fast);
    }

/* Main Content */
.main-content {
    margin-top: 70px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}


.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.bangla-font {
    font-family: var(--font-primary);
}

.stat-label {
    font-family: var(--font-primary);
    font-size: 0.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: fadeInRight 1s ease;
}

.floating-game-icons {
    position: relative;
    width: 300px;
    height: 300px;
}

.game-icon {
    position: absolute;
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}


    .game-icon:nth-child(1) {
        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;
    }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-normal);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

    .btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: lineTX-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: var(--transition-normal);
    }

    .btn:hover::before {
        left: 100%;
    }

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
    border: 2px solid rgba(0, 212, 255, 0.5);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    }

.btn-secondary {
    background: var(--bg-glass);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

    .btn-secondary:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateY(-2px);
    }

/* Section Styles */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-family: var(--font-primary);
    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 */
.games-section {
    background: rgba(26, 31, 45, 0.3);
    backdrop-filter: blur(10px);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.game-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

    .game-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: lineTX-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
        opacity: 0;
        transition: var(--transition-normal);
    }

    .game-card:hover {
        transform: translateY(-5px);
        border-color: rgba(0, 212, 255, 0.3);
        box-shadow: var(--shadow-xl);
    }

        .game-card:hover::before {
            opacity: 1;
        }

.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, 0.3));
}

.game-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

    .game-status.online {
        background: rgba(0, 255, 136, 0.2);
        color: var(--primary-green);
        border: 1px solid rgba(0, 255, 136, 0.3);
    }

    .game-status.offline {
        background: rgba(255, 0, 0, 0.2);
        color: var(--accent-pink);
        border: 1px solid rgba(255, 0, 0, 0.2);
    }

.game-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.game-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.game-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.stat-icon {
    font-size: 1rem;
}

.game-difficulty {
    margin-bottom: 1.5rem;
}

.difficulty-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: block;
}

.difficulty-levels {
    display: flex;
    gap: 0.5rem;
}

.difficulty-btn {
    padding: 0.25rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: var(--text-secondary);
    border-radius: 8px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

    .difficulty-btn.active,
    .difficulty-btn:hover {
        background: var(--gradient-primary);
        color: white;
        border-color: transparent;
    }

.game-card-footer {
    display: flex;
    gap: 0.75rem;
}

.btn-game-play {
    flex: 1;
    background: var(--gradient-primary);
    color: white;
    justify-content: center;
}

.btn-game-info {
    background: var(--bg-glass);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Tournaments Section */
.tournaments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.tournament-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    position: relative;
    transition: var(--transition-normal);
}

    .tournament-card.featured {
        border-color: rgba(255, 138, 0, 0.5);
        background: lineTX-gradient(135deg, rgba(255, 138, 0, 0.1) 0%, var(--bg-card) 100%);
    }

    .tournament-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-lg);
    }

.tournament-badge {
    position: absolute;
    top: -10px;
    right: 1rem;
    background: var(--gradient-success);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tournament-badge-danger {
    position: absolute;
    top: -10px;
    right: 1rem;
    background: var(--gradient-danger);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tournament-header {
    margin-bottom: 1rem;
}

.tournament-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
    margin-top: 0.7rem;
}

.tournament-prize {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.75rem;
}

.tournament-info {
    margin-bottom: 1rem;
}

.tournament-stat {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.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: 0.5rem;
    margin-bottom: 1.5rem;
}

.tournament-game {
    background: var(--bg-glass);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tournament-join-btn {
    width: 100%;
    justify-content: center;
}

/* Leaderboard Section */
.leaderboard-section {    
    background: rgba(37, 43, 61, 0.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 {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid rgb(var(--p1));
    color: var(--text-secondary);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-fast);
    font-weight: 500;
}

    .tab-btn.active,
    .tab-btn:hover {
        background: rgb(var(--p1));
        color: white;
        border-color: transparent;
    }

.tab-btn2 {
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    border: 1px solid rgb(var(--p1));
    color: var(--text-secondary);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-fast);
    font-weight: 500;
}

    .tab-btn2.active,
    .tab-btn2:hover {
        background: rgb(var(--p1));
        color: white;
        border-color: transparent;
        border: 1px solid rgb(var(--p1));
    }



.leaderboard-table {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
}

.leaderboard-active-user {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--gradient-champion);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: var(--shadow-champion);
    color: #000;
}

.leaderboard-header {
    display: grid;
    grid-template-columns: 100px 1fr 120px 100px;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.leaderboard-body {
    padding: 0;
}

.leaderboard-row {
    display: grid;
    grid-template-columns: 100px 1fr 120px 100px;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    align-items: center;
    transition: var(--transition-fast);
}

.leaderboard-row-nonrank {
    display: grid;
    grid-template-columns: 40px 1fr 120px 100px;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    align-items: center;
    transition: var(--transition-fast);
}

.leaderboard-row:hover {
    background: rgba(255, 255, 255, 0.05);
}

.leaderboard-row.top-player {
    background: lineTX-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, transparent 100%);
}

.leaderboard-row-nonrank:hover {
    background: rgba(255, 255, 255, 0.05);
}

.leaderboard-row-norank.top-player {
    background: lineTX-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, transparent 100%);
}

.rank {
    font-weight: 700;
    font-size: 1.1rem;
}

.player {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.player-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.player-name {
    font-weight: 600;
    color: var(--text-primary);
}

.player-level {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.score {
    font-weight: 700;
    color: var(--primary-blue);
    font-family: var(--font-primary);
}

.games {
    color: var(--text-secondary);
}

/* Profile Section */
.profile-section {
    background: rgba(26, 31, 45, 0.3);
    backdrop-filter: blur(10px);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.profile-avatTX-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border: 3px solid rgba(0, 212, 255, 0.5);
}

.leaderboard-avatTX-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border: 3px solid rgba(0, 255, 255, 0.5);
}

.profile-name {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.profile-level {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.profile-stats {
    display: flex;
    gap: 2rem;
}

.profile-stat {
    text-align: center;
}

.profile-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.profile-section-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
}

.card-title {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.activity-list {
    space-y: 1rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.activity-icon {
    font-size: 1.5rem;
}

.activity-text {
    flex: 1;
    color: var(--text-secondary);
}

.activity-time {
    font-size: 0.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 {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: var(--transition-fast);
}

    .achievement-item.locked {
        opacity: 0.5;
    }

    .achievement-item:hover {
        background: rgba(255, 255, 255, 0.1);
    }

.achievement-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.achievement-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.subscription-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 1.2rem;
}

.achievement-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Game Modal */
.game-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 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, 0.1);
}

.game-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.game-modal-close {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: var(--transition-fast);
}

    .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;
    background: var(--bg-primary);
    border-radius: 12px;
}

/* Footer */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    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-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

    .footer-links li {
        margin-bottom: 0.5rem;
    }

    .footer-links a {
        color: var(--text-secondary);
        text-decoration: none;
        transition: var(--transition-fast);
    }

        .footer-links a:hover {
            color: var(--primary-blue);
        }

    .footer-links link {
        color: var(--text-secondary);
        text-decoration: none;
        transition: var(--transition-fast);
    }

        .footer-links link:hover {
            color: var(--primary-blue);
        }

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /*    width: 40px;
    height: 40px;*/
    /*    background: var(--bg-glass);
    border-radius: 50%;*/
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

    .social-link:hover {
        /*    background: var(--gradient-primary);*/
        transform: translateY(-2px);
    }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

/* Animations */
@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%, 20%, 50%, 80%, 100% {
        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(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes particlesFloat {
    from {
        transform: translateY(0px);
    }

    to {
        transform: translateY(-200px);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .leaderboard-section {
        margin-top: 40px;
        background: rgba(37, 43, 61, 0.3);
        backdrop-filter: blur(10px);
    }


    .play-now-btn {
        display: none !important;
    }

    .top-container {
/*        padding-bottom: 0px !important;*/
        display:none !important;
    }

    .top-hero-container {
        padding-bottom: 0px !important;
        display: none !important;
    }

    .tournament-wrapper {
/*        margin-top: -3.5rem !important;*/
        padding-top: 2rem;
    }


    .mobile-menu-btn {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-title-bangla {
        font-size: 2.5rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .tournaments-grid {
        grid-template-columns: 1fr;
    }

    .leaderboard-header,
    .leaderboard-row {
        grid-template-columns: 75px 1fr 100px 80px;
        font-size: 0.8rem;
    }

    .leaderboard-header,
    .leaderboard-row-norank {
        grid-template-columns: 60px 1fr 80px;
        font-size: 0.8rem;
    }

    .games-col {
        display: none;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-stats {
        justify-content: center;
    }

    .section-container {
        padding: 2rem 1rem;
    }

    .nav-container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .last-winners {
        display: none;
    }

    .play-now-btn {
        display: none !important;
    }

    .top-container {
        padding-bottom: 0px !important;
        display: none !important;
    }

    .top-hero-container {
        padding-bottom: 0px !important;
        display: none !important;
    }

    .tournament-wrapper {
        
        padding-top: 2rem;
    }

    .hero-title-bangla {
        font-size: 2rem;
    }

    .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;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .game-icon,
    .floating-game-icons .game-icon {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-particles {
        animation: none;
    }

    .floating-game-icons .game-icon {
        animation: none;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-section,
    .game-modal,
    .footer {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .section-container {
        padding: 1rem 0;
    }
}


/* Custom SweetAlert2 styling for GameHub */


/* Default state: white text */
.dropdown-menu {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-radius: 5px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-xl);
}


    .dropdown-menu :hover {
        background: var(--bg-secondary);
        color: white;
        /*        border-radius: 2px;*/
        /*        backdrop-filter: blur(15px);*/
        /*        border: 1px solid rgba(255, 255, 255, 0.1);*/
        /*        box-shadow: var(--shadow-xl);*/
    }


.gamehub-input {
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    padding: 0.75rem 1rem;
    width: 80%;
    transition: var(--transition-fast);
    font-family: var(--font-secondary);
}

.register-input {
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    padding: 0.75rem 1rem;
    width: 100%;
    transition: var(--transition-fast);
    font-family: var(--font-secondary);
}

.gamehub-input::placeholder {
    color: var(--text-muted);
}

.gamehub-input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
    outline: none;
}

.gamehub-checkbox {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2.8rem;
}

.swal2-popup .btn {
    font-family: var(--font-secondary);
}


.fixed-footer {
    display: none;
}

/* Mobile view adjustments (when viewport is <= 430px) */
@media (max-width: 430px) {

/*    .hero-section {
        margin-top: 100px !important;
    }*/

/*    .fixed-header, .fixed-footer, .overlay {
        left: 0;
        width: 100vw;
    }*/

    .nav-drawer {
        margin-left: 0;
    }


    .footer-title {
        font-family: var(--font-primary);
        font-size: 1.2rem;
        font-weight: 700;
        margin-bottom: 1rem;
        color: var(--text-primary);
        text-align: center;
    }

    .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;
    }

    /*bottom fixed footer start*/

    .fixed-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        margin: 0 auto;
        height: 60px;
        background: rgba(10, 14, 26, 0.95);
        border-top: 1px solid #eee;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1000;
    }

    .bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 530px;
        margin: 0 auto;
        height: 60px;
        background: rgba(10, 14, 26, 0.95);
        border-top: 1px solid #eee;
        display: flex;
        justify-content: space-around;
        align-items: center;
        /*    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);*/
        z-index: 1000;
    }

.bottom-nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.3s;
}

.bottom-nav a.active {
    color: #1b6ec2;
}

.bottom-nav a span {
    font-size: 12px;
}

.bottom-nav a:focus,
.bottom-nav a:active,
.bottom-nav a:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

    /*bottom fixed footer end*/

}

.slick-dots li button:before {
    font-size: 20px;
    color: white; /* This changes the dot color */
}

/* Optional: Change active dot to a different color, like gray */
.slick-dots li.slick-active button:before {
    font-size: 24px;
    color: gray; /* This is for the active dot */
}

.slick-dots li:nth-child(n+5) {
    display: none;
}



/*custom css end*/
