/* ================================================================
   SX TOOLS — Premium Golden / Gray Design System
   Complete self-contained stylesheet for /app
   ================================================================ */

/* ---- Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ---- Variables ---- */
:root {
    /* Gold palette */
    --gold-50:  #FFF9E6;
    --gold-100: #FFF0BF;
    --gold-200: #FFE799;
    --gold-300: #F5D779;
    --gold-400: #E8C84C;
    --gold-500: #D4AF37;
    --gold-600: #B8962E;
    --gold-700: #8B7730;
    --gold-800: #6B5A1E;
    --gold-900: #4A3D15;

    /* Gray palette */
    --gray-950: #060609;
    --gray-900: #0A0A10;
    --gray-850: #0E0E18;
    --gray-800: #121220;
    --gray-750: #17172A;
    --gray-700: #1C1C32;
    --gray-600: #28283E;
    --gray-500: #38384E;
    --gray-400: #58586E;
    --gray-300: #78788E;
    --gray-200: #9898AA;
    --gray-100: #B8B8C8;
    --gray-50:  #E0E0E8;

    /* Semantic */
    --bg-app:      var(--gray-950);
    --bg-sidebar:  #0B0B14;
    --bg-topbar:   rgba(10, 10, 16, 0.85);
    --bg-card:     rgba(14, 14, 24, 0.65);
    --bg-card-alt: rgba(18, 18, 30, 0.5);
    --bg-input:    rgba(10, 10, 18, 0.7);
    --bg-hover:    rgba(212, 175, 55, 0.04);

    --border-subtle:  rgba(212, 175, 55, 0.06);
    --border-default: rgba(212, 175, 55, 0.12);
    --border-accent:  rgba(212, 175, 55, 0.25);
    --border-strong:  rgba(212, 175, 55, 0.45);

    --text-primary:   #EAE8E2;
    --text-secondary: #8A8A9A;
    --text-muted:     #55556A;
    --text-gold:      var(--gold-400);

    --shadow-card:    0 4px 24px rgba(0,0,0,0.35), 0 1px 3px rgba(0,0,0,0.2);
    --shadow-glow:    0 0 30px rgba(212, 175, 55, 0.08);
    --shadow-gold:    0 0 20px rgba(212, 175, 55, 0.15);

    --success: #34D399;
    --error:   #F87171;
    --warning: #FBBF24;
    --info:    #60A5FA;

    --sidebar-w: 230px;
    --topbar-h:  0px;
    --radius:    12px;
    --radius-sm: 8px;
    --radius-xs: 6px;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 15px; scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-app);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* Subtle background pattern */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(212, 175, 55, 0.04), transparent),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(212, 175, 55, 0.02), transparent);
    pointer-events: none;
    z-index: 0;
}

/* ================================================================
   LAYOUT
   ================================================================ */
.app-layout {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.main-wrapper {
    flex: 1;
    margin-left: var(--sidebar-w);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: margin-left 0.3s var(--ease);
}

.content-area {
    flex: 1;
    padding: 28px 32px 40px;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

/* ================================================================
   SIDEBAR
   ================================================================ */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-w);
    height: 100vh;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    z-index: 100;
    transition: transform 0.35s var(--ease);
    overflow: hidden;
}

/* Sidebar glow edge */
.sidebar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(212, 175, 55, 0.15) 30%,
        rgba(212, 175, 55, 0.25) 50%,
        rgba(212, 175, 55, 0.15) 70%,
        transparent 100%
    );
}

.sidebar-brand {
    padding: 24px 24px 20px;
    border-bottom: 1px solid var(--border-subtle);
    flex-shrink: 0;
}

.sidebar-brand .brand-logo {
    display: flex;
    align-items: center;
    gap: 3px;
    text-decoration: none;
}

.sidebar-brand .logo-sx {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--gold-300), var(--gold-500), var(--gold-700));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar-brand .logo-tools {
    font-size: 1.6rem;
    font-weight: 300;
    letter-spacing: 2px;
    color: var(--gray-200);
}

.sidebar-brand .brand-tagline {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 4px;
}

/* Navigation */
.sidebar-nav {
    flex: 1;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
}

.sidebar-nav .nav-section-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 16px 12px 8px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.25s var(--ease);
    position: relative;
    overflow: hidden;
    text-align: left;
    width: 100%;
}

.nav-item i {
    font-size: 1.05rem;
    width: 20px;
    text-align: center;
    transition: all 0.25s var(--ease);
}

.nav-item:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.nav-item:hover i {
    color: var(--gold-400);
}

.nav-item.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.04));
    color: var(--gold-300);
    border: 1px solid var(--border-accent);
}

.nav-item.active i {
    color: var(--gold-400);
    filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.5));
}

/* Active indicator line — removed per design update */

.nav-item .nav-badge {
    margin-left: auto;
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-400);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    letter-spacing: 0.5px;
}

/* Sidebar footer */
.sidebar-footer {
    padding: 16px 12px;
    border-top: 1px solid var(--border-subtle);
    flex-shrink: 0;
}

.sidebar-footer .nav-item {
    font-size: 0.82rem;
}

/* Mobile toggle */
.sidebar-toggle {
    display: none;
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 200;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-default);
    background: rgba(14, 14, 24, 0.9);
    backdrop-filter: blur(10px);
    color: var(--gold-400);
    font-size: 1.1rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.25s var(--ease);
}

.sidebar-toggle:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--border-accent);
}

/* ================================================================
   TOPBAR
   ================================================================ */
.topbar {
    height: var(--topbar-h);
    display: none;
}

/* ================================================================
   PAGE SYSTEM
   ================================================================ */
.page {
    display: none;
    animation: pageIn 0.4s var(--ease) both;
}

.page.active {
    display: block;
}

@keyframes pageIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Page header */
.page-header {
    margin-bottom: 28px;
}

.page-title {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-title .title-accent {
    background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-title .title-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    border: 1px solid var(--border-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-400);
    font-size: 1rem;
}

.page-subtitle {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-top: 6px;
    font-weight: 400;
}

/* ================================================================
   CARDS
   ================================================================ */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-card);
    transition: all 0.3s var(--ease);
    overflow: hidden;
}

.card:hover {
    border-color: var(--border-default);
    box-shadow: var(--shadow-card), var(--shadow-glow);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.card-header i {
    color: var(--gold-500);
    margin-right: 8px;
    font-size: 0.85rem;
}

.card-header span {
    display: flex;
    align-items: center;
}

.card-body {
    padding: 20px;
}

/* ================================================================
   GRID LAYOUTS
   ================================================================ */
.raffle-container,
.trivia-container,
.wheel-container,
.slots-container {
    display: grid;
    gap: 24px;
}

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

.trivia-container {
    grid-template-columns: 280px 1fr 320px;
}

.wheel-container {
    grid-template-columns: 1fr 380px;
}

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

.raffle-left,
.raffle-right,
.trivia-left,
.trivia-center,
.trivia-right,
.wheel-left,
.wheel-right,
.slots-left,
.slots-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ================================================================
   FORM ELEMENTS
   ================================================================ */
.form-group {
    margin-bottom: 16px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group label i {
    color: var(--gold-500);
    margin-right: 6px;
    font-size: 0.75rem;
}

.form-group label .kick-icon {
    color: var(--gold-500);
}

.input-wrapper {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    padding-right: 42px;
    background: var(--bg-input);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.25s var(--ease);
    outline: none;
}

.form-input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.form-input:focus {
    border-color: var(--gold-500);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1), var(--shadow-gold);
    background: rgba(14, 14, 24, 0.9);
}

.form-input.highlight {
    border-color: var(--border-accent);
}

.form-input.highlight:focus {
    border-color: var(--gold-400);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15), 0 0 20px rgba(212, 175, 55, 0.1);
}

.form-textarea {
    min-height: 90px;
    resize: vertical;
    padding-right: 16px;
}

.input-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.85rem;
    pointer-events: none;
    transition: color 0.25s var(--ease);
}

.form-input:focus ~ .input-icon {
    color: var(--gold-500);
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn-premium {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s var(--ease);
    background: linear-gradient(135deg, var(--gold-600), var(--gold-500), var(--gold-400));
    color: #0A0A10;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3), inset 0 1px 0 rgba(255,255,255,0.2);
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400), var(--gold-300));
}

.btn-premium:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.2);
}

.btn-premium::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s var(--ease);
}

.btn-premium:hover::after {
    transform: translateX(100%);
}

.btn-premium i {
    font-size: 0.9rem;
}

/* Keep backward compat for comic-brutal-button */
.comic-brutal-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s var(--ease);
    background: linear-gradient(135deg, var(--gold-600), var(--gold-500), var(--gold-400));
    color: #0A0A10;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2), inset 0 1px 0 rgba(255,255,255,0.15);
}

.comic-brutal-button .button-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 24px;
}

.comic-brutal-button .button-text {
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comic-brutal-button .button-text i {
    font-size: 0.85rem;
}

.comic-brutal-button .halftone-overlay,
.comic-brutal-button .ink-splatter,
.comic-brutal-button .button-shadow,
.comic-brutal-button .button-frame {
    display: none;
}

.comic-brutal-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3), inset 0 1px 0 rgba(255,255,255,0.2);
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400), var(--gold-300));
}

.comic-brutal-button:active {
    transform: translateY(0);
}

/* Secondary / outline buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.25s var(--ease);
    border: 1px solid var(--border-default);
    background: transparent;
    color: var(--text-secondary);
}

.btn:hover {
    border-color: var(--border-accent);
    background: var(--bg-hover);
    color: var(--text-primary);
}

.btn-outline {
    border: 1px solid var(--border-default);
    background: transparent;
    color: var(--text-secondary);
}

.btn-outline:hover {
    border-color: var(--gold-500);
    color: var(--gold-400);
    background: rgba(212, 175, 55, 0.06);
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-danger {
    border-color: rgba(248, 113, 113, 0.3);
    color: var(--error);
}

.btn-danger:hover {
    background: rgba(248, 113, 113, 0.1);
    border-color: var(--error);
    color: var(--error);
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-600), var(--gold-500));
    border: none;
    color: #0A0A10;
    font-weight: 700;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    box-shadow: var(--shadow-gold);
    color: #0A0A10;
}

.btn-glow {
    box-shadow: var(--shadow-gold);
}

.button-row {
    display: flex;
    gap: 8px;
}

.button-row .btn {
    flex: 1;
}

/* Settings button */
.settings-btn {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-xs);
    border: 1px solid var(--border-default);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s var(--ease);
    font-size: 0.85rem;
}

.settings-btn:hover {
    border-color: var(--gold-500);
    color: var(--gold-400);
    background: rgba(212, 175, 55, 0.08);
}

.text-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: var(--radius-xs);
    transition: all 0.25s var(--ease);
}

.text-btn:hover {
    color: var(--error);
    background: rgba(248, 113, 113, 0.08);
}

/* ================================================================
   STATUS & BADGES
   ================================================================ */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
}

.status-badge.offline {
    color: var(--error);
    background: rgba(248, 113, 113, 0.1);
}

.status-badge.offline i {
    font-size: 0.45rem;
    color: var(--error);
}

.status-badge.online {
    color: var(--success);
    background: rgba(52, 211, 153, 0.1);
}

.status-badge.online i {
    font-size: 0.45rem;
    color: var(--success);
    animation: pulse-dot 1.5s ease infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 22px;
    padding: 0 8px;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold-400);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.win-count {
    font-size: 0.75rem;
    color: var(--gold-400);
    font-weight: 600;
}

/* ================================================================
   DRAW STATS BAR
   ================================================================ */
.draw-stats-bar {
    display: flex;
    gap: 0;
    padding: 0;
    background: rgba(10, 10, 18, 0.5);
    border-bottom: 1px solid var(--border-subtle);
}

.draw-stat {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-right: 1px solid var(--border-subtle);
}

.draw-stat:last-child {
    border-right: none;
}

.draw-stat i {
    color: var(--gold-500);
    font-size: 0.85rem;
}

.draw-stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
}

.draw-stat-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ================================================================
   DRAW AREA
   ================================================================ */
.draw-card {
    overflow: hidden;
}

.draw-area {
    padding: 50px 30px;
    text-align: center;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* subtle radial glow behind draw area — disabled */
.draw-area::before {
    display: none;
}

.draw-content {
    position: relative;
    z-index: 1;
}

.draw-content.ready h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 16px;
}

.draw-content.ready p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-top: 8px;
}

.trophy-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    border: 2px solid var(--border-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.trophy-icon i {
    font-size: 1.8rem;
    color: var(--gold-400);
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
}

.draw-content.winner {
    animation: winnerReveal 0.6s var(--ease-bounce) both;
}

.winner-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--gold-500);
    overflow: hidden;
    margin: 0 auto 16px;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

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

.winner-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gold-300);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.winner-label {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-top: 4px;
}

@keyframes winnerReveal {
    from { opacity: 0; transform: scale(0.8); }
    to   { opacity: 1; transform: scale(1); }
}

/* ================================================================
   ACTION BAR
   ================================================================ */
.action-bar {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.action-bar .comic-brutal-button {
    flex: 1;
}

.action-bar .btn-icon {
    flex-shrink: 0;
}

/* ================================================================
   RAFFLE OPTIONS (TOGGLES)
   ================================================================ */
.raffle-options {
    margin-top: 16px;
}

.toggle-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.25s var(--ease);
}

.toggle-option:hover {
    border-color: var(--border-default);
}

.toggle-option input[type="checkbox"] {
    display: none;
}

.toggle-slider {
    width: 40px;
    height: 22px;
    border-radius: 12px;
    background: var(--gray-600);
    position: relative;
    flex-shrink: 0;
    transition: background 0.3s var(--ease);
}

.toggle-slider::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gray-300);
    top: 3px;
    left: 3px;
    transition: all 0.3s var(--ease);
}

.toggle-option input:checked + .toggle-slider {
    background: linear-gradient(135deg, var(--gold-600), var(--gold-500));
}

.toggle-option input:checked + .toggle-slider::after {
    transform: translateX(18px);
    background: white;
    box-shadow: 0 0 6px rgba(212, 175, 55, 0.4);
}

.toggle-label {
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.toggle-label i {
    color: var(--gold-500);
    margin-right: 4px;
}

/* ================================================================
   CHAT
   ================================================================ */
.chat-card .card-body.chat-body {
    padding: 0;
}

.chat-messages {
    height: 320px;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.chat-empty,
.winner-chat-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 12px;
    color: var(--text-muted);
}

.chat-empty i,
.winner-chat-empty i {
    font-size: 2rem;
    color: var(--gray-500);
}

.chat-empty p,
.winner-chat-empty p {
    font-size: 0.85rem;
    font-weight: 500;
}

/* Chat tabs */
.chat-tabs-header {
    padding: 0 !important;
    border-bottom: none !important;
}

.chat-tabs {
    display: flex;
    width: 100%;
}

.chat-tab {
    flex: 1;
    padding: 14px 16px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.25s var(--ease);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-bottom: 2px solid transparent;
}

.chat-tab:hover {
    color: var(--text-secondary);
    background: var(--bg-hover);
}

.chat-tab.active {
    color: var(--gold-400);
    border-bottom-color: var(--gold-500);
    background: rgba(212, 175, 55, 0.04);
}

.chat-tab.active i {
    color: var(--gold-400);
}

.chat-tab-content {
    display: none;
}

.chat-tab-content.active {
    display: block !important;
}

/* ================================================================
   ENTRIES LIST
   ================================================================ */
.entries-list {
    max-height: 350px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.entries-empty,
.winners-empty,
.rankings-empty,
.slots-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    gap: 12px;
    color: var(--text-muted);
    text-align: center;
}

.entries-empty i,
.winners-empty i,
.rankings-empty i,
.slots-empty i {
    font-size: 2.2rem;
    color: var(--gray-600);
}

.entries-empty p,
.winners-empty p,
.rankings-empty p,
.slots-empty p {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.entries-empty span,
.slots-empty span {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

/* ================================================================
   WINNERS LIST
   ================================================================ */
.winners-list {
    max-height: 300px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* ================================================================
   TRIVIA GAME AREA
   ================================================================ */
.game-card {
    overflow: hidden;
}

.game-area {
    padding: 50px 30px;
    text-align: center;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.game-content.ready h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.game-content.ready p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-top: 8px;
}

.game-content.question {
    width: 100%;
}

.question-timer {
    margin-bottom: 24px;
}

.timer-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--gold-500);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    animation: timerPulse 1s ease infinite;
}

.timer-circle span {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold-300);
    font-family: 'JetBrains Mono', monospace;
}

@keyframes timerPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.2); }
    50% { box-shadow: 0 0 30px rgba(212, 175, 55, 0.35); }
}

.question-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.5;
}

.game-content.winner .winner-crown {
    font-size: 3rem;
    color: var(--gold-400);
    margin-bottom: 16px;
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.5));
}

.winner-answer {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 8px;
}

.winner-answer span {
    color: var(--gold-400);
    font-weight: 600;
}

/* Timer buttons */
.timer-options {
    display: flex;
    gap: 8px;
}

.timer-btn {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xs);
    background: transparent;
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s var(--ease);
}

.timer-btn:hover {
    border-color: var(--border-accent);
    color: var(--text-primary);
}

.timer-btn.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    border-color: var(--gold-500);
    color: var(--gold-400);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

/* Rankings */
.rankings-list {
    max-height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* ================================================================
   WHEEL
   ================================================================ */
.wheel-card {
    padding: 20px;
    box-shadow: none;
}

.wheel-card:hover {
    box-shadow: none;
}

.wheel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wheel-pointer {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    font-size: 2.2rem;
    color: var(--gold-400);
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}

#wheel-canvas {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: none;
}

.spin-button {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--gold-500);
    background: linear-gradient(135deg, var(--gray-800), var(--gray-900));
    color: var(--gold-400);
    font-family: inherit;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    cursor: pointer;
    z-index: 5;
    transition: all 0.3s var(--ease);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.spin-button:hover {
    background: linear-gradient(135deg, var(--gold-600), var(--gold-500));
    color: #0A0A10;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
    transform: scale(1.05);
}

.wheel-waiting {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 16, 0.85);
    backdrop-filter: blur(4px);
    border-radius: 50%;
}

.wheel-waiting span {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.wheel-entries {
    max-height: 250px;
}

/* ================================================================
   SLOTS
   ================================================================ */
.slots-calls-card .card-header {
    border-bottom: 1px solid var(--border-subtle);
}

.slots-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.slots-calls-list {
    max-height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* ================================================================
   SLOT CALL CARDS — JS-generated (slots.js updateCallsList)
   ================================================================ */
.slot-call-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xs);
    transition: all 0.2s var(--ease);
    position: relative;
}

.slot-call-card:hover {
    background: var(--bg-hover);
    border-color: var(--border-default);
}

.slot-call-card.new-call {
    border-color: var(--border-accent);
    background: rgba(212, 175, 55, 0.04);
    animation: fadeUp 0.3s var(--ease) both;
}

/* Circular avatar — Slot Calls */
.slot-call-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid var(--border-accent);
    background: var(--gray-700);
}

.slot-call-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.slot-call-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.slot-call-username {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold-400);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.slot-call-name {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.slot-call-name i {
    color: var(--gold-600);
    font-size: 0.65rem;
}

.slot-call-time {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
    flex-shrink: 0;
    white-space: nowrap;
}

.slot-call-remove {
    width: 24px;
    height: 24px;
    border-radius: var(--radius-xs);
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.65rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0;
    transition: all 0.2s var(--ease);
}

.slot-call-card:hover .slot-call-remove {
    opacity: 1;
}

.slot-call-remove:hover {
    background: rgba(248, 113, 113, 0.1);
    border-color: var(--error);
    color: var(--error);
}
/* ================================================================
   SETTINGS CONTAINER (Profile Page)
   ================================================================ */
.settings-container {
    max-width: 600px;
    margin: 0 auto;
}

.settings-header {
    margin-bottom: 24px;
}

.settings-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.settings-title i {
    color: var(--gold-500);
    margin-right: 10px;
}

/* ================================================================
   MODALS
   ================================================================ */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}

.modal.active {
    display: flex;
    animation: modalIn 0.3s var(--ease);
}

@keyframes modalIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.modal-content {
    background: linear-gradient(135deg, var(--gray-800), var(--gray-850));
    border: 1px solid var(--border-accent);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    position: relative;
    overflow: hidden;
    animation: modalContentIn 0.4s var(--ease-bounce);
    box-shadow: 0 25px 60px rgba(0,0,0,0.5), 0 0 40px rgba(212, 175, 55, 0.08);
}

@keyframes modalContentIn {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal .confetti {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.modal .winner-display {
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
}

.modal .winner-crown {
    font-size: 3rem;
    color: var(--gold-400);
    margin-bottom: 16px;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.5));
    animation: crownBounce 0.6s var(--ease-bounce) both 0.2s;
}

@keyframes crownBounce {
    from { opacity: 0; transform: translateY(-20px) scale(0.5); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal .winner-name {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal .winner-label {
    font-size: 0.85rem;
    letter-spacing: 4px;
    color: var(--gold-600);
    font-weight: 700;
}

.modal-close {
    padding: 12px 32px;
    font-size: 0.85rem;
}

.modal-cancel {
    border-color: var(--border-default) !important;
}

.confirm-logout-btn {
    background: var(--error) !important;
    border: none !important;
    color: white !important;
    font-weight: 700;
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 12px;
    font-family: inherit;
    transition: all 0.25s var(--ease);
}

.confirm-logout-btn:hover {
    background: #DC2626 !important;
}

/* ================================================================
   RAFFLE SETTINGS MODAL
   ================================================================ */
.raffle-settings-modal,
.slots-settings-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}

.raffle-settings-modal.active,
.slots-settings-modal.active {
    display: flex;
}

.raffle-settings-content,
.slots-settings-content {
    background: linear-gradient(135deg, var(--gray-800), var(--gray-850));
    border: 1px solid var(--border-accent);
    border-radius: var(--radius);
    max-width: 500px;
    width: 90%;
    overflow: hidden;
    animation: modalContentIn 0.4s var(--ease-bounce);
    box-shadow: 0 25px 60px rgba(0,0,0,0.5);
}

.raffle-settings-header,
.slots-settings-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-subtle);
}

.raffle-settings-title,
.slots-settings-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-primary);
}

.raffle-settings-title i,
.slots-settings-title i {
    color: var(--gold-500);
}

.raffle-settings-close,
.slots-settings-close {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-xs);
    border: 1px solid var(--border-default);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s var(--ease);
}

.raffle-settings-close:hover,
.slots-settings-close:hover {
    border-color: var(--error);
    color: var(--error);
    background: rgba(248, 113, 113, 0.08);
}

.raffle-settings-body,
.slots-settings-body {
    padding: 24px;
}

.raffle-settings-footer,
.slots-settings-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: flex-end;
}

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

.settings-section:last-child {
    margin-bottom: 0;
}

.settings-section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.settings-section-header i {
    color: var(--gold-500);
}

.settings-section-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

/* Role options */
.role-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.role-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.25s var(--ease);
}

.role-option:hover {
    border-color: var(--border-default);
    background: var(--bg-hover);
}

.role-option input { display: none; }

.role-option-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.role-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.subscriber-icon { background: rgba(212, 175, 55, 0.15); color: var(--gold-400); }
.vip-icon { background: rgba(168, 85, 247, 0.15); color: #A855F7; }
.og-icon { background: rgba(59, 130, 246, 0.15); color: #3B82F6; }
.mod-icon { background: rgba(52, 211, 153, 0.15); color: var(--success); }

.role-name {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-primary);
}

.role-check {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 2px solid var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s var(--ease);
}

.role-check i {
    font-size: 0.65rem;
    color: transparent;
    transition: color 0.25s var(--ease);
}

.role-option input:checked ~ .role-check {
    background: linear-gradient(135deg, var(--gold-600), var(--gold-500));
    border-color: var(--gold-500);
}

.role-option input:checked ~ .role-check i {
    color: #0A0A10;
}

/* ================================================================
   RAFFLE SETTINGS - NEW PROFESSIONAL LAYOUT
   ================================================================ */

/* Wide modal for two-column layout */
.raffle-settings-wide {
    max-width: 780px !important;
}

/* Two-column grid */
.raffle-settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 700px) {
    .raffle-settings-grid {
        grid-template-columns: 1fr;
    }
}

.raffle-settings-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Settings Cards */
.settings-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    overflow: hidden;
}

.settings-card-featured {
    border-color: rgba(212, 175, 55, 0.3);
}

.settings-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.02);
}

.settings-card-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.1));
    color: var(--gold-400);
    font-size: 1rem;
}

.settings-card-icon.timer-icon {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(99, 102, 241, 0.1));
    color: #818CF8;
}

.settings-card-icon.entry-icon {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.1));
    color: #22C55E;
}

.settings-card-title h3 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.settings-card-title p {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin: 2px 0 0;
}

.settings-card-body {
    padding: 16px;
}

.settings-card-desc {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0 0 14px;
}

/* Role Chips (Compact Grid) */
.role-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.role-chip {
    cursor: pointer;
}

.role-chip input { display: none; }

.role-chip-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: var(--bg-hover);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    transition: all 0.2s var(--ease);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.role-chip-inner i {
    font-size: 0.75rem;
}

.role-chip:hover .role-chip-inner {
    border-color: var(--border-default);
    background: var(--bg-card);
}

.role-chip input:checked ~ .role-chip-inner {
    border-color: var(--gold-500);
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-400);
}

.subscriber-chip i { color: #FBBF24; }
.vip-chip i { color: #A855F7; }
.og-chip i { color: #F97316; }
.mod-chip i { color: #22C55E; }

.role-chip input:checked ~ .subscriber-chip { border-color: #FBBF24; background: rgba(251, 191, 36, 0.1); color: #FBBF24; }
.role-chip input:checked ~ .vip-chip { border-color: #A855F7; background: rgba(168, 85, 247, 0.1); color: #A855F7; }
.role-chip input:checked ~ .og-chip { border-color: #F97316; background: rgba(249, 115, 22, 0.1); color: #F97316; }
.role-chip input:checked ~ .mod-chip { border-color: #22C55E; background: rgba(34, 197, 94, 0.1); color: #22C55E; }

/* Timer Input */
.timer-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.timer-input {
    width: 90px;
    padding: 10px 12px;
    background: var(--bg-hover);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

.timer-input:focus {
    outline: none;
    border-color: var(--gold-500);
    background: var(--bg-card);
}

.timer-unit {
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Entry Mode Cards */
.entry-mode-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.entry-mode-card {
    cursor: pointer;
}

.entry-mode-card input { display: none; }

.entry-mode-card-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--bg-hover);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    transition: all 0.25s var(--ease);
}

.entry-mode-card:hover .entry-mode-card-inner {
    border-color: var(--border-default);
    background: var(--bg-card);
}

.entry-mode-card input:checked ~ .entry-mode-card-inner {
    border-color: var(--gold-500);
    background: rgba(212, 175, 55, 0.08);
}

.entry-mode-card-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-400);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.entry-mode-card-icon.active {
    background: rgba(34, 197, 94, 0.15);
    color: #22C55E;
}

.entry-mode-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.entry-mode-card-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.entry-mode-card-desc {
    font-size: 0.72rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.entry-mode-card-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s var(--ease);
    flex-shrink: 0;
}

.entry-mode-card-check i {
    font-size: 0.6rem;
    color: transparent;
}

.entry-mode-card input:checked ~ .entry-mode-card-inner .entry-mode-card-check {
    background: var(--gold-500);
    border-color: var(--gold-500);
}

.entry-mode-card input:checked ~ .entry-mode-card-inner .entry-mode-card-check i {
    color: var(--gray-900);
}

/* Active Chat Configuration Panel */
.active-chat-config {
    margin-top: 14px;
    background: var(--bg-hover);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.active-chat-config-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: rgba(34, 197, 94, 0.08);
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.78rem;
    font-weight: 600;
    color: #22C55E;
}

.active-chat-config-header i {
    font-size: 0.75rem;
}

.active-chat-config-body {
    padding: 14px;
}

.config-field-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.config-field-label i {
    color: var(--gold-400);
    font-size: 0.75rem;
}

.config-field-desc {
    font-size: 0.72rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
}

.config-field-input {
    display: flex;
    align-items: center;
    gap: 10px;
}

.config-input {
    width: 70px;
    padding: 8px 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xs);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
}

.config-input:focus {
    outline: none;
    border-color: var(--gold-500);
}

.config-unit {
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Save Button */
.btn-save-settings {
    padding: 12px 24px;
}

/* Entry Mode Options - Legacy (can be removed if not used elsewhere) */
.entry-mode-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.entry-mode-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.25s var(--ease);
}

.entry-mode-option:hover {
    border-color: var(--border-default);
    background: var(--bg-hover);
}

.entry-mode-option input { display: none; }

.entry-mode-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.entry-mode-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-400);
}

.entry-mode-icon.active-chat-icon {
    background: rgba(59, 130, 246, 0.15);
    color: #3B82F6;
}

.entry-mode-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.entry-mode-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.entry-mode-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.entry-mode-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s var(--ease);
}

.entry-mode-check i {
    font-size: 0.65rem;
    color: transparent;
    transition: color 0.25s var(--ease);
}

.entry-mode-option input:checked ~ .entry-mode-check {
    background: linear-gradient(135deg, var(--gold-600), var(--gold-500));
    border-color: var(--gold-500);
}

.entry-mode-option input:checked ~ .entry-mode-check i {
    color: #0A0A10;
}

.entry-mode-option input:checked ~ .entry-mode-content .entry-mode-icon {
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

/* Active Chat Settings */
.active-chat-settings {
    padding: 16px;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: var(--radius-sm);
}

.settings-subsection-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.settings-subsection-label i {
    color: #3B82F6;
}

.settings-subsection-desc {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Active Chat Mode Indicator Badge */
.active-chat-mode-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    margin-top: 12px;
    position: relative;
}

.active-chat-mode-badge::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 3px;
    background: var(--gold-500);
    border-radius: 0 2px 2px 0;
}

.active-chat-badge-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.active-chat-badge-icon i {
    font-size: 1rem;
    color: var(--gray-900);
}

.active-chat-badge-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.active-chat-badge-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.active-chat-badge-title .status-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--success);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.active-chat-badge-title .status-indicator::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
}

.active-chat-badge-window {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.active-chat-badge-window .window-time {
    font-weight: 600;
    color: var(--gold-500);
}

/* Webhook */
.webhook-input-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.webhook-toggle {
    margin: 0;
}

/* ================================================================
   SUGGESTIONS PANEL
   ================================================================ */
.suggestions-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 900;
    backdrop-filter: blur(4px);
}

.suggestions-overlay.active {
    display: block;
}

.suggestions-panel {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    height: 100vh;
    background: linear-gradient(180deg, var(--gray-800), var(--gray-850));
    border-left: 1px solid var(--border-accent);
    z-index: 950;
    display: flex;
    flex-direction: column;
    transition: right 0.4s var(--ease);
    box-shadow: -10px 0 40px rgba(0,0,0,0.5);
}

.suggestions-panel.active {
    right: 0;
}

.suggestions-panel-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.suggestions-header-content {
    display: flex;
    align-items: center;
    gap: 14px;
}

.suggestions-icon-wrapper {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    border: 1px solid var(--border-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-400);
    font-size: 1.1rem;
}

.suggestions-header-text h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
}

.suggestions-header-text p {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.suggestions-close-btn {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-xs);
    border: 1px solid var(--border-default);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s var(--ease);
}

.suggestions-close-btn:hover {
    border-color: var(--error);
    color: var(--error);
}

.suggestions-panel-body {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}

.suggestions-form-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.suggestions-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.suggestions-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.suggestions-label i {
    color: var(--gold-500);
}

.suggestions-input-wrapper {
    position: relative;
}

.suggestions-input,
.suggestions-textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.25s var(--ease);
    outline: none;
}

.suggestions-input:focus,
.suggestions-textarea:focus {
    border-color: var(--gold-500);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.suggestions-textarea {
    resize: vertical;
    min-height: 120px;
}

.suggestions-input-glow { display: none; }

.suggestions-char-count {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-align: right;
    font-family: 'JetBrains Mono', monospace;
}

.suggestions-submit-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--gold-600), var(--gold-500));
    color: #0A0A10;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.suggestions-submit-btn:hover {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    box-shadow: var(--shadow-gold);
    transform: translateY(-1px);
}

.suggestions-submit-btn .btn-content,
.suggestions-submit-btn .btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.suggestions-success {
    text-align: center;
    padding: 40px 20px;
}

.suggestions-success .success-icon {
    font-size: 3rem;
    color: var(--success);
    margin-bottom: 16px;
}

.suggestions-success h4 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.suggestions-success p {
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.suggestions-panel-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-subtle);
}

.suggestions-footer-decoration {
    display: flex;
    align-items: center;
    gap: 12px;
}

.suggestions-footer-decoration .decoration-line {
    flex: 1;
    height: 1px;
    background: var(--border-subtle);
}

.suggestions-footer-decoration span {
    font-size: 0.7rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
    margin-left: var(--sidebar-w);
    background: var(--gray-900);
    border-top: 1px solid var(--border-subtle);
    transition: margin-left 0.3s var(--ease);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
}

.footer-top {
    display: flex;
    gap: 60px;
    padding: 48px 0 32px;
    flex-wrap: wrap;
}

.footer-brand h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.footer-brand h3 .logo-sx {
    background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.footer-brand h3 .logo-tools {
    color: var(--gray-200);
    font-weight: 300;
    letter-spacing: 2px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
    flex: 1;
}

.footer-column h4 {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 14px;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-column li,
.footer-column li a {
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s var(--ease);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-column li i {
    font-size: 0.75rem;
    color: var(--text-muted);
    width: 16px;
    text-align: center;
}

.footer-column li a:hover {
    color: var(--gold-400);
}

.footer-cards-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.feedback-card-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: var(--radius-xs);
    border: 1px solid var(--border-subtle);
    text-decoration: none;
    transition: all 0.25s var(--ease);
}

.feedback-card-link:hover {
    border-color: var(--border-default);
    background: var(--bg-hover);
}

.feedback-card-icon {
    font-size: 0.85rem;
    color: var(--gold-400);
}

.suggestions-icon {
    color: var(--warning) !important;
}

.feedback-card-text {
    display: flex;
    flex-direction: column;
}

.feedback-card-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-primary);
}

.feedback-card-subtitle {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid var(--border-subtle);
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-bottom-left p {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.footer-socials-inline {
    display: flex;
    gap: 12px;
}

.footer-socials-inline a {
    color: var(--text-muted);
    font-size: 1rem;
    transition: all 0.25s var(--ease);
}

.footer-socials-inline a:hover {
    color: var(--gold-400);
    transform: translateY(-1px);
}

.footer-social-wrapper a {
    transition: all 0.25s var(--ease);
}

.footer-social-wrapper a:hover {
    color: var(--error) !important;
}

/* ================================================================
   SCROLLBARS
   ================================================================ */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--gray-600);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-500);
}

/* ================================================================
   TOAST
   ================================================================ */
.toast {
    animation: toastIn 0.3s var(--ease-bounce) both;
    backdrop-filter: blur(12px) !important;
    border-radius: var(--radius-sm) !important;
}

.toast.hiding {
    animation: toastOut 0.3s var(--ease) both;
}

@keyframes toastIn {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastOut {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(10px); }
}

/* ================================================================
   UTILITY
   ================================================================ */
.hidden { display: none !important; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1200px) {
    .trivia-container {
        grid-template-columns: 1fr 1fr;
    }
    .trivia-left {
        grid-column: 1 / -1;
        flex-direction: row;
    }
    .trivia-left .card {
        flex: 1;
    }
}

@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.open {
        transform: translateX(0);
        box-shadow: 10px 0 40px rgba(0,0,0,0.5);
    }

    .sidebar-toggle {
        display: flex;
    }

    .main-wrapper {
        margin-left: 0;
    }

    .site-footer {
        margin-left: 0;
    }

    .content-area {
        padding: 20px 16px 32px;
        padding-top: 64px;
    }

    .raffle-container,
    .trivia-container,
    .wheel-container,
    .slots-container {
        grid-template-columns: 1fr;
    }

    .trivia-left {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    html { font-size: 14px; }

    .content-area {
        padding: 16px 12px 24px;
        padding-top: 60px;
    }

    .card-body {
        padding: 16px;
    }

    .draw-area {
        padding: 30px 20px;
        min-height: 200px;
    }

    .page-title {
        font-size: 1.4rem;
    }

    .modal-content {
        padding: 28px 20px;
    }

    .footer-top {
        flex-direction: column;
        gap: 32px;
    }

    .footer-links {
        flex-direction: column;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .footer-bottom-left {
        flex-direction: column;
    }

    .suggestions-panel {
        width: 100%;
        right: -100%;
    }

    .draw-stats-bar {
        flex-wrap: wrap;
    }

    .draw-stat {
        min-width: 45%;
        flex: unset;
    }

    .action-bar {
        flex-wrap: wrap;
    }

    .timer-options {
        flex-wrap: wrap;
    }

    .timer-btn {
        min-width: calc(50% - 4px);
    }
}

/* ================================================================
   MOBILE SIDEBAR OVERLAY
   ================================================================ */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 90;
    backdrop-filter: blur(2px);
}

.sidebar-overlay.active {
    display: block;
}

/* ================================================================
   ANIMATIONS / MICRO-INTERACTIONS
   ================================================================ */
@keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.card {
    animation: fadeUp 0.4s var(--ease) both;
}

.raffle-left > .card:nth-child(1) { animation-delay: 0s; }
.raffle-left > .card:nth-child(2) { animation-delay: 0.05s; }
.raffle-left > .card:nth-child(3) { animation-delay: 0.1s; }
.raffle-right > .card:nth-child(1) { animation-delay: 0.05s; }
.raffle-right > .card:nth-child(2) { animation-delay: 0.1s; }

/* Gold shimmer on card hover */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}

.card:hover::before {
    opacity: 1;
}

/* Nav text for the sidebar */
.nav-item span {
    white-space: nowrap;
}

/* ================================================================
   CHAT MESSAGES — JS-generated (raffle.js + global-chat.js)
   ================================================================ */
.chat-message {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 8px;
    border-radius: var(--radius-xs);
    transition: background 0.2s var(--ease);
    position: relative;
}

.chat-message:hover {
    background: rgba(255,255,255,0.03);
}

/* Circular avatar — Live Chat & Winner Chat */
.chat-message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    border: 1.5px solid var(--border-default);
    background: var(--gray-700);
}

.chat-message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.chat-message-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.chat-message-username {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gold-400);
    line-height: 1;
}

/* Green "SUB" badge shown inline next to a subscriber's name in chat.
   The parent .chat-message-content is a flex column, so we must explicitly
   shrink the badge to its content width and align it to the start, otherwise
   it stretches across the whole chat row. */
.chat-sub-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 1px 5px;
    margin-left: 6px;
    font-size: 0.55rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.04em;
    color: #d6ffe2 !important;
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%) !important;
    border: 1px solid rgba(34, 197, 94, 0.65);
    border-radius: 4px;
    text-transform: uppercase;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.45);
    align-self: flex-start;
    width: max-content;
    flex: 0 0 auto;
    vertical-align: middle;
}

.chat-sub-badge i {
    font-size: 0.5rem;
    color: #d6ffe2 !important;
}

.chat-message-text {
    font-size: 0.85rem;
    color: var(--text-primary);
    word-break: break-word;
    line-height: 1.4;
}

/* Keyword highlight inside chat */
.keyword-highlight {
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold-300);
    border-radius: 3px;
    padding: 0 2px;
    font-weight: 700;
}

/* Chat emotes */
.chat-emote {
    height: 22px;
    width: auto;
    vertical-align: middle;
    display: inline;
}

/* ================================================================
   ENTRY CARDS — JS-generated (raffle.js updateEntriesList)
   ================================================================ */
.entry-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xs);
    transition: all 0.2s var(--ease);
    position: relative;
}

.entry-card:hover {
    background: var(--bg-hover);
    border-color: var(--border-default);
}

/* Circular avatar — Entries list */
.entry-card-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid var(--border-accent);
    background: var(--gray-700);
}

.entry-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.entry-card-name {
    flex: 1;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Row that holds the username + optional SUB badge side-by-side in entry cards */
.entry-card-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.entry-card-name-row .entry-card-name {
    flex: 0 1 auto;
}

/* Small green "SUB" badge shown next to a subscriber's name in the entries list */
.entry-sub-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 1px 5px;
    font-size: 0.55rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.04em;
    color: #d6ffe2 !important;
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%) !important;
    border: 1px solid rgba(34, 197, 94, 0.65);
    border-radius: 4px;
    text-transform: uppercase;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.45);
    flex-shrink: 0;
}

.entry-sub-badge i {
    font-size: 0.5rem;
    color: #d6ffe2 !important;
}

.entry-remove-btn {
    width: 26px;
    height: 26px;
    border-radius: var(--radius-xs);
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.7rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0;
    transition: all 0.2s var(--ease);
}

.entry-card:hover .entry-remove-btn {
    opacity: 1;
}

.entry-remove-btn:hover {
    background: rgba(248, 113, 113, 0.1);
    border-color: var(--error);
    color: var(--error);
}

/* ================================================================
   WINNER LIST ITEMS — JS-generated (raffle.js updateWinnersList)
   ================================================================ */
.winner-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(212, 175, 55, 0.04);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-xs);
    transition: all 0.2s var(--ease);
}

.winner-item:hover {
    background: rgba(212, 175, 55, 0.08);
}

.winner-item-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid var(--gold-500);
    background: var(--gray-700);
}

.winner-item-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.winner-item-name {
    flex: 1;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold-300);
}

.winner-item-time {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

/* ================================================================
   CONNECTED STATE — JS-generated (raffle.js onConnected)
   ================================================================ */
.connected-state {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.connected-channel {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

/* Circular channel avatar */
.channel-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid var(--gold-500);
    box-shadow: 0 0 12px rgba(212,175,55,0.2);
    background: var(--gray-700);
}

.channel-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.channel-info {
    min-width: 0;
    flex: 1;
}

.channel-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.channel-status {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Dynamic live/offline badge from JS */
.status-badge.live,
.status-badge.connected {
    color: var(--success);
    background: rgba(52, 211, 153, 0.1);
}

.status-badge.live i,
.status-badge.connected i {
    font-size: 0.45rem;
    color: var(--success);
    animation: pulse-dot 1.5s ease infinite;
}

.viewers-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.viewers-badge i {
    color: var(--text-muted);
    font-size: 0.6rem;
}

.connected-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    align-self: center;
}

.btn-disconnect {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-xs);
    border: 1px solid rgba(248, 113, 113, 0.3);
    background: rgba(248, 113, 113, 0.06);
    color: var(--error);
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s var(--ease);
}

.btn-disconnect:hover {
    background: rgba(248, 113, 113, 0.15);
    border-color: var(--error);
    box-shadow: 0 0 10px rgba(248,113,113,0.15);
}

.btn-obs-widget {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-xs);
    border: 1px solid var(--border-default);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s var(--ease);
}

.btn-obs-widget:hover {
    border-color: var(--gold-500);
    color: var(--gold-400);
    background: rgba(212,175,55,0.08);
}

/* Keyword section shown when connected */
.keyword-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.keyword-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.keyword-label i {
    color: var(--gold-500);
    margin-right: 6px;
}

.keyword-input {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-input);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    outline: none;
    transition: all 0.25s var(--ease);
}

.keyword-input:focus {
    border-color: var(--gold-400);
    box-shadow: 0 0 0 3px rgba(212,175,55,0.12);
}

/* ================================================================
   SLOT MACHINE ANIMATION — JS-generated (raffle.js runSlotMachineAnimation)
   ================================================================ */
.slot-machine-container {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: rgba(0,0,0,0.35);
    border: 1px solid var(--border-accent);
}

.slot-machine-strip {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
}

.slot-item {
    width: 110px;
    height: 120px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px;
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius-xs);
    border: 1px solid var(--border-subtle);
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

/* Currently under the center line */
.slot-item.slot-item-center {
    border-color: rgba(212, 175, 55, 0.5);
    background: rgba(212, 175, 55, 0.06);
}

/* Final winner — persistent golden highlight */
.slot-item.slot-item-winner {
    border-color: var(--gold-400) !important;
    background: rgba(212, 175, 55, 0.14) !important;
    box-shadow: 0 0 0 2px rgba(212,175,55,0.3), 0 0 24px rgba(212, 175, 55, 0.35) !important;
    animation: winnerItemFlash 0.5s ease 3;
}

.slot-item.slot-item-winner .slot-avatar {
    border-color: var(--gold-400) !important;
    box-shadow: 0 0 10px rgba(212,175,55,0.4);
}

.slot-item.slot-item-winner .slot-name {
    color: var(--gold-300) !important;
    font-weight: 800;
}

@keyframes winnerItemFlash {
    0%, 100% { box-shadow: 0 0 0 2px rgba(212,175,55,0.3), 0 0 24px rgba(212,175,55,0.35); }
    50% { box-shadow: 0 0 0 3px rgba(212,175,55,0.6), 0 0 40px rgba(212,175,55,0.6); border-color: var(--gold-200) !important; }
}

/* Circular avatar in slot animation */
.slot-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-accent);
    background: var(--gray-700);
    flex-shrink: 0;
}

.slot-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.slot-name {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

/* Center pointer triangle at top */
.slot-center-pointer {
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    font-size: 1.6rem;
    color: var(--gold-400);
    filter: drop-shadow(0 0 6px rgba(212,175,55,0.5));
    line-height: 1;
}

/* Center vertical indicator line */
.slot-indicator-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, var(--gold-400), rgba(212,175,55,0.3));
    z-index: 4;
    pointer-events: none;
    box-shadow: 0 0 8px rgba(212,175,55,0.3);
}

/* Gradient fade edges */
.slot-gradient-left,
.slot-gradient-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 3;
    pointer-events: none;
}

.slot-gradient-left {
    left: 0;
    background: linear-gradient(90deg, rgba(10,10,16,0.95), transparent);
}

.slot-gradient-right {
    right: 0;
    background: linear-gradient(-90deg, rgba(10,10,16,0.95), transparent);
}

/* Winner display after animation */
.slot-winner-display {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10,10,16,0.9);
    backdrop-filter: blur(4px);
    border-radius: var(--radius-sm);
    animation: fadeUp 0.4s var(--ease-bounce) both;
}

/* Slot machine winner card — centered column layout */
.slot-winner-display .winner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.slot-winner-display .winner-card .winner-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--gold-500);
    box-shadow: 0 0 20px rgba(212,175,55,0.4);
    margin: 0;
    background: var(--gray-700);
}

.slot-winner-display .winner-card .winner-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.slot-winner-display .winner-card .winner-text {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--gold-500);
    text-transform: uppercase;
}

.slot-winner-display .winner-card .winner-username {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--gold-300);
    text-shadow: 0 0 12px rgba(212,175,55,0.3);
}

/* ================================================================
   WINNERS LIST ROW — JS-generated (raffle.js updateWinnersList)
   Uses .winner-card, .winner-card-avatar, .winner-card-name
   ================================================================ */
.winners-list .winner-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(212, 175, 55, 0.04);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-xs);
    transition: all 0.2s var(--ease);
    width: 100%;
}

.winners-list .winner-card:hover {
    background: rgba(212, 175, 55, 0.09);
    border-color: rgba(212, 175, 55, 0.4);
}

/* Circular avatar in winners list */
.winner-card-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid var(--gold-500);
    box-shadow: 0 0 8px rgba(212,175,55,0.25);
    background: var(--gray-700);
}

.winner-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.winner-card-name {
    flex: 1;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--gold-300);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ================================================================
   OBS CANVAS / GLOBAL CHAT TOGGLE — hide massive blank space
   ================================================================ */

/* The global chat floating button sits outside the layout,
   keep it working but don't let it create page height */
.chat-toggle-btn {
    position: fixed !important;
    bottom: 28px;
    right: 28px;
    z-index: 800;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--border-accent);
    background: linear-gradient(135deg, var(--gray-800), var(--gray-850));
    color: var(--gold-400);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4), 0 0 0 0 rgba(212,175,55,0.3);
    transition: all 0.3s var(--ease);
}

.chat-toggle-btn:hover {
    background: linear-gradient(135deg, var(--gold-600), var(--gold-500));
    color: #0A0A10;
    box-shadow: 0 8px 30px rgba(212,175,55,0.25);
    transform: scale(1.05);
}

/* Any canvas rendered directly to body by JS (OBS widget / raffle animation)
   must never create scroll space */
body > canvas {
    position: fixed !important;
    pointer-events: none;
    opacity: 0;
    width: 0 !important;
    height: 0 !important;
}

/* Clip huge injected containers that might overflow body */
body {
    overflow-x: hidden;
}

/* The main-wrapper + footer together should define page height.
   Content below footer (injected canvas) must not expand body. */
.app-layout {
    isolation: isolate;
}

/* ================================================================
   GLOBAL CHAT PANEL — JS-generated (global-chat.js)
   ================================================================ */
.global-chat-panel {
    position: fixed;
    bottom: 90px;
    right: 28px;
    width: 340px;
    max-height: 500px;
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    z-index: 800;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.3s var(--ease-bounce);
}

.global-chat-panel.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.global-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-subtle);
}

.global-chat-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--gold-400);
}

.global-chat-title i {
    color: var(--gold-500);
}

.chat-close-btn,
.chat-signout-btn {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-xs);
    border: 1px solid var(--border-default);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s var(--ease);
}

.chat-close-btn:hover {
    border-color: var(--error);
    color: var(--error);
    background: rgba(248,113,113,0.08);
}

.chat-signout-btn:hover {
    border-color: var(--gold-500);
    color: var(--gold-400);
}

.global-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-height: 200px;
    max-height: 340px;
}

.global-chat-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 10px;
    color: var(--text-muted);
    padding: 30px;
}

.global-chat-empty i { font-size: 1.8rem; color: var(--gray-600); }
.global-chat-empty p { font-size: 0.82rem; }

/* Global chat individual messages */
.global-chat-message {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 5px 6px;
    border-radius: var(--radius-xs);
    position: relative;
    transition: background 0.2s var(--ease);
}

.global-chat-message:hover {
    background: rgba(255,255,255,0.03);
}

/* Circular avatar — global chat */
.global-chat-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    border: 1.5px solid var(--border-default);
    background: var(--gray-700);
}

.global-chat-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.global-chat-content {
    flex: 1;
    min-width: 0;
}

.global-chat-username {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gold-400);
    margin-bottom: 2px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.global-chat-username:hover {
    color: var(--gold-300);
}

.global-chat-text {
    font-size: 0.82rem;
    color: var(--text-primary);
    word-break: break-word;
    line-height: 1.4;
}

.global-chat-text.highlighted {
    background: rgba(212,175,55,0.06);
    border-left: 2px solid var(--gold-600);
    padding-left: 6px;
    border-radius: 0 4px 4px 0;
}

.global-chat-input-area {
    padding: 12px;
    border-top: 1px solid var(--border-subtle);
}

.global-chat-login-btn {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--gold-600), var(--gold-500));
    color: #0A0A10;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s var(--ease);
}

.global-chat-login-btn:hover {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    box-shadow: var(--shadow-gold);
}

/* Announcement bar */
.global-chat-announcement {
    padding: 8px 12px;
    background: rgba(212,175,55,0.06);
    border-bottom: 1px solid var(--border-accent);
    font-size: 0.78rem;
    color: var(--gold-300);
}

.announcement-content {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.announcement-content i { color: var(--gold-500); font-size: 0.8rem; }

/* Reply indicator */
.reply-indicator {
    font-size: 0.72rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 2px;
    padding: 2px 6px;
    background: rgba(255,255,255,0.03);
    border-radius: 4px;
}

.reply-indicator i { font-size: 0.65rem; }
.reply-indicator.reply-to-me { color: var(--gold-500); }



/* CLAIM TAB ANIMATIONS */

@keyframes slideInRight {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(50px); opacity: 0; }
}

/* ================================================================
   TEXT-ONLY WINNER REVEAL — JS-generated (raffle.js runTextOnlyAnimation)
   Used when Animation Style = "Text Only (Usernames)" in raffle settings.
   No avatars, no profile pictures — just usernames cycling quickly.
   ================================================================ */
.text-cycle-container {
    position: relative;
    width: 100%;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 28px 20px;
    border-radius: var(--radius-sm);
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.08) 0%, rgba(0, 0, 0, 0.4) 70%);
    border: 1px solid var(--border-accent);
    overflow: hidden;
}

.text-cycle-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.4) 50%, transparent 100%);
    transform: translateY(-50%);
    pointer-events: none;
}

.text-cycle-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--text-muted);
    text-transform: uppercase;
    z-index: 1;
}

.text-cycle-display {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    width: 100%;
    z-index: 1;
}

.text-cycle-name {
    display: inline-block;
    font-size: clamp(2rem, 6vw, 3.4rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--text-primary);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
    transition: color 0.15s ease, text-shadow 0.15s ease, transform 0.15s ease;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0 12px;
}

.text-cycle-name.cycling {
    color: #f4d97a;
    text-shadow: 0 0 18px rgba(212, 175, 55, 0.35), 0 2px 12px rgba(0, 0, 0, 0.6);
    animation: textCyclePulse 0.25s ease-in-out;
}

@keyframes textCyclePulse {
    0%   { transform: scale(1);    opacity: 0.6; }
    50%  { transform: scale(1.04); opacity: 1;   }
    100% { transform: scale(1);    opacity: 1;   }
}

.text-cycle-name.winner {
    color: var(--gold-300, #f5d77a);
    text-shadow:
        0 0 20px rgba(212, 175, 55, 0.7),
        0 0 40px rgba(212, 175, 55, 0.4),
        0 2px 14px rgba(0, 0, 0, 0.6);
    animation: textCycleWinnerReveal 0.9s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes textCycleWinnerReveal {
    0%   { transform: scale(0.8);  opacity: 0.4; letter-spacing: 0.02em; }
    60%  { transform: scale(1.15); opacity: 1;   letter-spacing: 0.12em; }
    100% { transform: scale(1.08); opacity: 1;   letter-spacing: 0.08em; }
}

.text-cycle-sublabel {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 1;
}

.text-cycle-sublabel i {
    color: var(--gold-400, #e4c14a);
}

.text-cycle-count {
    color: var(--gold-300, #f5d77a);
    font-weight: 700;
}

.text-cycle-container.finished {
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.22) 0%, rgba(0, 0, 0, 0.5) 70%);
    border-color: var(--gold-400, #e4c14a);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.25), inset 0 0 60px rgba(212, 175, 55, 0.08);
}

.text-cycle-container.finished .text-cycle-sublabel {
    color: var(--gold-300, #f5d77a);
    font-size: 0.9rem;
    letter-spacing: 0.2em;
}