* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    font-family: Arial, Helvetica, sans-serif;

    color: #fff;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(99, 102, 241, 0.25),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 30%,
            rgba(168, 85, 247, 0.20),
            transparent 30%
        ),
        radial-gradient(
            circle at 50% 90%,
            rgba(59, 130, 246, 0.15),
            transparent 35%
        ),
        #080b16;

    min-height: 100vh;
}

/* =========================
   HEADER
========================= */

header {
    width: 100%;
    min-height: 70px;
    background: #111827;
    color: white;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 15px 5%;
    gap: 20px;
}

header h2 {
    margin: 0;
    font-size: 24px;
    white-space: nowrap;
}

nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    transition: 0.2s;
}

nav a:hover {
    color: #818cf8;
}

/* =========================
   MAIN
========================= */

main {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    padding: 50px 5%;
}

main h1 {
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 32px;
}

/* =========================
   GAME GRID
========================= */

.game-grid {
    width: 100%;

    display: grid;

    grid-template-columns: repeat(
        4,
        minmax(0, 1fr)
    );

    gap: 25px;
}

/* =========================
   GAME CARD
========================= */

.game-card {
    width: 100%;
    min-width: 0;

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 14px;

    overflow: hidden;

    backdrop-filter: blur(10px);

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.35);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.game-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 15px 40px rgba(99, 102, 241, 0.25);
}

.game-card img {
    display: block;

    width: 100%;
    height: 220px;

    object-fit: cover;
}

.game-content {
    padding: 20px;
}

.game-content h3 {
    margin: 0 0 8px;

    font-size: 20px;

    color: #fff;
}


.game-content p {
    line-height: 1.5;

    color: #cbd5e1;
}

.category {
    color: #a5b4fc;

    font-size: 14px;

    font-weight: 600;
}
/* =========================
   PLAY BUTTON
========================= */

.play-button {
    display: block;

    width: 100%;

    text-align: center;

    background: #6366f1;
    color: white;

    padding: 12px;

    border-radius: 7px;

    text-decoration: none;

    margin-top: 18px;

    transition: 0.2s;
}

.play-button:hover {
    background: #4f46e5;
}

/* =========================
   AUTH PAGES
========================= */

.auth-box {
    width: 100%;
    max-width: 420px;

    margin: 80px auto;

    background: white;

    padding: 30px;

    border-radius: 12px;

    box-shadow:
        0 5px 25px rgba(0, 0, 0, 0.08);
}

.auth-box h2 {
    margin-top: 0;
    margin-bottom: 25px;
}

.auth-box form {
    width: 100%;
}

.auth-box input {
    display: block;

    width: 100%;

    padding: 13px;

    margin-bottom: 15px;

    border: 1px solid #ddd;

    border-radius: 6px;

    outline: none;

    font-size: 15px;
}

.auth-box input:focus {
    border-color: #6366f1;
}

.auth-box button {
    width: 100%;

    padding: 13px;

    border: 0;

    border-radius: 6px;

    background: #6366f1;

    color: white;

    font-size: 15px;

    cursor: pointer;

    transition: 0.2s;
}

.auth-box button:hover {
    background: #4f46e5;
}

.auth-box p {
    line-height: 1.5;
}

.auth-box a {
    color: #6366f1;
    text-decoration: none;
}

.error {
    color: #dc2626;
    background: #fee2e2;

    padding: 10px;

    border-radius: 6px;
}

/* =========================
   ACCOUNT
========================= */

.account {
    width: calc(100% - 40px);
    max-width: 900px;

    margin: 50px auto;

    background: white;

    padding: 30px;

    border-radius: 12px;

    box-shadow:
        0 5px 25px rgba(0, 0, 0, 0.08);
}

/* =========================
   GAME DETAILS
========================= */

.game-detail {
    width: calc(100% - 40px);
    max-width: 900px;

    margin: 50px auto;

    background: white;

    padding: 30px;

    border-radius: 12px;

    box-shadow:
        0 5px 25px rgba(0, 0, 0, 0.08);
}

.game-detail img {
    display: block;

    width: 100%;
    max-width: 500px;

    height: auto;

    border-radius: 10px;

    margin-bottom: 25px;
}

.game-detail h1 {
    font-size: 32px;
}

.game-detail p {
    line-height: 1.7;
}

.game-detail button {
    width: 100%;
    max-width: 250px;

    padding: 13px;

    border: 0;

    border-radius: 6px;

    background: #6366f1;

    color: white;

    cursor: pointer;
}

/* =========================
   LARGE TABLET
========================= */

@media (max-width: 1200px) {

    .game-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}

/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    header {
        padding: 15px 4%;
    }

    main {
        padding: 35px 4%;
    }

    .game-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 20px;
    }

    .game-card img {
        height: 200px;
    }

}

/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    header {
        min-height: auto;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        padding: 18px 20px;
    }

    header h2 {
        font-size: 22px;
    }

    nav {
        width: 100%;

        justify-content: center;

        gap: 15px;
    }

    nav a {
        font-size: 14px;
    }

    main {
        padding: 25px 15px;
    }

main h1 {
    margin-top: 0;
    margin-bottom: 30px;

    font-size: 36px;

    color: #fff;
}

    .game-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .game-card img {
        height: 220px;
    }

    .game-content {
        padding: 18px;
    }

    .game-content h3 {
        font-size: 19px;
    }

    .auth-box {
        width: calc(100% - 30px);

        margin: 40px auto;

        padding: 22px;
    }

    .account {
        width: calc(100% - 30px);

        margin: 30px auto;

        padding: 22px;
    }

    .game-detail {
        width: calc(100% - 30px);

        margin: 30px auto;

        padding: 22px;
    }

    .game-detail h1 {
        font-size: 26px;
    }

    .game-detail button {
        max-width: 100%;
    }

}

/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 400px) {

    header {
        padding: 15px;
    }

    nav {
        gap: 10px;
    }

    nav a {
        font-size: 13px;
    }

    main {
        padding: 20px 12px;
    }

    .game-card img {
        height: 190px;
    }

    .game-content {
        padding: 15px;
    }

    .auth-box {
        width: calc(100% - 20px);

        padding: 18px;
    }

    .account,
    .game-detail {
        width: calc(100% - 20px);

        padding: 18px;
    }

}

/* =========================
   GAME DETAIL PAGE
========================= */

.game-detail {
    width: calc(100% - 40px);
    max-width: 1100px;

    margin: 50px auto;

    background: rgba(255, 255, 255, 0.96);

    padding: 36px;

    border-radius: 16px;

    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.25);
}


/* =========================
   GAME LAYOUT
========================= */

.game-info-layout {
    display: grid;

    grid-template-columns:
        minmax(300px, 1fr)
        minmax(350px, 1fr);

    gap: 45px;

    align-items: center;
}


/* =========================
   IMAGE
========================= */

.game-image-section {
    width: 100%;
}

.game-image-section img {
    display: block;

    width: 100%;

    height: 380px;

    object-fit: cover;

    border-radius: 14px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.15);
}


/* =========================
   INFORMATION
========================= */

.game-info-section {
    color: #1f2937;
}

.game-info-section h1 {
    margin: 0 0 15px;

    font-size: 38px;

    line-height: 1.2;
}


/* =========================
   META
========================= */

.game-meta {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 20px;
}

.game-meta span {
    background: #f1f5f9;

    color: #475569;

    padding: 7px 12px;

    border-radius: 20px;

    font-size: 13px;
}

.game-meta .rating {
    background: #fef3c7;

    color: #b45309;

    font-weight: 600;
}


/* =========================
   SHORT DESCRIPTION
========================= */

.game-short-description {
    color: #64748b;

    font-size: 16px;

    line-height: 1.7;

    margin-bottom: 25px;
}


/* =========================
   DIVIDER
========================= */

.game-divider {
    height: 1px;

    background: #e5e7eb;

    margin: 25px 0;
}


/* =========================
   ABOUT
========================= */

.game-info-section h2 {
    margin: 0 0 12px;

    font-size: 22px;

    color: #111827;
}

.game-description {
    color: #64748b;

    font-size: 15px;

    line-height: 1.7;

    margin-bottom: 25px;
}


/* =========================
   FEATURES
========================= */

.game-features {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 12px;

    margin-bottom: 25px;
}

.feature {
    display: flex;

    align-items: center;

    gap: 10px;

    padding: 12px;

    background: #f8fafc;

    border: 1px solid #e5e7eb;

    border-radius: 10px;
}

.feature-icon {
    font-size: 22px;
}

.feature div {
    display: flex;

    flex-direction: column;

    gap: 3px;
}

.feature strong {
    font-size: 13px;

    color: #334155;
}

.feature div span {
    font-size: 12px;

    color: #64748b;
}


/* =========================
   START GAME BUTTON
========================= */

.start-game-button {
    width: 100%;

    padding: 14px 20px;

    border: none;

    border-radius: 8px;

    background: #6366f1;

    color: white;

    font-size: 16px;

    font-weight: 600;

    cursor: pointer;

    transition: 0.2s;
}

.start-game-button:hover {
    background: #4f46e5;

    transform: translateY(-1px);
}


/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    .game-info-layout {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .game-image-section img {
        height: 350px;
    }

    .game-info-section h1 {
        font-size: 32px;
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .game-detail {
        width: calc(100% - 30px);

        margin: 25px auto;

        padding: 20px;

        border-radius: 12px;
    }

    .game-info-layout {
        gap: 25px;
    }

    .game-image-section img {
        height: 230px;
    }

    .game-info-section h1 {
        font-size: 27px;
    }

    .game-short-description {
        font-size: 14px;
    }

    .game-features {
        grid-template-columns: 1fr;
    }

}

/* =========================
   GAME LOADING OVERLAY
========================= */

.game-loading-overlay {
    position: fixed;

    inset: 0;

    width: 100%;
    height: 100%;

    background: rgba(5, 8, 20, 0.96);

    display: flex;

    align-items: center;
    justify-content: center;

    z-index: 99999;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.game-loading-overlay.active {
    opacity: 1;

    visibility: visible;
}


/* Loading box */

.game-loading-box {
    width: 90%;
    max-width: 420px;

    text-align: center;

    padding: 35px;

    border-radius: 18px;

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.12);

    backdrop-filter: blur(15px);

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5);
}


/* Loading image */

.game-loading-image {
    display: block;

    width: 120px;
    height: 120px;

    object-fit: contain;

    margin: 0 auto 20px;
}


/* Loading title */

.game-loading-box h2 {
    margin: 0 0 10px;

    color: white;

    font-size: 24px;
}


/* Loading text */

.game-loading-box p {
    margin: 0 0 25px;

    color: #94a3b8;

    font-size: 14px;
}


/* Spinner */

.loading-spinner {
    width: 35px;
    height: 35px;

    margin: auto;

    border: 4px solid rgba(255, 255, 255, 0.2);

    border-top-color: #6366f1;

    border-radius: 50%;

    animation:
        loading-spin 0.8s linear infinite;
}


@keyframes loading-spin {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}


/* =========================
   ACCOUNT PAGE
========================= */

.account-page {
    width: 100%;
    max-width: 1100px;

    margin: 0 auto;

    padding: 45px 20px;
}


/* =========================
   PROFILE HEADER
========================= */

.profile-header {
    display: flex;

    align-items: center;

    gap: 20px;

    background: rgba(255, 255, 255, 0.96);

    padding: 25px 30px;

    border-radius: 16px;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.2);

    margin-bottom: 25px;
}


.profile-avatar {
    width: 75px;
    height: 75px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #6366f1;

    color: white;

    font-size: 30px;

    font-weight: bold;
}


.profile-info {
    flex: 1;
}


.profile-info h1 {
    margin: 0 0 5px;

    font-size: 26px;

    color: #111827;
}


.profile-info p {
    margin: 0 0 5px;

    color: #64748b;
}


.profile-info span {
    color: #94a3b8;

    font-size: 13px;
}


.logout-button {
    background: #fee2e2;

    color: #dc2626;

    padding: 10px 18px;

    border-radius: 7px;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;
}


/* =========================
   STATISTICS
========================= */

.account-stats {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

    margin-bottom: 25px;
}


.stat-card {
    display: flex;

    align-items: center;

    gap: 15px;

    background: rgba(255, 255, 255, 0.96);

    padding: 22px;

    border-radius: 14px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.15);
}


.stat-icon {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #eef2ff;

    border-radius: 10px;

    font-size: 22px;
}


.stat-card div:last-child {
    display: flex;

    flex-direction: column;

    gap: 4px;
}


.stat-card strong {
    font-size: 24px;

    color: #111827;
}


.stat-card span {
    font-size: 13px;

    color: #64748b;
}


/* =========================
   ACCOUNT SECTION
========================= */

.account-section {
    background: rgba(255, 255, 255, 0.96);

    padding: 28px;

    border-radius: 16px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.15);

    margin-bottom: 25px;
}


.section-header {
    margin-bottom: 20px;
}


.section-header h2 {
    margin: 0 0 5px;

    color: #111827;

    font-size: 21px;
}


.section-header p {
    margin: 0;

    color: #64748b;

    font-size: 14px;
}


/* =========================
   ACCOUNT DETAILS
========================= */

.account-details {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 15px;
}


.detail-item {
    display: flex;

    flex-direction: column;

    gap: 6px;

    padding: 15px;

    background: #f8fafc;

    border: 1px solid #e5e7eb;

    border-radius: 9px;
}


.detail-item span {
    color: #64748b;

    font-size: 13px;
}


.detail-item strong {
    color: #1e293b;

    font-size: 15px;
}


.active-status {
    color: #16a34a !important;
}


/* =========================
   QUICK ACTIONS
========================= */

.quick-actions {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;
}


.action-card {
    display: flex;

    align-items: center;

    gap: 12px;

    padding: 17px;

    background: #f8fafc;

    border: 1px solid #e5e7eb;

    border-radius: 10px;

    text-decoration: none;

    transition: 0.2s;
}


.action-card:hover {
    border-color: #6366f1;

    background: #eef2ff;

    transform: translateY(-2px);
}


.action-card > span {
    font-size: 24px;
}


.action-card div {
    display: flex;

    flex-direction: column;

    gap: 4px;
}


.action-card strong {
    color: #1e293b;

    font-size: 14px;
}


.action-card small {
    color: #64748b;

    font-size: 12px;
}


/* =========================
   TABLET
========================= */

@media (max-width: 800px) {

    .account-stats {
        grid-template-columns: 1fr;
    }

    .quick-actions {
        grid-template-columns: 1fr;
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .account-page {
        padding: 25px 15px;
    }


    .profile-header {
        flex-wrap: wrap;

        padding: 20px;

        gap: 15px;
    }


    .profile-avatar {
        width: 60px;
        height: 60px;

        font-size: 24px;
    }


    .profile-info {
        min-width: 0;
    }


    .profile-info h1 {
        font-size: 21px;
    }


    .logout-button {
        width: 100%;

        text-align: center;

        margin-top: 5px;
    }


    .account-section {
        padding: 20px;
    }


    .account-details {
        grid-template-columns: 1fr;
    }

}


/* =========================
   WALLET
========================= */

.wallet-section {
    background: rgba(255, 255, 255, 0.96);

    padding: 28px;

    border-radius: 16px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.15);

    margin-bottom: 25px;
}


.wallet-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 22px;
}


.wallet-header h2 {
    margin: 0 0 5px;

    font-size: 21px;

    color: #111827;
}


.wallet-header p {
    margin: 0;

    color: #64748b;

    font-size: 14px;
}


.wallet-balance {
    text-align: right;
}


.wallet-balance span {
    display: block;

    color: #64748b;

    font-size: 13px;

    margin-bottom: 5px;
}


.wallet-balance strong {
    font-size: 28px;

    color: #111827;
}


/* =========================
   WALLET ACTIONS
========================= */

.wallet-actions {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 15px;
}


.wallet-action {
    display: flex;

    align-items: center;

    gap: 15px;

    padding: 20px;

    border-radius: 12px;

    text-decoration: none;

    transition: 0.2s;
}


.wallet-action-icon {
    width: 50px;
    height: 50px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    font-size: 28px;

    font-weight: 600;
}


.wallet-action div:last-child {
    display: flex;

    flex-direction: column;

    gap: 5px;
}


.wallet-action strong {
    font-size: 16px;

    color: #1e293b;
}


.wallet-action span {
    font-size: 13px;

    color: #64748b;
}


/* Deposit */

.deposit-action {
    background: #f0fdf4;

    border: 1px solid #bbf7d0;
}


.deposit-action .wallet-action-icon {
    background: #dcfce7;

    color: #16a34a;
}


.deposit-action:hover {
    background: #dcfce7;

    border-color: #86efac;
}


/* Withdraw */

.withdraw-action {
    background: #fff7ed;

    border: 1px solid #fed7aa;
}


.withdraw-action .wallet-action-icon {
    background: #ffedd5;

    color: #ea580c;
}


.withdraw-action:hover {
    background: #ffedd5;

    border-color: #fdba74;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .wallet-section {
        padding: 20px;
    }

    .wallet-header {
        flex-direction: column;

        align-items: flex-start;
    }

    .wallet-balance {
        text-align: left;
    }

    .wallet-balance strong {
        font-size: 25px;
    }

    .wallet-actions {
        grid-template-columns: 1fr;
    }

}

/* =========================
   DEPOSIT MODAL
========================= */

.deposit-modal {
    position: fixed;

    inset: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.75);

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 20px;

    z-index: 99999;

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}


.deposit-modal.active {
    opacity: 1;

    visibility: visible;
}


/* =========================
   DEPOSIT BOX
========================= */

.deposit-box {
    position: relative;

    width: 100%;

    max-width: 450px;

    max-height: 90vh;

    overflow-y: auto;

    background: white;

    border-radius: 18px;

    padding: 30px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4);
}


.deposit-close {
    position: absolute;

    top: 12px;
    right: 15px;

    width: 35px;
    height: 35px;

    border: none;

    border-radius: 50%;

    background: #f1f5f9;

    color: #475569;

    font-size: 25px;

    cursor: pointer;
}


.deposit-close:hover {
    background: #e2e8f0;
}


/* =========================
   TITLE
========================= */

.deposit-box h2 {
    margin: 0 0 8px;

    color: #111827;

    font-size: 25px;
}


.deposit-subtitle {
    margin: 0 0 25px;

    color: #64748b;

    font-size: 14px;
}


/* =========================
   QUICK AMOUNTS
========================= */

.quick-amounts {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 8px;

    margin-bottom: 25px;
}


.quick-amounts button {
    padding: 10px 5px;

    border: 1px solid #e2e8f0;

    border-radius: 8px;

    background: #f8fafc;

    color: #334155;

    font-size: 14px;

    cursor: pointer;

    transition: 0.2s;
}


.quick-amounts button:hover {
    background: #eef2ff;

    border-color: #6366f1;

    color: #4f46e5;
}


/* =========================
   AMOUNT
========================= */

.deposit-box label {
    display: block;

    margin-bottom: 8px;

    color: #334155;

    font-size: 14px;

    font-weight: 600;
}


.amount-input {
    display: flex;

    align-items: center;

    border: 1px solid #cbd5e1;

    border-radius: 8px;

    overflow: hidden;

    margin-bottom: 20px;
}


.amount-input span {
    padding-left: 14px;

    color: #64748b;

    font-size: 18px;
}


.amount-input input {
    width: 100%;

    padding: 13px;

    border: none;

    outline: none;

    font-size: 18px;
}


/* Remove number arrows */

.amount-input input::-webkit-inner-spin-button,
.amount-input input::-webkit-outer-spin-button {
    -webkit-appearance: none;

    margin: 0;
}


/* =========================
   CONTINUE BUTTON
========================= */

.continue-payment-button {
    width: 100%;

    padding: 14px;

    border: none;

    border-radius: 8px;

    background: #6366f1;

    color: white;

    font-size: 16px;

    font-weight: 600;

    cursor: pointer;
}


.continue-payment-button:hover {
    background: #4f46e5;
}


/* =========================
   QR PAYMENT
========================= */

.payment-qr {
    text-align: center;
}


.payment-qr h2 {
    margin-top: 5px;
}


.payment-qr > p {
    color: #64748b;

    font-size: 14px;
}


.qr-container {
    display: flex;

    justify-content: center;

    margin: 20px 0;
}


.qr-container img {
    width: 250px;
    height: 250px;

    object-fit: contain;

    border: 1px solid #e2e8f0;

    border-radius: 10px;

    padding: 8px;
}


.payment-amount {
    color: #111827;

    font-size: 30px;

    font-weight: 700;

    margin: 10px 0;
}


.upi-apps {
    line-height: 1.5;

    max-width: 300px;

    margin: 10px auto 20px;
}


.back-payment-button {
    width: 100%;

    padding: 12px;

    border: 1px solid #cbd5e1;

    border-radius: 8px;

    background: white;

    color: #475569;

    cursor: pointer;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 500px) {

    .deposit-modal {
        padding: 12px;
    }


    .deposit-box {
        padding: 25px 20px;
    }


    .quick-amounts {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .qr-container img {
        width: 220px;
        height: 220px;
    }

}


.qr-container {
    display: flex;
    justify-content: center;
    align-items: center;

    margin: 20px 0;
}

#qrCode {
    width: 250px;
    height: 250px;

    padding: 8px;

    background: white;

    border: 1px solid #e2e8f0;

    border-radius: 10px;
}

#qrCode img,
#qrCode canvas {
    display: block;

    width: 250px !important;
    height: 250px !important;
}

/* =========================
   WITHDRAW PAGE
========================= */

.withdraw-page {
    width: 100%;

    max-width: 600px;

    margin: 0 auto;

    padding: 50px 20px;
}


.withdraw-box {
    background: rgba(255, 255, 255, 0.97);

    padding: 32px;

    border-radius: 18px;

    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.2);
}


.withdraw-box h1 {
    margin: 0 0 8px;

    color: #111827;

    font-size: 28px;
}


.withdraw-subtitle {
    margin: 0 0 25px;

    color: #64748b;

    font-size: 14px;
}


/* Balance */

.withdraw-balance {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 18px;

    margin-bottom: 25px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 12px;
}


.withdraw-balance span {
    color: #64748b;

    font-size: 14px;
}


.withdraw-balance strong {
    color: #111827;

    font-size: 22px;
}


/* Message */

.withdraw-message {
    padding: 13px 15px;

    border-radius: 8px;

    margin-bottom: 20px;

    font-size: 14px;
}


.withdraw-message.success {
    background: #dcfce7;

    color: #166534;

    border: 1px solid #bbf7d0;
}


.withdraw-message.error {
    background: #fee2e2;

    color: #991b1b;

    border: 1px solid #fecaca;
}


/* Labels */

.withdraw-box form > label,
.withdraw-fields label {
    display: block;

    margin-bottom: 8px;

    color: #334155;

    font-size: 14px;

    font-weight: 600;
}


/* Amount */

.withdraw-amount {
    display: flex;

    align-items: center;

    border: 1px solid #cbd5e1;

    border-radius: 8px;

    overflow: hidden;

    margin-bottom: 22px;
}


.withdraw-amount span {
    padding-left: 14px;

    font-size: 18px;

    color: #64748b;
}


.withdraw-amount input {
    width: 100%;

    padding: 14px;

    border: none;

    outline: none;

    font-size: 18px;
}


/* Methods */

.withdraw-methods {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;

    margin-bottom: 20px;
}


.method-option {
    display: flex;

    align-items: center;

    gap: 8px;

    padding: 13px;

    border: 1px solid #e2e8f0;

    border-radius: 8px;

    background: #f8fafc;

    cursor: pointer;
}


.method-option:has(input:checked) {
    border-color: #6366f1;

    background: #eef2ff;
}


.method-option span {
    color: #334155;

    font-size: 14px;
}


/* Fields */

.withdraw-fields {
    margin-bottom: 20px;
}


.withdraw-fields input {
    width: 100%;

    box-sizing: border-box;

    padding: 13px;

    margin-bottom: 15px;

    border: 1px solid #cbd5e1;

    border-radius: 8px;

    outline: none;

    font-size: 15px;
}


.withdraw-fields input:focus,
.withdraw-amount input:focus {
    border-color: #6366f1;
}


/* Submit */

.withdraw-submit {
    width: 100%;

    padding: 14px;

    border: none;

    border-radius: 8px;

    background: #6366f1;

    color: white;

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

    transition: 0.2s;
}


.withdraw-submit:hover {
    background: #4f46e5;
}


/* Back */

.back-account {
    display: block;

    margin-top: 20px;

    text-align: center;

    color: #64748b;

    font-size: 14px;

    text-decoration: none;
}


.back-account:hover {
    color: #4f46e5;
}


/* Mobile */

@media (max-width: 600px) {

    .withdraw-page {
        padding: 25px 15px;
    }

    .withdraw-box {
        padding: 22px;
    }

    .withdraw-balance {
        flex-direction: column;

        align-items: flex-start;

        gap: 8px;
    }

    .withdraw-methods {
        grid-template-columns: 1fr;
    }

}

.withdraw-limit {
    margin: -12px 0 20px;

    color: #64748b;

    font-size: 13px;
}

.withdraw-limit strong {
    color: #111827;
}

/* =========================
   HOME HERO
========================= */

.hero-section {
    width: 100%;
    max-width: 1200px;

    min-height: 420px;

    margin: 0 auto 55px;
    padding: 60px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 50px;

    position: relative;
    overflow: hidden;

    border-radius: 24px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(99, 102, 241, 0.35),
            transparent 35%
        ),
        radial-gradient(
            circle at 15% 90%,
            rgba(168, 85, 247, 0.22),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #111827,
            #17153a
        );

    border: 1px solid rgba(255, 255, 255, 0.10);

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.35);
}


/* =========================
   HERO CONTENT
========================= */

.hero-content {
    flex: 1;
    max-width: 650px;

    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;

    padding: 8px 14px;
    margin-bottom: 18px;

    border-radius: 30px;

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.12);

    color: #c7d2fe;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.8px;
}

.hero-content h1 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(42px, 5vw, 64px);

    line-height: 1.05;

    letter-spacing: -2px;
}

.hero-content h1 span {
    color: #818cf8;
}

.hero-content p {
    max-width: 560px;

    margin: 22px 0 28px;

    color: #cbd5e1;

    font-size: 16px;

    line-height: 1.7;
}


/* =========================
   HERO BUTTONS
========================= */

.hero-buttons {
    display: flex;
    align-items: center;

    gap: 12px;

    flex-wrap: wrap;
}

.hero-primary-button,
.hero-secondary-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 13px 20px;

    border-radius: 9px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.hero-primary-button {
    background: #6366f1;
    color: #ffffff;

    box-shadow:
        0 8px 25px rgba(99, 102, 241, 0.30);
}

.hero-primary-button:hover {
    background: #4f46e5;

    transform: translateY(-2px);
}

.hero-secondary-button {
    background: rgba(255, 255, 255, 0.08);

    color: #ffffff;

    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-secondary-button:hover {
    background: rgba(255, 255, 255, 0.14);

    transform: translateY(-2px);
}


/* =========================
   HERO VISUAL
========================= */

.hero-visual {
    width: 330px;
    height: 300px;

    flex-shrink: 0;

    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;
}

.hero-circle {
    width: 210px;
    height: 210px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 90px;

    background:
        radial-gradient(
            circle,
            rgba(129, 140, 248, 0.28),
            rgba(99, 102, 241, 0.05)
        );

    border: 1px solid rgba(165, 180, 252, 0.25);

    box-shadow:
        0 0 80px rgba(99, 102, 241, 0.25);
}


/* =========================
   FLOATING ICONS
========================= */

.floating-reward {
    position: absolute;

    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background: rgba(255, 255, 255, 0.10);

    border: 1px solid rgba(255, 255, 255, 0.15);

    backdrop-filter: blur(10px);

    font-size: 27px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.25);

    animation:
        floating 3s ease-in-out infinite;
}

.reward-one {
    top: 18px;
    right: 15px;
}

.reward-two {
    right: 5px;
    bottom: 18px;

    animation-delay: 0.8s;
}

.reward-three {
    left: 5px;
    bottom: 55px;

    animation-delay: 1.5s;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}


/* =========================
   GAMES SECTION
========================= */

#games {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto 50px;
}

#games h2 {
    margin: 0 0 6px;

    color: #ffffff;

    font-size: 30px;
}

#games > p {
    margin: 0 0 25px;

    color: #94a3b8;

    font-size: 14px;
}


/* =========================
   MOBILE HERO
========================= */

@media (max-width: 900px) {

    .hero-section {
        padding: 45px 35px;

        gap: 25px;
    }

    .hero-content h1 {
        font-size: 46px;
    }

    .hero-visual {
        width: 260px;
        height: 240px;
    }

    .hero-circle {
        width: 175px;
        height: 175px;

        font-size: 72px;
    }

}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 700px) {

    .hero-section {
        min-height: auto;

        padding: 40px 25px;

        flex-direction: column;

        text-align: center;
    }

    .hero-content {
        width: 100%;
        max-width: 650px;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        width: 260px;
        height: 220px;
    }

    .hero-circle {
        width: 165px;
        height: 165px;

        font-size: 68px;
    }

}


/* =========================
   PHONE
========================= */

@media (max-width: 500px) {

    main {
        padding: 25px 12px;
    }

    .hero-section {
        width: 100%;

        margin-bottom: 40px;

        padding: 35px 20px;

        border-radius: 18px;
    }

    .hero-badge {
        font-size: 11px;
    }

    .hero-content h1 {
        font-size: 40px;

        letter-spacing: -1px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;

        width: 100%;
    }

    .hero-primary-button,
    .hero-secondary-button {
        width: 100%;

        box-sizing: border-box;
    }

    .hero-visual {
        width: 220px;
        height: 190px;
    }

    .hero-circle {
        width: 145px;
        height: 145px;

        font-size: 58px;
    }

    .floating-reward {
        width: 48px;
        height: 48px;

        font-size: 22px;
    }

    .reward-one {
        top: 5px;
        right: 0;
    }

    .reward-two {
        right: -5px;
        bottom: 5px;
    }

    .reward-three {
        left: -5px;
        bottom: 30px;
    }

    #games h2 {
        font-size: 26px;
    }

}


/* =========================
   MODERN GAME HERO
========================= */

.hero-modern {
    width: 100%;
    max-width: 1200px;

    min-height: 440px;

    margin: 0 auto 55px;

    padding: 55px 60px;

    box-sizing: border-box;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;

    position: relative;

    overflow: hidden;

    border-radius: 26px;

    background:
        radial-gradient(
            circle at 80% 50%,
            rgba(99, 102, 241, .30),
            transparent 35%
        ),
        radial-gradient(
            circle at 10% 100%,
            rgba(139, 92, 246, .20),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #0f172a,
            #111827 45%,
            #17143b
        );

    border: 1px solid rgba(255,255,255,.08);

    box-shadow:
        0 25px 70px rgba(0,0,0,.35);
}


/* =========================
   CONTENT
========================= */

.hero-modern-content {

    flex: 1;

    max-width: 650px;

    position: relative;

    z-index: 2;
}


.hero-modern-badge {

    display: inline-flex;

    align-items: center;

    padding: 7px 13px;

    margin-bottom: 18px;

    border-radius: 30px;

    background: rgba(99,102,241,.12);

    border: 1px solid rgba(129,140,248,.25);

    color: #c7d2fe;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1px;
}


.hero-modern h1 {

    margin: 0;

    color: white;

    font-size: clamp(46px, 5vw, 68px);

    line-height: 1.02;

    letter-spacing: -2px;
}


.hero-modern h1 span {

    color: #818cf8;
}


.hero-modern-content > p {

    max-width: 560px;

    margin: 22px 0 28px;

    color: #cbd5e1;

    font-size: 16px;

    line-height: 1.7;
}


/* =========================
   BUTTONS
========================= */

.hero-modern-buttons {

    display: flex;

    gap: 12px;

    flex-wrap: wrap;
}


.hero-start-btn,
.hero-view-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 13px 22px;

    border-radius: 9px;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    transition: .2s;
}


.hero-start-btn {

    background: #6366f1;

    color: white;

    box-shadow:
        0 8px 25px rgba(99,102,241,.3);
}


.hero-start-btn:hover {

    background: #4f46e5;

    transform: translateY(-2px);
}


.hero-view-btn {

    color: white;

    background: rgba(255,255,255,.07);

    border: 1px solid rgba(255,255,255,.12);
}


.hero-view-btn:hover {

    background: rgba(255,255,255,.12);
}


/* =========================
   FEATURES
========================= */

.hero-features {

    display: flex;

    gap: 22px;

    margin-top: 30px;

    flex-wrap: wrap;
}


.hero-features div {

    color: #94a3b8;

    font-size: 13px;
}


.hero-features span {

    color: #818cf8;

    margin-right: 5px;

    font-weight: bold;
}


/* =========================
   RIGHT VISUAL
========================= */

.hero-modern-visual {

    width: 370px;

    height: 350px;

    flex-shrink: 0;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;
}


/* =========================
   MAIN CARD
========================= */

.hero-main-card {

    width: 280px;

    padding: 22px;

    box-sizing: border-box;

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.14),
            rgba(255,255,255,.05)
        );

    border: 1px solid rgba(255,255,255,.16);

    backdrop-filter: blur(15px);

    box-shadow:
        0 25px 60px rgba(0,0,0,.35);

    text-align: center;

    position: relative;

    z-index: 2;
}


.hero-card-top {

    display: flex;

    justify-content: space-between;

    color: #94a3b8;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: .8px;
}


.hero-card-top span:last-child {

    color: #86efac;
}


.hero-card-icon {

    width: 110px;

    height: 110px;

    margin: 25px auto 15px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    font-size: 55px;

    background:
        radial-gradient(
            circle,
            rgba(129,140,248,.30),
            rgba(99,102,241,.08)
        );

    border: 1px solid rgba(165,180,252,.2);
}


.hero-main-card h3 {

    margin: 0;

    color: white;

    font-size: 22px;
}


.hero-main-card > p {

    margin: 7px 0 20px;

    color: #94a3b8;

    font-size: 13px;
}


/* =========================
   STATS
========================= */

.hero-stats {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 8px;
}


.hero-stats div {

    padding: 10px 5px;

    border-radius: 10px;

    background: rgba(255,255,255,.05);
}


.hero-stats strong {

    display: block;

    font-size: 18px;

    margin-bottom: 4px;
}


.hero-stats span {

    color: #94a3b8;

    font-size: 9px;
}


/* =========================
   FLOATING ELEMENTS
========================= */

.hero-orbit {

    position: absolute;

    width: 52px;

    height: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 14px;

    background: rgba(255,255,255,.10);

    border: 1px solid rgba(255,255,255,.15);

    backdrop-filter: blur(10px);

    font-size: 23px;

    z-index: 3;
}


.orbit-one {

    top: 15px;

    right: 15px;
}


.orbit-two {

    bottom: 15px;

    right: 0;
}


.orbit-three {

    left: 0;

    bottom: 55px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .hero-modern {

        padding: 45px 35px;

        gap: 25px;
    }


    .hero-modern h1 {

        font-size: 48px;
    }


    .hero-modern-visual {

        width: 300px;

        height: 320px;
    }

}


@media (max-width: 750px) {

    .hero-modern {

        flex-direction: column;

        text-align: center;

        padding: 45px 25px;
    }


    .hero-modern-content {

        width: 100%;
    }


    .hero-modern-content > p {

        margin-left: auto;

        margin-right: auto;
    }


    .hero-modern-buttons {

        justify-content: center;
    }


    .hero-features {

        justify-content: center;
    }


    .hero-modern-visual {

        width: 300px;

        height: 300px;
    }

}


@media (max-width: 500px) {

    .hero-modern {

        padding: 35px 20px;

        border-radius: 18px;
    }


    .hero-modern h1 {

        font-size: 40px;

        letter-spacing: -1px;
    }


    .hero-modern-content > p {

        font-size: 15px;
    }


    .hero-modern-buttons {

        flex-direction: column;
    }


    .hero-start-btn,
    .hero-view-btn {

        width: 100%;

        box-sizing: border-box;
    }


    .hero-features {

        gap: 10px 15px;
    }


    .hero-modern-visual {

        width: 250px;

        height: 270px;
    }


    .hero-main-card {

        width: 245px;
    }

}


/* =========================
   FOOTER
========================= */

.site-footer {
    margin-top: 70px;

    background:
        linear-gradient(
            135deg,
            #0b1120,
            #111827
        );

    border-top: 1px solid rgba(255,255,255,.08);

    color: #cbd5e1;
}


.footer-container {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding: 55px 30px;

    box-sizing: border-box;

    display: grid;

    grid-template-columns:
        2fr
        1fr
        1fr
        1fr;

    gap: 50px;
}


/* =========================
   BRAND
========================= */

.footer-brand h2 {
    margin: 0 0 14px;

    color: #ffffff;

    font-size: 25px;
}


.footer-brand h2::before {
    content: "🎮 ";

}


.footer-brand p {
    max-width: 320px;

    margin: 0;

    color: #94a3b8;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================
   FOOTER COLUMNS
========================= */

.footer-column {
    display: flex;

    flex-direction: column;

    gap: 11px;
}


.footer-column h3 {
    margin: 0 0 8px;

    color: #ffffff;

    font-size: 15px;
}


.footer-column a {
    width: fit-content;

    color: #94a3b8;

    text-decoration: none;

    font-size: 14px;

    transition: .2s;
}


.footer-column a:hover {
    color: #818cf8;

    transform: translateX(3px);
}


/* =========================
   FOOTER BOTTOM
========================= */

.footer-bottom {
    width: 100%;

    max-width: 1200px;

    margin: 0 auto;

    padding: 18px 30px;

    box-sizing: border-box;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    border-top: 1px solid rgba(255,255,255,.07);
}


.footer-bottom p {
    margin: 0;

    color: #64748b;

    font-size: 12px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 800px) {

    .footer-container {

        grid-template-columns:
            1fr 1fr;

        gap: 40px;
    }

}


@media (max-width: 500px) {

    .footer-container {

        grid-template-columns: 1fr;

        padding: 40px 20px;

        gap: 30px;
    }


    .footer-bottom {

        padding: 18px 20px;

        flex-direction: column;

        text-align: center;

    }

}

/* =========================
   COMPANY ADDRESS
========================= */

.footer-company {
    margin-top: 20px;

    display: flex;

    flex-direction: column;

    gap: 6px;

    color: #94a3b8;

    font-size: 13px;

    line-height: 1.6;
}

.footer-company strong {
    color: #cbd5e1;

    font-size: 13px;

    line-height: 1.4;
}

.footer-company span {
    color: #64748b;
}
