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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #0f1420;
    color: white;
}

.container {
    text-align: center;
    background-color: #151b2d;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.game-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    color: #8b95af;
}

.reaction-area {
    width: 600px;
    height: 400px;
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 500;
    background-color: #2c365e;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.1s ease;
    user-select: none;
    white-space: pre-line;
    text-align: center;
}

.reaction-area.waiting {
    background-color: #8b0000;
}

.reaction-area.go {
    background-color: #98e6a9;
}

.reaction-area.too-soon {
    background-color: #5a2d2d;
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.title-btn {
    background-color: #2c365e;
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 8px;
    font-size: 1.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(44, 54, 94, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1;
}

.sparkle {
    color: #ffd700;
}

.title-btn:hover {
    background-color: #3a457a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(44, 54, 94, 0.4);
}

.title-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(44, 54, 94, 0.2);
}

#start-btn {
    background-color: #2c365e;
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(44, 54, 94, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

#start-btn:hover {
    background-color: #3a457a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(44, 54, 94, 0.4);
}

#start-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(44, 54, 94, 0.2);
}

#start-btn:disabled {
    background-color: #2c365e;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.7;
} 