/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Russo One', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(ellipse at center, #1a0a2e 0%, #0d0015 100%);
}

/* Login Screen */
.login-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, #1a0a2e 0%, #0d0015 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.login-screen.hidden {
    display: none;
}

.login-box {
    background: linear-gradient(180deg, #8B0000 0%, #5c0000 50%, #3a0000 100%);
    border-radius: 20px;
    padding: 40px 50px;
    text-align: center;
    box-shadow:
        0 0 0 4px #ffd700,
        0 0 0 8px #8B0000,
        0 0 30px rgba(255, 215, 0, 0.5),
        0 20px 40px rgba(0, 0, 0, 0.8);
    max-width: 400px;
    width: 90%;
}

.login-box h1 {
    font-family: 'Bangers', cursive;
    font-size: 2.5rem;
    color: #ffd700;
    text-shadow: 2px 2px 0 #000, 0 0 10px #ffd700;
    margin-bottom: 15px;
}

.login-welcome {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 30px;
}

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

.login-input {
    width: 100%;
    padding: 18px;
    font-size: 1.5rem;
    text-align: center;
    border: 3px solid #ffd700;
    border-radius: 10px;
    background: #1a1a2e;
    color: #ffd700;
    font-family: 'Courier New', monospace;
    letter-spacing: 3px;
    outline: none;
}

.login-input:focus {
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.login-input::placeholder {
    color: #555;
    letter-spacing: 1px;
}

.login-btn {
    width: 100%;
    padding: 18px;
    font-size: 1.5rem;
    font-family: 'Russo One', sans-serif;
    background: linear-gradient(180deg, #00aa00 0%, #006600 100%);
    border: 3px solid #00ff00;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.login-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
}

.login-btn:active {
    transform: scale(0.95);
}

.login-error {
    color: #ff6b6b;
    font-size: 1.1rem;
    min-height: 25px;
    animation: shake 0.3s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.login-hint {
    color: #aaa;
    font-size: 1rem;
    margin-top: 25px;
}

/* Animated Background */
.casino-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, #1a0a2e 0%, #0d0015 100%);
    z-index: -1;
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20px 30px, #ffd700, transparent),
        radial-gradient(2px 2px at 40px 70px, #fff, transparent),
        radial-gradient(1px 1px at 90px 40px, #ffd700, transparent),
        radial-gradient(2px 2px at 160px 120px, #fff, transparent),
        radial-gradient(1px 1px at 230px 80px, #ffd700, transparent),
        radial-gradient(2px 2px at 300px 150px, #fff, transparent),
        radial-gradient(1px 1px at 350px 60px, #ffd700, transparent),
        radial-gradient(2px 2px at 400px 200px, #fff, transparent);
    background-size: 400px 200px;
    animation: twinkle 4s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Main Container - BIGGER */
.slot-machine-container {
    background: linear-gradient(180deg, #8B0000 0%, #5c0000 50%, #3a0000 100%);
    border-radius: 20px;
    padding: 12px;
    box-shadow:
        0 0 0 5px #ffd700,
        0 0 0 10px #8B0000,
        0 0 40px rgba(255, 215, 0, 0.5),
        0 20px 40px rgba(0, 0, 0, 0.8);
    max-width: 720px;
    width: 98%;
}

/* Top Decoration with Lights */
.machine-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
    background: linear-gradient(180deg, #ffd700 0%, #b8860b 100%);
    border-radius: 12px 12px 0 0;
    margin: -12px -12px 0 -12px;
    padding: 10px 20px;
}

.top-lights {
    display: flex;
    gap: 10px;
}

.light {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ff0000;
    box-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000;
    animation: lightBlink 0.5s ease-in-out infinite alternate;
}

.light:nth-child(2) { animation-delay: 0.1s; background: #00ff00; box-shadow: 0 0 10px #00ff00; }
.light:nth-child(3) { animation-delay: 0.2s; background: #0088ff; box-shadow: 0 0 10px #0088ff; }
.light:nth-child(4) { animation-delay: 0.3s; background: #ff00ff; box-shadow: 0 0 10px #ff00ff; }
.light:nth-child(5) { animation-delay: 0.4s; background: #ffff00; box-shadow: 0 0 10px #ffff00; }

@keyframes lightBlink {
    0% { opacity: 0.4; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1.1); }
}

.jackpot-sign {
    background: linear-gradient(180deg, #ff0000 0%, #cc0000 100%);
    padding: 6px 20px;
    border-radius: 8px;
    border: 2px solid #ffd700;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.8);
}

.jackpot-sign span {
    font-family: 'Bangers', cursive;
    font-size: 1.5rem;
    color: #ffd700;
    text-shadow: 2px 2px 0 #000, 0 0 10px #ffd700;
    letter-spacing: 3px;
    animation: jackpotPulse 1s ease-in-out infinite alternate;
}

@keyframes jackpotPulse {
    0% { text-shadow: 2px 2px 0 #000, 0 0 10px #ffd700; }
    100% { text-shadow: 2px 2px 0 #000, 0 0 20px #ffd700, 0 0 30px #ff0000; }
}

/* Machine Header - BIGGER */
.machine-header {
    text-align: center;
    padding: 12px;
    background: linear-gradient(180deg, #2a0a0a 0%, #1a0505 100%);
    border: 3px solid #ffd700;
    border-radius: 10px;
    margin: 12px 8px;
}

.machine-header h1 {
    font-family: 'Bangers', cursive;
    font-size: 1.8rem;
    color: #ffd700;
    text-shadow: 2px 2px 0 #000, 0 0 10px #ffd700;
    letter-spacing: 2px;
}

/* Display Panel - Inline with controls */
.display-panel {
    display: flex;
    gap: 8px;
    align-items: center;
}

.display-box {
    background: #000;
    border: 2px solid #ffd700;
    border-radius: 6px;
    padding: 3px 10px;
    text-align: center;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8);
    min-width: 70px;
}

.display-label {
    display: block;
    font-size: 0.5rem;
    color: #888;
    letter-spacing: 1px;
}

.display-value {
    font-size: 1.1rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
}

.credits-display .display-value {
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
}

.win-display .display-value {
    color: #ffd700;
    text-shadow: 0 0 10px #ffd700;
}

/* Machine Body */
.machine-body {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px;
}

/* Side Decorations */
.side-decoration {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gem {
    width: 25px;
    height: 30px;
    background: linear-gradient(135deg, #ff0000 0%, #880000 50%, #ff4444 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    animation: gemGlow 2s ease-in-out infinite alternate;
}

.gem:nth-child(2) {
    background: linear-gradient(135deg, #00ff00 0%, #008800 50%, #44ff44 100%);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    animation-delay: 0.5s;
}

.gem:nth-child(3) {
    background: linear-gradient(135deg, #0088ff 0%, #004488 50%, #44aaff 100%);
    box-shadow: 0 0 10px rgba(0, 136, 255, 0.5);
    animation-delay: 1s;
}

@keyframes gemGlow {
    0% { filter: brightness(0.8); }
    100% { filter: brightness(1.3); }
}

/* Reels Frame - BIGGER */
.reels-frame {
    background: linear-gradient(180deg, #1a1a1a 0%, #000 100%);
    border: 5px solid #ffd700;
    border-radius: 12px;
    padding: 10px;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8);
}

.reels-window {
    position: relative;
    background: linear-gradient(180deg, #333 0%, #111 100%);
    border-radius: 8px;
    padding: 6px;
    overflow: hidden;
}

.reels-container {
    display: flex;
    gap: 6px;
}

/* Individual Reel - MUCH BIGGER */
.reel {
    width: 140px;
    height: 300px;
    overflow: hidden;
    background: linear-gradient(180deg, #f8f8f8 0%, #ddd 50%, #f8f8f8 100%);
    border-radius: 8px;
    border: 3px solid #888;
    position: relative;
}

.reel::before,
.reel::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 50px;
    z-index: 10;
    pointer-events: none;
}

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

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

.reel-inner {
    display: flex;
    flex-direction: column;
}

/* Symbols - MUCH BIGGER */
.symbol {
    width: 140px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #fff 0%, #f0f0f0 100%);
    border-bottom: 1px solid #ddd;
    flex-shrink: 0;
}

.symbol-image {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 4px solid #8b5cf6;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
    overflow: hidden;
}

.symbol-image img {
    width: 65px;
    height: 65px;
    min-width: 65px;
    min-height: 65px;
    object-fit: cover;
    border-radius: 50%;
}

.symbol-name {
    font-size: 0.7rem;
    font-weight: bold;
    color: #333;
    margin-top: 4px;
    text-transform: uppercase;
}

.symbol.jackpot .symbol-image {
    border-color: #ffd700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

.symbol.high-value .symbol-image {
    border-color: #ff6b6b;
}

/* Paylines - Simple lines that show on click/spin */
.payline-center,
.payline-top,
.payline-bottom {
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 15;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.payline-center {
    top: 50%;
    transform: translateY(-50%);
    background: #ff0000;
    box-shadow: 0 0 8px #ff0000, 0 0 15px #ff0000;
}

.payline-top {
    top: 50px;
    background: #00ff00;
    box-shadow: 0 0 8px #00ff00, 0 0 15px #00ff00;
}

.payline-bottom {
    bottom: 50px;
    background: #00ff00;
    box-shadow: 0 0 8px #00ff00, 0 0 15px #00ff00;
}

/* Diagonal lines - using width instead of rotated height */
.payline-diag1,
.payline-diag2 {
    position: absolute;
    height: 3px;
    z-index: 14;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    left: 6px;
    right: 6px;
    background: linear-gradient(90deg, #ff8800, #ffaa00);
    box-shadow: 0 0 8px #ff8800;
}

.payline-diag1 {
    /* Top-left to bottom-right (V shape) */
    top: 50%;
    transform: rotate(20deg);
    transform-origin: center center;
}

.payline-diag2 {
    /* Bottom-left to top-right (inverted V) */
    top: 50%;
    transform: rotate(-20deg);
    transform-origin: center center;
}

/* Show lines based on mode */
.reels-window.show-lines .payline-center {
    opacity: 1;
}

.reels-window.show-lines[data-lines="3"] .payline-top,
.reels-window.show-lines[data-lines="3"] .payline-bottom,
.reels-window.show-lines[data-lines="5"] .payline-top,
.reels-window.show-lines[data-lines="5"] .payline-bottom {
    opacity: 1;
}

.reels-window.show-lines[data-lines="5"] .payline-diag1,
.reels-window.show-lines[data-lines="5"] .payline-diag2 {
    opacity: 1;
}

/* Hide old payline indicator arrows */
.payline-indicator {
    display: none;
}

/* Message Display - Compact */
.message-display {
    text-align: center;
    padding: 6px;
    font-size: 1rem;
    color: #ffd700;
    text-shadow: 0 0 10px #ffd700;
    min-height: 30px;
}

.message-display.win {
    color: #00ff00;
    text-shadow: 0 0 20px #00ff00;
    animation: winPulse 0.3s ease-in-out infinite alternate;
}

.message-display.jackpot {
    font-size: 1.5rem;
    animation: jackpotWin 0.2s ease-in-out infinite alternate;
}

@keyframes winPulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

@keyframes jackpotWin {
    0% { transform: scale(1) rotate(-1deg); color: #ffd700; }
    100% { transform: scale(1.1) rotate(1deg); color: #ff0000; }
}

/* Controls Panel - Compact with credits inline */
.controls-panel {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: linear-gradient(180deg, #2a0a0a 0%, #1a0505 100%);
    border-radius: 10px;
    margin: 5px 8px;
    flex-wrap: nowrap;
}

.bet-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

.control-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid #ffd700;
    background: linear-gradient(180deg, #333 0%, #111 100%);
    color: #ffd700;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: linear-gradient(180deg, #555 0%, #333 100%);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.control-btn:active {
    transform: scale(0.95);
}

.bet-display {
    background: #000;
    border: 3px solid #ffd700;
    border-radius: 8px;
    padding: 5px 15px;
    text-align: center;
}

.bet-label {
    display: block;
    font-size: 0.6rem;
    color: #888;
}

.bet-value {
    color: #ffd700;
    font-size: 1.2rem;
    font-family: 'Courier New', monospace;
}

/* Spin Button - BIGGER */
.spin-button {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    border: 5px solid #ffd700;
    background: linear-gradient(180deg, #ff0000 0%, #aa0000 50%, #880000 100%);
    color: #fff;
    font-family: 'Russo One', sans-serif;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 20px rgba(255, 0, 0, 0.5),
        inset 0 -5px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.2s;
}

.spin-button:hover {
    transform: scale(1.05);
    box-shadow:
        0 0 30px rgba(255, 0, 0, 0.8),
        inset 0 -5px 10px rgba(0, 0, 0, 0.3);
}

.spin-button:active {
    transform: scale(0.95);
}

.spin-button.spinning {
    animation: spinButtonPulse 0.3s infinite;
}

@keyframes spinButtonPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 0, 0, 0.5); }
    50% { box-shadow: 0 0 40px rgba(255, 0, 0, 1); }
}

.spin-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.3) 50%, transparent 60%);
    animation: spinGlow 2s linear infinite;
}

@keyframes spinGlow {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

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

.auto-btn, .info-btn {
    width: 50px;
    height: 35px;
    border-radius: 6px;
    font-size: 0.8rem;
}

.auto-btn.active {
    background: linear-gradient(180deg, #00aa00 0%, #006600 100%);
    border-color: #00ff00;
}

/* Lines Section - BIGGER */
.lines-section {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.lines-btn {
    width: 70px;
    height: 28px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 0;
}

.lines-btn.active {
    background: linear-gradient(180deg, #ff6600 0%, #cc4400 100%);
    border-color: #ffaa00;
    box-shadow: 0 0 10px rgba(255, 102, 0, 0.5);
}

/* Bottom Decoration */
.machine-bottom {
    background: linear-gradient(180deg, #ffd700 0%, #b8860b 100%);
    border-radius: 0 0 12px 12px;
    margin: 0 -12px -12px -12px;
    padding: 10px;
}

.bottom-lights {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Modal - Full height with larger images */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

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

.modal-content {
    background: linear-gradient(180deg, #2a0a0a 0%, #1a0505 100%);
    border: 4px solid #ffd700;
    border-radius: 15px;
    padding: 25px;
    width: 95%;
    max-width: 900px;
    height: 90vh;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 18px;
    background: none;
    border: none;
    color: #ffd700;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10;
}

.modal-content h2 {
    text-align: center;
    color: #ffd700;
    font-family: 'Bangers', cursive;
    font-size: 2.2rem;
    margin-bottom: 25px;
}

.paytable-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

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

.paytable-item.jackpot {
    border-color: #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.paytable-item.high-value {
    border-color: #ff6b6b;
}

.paytable-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    border: 3px solid #8b5cf6;
    overflow: hidden;
}

.paytable-item.jackpot .paytable-image {
    border-color: #ffd700;
    border-width: 4px;
}

.paytable-image img {
    width: 70px;
    height: 70px;
    min-width: 70px;
    min-height: 70px;
    object-fit: cover;
}

.paytable-name {
    font-size: 0.85rem;
    color: #ccc;
    margin-bottom: 6px;
    font-weight: bold;
}

.paytable-points {
    font-size: 1.2rem;
    font-weight: bold;
    color: #00ff00;
}

.paytable-item.jackpot .paytable-points {
    color: #ffd700;
    font-size: 1.4rem;
}

.paytable-note {
    text-align: center;
    color: #aaa;
    font-size: 1rem;
    margin-top: 20px;
    padding: 10px;
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
}

/* Credits Modal - BIGGER */
.credits-modal-content {
    text-align: center;
    max-width: 380px;
}

.credits-message {
    color: #ff6b6b;
    font-size: 1.3rem;
    margin: 15px 0;
    animation: bounce 0.5s ease-in-out infinite alternate;
}

@keyframes bounce {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

.credits-subtitle {
    color: #aaa;
    font-size: 1rem;
    margin: 20px 0 15px;
}

.secret-code-input {
    width: 100%;
    padding: 15px;
    font-size: 1.5rem;
    text-align: center;
    border: 3px solid #ffd700;
    border-radius: 10px;
    background: #1a1a2e;
    color: #ffd700;
    font-family: 'Courier New', monospace;
    letter-spacing: 3px;
    text-transform: uppercase;
    outline: none;
}

.secret-code-input:focus {
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.secret-code-input::placeholder {
    color: #555;
    letter-spacing: 1px;
}

.redeem-btn {
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    font-size: 1.3rem;
    font-family: 'Russo One', sans-serif;
    background: linear-gradient(180deg, #00aa00 0%, #006600 100%);
    border: 3px solid #00ff00;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.redeem-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
}

.redeem-btn:active {
    transform: scale(0.95);
}

#redeem-message {
    margin-top: 15px;
    font-size: 1.1rem;
    min-height: 25px;
}

#redeem-message.success {
    color: #00ff00;
}

#redeem-message.error {
    color: #ff6b6b;
}

/* Winning Animation */
.symbol.winning {
    animation: symbolWin 0.3s ease-in-out infinite alternate;
}

@keyframes symbolWin {
    0% { background: linear-gradient(180deg, #fff 0%, #f0f0f0 100%); }
    100% { background: linear-gradient(180deg, #ffd700 0%, #ffec8b 100%); }
}

/* Confetti */
.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    z-index: 2000;
    animation: confettiFall 3s linear forwards;
}

@keyframes confettiFall {
    0% { transform: translateY(-100vh) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

/* Responsive */
@media (max-width: 600px) {
    .slot-machine-container { padding: 8px; max-width: 100%; }
    .machine-header h1 { font-size: 1.4rem; }
    .machine-header { padding: 8px; margin: 8px 5px; }
    .reel { width: 100px; height: 240px; }
    .symbol { width: 100px; height: 80px; }
    .symbol-image { width: 50px; height: 50px; font-size: 1.4rem; }
    .symbol-image img { width: 50px; height: 50px; min-width: 50px; min-height: 50px; }
    .symbol-name { font-size: 0.6rem; }
    .spin-button { width: 65px; height: 65px; font-size: 0.85rem; }
    .paytable-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .paytable-image { width: 55px; height: 55px; }
    .paytable-image img { width: 55px; height: 55px; min-width: 55px; min-height: 55px; }
    .paytable-name { font-size: 0.7rem; }
    .paytable-points { font-size: 1rem; }
    .display-value { font-size: 1rem; }
    .display-box { min-width: 60px; padding: 2px 8px; }
    .controls-panel { gap: 6px; padding: 6px; }
    .payline-top { top: 40px; }
    .payline-bottom { bottom: 40px; }
}
