/* Game Screen Styles - Pixel Perfect Match to fastloto365.com */
#game-screen {
    background: #000000;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Background with side panoramas */
#game-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/casino-panorama-bg.png') center/cover no-repeat;
    opacity: 0.3;
    z-index: 0;
}

.game-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Game Header - Logo */
.game-header {
    text-align: center;
    padding: 8px;
    position: relative;
}

/* Game Logo - Neon style like original */
.game-logo {
    font-family: 'MyriadPro-BoldCond', cursive, sans-serif;
    font-size: 2rem;
    font-weight: bold;
    color: #ff3366;
    text-shadow:
        0 0 5px #ff3366,
        0 0 10px #ff3366,
        0 0 20px #ff0066,
        0 0 30px #ff0066,
        0 0 40px #cc0044;
    letter-spacing: 3px;
    text-transform: none;
    font-style: italic;
}

/* Game Area with paylines */
.game-area {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex: 1;
    padding: 5px 10px;
}

/* Paylines columns - matching original layout */
.paylines-left, .paylines-right {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 28px;
}

/* Right paylines are gray/purple filmstrip rectangles in original - no numbers */
.paylines-right .payline-indicator {
    background: linear-gradient(180deg, #5a5070 0%, #3a3050 100%) !important;
    color: transparent !important;
    border-color: rgba(80, 70, 100, 0.5);
    box-shadow:
        inset 0 1px 2px rgba(0,0,0,0.5),
        inset 0 -1px 1px rgba(100,90,120,0.3);
    border-radius: 2px;
    width: 24px;
    height: 22px;
}

.paylines-right .payline-indicator.active {
    background: linear-gradient(180deg, #6a6080 0%, #4a4060 100%) !important;
    box-shadow:
        inset 0 1px 2px rgba(0,0,0,0.4),
        0 0 4px rgba(100,90,140,0.3);
}

.paylines-right .payline-indicator.inactive {
    opacity: 0.4;
    background: linear-gradient(180deg, #4a4060 0%, #2a2040 100%) !important;
}

/* Payline indicator - colored squares like original */
.payline-indicator {
    width: 26px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'MyriadPro-BoldCond', sans-serif;
    font-size: 12px;
    font-weight: bold;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.15s;
    border: 2px solid rgba(255,255,255,0.3);
    color: #000;
    text-shadow: 0 1px 0 rgba(255,255,255,0.4);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.4),
        0 1px 2px rgba(0,0,0,0.4);
}

.payline-indicator.active {
    opacity: 1;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.4),
        0 0 8px currentColor,
        0 0 15px currentColor;
    border-color: rgba(255,255,255,0.5);
}

.payline-indicator.inactive {
    opacity: 0.35;
    box-shadow: none;
}

/* Payline Colors - exactly matching original screenshot */
.payline-1 { background: linear-gradient(180deg, #ff5555 0%, #cc2222 100%); color: #fff; }
.payline-2 { background: linear-gradient(180deg, #55ff55 0%, #22cc22 100%); }
.payline-3 { background: linear-gradient(180deg, #ffff55 0%, #cccc22 100%); }
.payline-4 { background: linear-gradient(180deg, #ff55ff 0%, #cc22cc 100%); color: #fff; }
.payline-5 { background: linear-gradient(180deg, #55ffff 0%, #22cccc 100%); }
.payline-6 { background: linear-gradient(180deg, #ff9955 0%, #cc6622 100%); }
.payline-7 { background: linear-gradient(180deg, #5599ff 0%, #2266cc 100%); color: #fff; }
.payline-8 { background: linear-gradient(180deg, #99ff55 0%, #66cc22 100%); }
.payline-9 { background: linear-gradient(180deg, #ff5599 0%, #cc2266 100%); color: #fff; }
.payline-10 { background: linear-gradient(180deg, #9955ff 0%, #6622cc 100%); color: #fff; }

/* Reels Container - Main slot machine frame - GOLD frame like fastloto365.com */
.reels-container {
    display: flex;
    gap: 2px;
    background: linear-gradient(180deg, #1a1408 0%, #0a0804 100%);
    border: 5px solid;
    border-color: #d4a840 #a07820 #806010 #c09030;
    border-radius: 6px;
    padding: 6px;
    box-shadow:
        inset 0 0 50px rgba(0, 0, 0, 0.95),
        0 0 15px rgba(200, 160, 60, 0.3),
        0 0 30px rgba(160, 120, 40, 0.15);
    position: relative;
}

/* Outer frame effect - GOLD glow like original */
.reels-container::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border: 2px solid rgba(200, 160, 60, 0.25);
    border-radius: 10px;
    pointer-events: none;
    box-shadow: 0 0 20px rgba(200, 160, 60, 0.2);
}

.reels-container::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 1px solid rgba(220, 180, 80, 0.4);
    border-radius: 7px;
    pointer-events: none;
}

/* Single Reel - dark background like original */
.reel {
    width: 120px;
    height: 270px;
    background: #000005;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    border: 1px solid #150820;
}

/* Top and bottom shadows for depth */
.reel::before,
.reel::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 40px;
    z-index: 10;
    pointer-events: none;
}

.reel::before {
    top: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
}

.reel::after {
    bottom: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
}

.reel-strip {
    display: flex;
    flex-direction: column;
    transition: transform 0.1s linear;
}

/* Symbol styling - Neon effect like original */
.symbol {
    width: 120px;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    font-family: 'MyriadPro-BoldCond', sans-serif;
    font-weight: bold;
    position: relative;
}

/* Neon colors for different symbols - matching fastloto365.com exactly */
.symbol[data-symbol="Q"] {
    color: #00ff00;
    text-shadow: 0 0 5px #00ff00, 0 0 15px #00ff00, 0 0 25px #00ff00, 0 0 35px #00aa00;
    font-family: 'Arial Black', 'Impact', sans-serif;
}
.symbol[data-symbol="K"] {
    color: #ff00ff;
    text-shadow: 0 0 5px #ff00ff, 0 0 15px #ff00ff, 0 0 25px #ff00ff, 0 0 35px #aa00aa;
    font-family: 'Arial Black', 'Impact', sans-serif;
}
.symbol[data-symbol="J"] {
    color: #00ccff;
    text-shadow: 0 0 5px #00ccff, 0 0 15px #00ccff, 0 0 25px #00ccff, 0 0 35px #0088aa;
    font-family: 'Arial Black', 'Impact', sans-serif;
}
.symbol[data-symbol="A"] {
    color: #ff3333;
    text-shadow: 0 0 5px #ff3333, 0 0 15px #ff3333, 0 0 25px #ff3333, 0 0 35px #aa0000;
    font-family: 'Arial Black', 'Impact', sans-serif;
}
.symbol[data-symbol="10"] {
    color: #ff00ff;
    text-shadow: 0 0 5px #ff00ff, 0 0 15px #ff00ff, 0 0 25px #ff00ff, 0 0 35px #aa00aa;
    font-family: 'Arial Black', 'Impact', sans-serif;
    font-size: 2.8rem;
}
.symbol[data-symbol="9"] {
    color: #ff66ff;
    text-shadow: 0 0 5px #ff66ff, 0 0 15px #ff66ff, 0 0 25px #ff66ff, 0 0 35px #aa44aa;
    font-family: 'Arial Black', 'Impact', sans-serif;
}

.symbol.winning {
    animation: symbol-win 0.5s ease-in-out infinite;
}

@keyframes symbol-win {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.15); filter: brightness(1.5); }
}

/* Symbol images (when available) */
.symbol img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

/* Game Status Text - "GAME OVER, INSERT COIN" */
.game-status {
    background: linear-gradient(180deg, #2a3848 0%, #1a2838 100%);
    border-top: 2px solid #0077bb;
    padding: 3px 0;
    text-align: center;
}

.game-status-text {
    font-family: 'MyriadPro-BoldCond', Arial, sans-serif;
    font-size: 12px;
    color: #8898a8;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Game Controls - Bottom panel - silver-blue metallic like fastloto365 */
.game-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(180deg,
        #b8c4cc 0%,
        #a8b4bc 8%,
        #98a4ac 20%,
        #88949c 35%,
        #78848c 50%,
        #68747c 70%,
        #58646c 100%);
    padding: 6px 12px;
    border-top: 1px solid #c8d4dc;
    position: relative;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.3),
        inset 0 -1px 0 rgba(0,0,0,0.15);
}

.control-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Denomination display - dark box with gold border - fastloto365 style */
.denomination-display {
    background: linear-gradient(180deg, #1a2028 0%, #0a0e14 100%);
    border: 2px solid #a08040;
    border-radius: 2px;
    padding: 2px 5px 3px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 40px;
    box-shadow: inset 0 1px 4px rgba(0,0,0,0.7);
}

.denomination-display .denom-value {
    font-family: 'MyriadPro-BoldCond', Arial, sans-serif;
    font-size: 13px;
    font-weight: bold;
    color: #c8a848;
    line-height: 1;
}

.denomination-display .denom-currency {
    font-family: 'MyriadPro-Cond', Arial, sans-serif;
    font-size: 7px;
    color: #c8a848;
    text-transform: uppercase;
}

/* Credit panel - dark background like fastloto365 */
.credit-panel {
    background: linear-gradient(180deg, #0f1820 0%, #080c12 100%);
    border: 1px solid #2a3545;
    border-radius: 2px;
    padding: 2px 6px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.6);
}

.credit-panel .credit-row {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 14px;
}

.credit-panel .label {
    font-family: 'MyriadPro-Cond', Arial, sans-serif;
    font-size: 8px;
    color: rgba(180, 180, 180, 0.8);
    text-transform: uppercase;
    min-width: 50px;
}

.credit-panel .value {
    font-family: 'MyriadPro-BoldCond', Arial, sans-serif;
    font-size: 10px;
    font-weight: bold;
    color: #40d040;
    cursor: pointer;
    min-width: 35px;
    text-align: right;
}

.credit-panel .currency {
    font-family: 'MyriadPro-Cond', Arial, sans-serif;
    font-size: 7px;
    color: rgba(160, 160, 160, 0.6);
}

/* Center control section */
.control-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.bet-panel {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Bet item - LIGHT boxes like fastloto365.com original */
.bet-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(180deg, #f0f2f4 0%, #d8dce0 40%, #c8ccd0 100%);
    padding: 3px 8px 4px;
    border-radius: 4px;
    border: 1px solid #a8acb0;
    min-width: 65px;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.9),
        inset 0 -1px 2px rgba(0,0,0,0.08),
        0 1px 3px rgba(0,0,0,0.12);
    position: relative;
}

.bet-label {
    font-family: 'MyriadPro-Cond', Arial, sans-serif;
    font-size: 8px;
    color: #5a6a7a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1px;
}

.bet-value {
    font-family: 'MyriadPro-BoldCond', Arial, sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: #1a2a3a;
    line-height: 1;
}

.bet-buttons {
    display: flex;
    flex-direction: row;
    gap: 3px;
    margin-top: 2px;
}

.bet-btn {
    width: 18px;
    height: 15px;
    background: linear-gradient(180deg, #e0e4e8 0%, #b8bcc0 100%);
    border: 1px solid #909498;
    border-radius: 2px;
    color: #4a5a6a;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.1s;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

.bet-btn:hover {
    background: linear-gradient(180deg, #f0f4f8 0%, #c8ccd0 100%);
    border-color: #707478;
}

.bet-btn:active {
    transform: scale(0.95);
    background: linear-gradient(180deg, #c8ccd0 0%, #a0a4a8 100%);
}

/* Win display - LIGHT green/yellow box like fastloto365.com original */
.win-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(180deg, #e8f8e0 0%, #c8e8b8 40%, #a8d898 100%);
    padding: 3px 10px 4px;
    border-radius: 4px;
    border: 1px solid #80b870;
    min-width: 70px;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.8),
        inset 0 -1px 2px rgba(0,0,0,0.08),
        0 1px 3px rgba(0,0,0,0.12);
}

.win-label {
    font-family: 'MyriadPro-Cond', Arial, sans-serif;
    font-size: 8px;
    color: #3a6a3a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1px;
}

.win-value {
    font-family: 'MyriadPro-BoldCond', Arial, sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: #1a5a1a;
    line-height: 1;
}

.win-amount {
    font-family: 'MyriadPro-Cond', Arial, sans-serif;
    font-size: 7px;
    color: #4a7a4a;
    margin-top: 1px;
}

/* Right control section */
.control-right {
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

/* Action buttons - row layout like original */
.action-buttons {
    display: flex;
    flex-direction: row;
    gap: 4px;
    align-items: center;
}

/* Square action buttons like original (INFO, HOME, SOUND, SETTINGS, GAMBLE) */
.action-btn {
    width: 34px;
    height: 34px;
    background: linear-gradient(180deg,
        #3a5070 0%,
        #2a4060 30%,
        #1a3050 70%,
        #0a2040 100%);
    border: 1px solid #4a6080;
    border-radius: 4px;
    color: #6090c0;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.12),
        inset 0 -1px 0 rgba(0,0,0,0.2),
        0 1px 3px rgba(0,0,0,0.35);
}

.action-btn:hover:not(:disabled) {
    background: linear-gradient(180deg,
        #4a6080 0%,
        #3a5070 30%,
        #2a4060 70%,
        #1a3050 100%);
    border-color: #5a7090;
    color: #80b0e0;
}

.action-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* GAMBLE button - text style like fastloto365.com */
.gamble-text-btn, #btn-gamble {
    width: auto !important;
    min-width: 70px !important;
    height: 34px !important;
    padding: 0 14px !important;
    font-family: 'MyriadPro-BoldCond', Arial, sans-serif !important;
    font-size: 12px !important;
    letter-spacing: 1px !important;
    background: linear-gradient(180deg,
        #4a6080 0%,
        #3a5070 30%,
        #2a4060 70%,
        #1a3050 100%) !important;
    border: 1px solid #5a7090 !important;
    color: #90c0f0 !important;
    text-transform: uppercase !important;
    border-radius: 4px !important;
}

.gamble-text-btn:hover:not(:disabled), #btn-gamble:hover:not(:disabled) {
    background: linear-gradient(180deg,
        #5a7090 0%,
        #4a6080 30%,
        #3a5070 70%,
        #2a4060 100%) !important;
    color: #a0d0ff !important;
}

.gamble-text-btn:disabled, #btn-gamble:disabled {
    opacity: 0.4 !important;
    color: #607080 !important;
}

/* AUTO button style - circular positioned like original fastloto365.com */
.auto-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(180deg,
        #6a7a8a 0%,
        #5a6a7a 30%,
        #4a5a6a 70%,
        #3a4a5a 100%);
    border: 2px solid #7a8a9a;
    color: #a8b8c8;
    font-family: 'MyriadPro-BoldCond', Arial, sans-serif;
    font-size: 10px;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 6px;
    box-shadow:
        inset 0 2px 0 rgba(255,255,255,0.2),
        inset 0 -2px 0 rgba(0,0,0,0.25),
        0 3px 6px rgba(0,0,0,0.35);
}

.auto-btn:hover {
    background: linear-gradient(180deg,
        #7a8a9a 0%,
        #6a7a8a 30%,
        #5a6a7a 70%,
        #4a5a6a 100%);
    color: #b8c8d8;
    border-color: #8a9aaa;
}

.auto-btn.active {
    border-color: #00cc66;
    color: #00dd66;
    box-shadow:
        0 0 12px rgba(0, 204, 102, 0.5),
        inset 0 2px 0 rgba(255,255,255,0.2);
}

.auto-btn .auto-text {
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Sound toggle button */
.sound-toggle.muted {
    color: #ff6666 !important;
}

/* Home button */
#btn-home:hover {
    color: #ff9999;
}

/* START Button - Circular with green ring like fastloto365 */
.start-btn {
    width: 58px;
    height: 58px;
    background: linear-gradient(180deg,
        #6a7a8a 0%,
        #5a6a7a 15%,
        #4a5a6a 40%,
        #3a4a5a 70%,
        #2a3a4a 100%);
    border: 3px solid #00cc66;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: all 0.15s;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow:
        0 0 12px rgba(0, 204, 102, 0.4),
        0 0 24px rgba(0, 204, 102, 0.15),
        inset 0 2px 0 rgba(255,255,255,0.15),
        inset 0 -2px 0 rgba(0,0,0,0.25),
        0 3px 6px rgba(0,0,0,0.4);
}

.start-btn::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border: 2px solid rgba(0, 204, 102, 0.25);
    border-radius: 50%;
    pointer-events: none;
}

.start-btn:hover:not(:disabled) {
    box-shadow:
        0 0 20px rgba(0, 255, 128, 0.6),
        0 0 35px rgba(0, 255, 128, 0.25),
        inset 0 2px 0 rgba(255,255,255,0.15),
        inset 0 -2px 0 rgba(0,0,0,0.25),
        0 3px 6px rgba(0,0,0,0.4);
    border-color: #00ee77;
}

.start-btn:active:not(:disabled) {
    transform: scale(0.97);
}

.start-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    border-color: #4a5a6a;
    box-shadow:
        inset 0 2px 0 rgba(255,255,255,0.08),
        0 2px 4px rgba(0,0,0,0.25);
}

.start-btn:disabled::before {
    border-color: rgba(80, 90, 100, 0.15);
}

.start-text {
    font-family: 'MyriadPro-BoldCond', Arial, sans-serif;
    color: #00dd66;
    font-weight: bold;
    font-size: 11px;
    text-shadow: 0 0 6px rgba(0, 221, 102, 0.5);
    z-index: 1;
    letter-spacing: 1px;
}

.start-ring {
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    border: 2px solid rgba(0, 204, 102, 0.4);
    border-radius: 50%;
    animation: ring-pulse 2s ease-in-out infinite;
}

@keyframes ring-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.start-btn.spinning .start-ring {
    animation: ring-spin 0.6s linear infinite;
    border-color: rgba(0, 255, 136, 0.7);
}

@keyframes ring-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Back to Menu Button */
.back-to-menu {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background: rgba(40, 50, 60, 0.8);
    border: 2px solid rgba(80, 100, 120, 0.6);
    border-radius: 50%;
    color: #c0d0e0;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-menu:hover {
    background: rgba(100, 40, 40, 0.8);
    border-color: rgba(200, 80, 80, 0.8);
    color: #ff8888;
}

/* Game Ticker - Bottom jackpot/bonus display like fastloto365 */
.game-ticker {
    background: linear-gradient(180deg, #000408 0%, #000204 100%);
    padding: 8px 30px;
    border-top: 1px solid #1a2030;
}

.game-ticker .ticker-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: none;
    position: static;
    transform: none;
    max-width: 900px;
    margin: 0 auto;
}

.game-ticker .ticker-item {
    font-family: 'MyriadPro-BoldCond', Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    padding: 0;
    letter-spacing: 1px;
}

.game-ticker .jackpot {
    color: #ff3333;
    text-shadow: 0 0 8px rgba(255, 51, 51, 0.6);
}

.game-ticker .jackpot .ticker-value {
    color: #ffee00;
    margin: 0 6px;
    text-shadow: 0 0 8px rgba(255, 238, 0, 0.6);
}

.game-ticker .bonus {
    color: #00ee66;
    text-shadow: 0 0 8px rgba(0, 238, 102, 0.6);
}

.game-ticker .bonus .ticker-value {
    color: #ffee00;
    margin: 0 6px;
    text-shadow: 0 0 8px rgba(255, 238, 0, 0.6);
}

.game-ticker .ticker-separator {
    display: none;
}

/* Win Line Overlay */
.win-line-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 20;
}

.win-line {
    position: absolute;
    height: 4px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
    animation: line-flash 0.5s ease-in-out infinite;
}

@keyframes line-flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Gamble Modal */
.gamble-content {
    text-align: center;
    min-width: 350px;
}

.gamble-header h2 {
    color: #ffd700;
    margin-bottom: 10px;
}

.gamble-win {
    font-size: 1.5rem;
    color: #00ff00;
    margin-bottom: 20px;
}

.gamble-game {
    padding: 20px;
}

.gamble-card {
    width: 100px;
    height: 140px;
    background: linear-gradient(180deg, #fff 0%, #ddd 100%);
    border: 3px solid #333;
    border-radius: 10px;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    color: #333;
    transition: all 0.3s;
}

.gamble-card.red { color: #ff0000; }
.gamble-card.black { color: #000000; }
.gamble-card.flipping {
    animation: card-flip 0.5s ease-in-out;
}

@keyframes card-flip {
    0% { transform: rotateY(0); }
    50% { transform: rotateY(90deg); }
    100% { transform: rotateY(0); }
}

.gamble-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.gamble-btn {
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.gamble-btn.red {
    background: linear-gradient(180deg, #ff4444 0%, #cc0000 100%);
    color: white;
}

.gamble-btn.black {
    background: linear-gradient(180deg, #444 0%, #222 100%);
    color: white;
}

.gamble-btn:hover {
    transform: scale(1.05);
}

.gamble-collect {
    background: linear-gradient(180deg, #ffd700 0%, #ff8c00 100%);
    color: #000;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.gamble-collect:hover {
    transform: scale(1.05);
}

/* Info Modal - Paytable */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #3a4a5a;
}

.modal-header h2 {
    color: #ffd700;
    font-family: 'MyriadPro-BoldCond', sans-serif;
}

.modal-close {
    width: 30px;
    height: 30px;
    background: rgba(100, 40, 40, 0.8);
    border: 1px solid #cc4444;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

#paytable-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.paytable-item {
    background: linear-gradient(180deg, #2a2a4a 0%, #1a1a3a 100%);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    border: 1px solid #3a3a5a;
}

.paytable-symbol {
    font-size: 3rem;
    margin-bottom: 10px;
}

.paytable-pays {
    font-size: 0.8rem;
    color: #aaa;
}

.paytable-pays div {
    margin: 3px 0;
}

.paytable-pays span {
    color: #ffd700;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 900px) {
    .reel {
        width: 100px;
        height: 230px;
    }

    .symbol {
        width: 100px;
        height: 76px;
        font-size: 2.8rem;
    }

    .game-controls {
        flex-wrap: wrap;
        gap: 10px;
        padding: 8px 10px;
    }

    .control-left, .control-center, .control-right {
        justify-content: center;
    }

    .bet-panel {
        gap: 10px;
    }

    .paylines-left, .paylines-right {
        display: none;
    }
}

@media (max-width: 600px) {
    .reel {
        width: 70px;
        height: 180px;
    }

    .symbol {
        width: 70px;
        height: 60px;
        font-size: 2rem;
    }

    .game-logo {
        font-size: 1.5rem;
    }

    .start-btn {
        width: 55px;
        height: 55px;
    }

    .start-text {
        font-size: 11px;
    }

    .bet-item {
        padding: 4px 8px;
        min-width: 55px;
    }

    .bet-value {
        font-size: 16px;
    }

    .control-left {
        width: 100%;
    }

    .control-center {
        width: 100%;
    }

    .control-right {
        width: 100%;
    }
}
