/* ==================================================
   FF BATTLE ARENA — PREMIUM GAMING DESIGN
================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #05070d;
    color: #ffffff;
}


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

header {
    position: sticky;
    top: 0;
    z-index: 9000;

    height: 72px;
    padding: 0 25px;

    display: flex;
    align-items: center;
    gap: 18px;

    background: rgba(5, 7, 13, 0.94);
    border-bottom: 1px solid #252b38;

    backdrop-filter: blur(12px);
}

header button {
    margin: 0;
    padding: 10px 15px;

    border: 1px solid #343b4a;
    border-radius: 9px;

    background: #111722;
    color: #ffffff;

    font-size: 20px;
    cursor: pointer;
}

header button:hover {
    background: #1b2330;
    border-color: #fbbf24;
}

header h2 {
    margin: 0;

    font-size: 21px;
    letter-spacing: 1px;

    color: #fbbf24;
}


/* ==================================================
   SIDE MENU
================================================== */

#sideMenu {
    position: fixed;
    top: 0;
    left: -320px;

    width: 300px;
    height: 100vh;

    padding: 25px;

    background: #090d15;
    border-right: 1px solid #303746;

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

    transition: 0.3s ease;

    z-index: 9999;

    overflow-y: auto;
}

#sideMenu.active {
    left: 0;
}

#sideMenu h2 {
    color: #fbbf24;
    margin-bottom: 5px;
}

#sideMenu p {
    color: #94a3b8;
}

#sideMenu hr {
    border: 0;
    border-top: 1px solid #252c39;
    margin: 20px 0;
}

#sideMenu button {
    width: 100%;

    margin: 7px 0;
    padding: 13px;

    border: 1px solid #293140;
    border-radius: 9px;

    background: #111722;
    color: #ffffff;

    font-size: 15px;
    font-weight: bold;

    cursor: pointer;
}

#sideMenu button:hover {
    background: #171e2a;
    border-color: #fbbf24;
    color: #fbbf24;
}

#sideMenuOverlay {
    position: fixed;
    inset: 0;

    display: none;

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

    z-index: 9998;
}

#sideMenuOverlay.active {
    display: block;
}


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

#home {
    min-height: calc(100vh - 72px);

    display: flex;
    flex-direction: column;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(251, 191, 36, 0.12),
            transparent 30%
        ),
        radial-gradient(
            circle at 80% 30%,
            rgba(255, 120, 0, 0.10),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            rgba(5, 7, 13, 0.62),
            rgba(9, 14, 24, 0.34),
            rgba(5, 7, 13, 0.62)
        );
}

.home-hero {
    width: 92%;
    max-width: 1200px;

    margin: auto;

    padding: 80px 0 55px;

    display: grid;

    grid-template-columns:
        minmax(0, 1.4fr)
        minmax(300px, 0.7fr);

    align-items: center;

    gap: 60px;
}


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

.hero-content {
    text-align: left;
}

.hero-badge {
    display: inline-block;

    padding: 9px 15px;

    border: 1px solid #4b3a12;
    border-radius: 30px;

    background: rgba(251, 191, 36, 0.08);

    color: #fbbf24;

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

    letter-spacing: 1.5px;

    margin-bottom: 20px;
}

.hero-content h1 {
    margin: 0;

    font-size: clamp(55px, 8vw, 100px);

    line-height: 0.95;

    letter-spacing: -4px;

    font-weight: 900;

    color: #ffffff;

    text-shadow:
        0 0 30px rgba(255, 255, 255, 0.05);
}

.hero-content h1 span {
    display: block;

    color: #fbbf24;

    text-shadow:
        0 0 25px rgba(251, 191, 36, 0.25);
}

.hero-content h2 {
    margin: 28px 0 15px;

    font-size: clamp(24px, 4vw, 38px);

    line-height: 1.15;

    color: #e5e7eb;
}

.hero-content h2 strong {
    color: #fbbf24;
}

.hero-content > p {
    max-width: 580px;

    margin: 0 0 28px;

    color: #94a3b8;

    font-size: 17px;

    line-height: 1.7;
}


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

.hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}

.hero-buttons button,
.rooms-button {
    margin: 0;

    padding: 14px 23px;

    border-radius: 10px;

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

    cursor: pointer;

    transition: 0.25s ease;
}

.hero-primary {
    border: 1px solid #fbbf24;

    background: linear-gradient(
        135deg,
        #fbbf24,
        #f59e0b
    );

    color: #111111;

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

.hero-primary:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(251, 191, 36, 0.25);
}

.hero-secondary {
    border: 1px solid #374151;

    background: #111722;

    color: #ffffff;
}

.hero-secondary:hover {
    transform: translateY(-3px);

    border-color: #fbbf24;

    color: #fbbf24;
}

.rooms-button {
    margin-top: 14px;

    border: 0;

    background: transparent;

    color: #94a3b8;
}

.rooms-button span {
    margin-left: 8px;

    color: #fbbf24;

    font-size: 18px;
}

.rooms-button:hover {
    color: #ffffff;
}


/* ==================================================
   HERO CARD
================================================== */

.hero-card {
    position: relative;

    min-height: 330px;

    padding: 35px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    overflow: hidden;

    border: 1px solid #343b48;
    border-radius: 25px;

    background:
        linear-gradient(
            145deg,
            rgba(20, 26, 37, 0.96),
            rgba(8, 12, 19, 0.96)
        );

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.45);
}

.hero-card-glow {
    position: absolute;

    width: 180px;
    height: 180px;

    top: -70px;
    right: -50px;

    border-radius: 50%;

    background: rgba(251, 191, 36, 0.18);

    filter: blur(45px);
}

.hero-card-icon {
    position: relative;

    width: 100px;
    height: 100px;

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

    border-radius: 25px;

    background: #111722;

    border: 1px solid #514114;

    font-size: 50px;

    box-shadow:
        0 0 40px rgba(251, 191, 36, 0.10);
}

.hero-card h3 {
    margin: 20px 0 5px;

    color: #fbbf24;

    font-size: 25px;

    letter-spacing: 2px;
}

.hero-card p {
    margin: 0;

    color: #94a3b8;
}

.hero-stats {
    width: 100%;

    margin-top: 25px;

    display: grid;

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

    gap: 8px;
}

.hero-stats div {
    padding: 12px 5px;

    border-radius: 10px;

    background: #0c111a;

    border: 1px solid #242c39;
}

.hero-stats strong {
    display: block;

    font-size: 20px;

    margin-bottom: 5px;
}

.hero-stats span {
    color: #64748b;

    font-size: 9px;

    font-weight: bold;

    letter-spacing: 1px;
}


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

.home-features {
    width: 92%;
    max-width: 1200px;

    margin: 0 auto;

    padding: 20px 0 75px;

    display: grid;

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

    gap: 15px;
}

.feature-card {
    padding: 25px;

    border: 1px solid #252d3a;
    border-radius: 16px;

    background: #0c111a;

    transition: 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-5px);

    border-color: #8a6918;

    background: #101722;
}

.feature-icon {
    width: 45px;
    height: 45px;

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

    border-radius: 12px;

    background: #151b25;

    font-size: 22px;
}

.feature-card h3 {
    margin: 18px 0 8px;

    font-size: 15px;

    letter-spacing: 1px;

    color: #fbbf24;
}

.feature-card p {
    margin: 0;

    color: #718096;

    font-size: 13px;

    line-height: 1.6;
}


/* ==================================================
   HOW IT WORKS
================================================== */

.how-section {
    width: 92%;
    max-width: 1200px;

    margin: auto;

    padding: 20px 0 90px;
}

.section-title {
    text-align: center;

    margin-bottom: 40px;
}

.section-title span {
    color: #fbbf24;

    font-size: 11px;

    font-weight: bold;

    letter-spacing: 3px;
}

.section-title h2 {
    margin: 10px 0;

    font-size: 38px;
}

.section-title p {
    color: #718096;
}

.steps-container {
    display: grid;

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

    gap: 15px;
}

.step-card {
    position: relative;

    padding: 28px;

    border: 1px solid #252d3a;
    border-radius: 16px;

    background: #090e16;
}

.step-number {
    margin-bottom: 25px;

    color: #fbbf24;

    font-size: 13px;

    font-weight: bold;

    letter-spacing: 2px;
}

.step-card h3 {
    margin: 0 0 10px;

    font-size: 18px;
}

.step-card p {
    margin: 0;

    color: #718096;

    line-height: 1.6;

    font-size: 13px;
}


/* ==================================================
   GENERAL BUTTON
================================================== */

button {
    border: 0;
    border-radius: 9px;

    background: #fbbf24;
    color: #111111;

    font-weight: bold;

    cursor: pointer;

    transition: 0.2s ease;
}

button:hover {
    transform: translateY(-1px);

    background: #f59e0b;
}


/* ==================================================
   FORMS
================================================== */

.page-screen {
    min-height: 100vh;
}

.form-box {
    width: 92%;
    max-width: 450px;

    margin: 70px auto;

    padding: 30px;

    border: 1px solid #293140;
    border-radius: 18px;

    background: #0c111a;

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

.form-box h2 {
    margin-top: 0;

    color: #fbbf24;
}

.form-box input,
.form-box select {
    width: 100%;

    padding: 14px;

    margin: 8px 0;

    border: 1px solid #303846;
    border-radius: 9px;

    outline: none;

    background: #070b11;

    color: #ffffff;
}

.form-box input:focus,
.form-box select:focus {
    border-color: #fbbf24;
}

.form-box button {
    width: 100%;

    padding: 14px;

    margin-top: 10px;
}


/* ==================================================
   COINS
================================================== */

.coin-container {
    width: 92%;
    max-width: 1000px;

    margin: auto;

    padding: 60px 0;
}

.coin-container > h1 {
    color: #fbbf24;

    font-size: 38px;
}

.coin-container > p {
    color: #718096;
}

.coin-cards {
    display: grid;

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

    gap: 18px;

    margin-top: 35px;
}

.coin-card {
    padding: 28px 20px;

    text-align: center;

    border: 1px solid #293140;
    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #101620,
            #090e15
        );

    transition: 0.25s ease;
}

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

    border-color: #9a7419;
}

.coin-card h2 {
    color: #fbbf24;
}

.coin-card h3 {
    font-size: 25px;
}

.coin-card button {
    padding: 12px 18px;
}


/* ==================================================
   PAYMENT BOX
================================================== */

#paymentBox {
    padding: 28px;

    border: 1px solid #3b321d;
    border-radius: 18px;

    background: #0b1018;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.35);
}

#paymentBox h2 {
    color: #fbbf24;
}

#paymentBox h3 {
    color: #e5e7eb;
}

#paymentBox p {
    color: #94a3b8;

    line-height: 1.6;
}

#paymentBox strong {
    color: #ffffff;
}

#paymentBox hr {
    border: 0;

    border-top: 1px solid #252d3a;

    margin: 20px 0;
}

#paymentBox img {
    border-radius: 12px;
}


/* ==================================================
   ROOMS
================================================== */

#rooms {
    padding: 35px 0;
}

#rooms > div:first-child {
    padding-top: 20px;
}

#rooms h1 {
    color: #fbbf24;
}

.room-card {
    padding: 22px;

    margin: 15px 0;

    border: 1px solid #293140;
    border-radius: 16px;

    background: #0c111a;

    transition: 0.2s ease;
}

.room-card:hover {
    border-color: #806316;

    transform: translateY(-2px);
}

.room-card h3 {
    color: #fbbf24;
}

.room-card p {
    color: #94a3b8;
}

.room-card button {
    padding: 12px 18px;
}


/* ==================================================
   DASHBOARD
================================================== */

.dashboard-box {
    width: 92%;
    max-width: 1000px;

    margin: 40px auto;

    padding: 30px;

    border: 1px solid #293140;
    border-radius: 20px;

    background: #0a0f17;
}

.dashboard-box > h1 {
    color: #fbbf24;
}

.dashboard-box hr {
    border: 0;

    border-top: 1px solid #252d3a;

    margin: 25px 0;
}


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

.wallet-header {
    width: 100%;

    margin: 25px 0;

    padding: 30px;

    border: 1px solid #3a301a;
    border-radius: 20px;

    background:
        radial-gradient(
            circle at top right,
            rgba(251, 191, 36, 0.12),
            transparent 35%
        ),
        #0d131d;
}

.wallet-header h2 {
    color: #fbbf24;
}

.wallet-header h1 {
    font-size: 55px;

    margin: 10px 0;
}

.wallet-balance {
    color: #94a3b8;
}

.wallet-buttons {
    display: flex;

    justify-content: center;

    gap: 12px;

    flex-wrap: wrap;
}

.wallet-buttons button {
    padding: 13px 22px;
}

.wallet-panel {
    padding: 25px;

    border: 1px solid #293140;
    border-radius: 16px;

    background: #0c111a;
}

.wallet-panel h3 {
    color: #fbbf24;
}

#withdrawCoins,
#withdrawMethod,
#withdrawAccount {
    width: 100%;

    padding: 14px;

    margin: 8px 0;

    border: 1px solid #303846;
    border-radius: 9px;

    background: #070b11;

    color: #ffffff;

    outline: none;
}

#withdrawCoins:focus,
#withdrawMethod:focus,
#withdrawAccount:focus {
    border-color: #fbbf24;
}

#withdrawAmount {
    color: #22c55e;
}


/* ==================================================
   ROOM DETAILS
================================================== */

.room-details-box {
    padding: 25px;

    border: 1px solid #3a301a;
    border-radius: 16px;

    background: #0c111a;
}

.room-details-box h3 {
    color: #fbbf24;
}

.room-detail-row {
    padding: 14px 0;

    border-bottom: 1px solid #252d3a;

    color: #94a3b8;
}

.room-detail-value {
    color: #ffffff;
}


/* ==================================================
   WITHDRAWAL HISTORY
================================================== */

#withdrawalHistory {
    background: #0a0f17 !important;

    border-color: #293140 !important;
}

#withdrawalHistory h3 {
    color: #fbbf24 !important;
}


/* ==================================================
   DESKTOP POPUP
================================================== */

#desktopPopup {
    padding: 22px;

    border: 1px solid #3a301a;
    border-radius: 16px;

    background: #0c111a;

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

#desktopPopup h3 {
    color: #fbbf24;
}


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

@media (max-width: 850px) {

    .home-hero {
        grid-template-columns: 1fr;

        gap: 40px;

        padding-top: 55px;
    }

    .hero-content {
        text-align: center;
    }

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

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

    .home-features,
    .steps-container {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .coin-cards {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    header {
        padding: 0 15px;
    }

    header h2 {
        font-size: 17px;
    }

    .home-hero {
        width: 90%;

        padding: 45px 0;
    }

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

        letter-spacing: -2px;
    }

    .hero-content h2 {
        font-size: 25px;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons button {
        width: 100%;
    }

    .rooms-button {
        width: 100%;
    }

    .hero-card {
        min-height: 290px;

        padding: 25px;
    }

    .home-features,
    .steps-container {
        grid-template-columns: 1fr;
    }

    .home-features {
        padding-bottom: 50px;
    }

    .dashboard-box {
        width: 94%;

        padding: 18px;
    }

    .wallet-header {
        padding: 22px 15px;
    }

    .wallet-header h1 {
        font-size: 45px;
    }

    .form-box {
        padding: 22px;
    }

}
/* =========================================
   PREMIUM PAYMENT BOX
========================================= */

#paymentBox {
    max-width: 650px;
    margin: 30px auto;
    padding: 28px;
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(18, 24, 38, 0.98), rgba(7, 10, 18, 0.98));
    border: 1px solid rgba(251, 191, 36, 0.35);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.55),
        0 0 30px rgba(251, 191, 36, 0.08);
}

#paymentBox h3 {
    margin-top: 0;
    margin-bottom: 8px;
    color: #fbbf24;
    font-size: 25px;
    text-align: center;
}

#selectedPackage {
    text-align: center;
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 25px;
}

/* Payment Information */

#paymentBox p {
    color: #cbd5e1;
    line-height: 1.7;
}

#paymentBox strong {
    color: #ffffff;
}

/* Payment Details Card */

#paymentBox .payment-info,
#paymentBox .payment-details {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 18px;
    margin: 12px 0;
}

/* Screenshot Upload */

#paymentProof {
    width: 100%;
    padding: 14px;
    margin-top: 10px;
    border-radius: 12px;
    border: 1px dashed rgba(251, 191, 36, 0.5);
    background: rgba(0, 0, 0, 0.25);
    color: #cbd5e1;
    cursor: pointer;
}

#paymentProof:hover {
    border-color: #fbbf24;
}

/* Submit Payment Button */

#paymentBox button {
    width: 100%;
    margin-top: 20px;
    padding: 15px;
    border: none;
    border-radius: 13px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #111827;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.25s ease;
}

#paymentBox button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.25);
}

/* Mobile */

@media (max-width: 600px) {

    #paymentBox {
        margin: 20px 10px;
        padding: 20px;
        border-radius: 18px;
    }

    #paymentBox h3 {
        font-size: 21px;
    }

    #selectedPackage {
        font-size: 16px;
    }
}
/* =========================================
   PREMIUM PAYMENT BOX
========================================= */

#paymentBox {
    max-width: 650px;
    margin: 30px auto;
    padding: 28px;
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(18, 24, 38, 0.98), rgba(7, 10, 18, 0.98));
    border: 1px solid rgba(251, 191, 36, 0.35);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.55),
        0 0 30px rgba(251, 191, 36, 0.08);
}

#paymentBox h3 {
    margin-top: 0;
    margin-bottom: 8px;
    color: #fbbf24;
    font-size: 25px;
    text-align: center;
}

#selectedPackage {
    text-align: center;
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 25px;
}

/* Payment Information */

#paymentBox p {
    color: #cbd5e1;
    line-height: 1.7;
}

#paymentBox strong {
    color: #ffffff;
}

/* Payment Details Card */

#paymentBox .payment-info,
#paymentBox .payment-details {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 18px;
    margin: 12px 0;
}

/* Screenshot Upload */

#paymentProof {
    width: 100%;
    padding: 14px;
    margin-top: 10px;
    border-radius: 12px;
    border: 1px dashed rgba(251, 191, 36, 0.5);
    background: rgba(0, 0, 0, 0.25);
    color: #cbd5e1;
    cursor: pointer;
}

#paymentProof:hover {
    border-color: #fbbf24;
}

/* Submit Payment Button */

#paymentBox button {
    width: 100%;
    margin-top: 20px;
    padding: 15px;
    border: none;
    border-radius: 13px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #111827;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.25s ease;
}

#paymentBox button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.25);
}

/* Mobile */

@media (max-width: 600px) {

    #paymentBox {
        margin: 20px 10px;
        padding: 20px;
        border-radius: 18px;
    }

    #paymentBox h3 {
        font-size: 21px;
    }

    #selectedPackage {
        font-size: 16px;
    }
}
/* =========================================
   PREMIUM DASHBOARD + WALLET
========================================= */

#dashboard {
    padding-bottom: 60px;
}

#dashboard h2 {
    text-align: center;
    color: #fbbf24;
    font-size: 30px;
    margin-bottom: 25px;
}

/* Account Summary */

#accountUsername,
#accountCoins {
    color: #ffffff;
    font-weight: 800;
}

/* Wallet Main Box */

#wallet {
    max-width: 1000px;
    margin: 25px auto;
    padding: 28px;
    border-radius: 22px;
    background: linear-gradient(145deg, #111827, #070b13);
    border: 1px solid rgba(251, 191, 36, 0.25);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.45);
}

/* Wallet Balance */

#walletCoinsBig {
    font-size: 42px;
    font-weight: 900;
    color: #fbbf24;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.18);
}

#walletCoins {
    color: #cbd5e1;
    font-size: 17px;
}

/* Wallet Buttons */

#wallet button {
    margin: 8px 5px 8px 0;
    padding: 12px 20px;
    border: none;
    border-radius: 11px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #111827;
    font-weight: 800;
    cursor: pointer;
    transition: 0.25s ease;
}

#wallet button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(251, 191, 36, 0.2);
}

/* Wallet Panels */

#walletCoinsPanel,
#walletWithdrawalPanel {
    margin-top: 20px;
    padding: 22px;
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Withdrawal */

#withdrawAmount {
    color: #fbbf24;
    font-weight: 800;
}

#withdrawalMessage {
    margin-top: 12px;
    color: #fbbf24;
    font-weight: 700;
}

/* Withdrawal History */

#withdrawalHistory {
    margin-top: 25px;
}

#withdrawalHistory h3 {
    color: #ffffff;
    margin-bottom: 15px;
}

#withdrawalHistoryList {
    display: grid;
    gap: 12px;
}

/* My Rooms */

#myRoomsContainer {
    max-width: 1000px;
    margin: 30px auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

/* Room Details */

#roomDetailsContainer {
    max-width: 850px;
    margin: 25px auto;
}

/* Mobile */

@media (max-width: 600px) {

    #dashboard h2 {
        font-size: 25px;
    }

    #wallet {
        padding: 20px;
        border-radius: 18px;
    }

    #walletCoinsBig {
        font-size: 34px;
    }

    #myRoomsContainer {
        grid-template-columns: 1fr;
    }

    #wallet button {
        width: 100%;
        margin-right: 0;
    }
}
/* =========================================
   PREMIUM MY ROOMS + ROOM DETAILS
========================================= */

#myRoomsContainer {
    width: 100%;
    max-width: 1050px;
    margin: 30px auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Purchased Room Card */

#myRoomsContainer > div {
    position: relative;
    padding: 22px;
    border-radius: 20px;
    background: linear-gradient(145deg, #121a2b, #080c15);
    border: 1px solid rgba(251, 191, 36, 0.22);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    transition: 0.25s ease;
}

#myRoomsContainer > div:hover {
    transform: translateY(-5px);
    border-color: rgba(251, 191, 36, 0.6);
}

#myRoomsContainer h3 {
    color: #ffffff;
    margin-top: 0;
}

#myRoomsContainer p {
    color: #b7c0d1;
    line-height: 1.6;
}

#myRoomsContainer strong {
    color: #fbbf24;
}

/* Room Details */

#roomDetailsContainer > div {
    padding: 28px;
    border-radius: 22px;
    background: linear-gradient(145deg, #121a2b, #070b12);
    border: 1px solid rgba(251, 191, 36, 0.3);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.5);
}

#roomDetailsContainer h3 {
    color: #fbbf24;
    font-size: 25px;
}

#roomDetailsContainer p {
    color: #cbd5e1;
    line-height: 1.7;
}

/* Room Information */

#roomDetailsContainer strong {
    color: #ffffff;
}

/* Mobile */

@media (max-width: 700px) {

    #myRoomsContainer {
        grid-template-columns: 1fr;
    }

    #myRoomsContainer > div,
    #roomDetailsContainer > div {
        padding: 20px;
    }

    #roomDetailsContainer h3 {
        font-size: 21px;
    }
}
/* =========================================
   PREMIUM LOGIN + REGISTER
========================================= */

#register,
#login {
    padding: 40px 15px 60px;
}

#register form,
#login form {
    width: 100%;
    max-width: 450px;
    margin: 25px auto;
    padding: 30px;
    border-radius: 22px;
    background: linear-gradient(145deg, #121a2b, #070b13);
    border: 1px solid rgba(251, 191, 36, 0.25);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.5);
}

#register h2,
#login h2 {
    text-align: center;
    color: #fbbf24;
    font-size: 30px;
    margin-bottom: 25px;
}

#register input,
#login input {
    width: 100%;
    padding: 14px 15px;
    margin-bottom: 15px;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    outline: none;
    background: rgba(255, 255, 255, 0.045);
    color: #ffffff;
    font-size: 15px;
    transition: 0.2s ease;
}

#register input:focus,
#login input:focus {
    border-color: #fbbf24;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.08);
}

#register input::placeholder,
#login input::placeholder {
    color: #7f8ba0;
}

#register button,
#login button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #111827;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.25s ease;
}

#register button:hover,
#login button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.22);
}

#registerMessage,
#loginMessage {
    max-width: 450px;
    margin: 12px auto;
    text-align: center;
    color: #fbbf24;
    font-weight: 700;
}

/* Mobile */

@media (max-width: 600px) {

    #register,
    #login {
        padding-top: 25px;
    }

    #register form,
    #login form {
        padding: 22px;
        border-radius: 18px;
    }

    #register h2,
    #login h2 {
        font-size: 25px;
    }
}
/* =========================================
   PREMIUM HEADER + SIDE MENU
========================================= */

header {
    height: 68px;
    padding: 0 20px;
    background: rgba(5, 7, 13, 0.94);
    border-bottom: 1px solid rgba(251, 191, 36, 0.2);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
}

header h1 {
    color: #fbbf24;
    font-size: 21px;
    font-weight: 900;
    letter-spacing: 0.5px;
}

/* Hamburger */

#menuBtn {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 12px;
    background: rgba(251, 191, 36, 0.08);
    color: #fbbf24;
    font-size: 22px;
    cursor: pointer;
    transition: 0.25s ease;
}

#menuBtn:hover {
    background: rgba(251, 191, 36, 0.16);
    transform: scale(1.04);
}

/* Side Menu */

#sideMenu {
    background: linear-gradient(180deg, #0d1422, #050810);
    border-right: 1px solid rgba(251, 191, 36, 0.2);
    box-shadow: 15px 0 45px rgba(0, 0, 0, 0.5);
}

#sideMenu button {
    width: calc(100% - 24px);
    margin: 5px 12px;
    padding: 13px 15px;
    border: 1px solid transparent;
    border-radius: 11px;
    background: transparent;
    color: #cbd5e1;
    text-align: left;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

#sideMenu button:hover {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.08);
    border-color: rgba(251, 191, 36, 0.16);
    transform: translateX(3px);
}

/* Overlay */

#overlay {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(2px);
}

/* Mobile */

@media (max-width: 600px) {

    header {
        padding: 0 12px;
    }

    header h1 {
        font-size: 18px;
    }

    #sideMenu {
        width: 280px;
    }
}
/* =========================================
   FINAL RESPONSIVE POLISH
========================================= */

img {
    max-width: 100%;
    height: auto;
}

button,
input,
select {
    font-family: inherit;
}

button {
    -webkit-tap-highlight-color: transparent;
}

/* Better spacing for all sections */

section {
    width: 100%;
}

/* Prevent horizontal scrolling */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Better mobile text */

@media (max-width: 600px) {

    body {
        font-size: 14px;
    }

    section {
        padding-left: 12px;
        padding-right: 12px;
    }

    button {
        min-height: 44px;
    }

    input,
    select {
        min-height: 44px;
    }
}

/* Small phones */

@media (max-width: 400px) {

    header h1 {
        font-size: 16px;
    }

    #menuBtn {
        width: 40px;
        height: 40px;
        font-size: 19px;
    }

    .room-card {
        padding: 18px;
    }

    #paymentBox {
        padding: 17px;
    }

    #register form,
    #login form {
        padding: 18px;
    }
}

/* ==================================================
   WINNING PRIZES - WINNERS LIST (HOME PAGE)
================================================== */

.prize-section {
    width: 92%;
    max-width: 1200px;

    margin: auto;

    padding: 20px 0 70px;
}

/* ---- podium ---- */

.podium-container {
    display: grid;

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

    gap: 15px;

    align-items: end;

    margin-bottom: 30px;
}

.podium-card {
    position: relative;

    padding: 30px 20px;

    text-align: center;

    border: 1px solid #252d3a;
    border-radius: 16px;

    background: #090e16;
}

.podium-1 {
    padding: 45px 20px;

    border-color: rgba(251, 191, 36, 0.55);

    background:
        linear-gradient(
            180deg,
            rgba(251, 191, 36, 0.10),
            #090e16 65%
        );

    box-shadow:
        0 0 45px rgba(251, 191, 36, 0.14);
}

.podium-2 {
    border-color: rgba(203, 213, 225, 0.35);
}

.podium-3 {
    border-color: rgba(217, 119, 6, 0.40);
}

.podium-crown {
    position: absolute;
    top: -22px;
    left: 50%;

    transform: translateX(-50%);

    font-size: 34px;

    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.6));
}

.podium-medal {
    font-size: 42px;

    margin-bottom: 12px;
}

.podium-rank {
    color: #fbbf24;

    font-size: 11px;
    font-weight: bold;

    letter-spacing: 2px;

    margin-bottom: 10px;
}

.podium-2 .podium-rank {
    color: #cbd5e1;
}

.podium-3 .podium-rank {
    color: #d97706;
}

.podium-amount {
    margin: 4px 0 12px;

    color: #fbbf24;

    font-size: 30px;
    font-weight: bold;
}

.podium-1 .podium-amount {
    font-size: 36px;
}

.podium-percent {
    display: inline-block;

    padding: 6px 15px;

    border: 1px solid rgba(251, 191, 36, 0.45);
    border-radius: 999px;

    background: rgba(251, 191, 36, 0.10);

    color: #fbbf24;

    font-size: 13px;
    font-weight: bold;
}

/* ---- winners list ---- */

.winners-list {
    border: 1px solid #252d3a;
    border-radius: 16px;

    background: #090e16;

    overflow: hidden;
}

.winner-row {
    display: flex;

    align-items: center;

    gap: 15px;

    padding: 15px 20px;

    border-bottom: 1px solid #161d29;
}

.winner-row:last-child {
    border-bottom: none;
}

.winner-row:hover {
    background: #0d1420;
}

.winner-rank {
    min-width: 44px;
    height: 44px;

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

    border: 1px solid #252d3a;
    border-radius: 12px;

    background: #05070d;

    color: #fbbf24;

    font-size: 15px;
    font-weight: bold;
}

.winner-info {
    flex: 1;

    min-width: 0;
}

.winner-name {
    font-size: 15px;
    font-weight: bold;

    margin-bottom: 3px;

    word-break: break-word;
}

.prize-bar {
    max-width: 260px;

    height: 6px;

    margin-top: 7px;

    border-radius: 999px;

    background: #161d29;

    overflow: hidden;
}

.prize-bar-fill {
    height: 100%;

    border-radius: 999px;

    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.winner-prize {
    color: #fbbf24;

    font-size: 16px;
    font-weight: bold;

    white-space: nowrap;
}

.winner-percent {
    margin-left: 7px;

    color: #718096;

    font-size: 12px;
    font-weight: bold;
}

.winners-loading,
.winners-empty {
    padding: 35px;

    text-align: center;

    color: #718096;
}

/* ---- room prize box percentage ---- */

.prize-pct {
    margin-left: 8px;

    color: #718096;

    font-size: 12px;
    font-weight: bold;
}

/* ---- responsive ---- */

@media (max-width: 850px) {

    .podium-container {
        align-items: stretch;
    }

    .podium-1 {
        order: -1;

        grid-column: 1 / -1;
    }

}

@media (max-width: 600px) {

    .prize-section {
        padding-bottom: 50px;
    }

    .podium-container {
        grid-template-columns: 1fr;
    }

    .podium-1 {
        padding: 40px 20px;
    }

    .winner-row {
        padding: 13px 15px;
    }

    .winner-prize {
        font-size: 14px;
    }

}

/* ==================================================
   V60 : NEON ESPORTS - MY ACCOUNT
================================================== */

.ffx-idcard {
    display: flex;
    align-items: center;
    gap: 13px;

    border: 1px solid #f59e0b;
    border-radius: 16px;

    padding: 16px;
    margin-bottom: 16px;

    background: linear-gradient(145deg,
                rgba(245, 158, 11, .14),
                rgba(168, 85, 247, .14));

    box-shadow: 0 0 18px rgba(245, 158, 11, .20);
}

.ffx-ava {
    width: 58px;
    height: 58px;

    flex: 0 0 58px;

    border: 2px solid #fbbf24;
    border-radius: 14px;

    background: #120a1f;

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

    font-size: 25px;
}

.ffx-id-main {
    flex: 1;
    min-width: 0;
}

.ffx-id-name {
    color: #fbbf24;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 1px;

    text-shadow: 0 0 12px rgba(251, 191, 36, .6);

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ffx-id-sub {
    color: #c4b5fd;
    font-size: 12px;
    margin-top: 3px;
}

.ffx-online {
    border: 1px solid #22c55e;
    color: #4ade80;

    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;

    padding: 4px 9px;
    border-radius: 6px;

    white-space: nowrap;
}

.ffx-coinbox {
    text-align: center;

    border: 1px solid #3b1d60;
    border-radius: 16px;

    padding: 20px 12px;
    margin-bottom: 14px;

    background: radial-gradient(circle at 50% 0%,
                rgba(168, 85, 247, .25), transparent 70%);
}

.ffx-cap {
    color: #c4b5fd;
    font-size: 11px;
    letter-spacing: 3px;
}

.ffx-coin {
    color: #fbbf24;
    font-size: 46px;
    font-weight: bold;
    line-height: 1.2;

    text-shadow: 0 0 22px rgba(251, 191, 36, .55);
}

.ffx-coin-rs {
    color: #64748b;
    font-size: 12px;
    margin-top: 2px;
}

.ffx-two {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.ffx-b-green,
.ffx-b-purple {
    flex: 1;

    font-weight: bold;
    font-size: 13px;

    padding: 12px 0;
    border-radius: 10px;

    cursor: pointer;
}

.ffx-b-green {
    border: 1px solid #22c55e;
    color: #4ade80;
    background: rgba(34, 197, 94, .10);
}

.ffx-b-purple {
    border: 1px solid #a855f7;
    color: #d8b4fe;
    background: rgba(168, 85, 247, .10);
}

.ffx-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-bottom: 14px;
}

.ffx-chip {
    border: 1px solid #334155;
    color: #cbd5e1;

    font-size: 12px;

    padding: 7px 12px;
    border-radius: 999px;
}

.ffx-chip b {
    color: #fbbf24;
}

.ffx-rank {
    border: 1px solid #3b1d60;
    border-radius: 14px;

    padding: 14px;
    margin-bottom: 14px;
}

.ffx-rank-top {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 10px;
}

.ffx-rank-badge {
    color: #fbbf24;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
}

.ffx-rank-next {
    margin-left: auto;

    color: #94a3b8;
    font-size: 11px;

    text-align: right;
}

.ffx-bar {
    height: 9px;

    border-radius: 999px;
    background: #1e1033;

    overflow: hidden;
}

.ffx-bar-fill {
    height: 100%;
    width: 4%;

    border-radius: 999px;
    background: linear-gradient(90deg, #fbbf24, #a855f7);

    transition: width .5s ease;
}

.ffx-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;

    margin-bottom: 14px;
}

.ffx-tile {
    border: 1px solid #3b1d60;
    border-radius: 14px;

    padding: 13px 8px;
    text-align: center;

    background: rgba(168, 85, 247, .05);
}

.ffx-tile-ico {
    font-size: 18px;
}

.ffx-tile-num {
    color: #fff;
    font-size: 19px;
    font-weight: bold;

    margin-top: 4px;
}

.ffx-tile-cap {
    color: #94a3b8;
    font-size: 10px;
    letter-spacing: 1px;

    margin-top: 3px;
}

.ffx-info {
    border: 1px solid #1e293b;
    border-radius: 14px;

    overflow: hidden;
    margin-bottom: 16px;
}

.ffx-info-row {
    display: flex;
    gap: 10px;

    padding: 12px 14px;
    border-bottom: 1px solid #1e293b;
}

.ffx-info-row:last-child {
    border-bottom: none;
}

.ffx-info-row span {
    color: #64748b;
    font-size: 12px;
}

.ffx-info-row b {
    margin-left: auto;

    color: #e2e8f0;
    font-size: 12px;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    max-width: 60%;
    text-align: right;
}

.ffx-info-row b.ffx-ok {
    color: #4ade80;
}

@media (min-width: 700px) {

    .ffx-stats {
        grid-template-columns: repeat(4, 1fr);
    }

}

/* ==================================================
   V61 : LIVE BANNER + QUICK ACTIONS
================================================== */

.ffx-live {
    position: relative;

    border: 1px solid #f59e0b;
    border-radius: 16px;

    overflow: hidden;
    margin-bottom: 16px;

    cursor: pointer;

    background: linear-gradient(120deg, #7c2d12 0%, #9a3412 35%, #2e1065 100%);

    box-shadow: 0 0 20px rgba(245, 158, 11, .22);
}

.ffx-live::before {
    content: "";

    position: absolute;
    inset: 0;

    background: repeating-linear-gradient(115deg,
                rgba(255, 255, 255, .05) 0 10px,
                transparent 10px 22px);
}

.ffx-live-in {
    position: relative;
    padding: 16px;
}

.ffx-live-top {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ffx-live-dot {
    background: #dc2626;
    color: #fff;

    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;

    padding: 4px 9px;
    border-radius: 5px;
}

.ffx-live-when {
    margin-left: auto;

    color: rgba(255, 255, 255, .78);
    font-size: 11px;
}

.ffx-live-title {
    color: #fff;
    font-size: 18px;
    font-weight: bold;

    margin-top: 10px;

    text-shadow: 0 0 14px rgba(251, 191, 36, .45);
}

.ffx-live-sub {
    color: rgba(255, 255, 255, .82);
    font-size: 12px;

    margin-top: 4px;
}

.ffx-live-btn {
    display: inline-block;

    background: linear-gradient(90deg, #f59e0b, #a855f7);
    color: #0b0416;

    font-weight: bold;
    font-size: 13px;

    padding: 11px 22px;
    border-radius: 999px;

    margin-top: 13px;

    box-shadow: 0 0 18px rgba(168, 85, 247, .45);
}

.ffx-cap2 {
    color: #c4b5fd;
    font-size: 11px;
    letter-spacing: 2px;

    margin: 4px 0 9px;
}

.ffx-quick {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;

    margin-bottom: 16px;
}

.ffx-q {
    border-radius: 14px;
    padding: 14px 10px;

    text-align: center;
    cursor: pointer;
}

.ffx-q-ico {
    font-size: 20px;
}

.ffx-q-name {
    font-weight: bold;
    font-size: 13px;

    margin-top: 5px;
}

.ffx-q-sub {
    color: #64748b;
    font-size: 10px;

    margin-top: 2px;
}

.ffx-q-green {
    border: 1px solid #22c55e;
    background: rgba(34, 197, 94, .08);
}

.ffx-q-green .ffx-q-name {
    color: #4ade80;
}

.ffx-q-purple {
    border: 1px solid #a855f7;
    background: rgba(168, 85, 247, .08);
}

.ffx-q-purple .ffx-q-name {
    color: #d8b4fe;
}

.ffx-q-amber {
    border: 1px solid #f59e0b;
    background: rgba(245, 158, 11, .08);
}

.ffx-q-amber .ffx-q-name {
    color: #fbbf24;
}

.ffx-q-blue {
    border: 1px solid #38bdf8;
    background: rgba(56, 189, 248, .08);
}

.ffx-q-blue .ffx-q-name {
    color: #7dd3fc;
}

@media (min-width: 700px) {

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

}

/* ==================================================
   V61 : ROOM POSTER CARDS
================================================== */

.room-card.ffx-room {
    padding: 0 !important;

    border: 1px solid #f59e0b;
    border-radius: 18px;

    overflow: hidden;

    background: #0b0416;

    box-shadow: 0 0 18px rgba(245, 158, 11, .16);
}

.room-card.ffx-room-off {
    border-color: #334155;
    box-shadow: none;
    opacity: .75;
}

.ffx-room-top {
    position: relative;

    padding: 13px 14px 12px;

    background: linear-gradient(120deg, #9a3412, #7c2d12 45%, #2e1065);
}

.ffx-room-off .ffx-room-top {
    background: linear-gradient(120deg, #334155, #0f172a);
}

.ffx-room-top::before {
    content: "";

    position: absolute;
    inset: 0;

    background: repeating-linear-gradient(115deg,
                rgba(255, 255, 255, .06) 0 12px,
                transparent 12px 26px);
}

.ffx-room-tags,
.ffx-room-name,
.ffx-room-time {
    position: relative;
}

.ffx-room-tags {
    display: flex;
    align-items: center;
    gap: 8px;

    flex-wrap: wrap;
}

.ffx-room-tag {
    background: rgba(0, 0, 0, .45);
    color: #fff;

    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;

    padding: 4px 9px;
    border-radius: 5px;
}

.ffx-room-hot {
    margin-left: auto;

    background: #dc2626;
    color: #fff;

    font-size: 10px;
    font-weight: bold;

    padding: 4px 9px;
    border-radius: 5px;
}

.ffx-room-cold {
    background: #7f1d1d;
    color: #fecaca;
}

.ffx-room-name {
    color: #fff;
    font-size: 19px;
    font-weight: bold;

    margin-top: 10px;

    text-shadow: 0 2px 8px rgba(0, 0, 0, .7);
}

.ffx-room-time {
    color: rgba(255, 255, 255, .85);
    font-size: 12px;

    margin-top: 3px;
}

.ffx-room-body {
    padding: 14px;
}

.ffx-room-3 {
    display: flex;
    gap: 9px;

    margin-bottom: 13px;
}

.ffx-rt {
    flex: 1;

    border: 1px solid #3b1d60;
    border-radius: 12px;

    padding: 10px 4px;
    text-align: center;

    background: rgba(168, 85, 247, .06);
}

.ffx-rt-cap {
    color: #64748b;
    font-size: 9px;
    letter-spacing: 1px;
}

.ffx-rt-num {
    font-size: 16px;
    font-weight: bold;

    margin-top: 3px;
}

.ffx-rt-sub {
    color: #64748b;
    font-size: 9px;
}

.ffx-amber { color: #fbbf24; }
.ffx-green { color: #4ade80; }
.ffx-blue  { color: #38bdf8; }

.ffx-seat-row {
    display: flex;
    gap: 8px;

    color: #94a3b8;
    font-size: 11px;

    margin-bottom: 5px;
}

.ffx-seat-left {
    margin-left: auto;

    color: #fca5a5;
    font-weight: bold;

    white-space: nowrap;
}

.ffx-seat-bar {
    height: 8px;

    border-radius: 999px;
    background: #1e1033;

    overflow: hidden;
    margin-bottom: 13px;
}

.ffx-seat-fill {
    height: 100%;

    border-radius: 999px;
    background: linear-gradient(90deg, #22c55e, #fbbf24, #ef4444);
}

.room-card.ffx-room .ffx-join {
    width: 100%;

    background: linear-gradient(90deg, #f59e0b, #a855f7);
    color: #0b0416;

    border: none;
    border-radius: 12px;

    padding: 14px;

    font-size: 15px;
    font-weight: bold;

    cursor: pointer;

    box-shadow: 0 0 18px rgba(168, 85, 247, .35);
}

.room-card.ffx-room .room-full-btn {
    width: 100%;

    background: transparent;
    border: 1px solid #475569;
    color: #94a3b8;

    border-radius: 12px;
    padding: 13px;

    font-size: 14px;
    font-weight: bold;
}

.room-card.ffx-room .prize-toggle {
    width: 100%;
    margin-bottom: 11px;
}

/* ==================================================
   V61 : MY ROOMS - MATCH TICKETS
================================================== */

.ffx-mr-stats {
    display: flex;
    gap: 9px;

    margin: 12px 0 14px;
}

.ffx-mr-stat {
    flex: 1;

    border: 1px solid #3b1d60;
    border-radius: 12px;

    padding: 11px 6px;
    text-align: center;

    background: rgba(168, 85, 247, .05);
}

.ffx-mr-num {
    color: #fff;
    font-size: 17px;
    font-weight: bold;
}

.ffx-mr-cap {
    color: #64748b;
    font-size: 10px;
    letter-spacing: 1px;
}

.room-card.ffx-ticket {
    padding: 0 !important;

    border: 1px solid #22c55e;
    border-radius: 18px;

    overflow: hidden;

    background: #0b0416;

    box-shadow: 0 0 18px rgba(34, 197, 94, .14);
}

.ffx-tk-top {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 14px;

    background: linear-gradient(120deg, #14532d, #065f46);
}

.ffx-tk-cap {
    color: rgba(255, 255, 255, .75);
    font-size: 10px;
    letter-spacing: 2px;
}

.ffx-tk-name {
    color: #fff;
    font-size: 17px;
    font-weight: bold;

    margin-top: 3px;
}

.ffx-tk-when {
    margin-left: auto;
    text-align: right;
}

.ffx-tk-time {
    color: #fff;
    font-size: 14px;
    font-weight: bold;

    margin-top: 3px;
}

.ffx-tk-cut {
    display: flex;
    align-items: center;

    background: #0b0416;
}

.ffx-tk-hole {
    width: 18px;
    height: 18px;

    border-radius: 50%;
    background: #0a0f17;

    margin-left: -9px;
}

.ffx-tk-hole-r {
    margin-left: 0;
    margin-right: -9px;
}

.ffx-tk-dash {
    flex: 1;
    border-top: 2px dashed #334155;
}

.ffx-tk-body {
    padding: 14px;
}

.ffx-tk-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;

    margin-bottom: 12px;
}

.room-card.ffx-ticket .ffx-tk-btn {
    width: 100%;

    border: 1px dashed #a855f7;
    background: rgba(168, 85, 247, .08);
    color: #fbbf24;

    border-radius: 12px;
    padding: 14px;

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

    cursor: pointer;
}

.ffx-rd:empty {
    display: none;
}

.ffx-rd {
    margin-top: 12px;
}

.ffx-keys {
    display: flex;
    gap: 10px;

    margin: 12px 0;
}

.ffx-key {
    flex: 1;

    border: 1px solid #3b1d60;
    border-radius: 12px;

    padding: 12px;

    background: rgba(168, 85, 247, .06);

    min-width: 0;
}

.ffx-key-cap {
    color: #64748b;
    font-size: 10px;
    letter-spacing: 1px;
}

.ffx-key-val {
    color: #fbbf24;
    font-size: 17px;
    font-weight: bold;
    letter-spacing: 1px;

    margin-top: 3px;

    word-break: break-all;

    text-shadow: 0 0 12px rgba(251, 191, 36, .45);
}

.ffx-copy {
    width: 100%;

    border: 1px solid #22c55e;
    background: rgba(34, 197, 94, .08);
    color: #4ade80;

    border-radius: 8px;
    padding: 7px;

    font-size: 11px;
    font-weight: bold;

    margin-top: 9px;
    cursor: pointer;
}

.ffx-howto {
    border-left: 3px solid #22c55e;
    border-radius: 8px;

    background: rgba(34, 197, 94, .06);
    color: #94a3b8;

    font-size: 12px;

    padding: 11px;
    margin: 12px 0;
}

.ffx-howto b {
    color: #e2e8f0;
}

/* ==================================================
   V61 : BUY COINS PAGE
================================================== */

.ffx-coinhero {
    border: 1px solid #3b1d60;
    border-radius: 16px;

    padding: 18px;
    margin: 0 auto 16px;

    max-width: 420px;
    text-align: center;

    background: linear-gradient(120deg, #78350f, #7c2d12 50%, #2e1065);
}

.ffx-coinhero-num {
    color: #fff;
    font-size: 38px;
    font-weight: bold;
    line-height: 1.25;

    text-shadow: 0 0 20px rgba(251, 191, 36, .5);
}

.ffx-coinhero-rate {
    display: inline-block;

    background: rgba(0, 0, 0, .35);
    color: #fde68a;

    font-size: 11px;

    padding: 5px 12px;
    border-radius: 999px;
}

.coin-card.ffx-pack {
    position: relative;

    border: 1px solid #3b1d60;
    border-radius: 16px;

    background: rgba(168, 85, 247, .05);
}

.coin-card.ffx-pack-best {
    border-color: #f59e0b;

    background: linear-gradient(120deg,
                rgba(251, 191, 36, .16),
                rgba(124, 45, 18, .30));

    box-shadow: 0 0 18px rgba(245, 158, 11, .20);
}

.ffx-pack-badge {
    position: absolute;
    top: -9px;
    left: 50%;

    transform: translateX(-50%);

    background: #22c55e;
    color: #042f14;

    font-size: 9px;
    font-weight: bold;
    letter-spacing: 1px;

    padding: 3px 10px;
    border-radius: 999px;

    white-space: nowrap;
}

.ffx-pack-ico {
    font-size: 24px;
}

.ffx-pay {
    display: flex;
    align-items: center;
    gap: 10px;

    border: 1px solid #334155;
    border-radius: 12px;

    padding: 11px 12px;
    margin: 9px 0;

    text-align: left;
}

.ffx-pay-left {
    min-width: 0;
}

.ffx-pay-cap {
    color: #64748b;
    font-size: 10px;
    letter-spacing: 1px;
}

.ffx-pay-val {
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: .5px;

    margin-top: 2px;
    word-break: break-all;
}

.ffx-copy-small {
    width: auto;

    margin-top: 0;
    margin-left: auto;

    padding: 8px 13px;

    flex: 0 0 auto;
}

.ffx-step {
    display: flex;
    align-items: center;
    gap: 10px;

    margin: 14px 0 10px;
    text-align: left;
}

.ffx-step-no {
    width: 22px;
    height: 22px;

    flex: 0 0 22px;

    border-radius: 50%;
    background: #f59e0b;
    color: #1a1300;

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

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

.ffx-step-text {
    color: #e2e8f0;
    font-size: 13px;
}

/* ==================================================
   V61 : FIXES - 2 COLUMN PACKS, KEY ROWS, END BUTTONS
================================================== */

.coin-cards {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 12px;

    max-width: 440px;
    margin: 0 auto;
}

.coin-card.ffx-pack {
    width: auto !important;
    padding: 15px 10px !important;
}

.coin-card.ffx-pack h2 {
    font-size: 19px;
    margin: 6px 0 2px;
}

.coin-card.ffx-pack h3 {
    font-size: 15px;
    margin: 0 0 11px;
}

.coin-card.ffx-pack button {
    width: 100%;
    padding: 10px 4px;
    font-size: 12px;
}

@media (min-width: 700px) {

    .coin-cards {
        grid-template-columns: repeat(3, 1fr);
        max-width: 700px;
    }

}

/* ---- room id / password rows ---- */

.ffx-keys {
    display: block;
}

.ffx-key {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 9px;
}

.ffx-key-cap {
    flex: 0 0 auto;
}

.ffx-key-val {
    flex: 1;

    font-size: 16px;
    margin-top: 0;

    text-align: right;
}

.ffx-key .ffx-copy {
    width: auto;

    flex: 0 0 auto;
    margin-top: 0;

    padding: 8px 13px;
}

/* ---- account page end buttons ---- */

#buyRoomButton {
    width: 100%;

    background: linear-gradient(90deg, #f59e0b, #a855f7) !important;
    color: #0b0416 !important;

    border: none !important;
    border-radius: 12px !important;

    padding: 14px !important;
    font-size: 15px !important;
    font-weight: bold !important;

    box-shadow: 0 0 18px rgba(168, 85, 247, .35);
}

#dashRoomsPart + button,
.dashboard-box > button:last-of-type {
    width: 100%;

    background: transparent !important;
    border: 1px solid #7f1d1d !important;
    color: #fca5a5 !important;

    border-radius: 12px !important;
    padding: 13px !important;

    font-size: 14px !important;
    font-weight: bold !important;

    margin-top: 10px;
}

.ffx-key-val {
    white-space: nowrap;
    word-break: normal;

    overflow-x: auto;

    float: none !important;
    display: block !important;
}

/* ---- V61 fix: room id / password block layout ---- */

.ffx-keys {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ffx-key {
    display: block;
    margin-bottom: 0;

    border: 1px solid #3b1d60;
    border-radius: 12px;

    padding: 12px;
    background: rgba(168, 85, 247, .06);
}

.ffx-key-cap {
    display: block;
    text-align: left;
}

.ffx-key-val {
    display: block !important;
    width: 100%;

    font-size: 20px;
    text-align: left;

    margin: 4px 0 0;
    padding-bottom: 2px;
}

.ffx-key .ffx-copy {
    display: block;
    width: 100%;

    margin-top: 9px;
    padding: 8px;
}

/* ==================================================
   V62 : SUPPORT QUICK ACTION
================================================== */

.ffx-q-pink {
    border: 1px solid #f472b6;
    background: rgba(244, 114, 182, .08);
}

.ffx-q-pink .ffx-q-name {
    color: #f9a8d4;
}

.ffx-q-wide {
    grid-column: 1 / -1;
}

/* ==================================================
   V62 : HOME PAGE LIVE SECTIONS
================================================== */

.ffh-live {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;

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

    margin: 6px auto 22px;
}

.ffh-stat {
    border: 1px solid #3b1d60;
    border-radius: 14px;

    background: linear-gradient(160deg, rgba(168, 85, 247, .14), rgba(10, 6, 20, .9));

    padding: 14px 6px;
    text-align: center;
}

.ffh-stat-num {
    color: #fbbf24;

    font-size: 24px;
    font-weight: bold;

    line-height: 1.1;
}

.ffh-stat-cap {
    color: #94a3b8;

    font-size: 10px;
    letter-spacing: 1.5px;

    margin-top: 4px;
}

.ffh-sec {
    width: 100%;
    max-width: 1100px;

    margin: 0 auto 24px;
}

.ffh-sec-head {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;
    margin-bottom: 12px;
}

.ffh-sec-head h2 {
    color: #fff;

    font-size: 18px;
    margin: 0;
}

.ffh-all {
    background: transparent;
    border: 1px solid #f59e0b;
    color: #fbbf24;

    border-radius: 999px;
    padding: 7px 14px;

    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;

    cursor: pointer;
}

.ffh-rooms {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.ffh-empty {
    color: #94a3b8;
    font-size: 13px;

    border: 1px dashed #334155;
    border-radius: 14px;

    padding: 18px;
    text-align: center;

    margin: 0;
}

.ffh-room {
    border: 1px solid #f59e0b;
    border-radius: 16px;

    background: linear-gradient(160deg, rgba(245, 158, 11, .10), rgba(10, 6, 20, .92));

    padding: 14px;
    cursor: pointer;
}

.ffh-room-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 8px;
}

.ffh-tag {
    background: #f59e0b;
    color: #0b0416;

    border-radius: 6px;
    padding: 3px 9px;

    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;
}

.ffh-left {
    color: #4ade80;

    font-size: 11px;
    font-weight: bold;
}

.ffh-room-name {
    color: #fff;

    font-size: 17px;
    font-weight: bold;

    margin: 9px 0 11px;
}

.ffh-room-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.ffh-rb {
    border: 1px solid #1e293b;
    border-radius: 10px;

    background: rgba(2, 6, 23, .6);

    padding: 8px 4px;
    text-align: center;
}

.ffh-rb span {
    display: block;

    color: #64748b;
    font-size: 9px;
    letter-spacing: 1px;
}

.ffh-rb strong {
    display: block;

    color: #fbbf24;
    font-size: 16px;

    margin-top: 2px;
}

.ffh-join {
    width: 100%;

    background: linear-gradient(90deg, #f59e0b, #a855f7);
    color: #0b0416;

    border: none;
    border-radius: 11px;

    padding: 11px;
    margin-top: 11px;

    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;

    cursor: pointer;
}

.ffh-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;

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

    margin: 0 auto 26px;
}

.ffh-tr {
    border: 1px solid #1e293b;
    border-radius: 14px;

    background: rgba(2, 6, 23, .65);

    padding: 13px 10px;
    text-align: center;
}

.ffh-tr-ico {
    font-size: 19px;
}

.ffh-tr-t {
    color: #e2e8f0;

    font-size: 11px;
    font-weight: bold;
    letter-spacing: .6px;

    margin-top: 6px;
}

.ffh-tr-s {
    color: #64748b;
    font-size: 10px;

    margin-top: 3px;
}

@media (min-width: 700px) {

    .ffh-rooms {
        grid-template-columns: repeat(3, 1fr);
    }

    .ffh-trust {
        grid-template-columns: repeat(4, 1fr);
    }

}

/* ==================================================
   V63 : PAYMENT COPY ROW FIX
   (#paymentBox button was forcing width:100% on COPY)
================================================== */

#paymentBox .ffx-pay {
    display: flex;
    align-items: center;
    gap: 10px;
}

#paymentBox .ffx-pay-left {
    flex: 1 1 auto;
    min-width: 0;
}

#paymentBox .ffx-pay-val {
    white-space: normal;

    word-break: break-all;
    overflow-wrap: anywhere;

    line-height: 1.35;
}

#paymentBox button.ffx-copy,
#paymentBox button.ffx-copy-small {
    width: auto;
    flex: 0 0 auto;

    margin-top: 0;
    padding: 9px 14px;

    border: 1px solid #22c55e;
    background: rgba(34, 197, 94, .10);
    color: #4ade80;

    border-radius: 9px;

    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
}

#paymentBox button.ffx-copy:hover,
#paymentBox button.ffx-copy-small:hover {
    transform: none;
    box-shadow: none;

    background: rgba(34, 197, 94, .18);
}
