/* style.css */

:root {
    --primary: #ff0055;
    --secondary: #00e5ff;
    --bg: #1a1a2e;
    --reel-bg: #f0f0f0;
    --text: #ffffff;
}

body {
    font-family: 'Courier New', Courier, monospace;
    background-color: var(--bg);
    color: var(--text);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    text-align: center;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 0px var(--primary);
}

p.subtitle {
    color: #aaa;
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.5;
}

.slot-machine {
    background: #2a2a40;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
    border: 4px solid var(--secondary);
    max-width: 90%;
    width: 800px;
}

.reels-container {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.reel {
    flex: 1;
    min-width: 200px;
    height: 120px;
    background-color: var(--reel-bg);
    color: #333;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 10px;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.5);
    overflow: hidden;
    position: relative;
    border: 2px solid #999;
}

.reel-content {
    transition: transform 0.1s;
}

.blur {
    filter: blur(4px);
    opacity: 0.8;
}

button {
    background: linear-gradient(45deg, var(--primary), #ff5e00);
    border: none;
    padding: 15px 40px;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(255, 0, 85, 0.4);
    transition: transform 0.1s, box-shadow 0.1s;
    font-family: inherit;
}

button:active {
    transform: scale(0.95);
    box-shadow: 0 2px 5px rgba(255, 0, 85, 0.4);
}

button:disabled {
    background: #555;
    cursor: not-allowed;
    box-shadow: none;
}

.result-area {
    margin-top: 30px;
    min-height: 80px;
    font-size: 1.3rem;
    line-height: 1.6;
    padding: 20px;
    border-top: 2px dashed #555;
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight {
    color: var(--secondary);
    font-weight: bold;
}

@media (max-width: 600px) {
    .reels-container {
        flex-direction: column;
    }
    .reel {
        height: 80px;
        font-size: 1rem;
    }
}