body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #f0f4f8, #d9e2ec);
    color: #333;
    text-align: center;
    margin: 0;
    padding: 20px;
    min-height: 100vh;
}

.container {
    max-width: 450px;
    margin: 0 auto;
    background: rgba(255,255,255,0.8);
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

h1 {
    font-size: 2.8em;
    margin-bottom: 10px;
    color: #4ecdc4;
    text-shadow: 0 2px 10px rgba(78,205,196,0.3);
}

#tagline {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 30px;
}

#scoreboard {
    background: rgba(255,255,255,0.9);
    padding: 30px;
    border-radius: 20px;
    margin: 20px 0 40px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.stats-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.stat {
    flex: 1;
    min-width: 100px;
    margin: 10px;
}

.stat h3 {
    font-size: 1em;
    color: #666;
    margin-bottom: 8px;
}

.stat p {
    font-size: 1.8em;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.rate-row {
    margin: 15px 0;
    color: #666;
    font-size: 1em;
}

.chart-in-scoreboard {
    margin-top: 30px;
    height: 220px;
}

.chart-in-scoreboard canvas {
    background: white;
    border-radius: 15px;
}

#spin-btn {
    background: linear-gradient(#4ecdc4, #45b7d1);
    color: white;
    border: none;
    padding: 20px 60px;
    font-size: 1.8em;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(78,205,196,0.4);
    transition: all 0.3s;
}

#spin-btn:hover:not(:disabled) {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(78,205,196,0.6);
}

.wheel-container {
    margin: 40px auto;
    padding: 20px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 10px 40px rgba(78,205,196,0.3);
}

#wheel-canvas {
    width: 100%;
    height: 400px; /* Fixed height to match HTML width/height */
    max-width: 400px;
}

#outcome {
    font-size: 1.8em;
    margin: 40px 0;
    padding: 30px;
    background: rgba(255,255,255,0.9);
    border-radius: 20px;
    min-height: 100px;
    color: #4ecdc4;
    box-shadow: 0 5px 20px rgba(78,205,196,0.2);
}

#share-btn, #reset-btn, #journal-toggle {
    background: linear-gradient(#45b7d1, #4ecdc4);
    color: white;
    padding: 14px 32px;
    font-size: 1.2em;
    border-radius: 30px;
    margin: 15px 0;
    box-shadow: 0 5px 15px rgba(69,183,209,0.4);
}

#journal-list {
    text-align: left;
    max-height: 250px;
    overflow-y: auto;
    background: rgba(255,255,255,0.8);
    border-radius: 15px;
    padding: 15px;
    margin-top: 15px;
}

#journal-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    color: #333;
}

/* Mobile */
@media (max-width: 480px) {
    #wheel-canvas {
        width: 300px;
        height: 300px;
    }
    .chart-in-scoreboard {
        height: 200px;
    }
}
#outcome {
    animation: bounceIn 1s ease;
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.1); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}
.intro {
    padding: 40px 20px;
    background: linear-gradient(135deg, #e0f2fe, #c0e8ff);
    margin-bottom: 20px;
    border-radius: 20px;
}

.intro-text {
    font-size: 1.3em;
    margin: 20px 0;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature {
    background: rgba(255,255,255,0.8);
    padding: 15px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.feature-icon {
    font-size: 2em;
    display: block;
    margin-bottom: 10px;
}

.disclaimer {
    font-size: 0.9em;
    color: #666;
    margin-top: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.main-app {
    margin-top: 40px;
}