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

body {
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(to bottom, #87CEEB 0%, #4682B4 50%, #2C3E50 100%);
    min-height: 100vh;
    color: #fff;
    overflow-x: hidden;
}

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

header {
    text-align: center;
    margin-bottom: 30px;
}

.title {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    font-weight: 600;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
    background: linear-gradient(45deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.2rem;
    margin-top: 10px;
    opacity: 0.9;
}

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

.screen.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Welcome Screen */
.welcome-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    margin: 50px auto;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.welcome-content h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #FFD700;
}

.welcome-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.btn-start, .btn-restart {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #2C3E50;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.btn-start:hover, .btn-restart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

/* Game Screen */
.game-header {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
}

.stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 10px;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 5px;
}

.stat-item span:last-child {
    font-size: 1.8rem;
    font-weight: 600;
    color: #FFD700;
}

.rank-display {
    font-family: 'Cinzel', serif;
    font-size: 2rem !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: rankGlow 2s ease-in-out infinite;
}

@keyframes rankGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Mountain */
.mountain-container {
    position: relative;
    height: 400px;
    margin: 30px 0;
}

.mountain {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 200px solid transparent;
    border-right: 200px solid transparent;
    border-bottom: 350px solid rgba(139, 69, 19, 0.8);
    position: relative;
}

.mountain::before {
    content: '';
    position: absolute;
    top: 150px;
    left: -200px;
    width: 0;
    height: 0;
    border-left: 200px solid transparent;
    border-right: 200px solid transparent;
    border-bottom: 200px solid rgba(255, 255, 255, 0.3);
}

.peak {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, #FFD700, #FFA500);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 30px rgba(255, 215, 0, 0.8); }
    50% { box-shadow: 0 0 50px rgba(255, 215, 0, 1); }
}

.climber {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: #FF6B6B;
    border-radius: 50%;
    transition: bottom 0.5s ease-out;
    z-index: 10;
}

/* Quiz Container */
.quiz-container {
    max-width: 700px;
    margin: 0 auto;
}

.question-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

#questionText {
    font-size: 1.3rem;
    margin-bottom: 25px;
    text-align: center;
    line-height: 1.5;
}

.options-container {
    display: grid;
    gap: 15px;
}

.option-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid transparent;
    color: white;
    padding: 15px 20px;
    font-size: 1.1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.option-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(5px);
}

.option-btn.correct {
    background: rgba(76, 175, 80, 0.8);
    border-color: #4CAF50;
}

.option-btn.incorrect {
    background: rgba(244, 67, 54, 0.8);
    border-color: #F44336;
}

.option-btn.disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

/* Victory Screen */
.victory-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    margin: 50px auto;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.victory-content h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #FFD700;
}

.final-stats {
    margin: 30px 0;
    font-size: 1.2rem;
}

.final-stats p {
    margin: 10px 0;
}

.final-rank {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 600;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
}

.btn-restart-game {
    background: rgba(255, 215, 0, 0.3);
    color: white;
    border: 2px solid #FFD700;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.btn-restart-game:hover {
    background: rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }
    
    .mountain {
        border-left-width: 150px;
        border-right-width: 150px;
        border-bottom-width: 300px;
    }
    
    .mountain::before {
        border-left-width: 150px;
        border-right-width: 150px;
        border-bottom-width: 150px;
        left: -150px;
    }
    
    .stats {
        flex-direction: column;
    }
    
    .stat-item {
        margin: 5px 0;
    }
}