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

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#game-container {
    width: 100%;
    max-width: 900px;
    padding: 20px;
}

.screen {
    display: none;
    animation: fadeIn 0.5s ease;
}

.screen.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Start Screen */
#start-screen {
    text-align: center;
}

.title-section {
    margin-bottom: 40px;
}

h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ff4444, #ff8844);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.2rem;
    color: #aaa;
}

.primary-btn {
    background: #ff4444;
    color: white;
    border: none;
    padding: 18px 48px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
}

.primary-btn:hover {
    background: #ff6666;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 68, 68, 0.4);
}

.info-box {
    margin-top: 40px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-box p {
    color: #ccc;
    line-height: 1.6;
}

/* Game Screen */
.status-bar {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.label {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.value {
    font-size: 1.5rem;
    font-weight: 700;
}

.stress-bar {
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.stress-fill {
    height: 100%;
    background: linear-gradient(90deg, #44ff44, #ffff44, #ff4444);
    transition: width 0.5s ease;
    width: 0%;
}

.scenario-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 400px;
}

.scenario-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 32px;
    color: #fff;
}

.choices-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.choice-btn {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 20px 24px;
    font-size: 1rem;
    text-align: left;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
    position: relative;
    overflow: hidden;
}

.choice-btn:hover {
    border-color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
    transform: translateX(8px);
}

.choice-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.notification-area {
    margin-top: 20px;
    min-height: 60px;
}

.notification {
    padding: 16px 24px;
    border-radius: 12px;
    margin-bottom: 12px;
    animation: slideIn 0.3s ease;
    font-weight: 500;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.notification.good {
    background: rgba(68, 255, 68, 0.2);
    border: 1px solid #44ff44;
    color: #44ff44;
}

.notification.bad {
    background: rgba(255, 68, 68, 0.2);
    border: 1px solid #ff4444;
    color: #ff4444;
}

.notification.neutral {
    background: rgba(255, 255, 68, 0.2);
    border: 1px solid #ffff44;
    color: #ffff44;
}

/* Result Screen */
.result-content {
    text-align: center;
}

#result-title {
    font-size: 2.5rem;
    margin-bottom: 32px;
    font-weight: 900;
}

.result-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 40px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: #888;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
}

.result-feedback {
    margin-bottom: 40px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.result-feedback h3 {
    margin-bottom: 16px;
    color: #ff4444;
}

.result-feedback ul {
    list-style: none;
    text-align: left;
}

.result-feedback li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
    line-height: 1.6;
}

.result-feedback li:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    .status-bar {
        flex-direction: column;
    }
    
    .result-stats {
        flex-direction: column;
        gap: 20px;
    }
}

