      :root {
        --panel: #0a0a0a;
        --panel-2: #111;
        --gold-glow: rgba(255, 230, 0, 0.24);
        --red-glow: rgba(229, 30, 71, 0.3);
        --green: #00a86b;
      }

      .slots-main {
        padding: 40px 64px 80px;
      }

      .table-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 28px;
        gap: 16px;
        flex-wrap: wrap;
      }

      .table-title {
        color: var(--yellow);
        font-size: clamp(42px, 7vw, 88px);
        font-weight: 900;
        letter-spacing: -0.045em;
        line-height: 0.95;
      }

      .subtitle {
        color: var(--muted);
        font-size: 18px;
        font-weight: 500;
        letter-spacing: 0.08em;
        text-transform: uppercase;
      }

      .header-stack {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
      }

      .demo-badge,
      .balance-box {
        border: 1px solid var(--red);
        background: var(--panel);
        color: var(--yellow);
      }

      .demo-badge {
        padding: 14px 18px;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.12em;
        text-transform: uppercase;
      }

      .balance-box {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 14px 24px;
      }

      .balance-label {
        color: var(--yellow);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
      }

      .balance-amount {
        color: var(--yellow);
        font-size: 28px;
        font-weight: 900;
        min-width: 90px;
        text-align: right;
      }

      .slots-shell {
        display: grid;
        grid-template-columns: minmax(320px, 1fr) minmax(520px, 1.6fr) minmax(280px, 0.9fr);
        gap: 24px;
        align-items: start;
      }

      .panel {
        background: radial-gradient(ellipse at 50% 0%, var(--red-glow), transparent 60%), var(--panel);
        border: 1px solid #1f1f1f;
        border-radius: 8px;
        padding: 24px;
        color: var(--yellow);
      }

      .slot-machine {
        background: #050505;
        border: 3px solid #222;
        border-radius: 16px;
        padding: 32px 28px;
        position: relative;
        box-shadow: 0 0 0 1px #1a1a1a, 0 30px 80px rgba(0,0,0,0.8);
      }

      .slot-machine::before {
        content: '';
        position: absolute;
        top: -3px; left: -3px; right: -3px; bottom: -3px;
        border: 1px solid rgba(255,230,0,0.15);
        border-radius: 18px;
        pointer-events: none;
      }

      .reels-container {
        display: flex;
        gap: 18px;
        justify-content: center;
        margin-bottom: 24px;
        background: #000;
        padding: 18px;
        border-radius: 12px;
        border: 2px solid #1a1a1a;
        box-shadow: inset 0 0 40px rgba(0,0,0,0.9);
      }

      .reel {
        width: 118px;
        height: 354px; /* 3 symbols * 118px */
        overflow: hidden;
        border: 4px solid #222;
        border-radius: 8px;
        background: #0a0a0a;
        position: relative;
        box-shadow: inset 0 0 20px rgba(0,0,0,0.8), 0 0 0 1px #333;
      }

      .reel-strip {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        transition: transform 0.08s linear;
        will-change: transform;
      }

      .symbol {
        width: 110px;
        height: 110px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 52px;
        font-weight: 900;
        border-bottom: 2px solid #1a1a1a;
        position: relative;
        user-select: none;
      }

      .symbol:last-child {
        border-bottom: none;
      }

      .symbol.red7 { color: #ff3b3b; text-shadow: 0 0 12px #ff3b3b; }
      .symbol.gold7 { color: #ffe600; text-shadow: 0 0 16px #ffe600; }
      .symbol.blue7 { color: #4da6ff; text-shadow: 0 0 12px #4da6ff; }
      .symbol.bar { 
        font-size: 32px; 
        font-weight: 900; 
        letter-spacing: 2px;
        color: #ffe600;
        text-shadow: 0 0 8px #ffe600;
      }
      .symbol.cherry { color: #ff3b5c; }
      .symbol.bell { color: #ffe600; }
      .symbol.wild { 
        color: #fff; 
        font-size: 60px; 
        text-shadow: 0 0 20px #ffe600, 0 0 40px #ffe600;
      }
      .symbol.scatter { 
        color: #ffe600; 
        font-size: 48px;
        text-shadow: 0 0 16px #ffe600;
      }

      .paylines {
        position: absolute;
        top: 18px;
        left: 18px;
        right: 18px;
        bottom: 18px;
        pointer-events: none;
        z-index: 2;
      }

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

      .bet-section {
        display: flex;
        flex-direction: column;
        gap: 10px;
      }

      .bet-label {
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--muted);
      }

      .bet-buttons {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
      }

      .bet-btn {
        flex: 1;
        min-width: 64px;
        padding: 10px 14px;
        background: #111;
        border: 1px solid #333;
        color: var(--yellow);
        font-weight: 800;
        font-size: 15px;
        border-radius: 6px;
        cursor: pointer;
        transition: all 0.1s ease;
      }

      .bet-btn:hover {
        background: #1a1a1a;
        border-color: var(--yellow);
      }

      .bet-btn.active {
        background: var(--yellow);
        color: #000;
        border-color: var(--yellow);
        box-shadow: 0 0 0 3px rgba(255,230,0,0.2);
      }

      .action-buttons {
        display: flex;
        gap: 12px;
        margin-top: 8px;
      }

      .spin-btn {
        flex: 1;
        padding: 18px 24px;
        font-size: 22px;
        font-weight: 900;
        letter-spacing: 0.06em;
        background: linear-gradient(180deg, #ffe600, #f5c518);
        color: #000;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        box-shadow: 0 8px 24px rgba(255,230,0,0.4), 0 0 0 1px #ffe600;
        transition: transform 0.05s ease, box-shadow 0.1s ease;
      }

      .spin-btn:active {
        transform: scale(0.985);
        box-shadow: 0 4px 12px rgba(255,230,0,0.3);
      }

      .spin-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
      }

      .gold-spin-btn {
        flex: 1;
        padding: 18px 24px;
        font-size: 18px;
        font-weight: 900;
        letter-spacing: 0.06em;
        background: linear-gradient(180deg, #ff9d00, #e67e00);
        color: #000;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        box-shadow: 0 8px 24px rgba(255,157,0,0.4);
      }

      .gold-spin-btn:active {
        transform: scale(0.985);
      }

      .win-display {
        height: 64px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 28px;
        font-weight: 900;
        color: #ffe600;
        text-shadow: 0 0 20px #ffe600;
        margin: 12px 0;
        min-height: 64px;
      }

      .win-display.win {
        animation: winPop 0.6s ease;
      }

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

      .paytable {
        font-size: 14px;
      }

      .paytable h4 {
        margin-bottom: 12px;
        font-size: 16px;
        font-weight: 800;
        letter-spacing: 0.08em;
      }

      .pay-row {
        display: flex;
        justify-content: space-between;
        padding: 6px 0;
        border-bottom: 1px solid #1f1f1f;
      }

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

      .pay-symbol {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 20px;
      }

      .status {
        font-size: 13px;
        color: var(--muted);
        text-align: center;
        margin-top: 12px;
      }

      /* Bonus Wheel Styles */
      .bonus-modal {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.92);
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 1000;
      }

      .bonus-modal.active {
        display: flex;
      }

      .wheel-container {
        background: #0a0a0a;
        border: 3px solid #ffe600;
        border-radius: 50%;
        padding: 20px;
        box-shadow: 0 0 80px rgba(255,230,0,0.3), inset 0 0 60px rgba(0,0,0,0.8);
        position: relative;
      }

      #fortune-wheel {
        width: 380px;
        height: 380px;
        border-radius: 50%;
        display: block;
        box-shadow: 0 10px 40px rgba(0,0,0,0.6);
      }

      .wheel-pointer {
        position: absolute;
        top: -18px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 22px solid transparent;
        border-right: 22px solid transparent;
        border-bottom: 42px solid #ffe600;
        z-index: 10;
        filter: drop-shadow(0 4px 8px rgba(0,0,0,0.6));
      }

      .wheel-label {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 28px;
        font-weight: 900;
        color: #ffe600;
        text-shadow: 0 0 20px #000;
        pointer-events: none;
        z-index: 20;
      }

      .bonus-result {
        margin-top: 24px;
        text-align: center;
        font-size: 32px;
        font-weight: 900;
        color: var(--yellow);
      }

      .close-bonus {
        margin-top: 20px;
        padding: 12px 32px;
        background: #111;
        border: 1px solid #ffe600;
        color: var(--yellow);
        font-weight: 800;
        border-radius: 6px;
        cursor: pointer;
      }

      .confetti {
        position: absolute;
        width: 10px;
        height: 10px;
        background: #ffe600;
        border-radius: 2px;
        animation: confetti-fall 1.8s linear forwards;
        z-index: 30;
        pointer-events: none;
      }

      @keyframes confetti-fall {
        to {
          transform: translateY(600px) rotate(720deg);
          opacity: 0;
        }
      }

      .sound-indicator {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 12px;
        opacity: 0.6;
      }
