/* ========================================
   V4.6 — UNIFIED CONTROLS BOX
   Simetris, 1 kotak, 3 blok terpisah
   ======================================== */

/* Controls outer section */
.controls-section {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    padding: 0 0 6px 0 !important;
}

.control-panel {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 480px !important;
    padding: 6px 10px !important;
}

/* ── ONE BIG BOX ── */
.unified-controls-box {
    display: flex !important;
    flex-direction: column !important;
    background: white !important;
    border-radius: 22px !important;
    border: 1px solid rgba(0, 0, 0, 0.07) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07) !important;
    width: 100% !important;
    overflow: hidden !important;
}

/* ADDITIONAL UTILITIES & MODALS */
.header-icon-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 8px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(5px);
}

.header-icon-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.auth-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    margin-left: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.account-status {
    font-size: 10px;
    color: #4cd137;
    margin-top: 4px;
    font-weight: 600;
}

/* ── DIFFICULTY CHIPS ── */
.difficulty-chips-row {
    display: flex;
    gap: 8px;
    margin: 20px 0;
    justify-content: center;
}

.diff-chip {
    flex: 1;
    cursor: pointer;
}

.diff-chip input { display: none; }

.diff-chip span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    background: #f1f2f6;
    color: #a4b0be;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.diff-chip input:checked + span {
    background: white;
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.15);
    transform: translateY(-2px);
}

/* ── LOBBY ACTION BUTTONS ── */
.lobby-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.action-btn {
    flex: 1;
    height: 58px;
    border-radius: 20px;
    border: none;
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.action-btn i, .action-btn span { font-size: 18px; }

.vs-comp-btn {
    background: #2d3436;
    color: white;
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.local-action-btn {
    background: #00b894;
    color: white;
    box-shadow: 0 12px 25px rgba(0,184,148,0.25);
}

.action-btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

.action-btn:active {
    transform: translateY(-1px) scale(0.98);
}

/* ── ONLINE LOBBY SECTION ── */
.online-lobby {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 15px;
    margin: 15px 0;
    border: 1px solid #edeff2;
}

.online-lobby-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.ol-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.online-dot {
    width: 8px;
    height: 8px;
    background: #4cd137;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(76, 209, 55, 0.5);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(76, 209, 55, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(76, 209, 55, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(76, 209, 55, 0); }
}

.ol-label {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-dark);
}

.ol-code-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.ol-code-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
}

.online-players-scroll {
    max-height: 80px;
    overflow-y: auto;
    padding-right: 5px;
}

.online-players-scroll::-webkit-scrollbar { width: 4px; }
.online-players-scroll::-webkit-scrollbar-thumb { background: #dfe4ea; border-radius: 10px; }

/* MODAL & OVERLAY RESCUE */
.suit-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    z-index: 999999 !important; 
    display: none; 
    align-items: center !important;
    justify-content: center !important;
    animation: fadeIn 0.3s ease;
}

.suit-container {
    background: rgba(255, 255, 255, 0.98);
    padding: 24px 20px !important; /* ZERO-SCROLL PADDING */
    border-radius: 36px !important; 
    width: 94%;
    max-width: 400px;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 1);
    position: relative;
    z-index: 1000000 !important;
    animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    text-align: center;
    max-height: 90vh; /* STAY WITHIN VIEWPORT */
    overflow: hidden !important;
}

.vault-container {
    padding: 24px 18px !important;
}

/* AUTH MODAL & PIN BOXES */
.auth-container {
    padding: 35px;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-radius: 32px;
}

#authModalTitle {
    font-size: 1.3rem; /* TIGHTENED */
    font-weight: 900;
    margin-bottom: 4px;
    background: linear-gradient(135deg, #2d3436 0%, #636e72 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#authModalDesc {
    color: #636e72;
    font-size: 0.8rem; /* TIGHTENED */
    margin-bottom: 20px;
}

.pin-input-group {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 30px 0;
}

.pin-box {
    width: 45px;
    height: 60px;
    background: white;
    border: 2px solid #edeff2;
    border-radius: 14px;
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.pin-box:focus {
    border-color: var(--primary);
    background: #fffafa;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 71, 87, 0.15);
    outline: none;
}

/* Hide Spinners */
.pin-box::-webkit-outer-spin-button,
.pin-box::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* LEADERBOARD */
.lb-container {
    max-width: 460px;
    padding: 30px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
}

.lb-empty-state {
    padding: 60px 20px;
    text-align: center;
    color: #ced6e0;
}

.lb-empty-icon {
    font-size: 4rem;
    margin-bottom: 15px;
    opacity: 0.3;
}

.lb-loader {
    width: 30px;
    height: 30px;
    border: 3px solid #f1f2f6;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: lb-spin 0.8s linear infinite;
    margin: 40px auto;
}

@keyframes lb-spin { to { transform: rotate(360deg); } }

.lb-tabs {
    display: flex;
    background: #f1f2f6;
    padding: 6px;
    border-radius: 16px;
    margin: 20px 0;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.lb-tab {
    flex: 1;
    border: none;
    background: none;
    padding: 10px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    color: #a4b0be;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lb-tab.active {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.lb-list {
    max-height: 350px;
    overflow-y: auto;
    padding-right: 5px;
}

.lb-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 16px;
    border-radius: 20px;
    border: 1px solid #f1f2f6;
    margin-bottom: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lb-rank {
    width: 40px;
    font-weight: 900;
    font-size: 1.1rem;
    color: #a4b0be;
    display: flex;
    justify-content: center;
}

.lb-rank.gold { color: #f1c40f; font-size: 1.6rem; }
.lb-rank.silver { color: #bdc3c7; font-size: 1.6rem; }
.lb-rank.bronze { color: #e67e22; font-size: 1.6rem; }

.lb-name {
    flex: 1;
    font-weight: 800;
    color: var(--text-dark);
    margin-left: 15px;
}

.lb-wins {
    background: #f1f2f6;
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 900;
    color: var(--primary);
}

/* QR CONTAINER */
.qr-container {
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 28px;
    width: 220px; /* Fixed width for consistency */
    height: 220px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    border: 1px solid #f1f2f6;
    overflow: hidden;
}

.qr-container canvas, .qr-container img {
    max-width: 100%;
    height: auto !important;
    display: block;
    mix-blend-mode: multiply;
}

.room-code-container {
    background: #7c3aed;
    color: white;
    padding: 20px;
    border-radius: 24px;
    margin: 15px 0;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.room-code-value {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 5px;
    margin: 10px 0;
    font-family: 'Courier New', Courier, monospace;
}

/* ── INTERNAL BLOCKS ── */
.ctrl-block {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* ── DIVIDERS between blocks ── */
.ctrl-divider {
    width: 85% !important;
    height: 1px !important;
    background: rgba(0, 0, 0, 0.06) !important;
    margin: 0 auto !important;
}

/* ── ITEM BAG ── */
#player-bag {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    justify-content: center !important;
}

.item-slot {
    flex: 0 0 46px !important;
    height: 34px !important;
    background: #f7f7f8 !important;
    border-radius: 14px !important;
    border: 1px solid #ebebeb !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: transform 0.15s !important;
}
.item-slot:active { transform: scale(0.9) !important; }

.item-slot .icon { font-size: 16px !important; line-height: 1 !important; }
.item-slot .slot-use-btn { display: none !important; }

.item-slot .count {
    position: absolute !important;
    top: -7px !important;
    right: -7px !important;
    background: #7c3aed !important;
    color: white !important;
    font-size: 10px !important;
    width: 17px !important;
    height: 17px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 900 !important;
    border: 2px solid white !important;
}

/* ── UTILITY BUTTONS ── */
.game-utility-bar {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    justify-content: center !important;
}

.utility-btn {
    flex: 0 0 46px !important;
    height: 36px !important;
    border: 1px solid #ebebeb !important;
    border-radius: 14px !important;
    background: #f7f7f8 !important;
    font-size: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.15s !important;
    box-shadow: none !important;
}
.utility-btn:active { transform: scale(0.88) !important; background: #eee !important; }

/* ── DICE SECTION ── */
.dice-block {
    padding: 4px 12px 8px !important;
}

.dice-stage-container {
    transform: scale(0.82) !important;
    margin-top: -8px !important;
    margin-bottom: -12px !important;
}

 /* ── TURN NOTIFICATION POPUP ── */
 #turn-notifier {
     position: fixed !important;
     z-index: 9999 !important;
     background: linear-gradient(135deg, #f093fb 0%, #f5576c 50%, #fd79a8 100%) !important;
     color: white !important;
     padding: 12px 28px !important;
     border-radius: 100px !important;
     font-size: 15px !important;
     font-weight: 800 !important;
     letter-spacing: 1px !important;
     box-shadow: 0 8px 30px rgba(240, 147, 251, 0.5), 0 0 40px rgba(245, 87, 108, 0.3) !important;
     pointer-events: none !important;
     display: none;
     white-space: nowrap !important;
     transform: translateX(-50%) scale(1);
     text-shadow: 0 1px 3px rgba(0,0,0,0.2);
     border: 1px solid rgba(255,255,255,0.3);
 }

 #turn-notifier::after {
     content: '';
     position: absolute;
     bottom: -8px;
     left: 50%;
     transform: translateX(-50%);
     width: 0;
     height: 0;
     border-left: 8px solid transparent;
     border-right: 8px solid transparent;
     border-top: 8px solid #f5576c;
 }

#turn-notifier.active {
    display: block !important;
    animation: notifierPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes notifierPop {
    0%   { transform: translateX(-50%) translateY(20px) scale(0.2); opacity: 0; }
    65%  { transform: translateX(-50%) translateY(0) scale(1.1); opacity: 1; }
    100% { transform: translateX(-50%) translateY(0) scale(1);   opacity: 1; }
}

/* ── PREMIUM AVATAR SELECTION ── */
.premium-avatar-row {
    display: flex;
    align-items: center;
    justify-content: space-between; /* STRETCH TO FIT */
    gap: 6px;
    padding: 8px 0;
    margin: 5px 0;
    width: 100%;
    box-sizing: border-box;
}

.emoji-option {
    font-size: 20px;
    width: 36px;
    height: 36px;
    background: #f1f2f6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    flex-shrink: 0; 
}

.emoji-option.selected {
    background: white !important;
    border-color: #6c5ce7 !important;
    box-shadow: 0 0 15px rgba(108, 92, 231, 0.3);
    transform: scale(1.1);
}

.emoji-option:hover {
    background: white;
    border-color: #a29bfe;
}

.more-avatars-btn {
    width: 36px;
    height: 36px;
    background: #f1f2f6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1.5px solid #dcdde1; /* PREMIUM SOLID BORDER */
}

.more-avatars-btn:hover {
    background: white;
    border-color: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 8px 15px rgba(108, 92, 231, 0.15);
}

.more-icon {
    font-size: 16px;
    color: var(--primary);
    font-weight: 900;
}

/* AVATAR VAULT GRID - HIGH DENSITY */
.emoji-grid-full {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important; /* MAX DENSITY (7 Cols) */
    gap: 8px !important;
    max-height: 280px;
    overflow-y: auto;
    padding: 5px;
    margin: 15px 0;
}

.emoji-grid-full .emoji-option {
    width: 32px !important; /* SMALLER FOR VAULT */
    height: 32px !important;
    font-size: 18px !important;
}

.emoji-grid-full::-webkit-scrollbar {
    width: 5px;
}

.emoji-grid-full::-webkit-scrollbar-thumb {
    background: #dfe4ea;
    border-radius: 10px;
}

/* ── JOIN SECTION ── */
.join-input-group {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    margin: 15px 0 !important;
    width: 100% !important;
    background: #f1f2f6;
    border-radius: 16px;
    border: 2px solid #edeff2;
    overflow: hidden !important;
}

.join-code-input {
    flex: 1 !important;
    min-width: 0 !important; /* Allow shrink */
    background: transparent !important;
    border: none !important;
    padding: 12px !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    text-align: center !important;
    letter-spacing: 2px !important;
    color: var(--text-dark) !important;
    outline: none !important;
}

.join-btn {
    border-radius: 0 !important;
    padding: 0 15px !important;
    font-size: 14px !important;
    height: 52px !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    background: #55efc4 !important; /* Match user screenshot preference maybe? */
    color: #2d3436 !important;
    border: none !important;
}

/* ── STANDARDIZED ACTION BUTTONS ── */
.auth-actions {
    display: flex !important;
    justify-content: center !important;
    gap: 12px !important;
    margin-top: 25px !important;
}

.mode-btn {
    height: 50px !important; /* FIXED HEIGHT FOR SYMMETRY */
    padding: 0 24px !important;
    border-radius: 16px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 !important; /* SHARED WIDTH */
    max-width: 160px !important;
}

.prime-btn {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe) !important;
    color: white !important;
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.25) !important;
}

.cancel-btn {
    background: #f1f2f6 !important;
    color: #a4b0be !important;
    border: 1.5px solid #dcdde1 !important;
}

.mode-btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.05);
}

.prime-btn:hover {
    box-shadow: 0 12px 25px rgba(108, 92, 231, 0.35) !important;
}

.mode-btn:active {
    transform: translateY(-1px) scale(0.98);
}

/* ────────────────────────────────────────────────────────────────
   IN-APP SCANNER & JOIN UI
   ──────────────────────────────────────────────────────────────── */
.join-input-group {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 5px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.join-code-input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    padding: 10px !important;
    color: white !important;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    outline: none !important;
}
.scan-btn {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    font-size: 1.2rem;
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.scan-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.05);
}
.join-btn {
    margin-bottom: 0 !important;
    white-space: nowrap;
    min-width: 100px;
}

.scanner-container {
    max-width: 380px !important;
    background: rgba(15, 15, 15, 0.98) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#reader__status_span { display: none !important; }
#reader video {
    object-fit: cover !important;
    border-radius: 12px !important;
}
#reader__dashboard_section_csr button {
    background: var(--prime-blue) !important;
    color: white !important;
    border: none !important;
    padding: 8px 15px !important;
    border-radius: 8px !important;
    font-family: 'Poppins', sans-serif !important;
    cursor: pointer !important;
}

.wide-btn {
    max-width: 100% !important;
    width: 100% !important;
    flex: none !important;
}

@keyframes waitingPulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.98); }
    100% { opacity: 1; transform: scale(1); }
}

.btn-waiting {
    animation: waitingPulse 1.5s infinite ease-in-out;
    filter: grayscale(0.2);
    box-shadow: 0 0 15px rgba(108, 92, 231, 0.4) !important;
}

.score-label {
    font-size: 8px;
    text-transform: uppercase;
    opacity: 0.6;
    margin-right: 2px;
}

/* ========================================
   GOLDEN DICE MODAL
   ======================================== */
.golden-dice-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid #ffd700;
    border-radius: 28px;
    padding: 30px;
    width: min(340px, 90vw);
    text-align: center;
    position: relative;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.3), inset 0 0 20px rgba(255, 215, 0, 0.1);
    animation: modalSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.golden-dice-header {
    margin-bottom: 25px;
}

.golden-icon {
    font-size: 50px;
    display: block;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
    animation: goldPulse 2s infinite alternate ease-in-out;
}

@keyframes goldPulse {
    from { transform: scale(1); filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5)); }
    to { transform: scale(1.15); filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.8)); }
}

.golden-dice-header h2 {
    color: #ffd700;
    font-size: 24px;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.golden-dice-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin: 5px 0 0 0;
}

.golden-dice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 25px;
}

.gold-num-btn {
    aspect-ratio: 1;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 16px;
    color: #ffd700;
    font-size: 22px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gold-num-btn:hover {
    background: #ffd700;
    color: #1a1a2e;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.gold-auto-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(90deg, #ffd700, #ff9f43);
    border: none;
    border-radius: 16px;
    color: #1a1a2e;
    font-weight: 900;
    font-size: 15px;
    cursor: pointer;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

.gold-auto-btn:hover {
    filter: brightness(1.1);
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
}

.gold-cancel-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.5);
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gold-cancel-btn:hover {
    color: white;
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}
