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

body {
    font-family: 'Noto Sans', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #ff4444;
    text-shadow: 0 0 10px rgba(255, 68, 68, 0.3);
}

.subtitle {
    text-align: center;
    color: #cccccc;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.screen {
    transition: all 0.3s ease;
}

.hidden {
    display: none;
}

.form-section {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.form-section h2 {
    color: #ff4444;
    margin-bottom: 25px;
    text-align: center;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: 500;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: #ff4444;
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.2);
}

.input-group textarea {
    height: 80px;
    resize: vertical;
}

.input-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.input-group select:focus {
    outline: none;
    border-color: #ff4444;
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.2);
}

.input-group select[multiple] {
    height: 120px;
}

.input-group select option {
    background: #1a1a1a;
    color: #ffffff;
    padding: 8px;
}

.input-group small {
    display: block;
    margin-top: 5px;
    color: #999999;
    font-size: 12px;
}

.start-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #ff4444, #cc0000);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 68, 68, 0.3);
}

.eas-banner {
    background: #ff0000;
    color: white;
    padding: 15px;
    text-align: center;
    margin-bottom: 30px;
    border-radius: 8px;
    animation: flashAlert 2s infinite;
}

@keyframes flashAlert {
    0%, 50% { opacity: 1; }
    25%, 75% { opacity: 0.7; }
}

.eas-text {
    font-weight: bold;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.story-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    backdrop-filter: blur(10px);
    min-height: 400px;
}

#story-content {
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.story-segment {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid #ff4444;
    border-radius: 0 8px 8px 0;
    animation: fadeInUp 0.8s ease;
}

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

.continue-btn, .restart-btn {
    padding: 12px 30px;
    background: linear-gradient(45deg, #444444, #666666);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px;
}

.continue-btn:hover, .restart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.restart-btn {
    background: linear-gradient(45deg, #ff4444, #cc0000);
}

#continue-btn-container, #restart-container {
    text-align: center;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .form-section {
        padding: 20px;
    }
}