* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 600px;
    width: 100%;
    text-align: center;
}

header h1 {
    font-size: 3rem;
    color: #ff6b6b;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

header p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.input-section {
    margin-bottom: 40px;
}

.input-section label {
    display: block;
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

#decision-input {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    border: 3px solid #ff6b6b;
    border-radius: 10px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

#decision-input:focus {
    outline: none;
    border-color: #ff8e8e;
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
}

#spin-button {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

#spin-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
}

#spin-button:active {
    transform: translateY(0);
}

.slot-machine {
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.2);
}

.slot-display {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.slot {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.slot.spinning {
    animation: spin 0.5s linear infinite;
}

@keyframes spin {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.result {
    font-size: 1.5rem;
    color: white;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.celebration {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    padding: 30px;
    border-radius: 15px;
    margin-top: 20px;
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.cake-animation {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: wiggle 1s ease-in-out infinite;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}

.celebration h2 {
    color: #ff6b6b;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.celebration p {
    font-size: 1.2rem;
    color: #333;
}

.no-cake {
    background: linear-gradient(135deg, #a8a8a8 0%, #d3d3d3 100%);
    padding: 30px;
    border-radius: 15px;
    margin-top: 20px;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.sad-face {
    font-size: 3rem;
    margin-bottom: 15px;
}

.no-cake h2 {
    color: #666;
    font-size: 2rem;
    margin-bottom: 10px;
}

.no-cake p {
    font-size: 1.1rem;
    color: #555;
}

.hidden {
    display: none !important;
}

/* Responsive design */
@media (max-width: 600px) {
    .container {
        padding: 20px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .slot {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .slot-display {
        gap: 10px;
    }
}
