
.slot-machine {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: radial-gradient(circle, #111 0%, #000 100%);
    border: 10px solid #444;
    border-radius: 20px;
    box-shadow: 0 0 40px #ff00ff, 0 0 80px #ff00ff inset;
    position: relative;
    width: max-content;
    margin: 20px auto;
}

.slot-machine::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #8f00ff, #ff00ff, #8f00ff);
    box-shadow: 0 0 8px #ff00ff;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 2;
    animation: glowLine 1s infinite alternate;
}

.reel {
    width: 150px;
    height: 600px;
    border: 4px solid #fff;
    border-radius: 12px;
    background: #222;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 10px #0ff, 0 0 20px #0ff inset;
}

.reel-content {
    position: absolute;
    top: 0;
    width: 100%;
}

.reel-item {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.reel-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    animation: ledWave 2s infinite;
}

button {
    font-family: 'Arial Black', sans-serif;
    font-size: 20px;
    padding: 15px 40px;
    margin: 10px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(to bottom, #ff4d4d, #990000);
    color: #fff;
    text-shadow: 1px 1px #000;
    cursor: pointer;
    box-shadow: 0 5px #660000, 0 0 15px #ff0000 inset;
    transition: all 0.2s ease;
}

button:hover {
    background: linear-gradient(to bottom, #ff6666, #b30000);
    box-shadow: 0 5px #660000, 0 0 20px #ff3333 inset;
}

button:active {
    transform: translateY(3px);
    box-shadow: 0 2px #330000, 0 0 10px #ff1a1a inset;
}

@keyframes spin {
    0% { transform: translateY(-5000px); }
    100% { transform: translateY(0); }
}

@keyframes ledWave {
    0% { box-shadow: 0 0 10px #8f00ff; }
    25% { box-shadow: 0 0 10px #00ffff; }
    50% { box-shadow: 0 0 10px #ff00ff; }
    75% { box-shadow: 0 0 10px #ffff99; }
    100% { box-shadow: 0 0 10px #8f00ff; }
}

@keyframes glowLine {
    0%   { box-shadow: 0 0 8px #ff00ff; }
    50%  { box-shadow: 0 0 16px #ffff99; }
    100% { box-shadow: 0 0 8px #ff00ff; }
}

.shake {
    animation: shake 0.5s;
}

@keyframes shake {
    0% { transform: translate(0px, 0px); }
    20% { transform: translate(-10px, 0px); }
    40% { transform: translate(10px, 0px); }
    60% { transform: translate(-10px, 0px); }
    80% { transform: translate(10px, 0px); }
    100% { transform: translate(0px, 0px); }
}

body {
    background-color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
    color: #fff;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 32px;
    color: #ffd700;
    text-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff;
}

#result {
    font-size: 24px;
    margin-top: 10px;
    text-align: center;
}

#debugLog {
    font-size: 16px;
    margin-top: 5px;
    text-align: center;
    color: #ccc;
}

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