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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    color: #fff;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 30px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    }
    to {
        text-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
    }
}

.player-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    font-size: 1.1rem;
}

.player-info strong {
    color: #ffd700;
}

.credits-display {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 30px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.credits-display strong {
    color: #ffd700;
    font-size: 2rem;
}

.name-form-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 40px;
    backdrop-filter: blur(10px);
    text-align: center;
    margin-bottom: 30px;
}

.name-form-container h2 {
    margin-bottom: 15px;
    color: #ffd700;
}

.name-form-container p {
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.name-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.name-form input {
    padding: 15px;
    font-size: 1.2rem;
    border: 2px solid #ffd700;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    color: #1a1a2e;
    text-align: center;
}

.name-form input:focus {
    outline: none;
    border-color: #f5576c;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.name-form button {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: none;
    padding: 15px;
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.name-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245, 87, 108, 0.6);
}

.restriction-message {
    background: rgba(255, 107, 107, 0.2);
    border: 3px solid #ff6b6b;
    border-radius: 15px;
    padding: 40px;
    backdrop-filter: blur(10px);
    text-align: center;
    margin-bottom: 30px;
}

.restriction-message h2 {
    margin-bottom: 25px;
    color: #ff6b6b;
    font-size: 2rem;
}

.restriction-message p {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.restriction-message .time-remaining {
    margin-top: 20px;
    font-size: 1.4rem;
    color: #ffd700;
}

.slot-machine {
    background: linear-gradient(145deg, #2c2c54, #1a1a2e);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
    border: 3px solid #ffd700;
}

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

.reel {
    width: 150px;
    height: 150px;
    background: #1a1a2e;
    border: 3px solid #ffd700;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.reel .symbol {
    font-size: 4rem;
    transition: transform 0.1s;
}

.reel.spinning .symbol {
    animation: spin 0.1s linear infinite;
}

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

.controls {
    text-align: center;
    margin-bottom: 30px;
}

.spin-button {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: none;
    padding: 20px 60px;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(245, 87, 108, 0.4);
    text-transform: uppercase;
}

.spin-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(245, 87, 108, 0.6);
}

.spin-button:active {
    transform: translateY(0);
}

.spin-button:disabled {
    background: #666;
    cursor: not-allowed;
    box-shadow: none;
}

.result {
    text-align: center;
    font-size: 1.5rem;
    min-height: 60px;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 10px;
    font-weight: bold;
}

.result.win {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    animation: pulse 0.5s ease-in-out;
}

.result.lose {
    background: rgba(255, 255, 255, 0.1);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.prizes-list {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.prizes-list h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #ffd700;
}

.prizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.prize-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.prize-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.prize-icon {
    font-size: 2rem;
}

.prize-name {
    flex: 1;
    font-weight: bold;
}

.prize-chance {
    color: #ffd700;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .title {
        font-size: 2rem;
    }

    .reels {
        gap: 10px;
    }

    .reel {
        width: 100px;
        height: 100px;
    }

    .reel .symbol {
        font-size: 3rem;
    }

    .spin-button {
        padding: 15px 40px;
        font-size: 1.2rem;
    }

    .prizes-grid {
        grid-template-columns: 1fr;
    }
}
