* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'GrundschriftRegular';
    src: url('GrundschriftRegular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'GrundschriftRegular';
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.container {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.slot-machine {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
}

.reel {
    width: 150px;
    height: 200px;
    background: #2c3e50;
    border-radius: 10px;
    box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.3);
    border: 3px solid #34495e;
    position: relative;
}

.reel-window {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 7px;
    position: relative;
}

.reel-strip {
    position: absolute;
    width: 100%;
    top: -100px;
    transition: transform 0.3s ease-out;
}

.word-slot {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: #ecf0f1;
    background: linear-gradient(145deg, #3498db, #2980b9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid #34495e;
    box-sizing: border-box;
}

.word-slot:nth-child(3) {
    background: linear-gradient(145deg, #2ecc71, #27ae60);
    z-index: 2;
}

.spinning {
    animation: reelSpin 0.1s linear infinite;
}

@keyframes reelSpin {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-80px);
    }
}

.reel-strip.final-stop {
    animation: finalLand 0.6s ease-out forwards;
}

@keyframes finalLand {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-40px);
    }

    100% {
        transform: translateY(-80px);
    }
}

.olchi-image {
    width: 50%;
    height: auto;
}

.spin-button {
    background: linear-gradient(145deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spin-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.6);
}

.spin-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(231, 76, 60, 0.4);
}

.spin-button:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 10px rgba(149, 165, 166, 0.4);
}

.result {
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.result p {
    color: white;
    font-size: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.result-highlight {
    background: rgba(46, 204, 113, 0.2);
    border: 1px solid rgba(46, 204, 113, 0.4);
}