* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #1a1f2e;
    color: white;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    background: linear-gradient(145deg, #1e2538, #171c2a);
    min-height: 100vh;
    position: relative;
}

.quiz-container {
    padding: 24px;
}

.quiz-header {
    text-align: center;
    margin-bottom: 35px;
    animation: fadeIn 0.5s ease-out;
}

.quiz-header h1 {
    font-size: 28px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #fff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.subtitle {
    color: #8b95a9;
    font-size: 15px;
    letter-spacing: 0.3px;
}

.question-counter {
    background: linear-gradient(145deg, #2d3446, #252b3b);
    padding: 8px 20px;
    border-radius: 25px;
    display: inline-block;
    margin-bottom: 20px;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #8b95a9;
    font-weight: 500;
}

.question {
    font-size: 19px;
    margin-bottom: 28px;
    line-height: 1.5;
    color: #fff;
    font-weight: 500;
    animation: slideIn 0.5s ease-out;
}

.options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 35px;
}

.option {
    background: linear-gradient(145deg, #2d3446, #252b3b);
    padding: 18px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    font-size: 15px;
    font-weight: 500;
}

.option:hover {
    transform: translateY(-2px);
    background: linear-gradient(145deg, #323a4f, #2a3140);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.option.correct {
    background: linear-gradient(145deg, #4CAF50, #43a047);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.option.wrong {
    background: linear-gradient(145deg, #f44336, #e53935);
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.3);
}

.fun-fact {
    background: linear-gradient(145deg, #2d3446, #252b3b);
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 35px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: slideUp 0.5s ease-out;
}

.fun-fact h3 {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.fun-fact p {
    font-size: 15px;
    line-height: 1.6;
    color: #a0aec0;
}

.quiz-info {
    border-top: 1px solid rgba(45, 52, 70, 0.5);
    padding-top: 28px;
    margin-top: 10px;
}

.quiz-info h2 {
    font-size: 22px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.quiz-info ul {
    list-style: none;
}

.quiz-info li {
    color: #8b95a9;
    font-size: 15px;
    margin-bottom: 14px;
    position: relative;
    padding-left: 24px;
    transition: transform 0.3s ease;
}

.quiz-info li:hover {
    transform: translateX(5px);
}

.quiz-info li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #64748b;
    font-size: 20px;
    line-height: 1;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 481px) {
    body {
        background-color: #0f1219;
        align-items: center;
        padding: 20px;
    }
    
    .container {
        border-radius: 24px;
        min-height: auto;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        overflow: hidden;
    }
}

/* Reward Modal Styles */
.reward-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-out;
}

.reward-modal.show {
    display: flex;
}

.reward-content {
    background: linear-gradient(145deg, #1e2538, #171c2a);
    padding: 40px 24px;
    border-radius: 24px;
    width: 90%;
    max-width: 320px;
    position: relative;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease-out;
}

.close-button {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: #8b95a9;
    font-size: 24px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-button:hover {
    background-color: rgba(139, 149, 169, 0.1);
    color: #fff;
}

.coin-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    animation: bounce 1s infinite;
}

.coin-icon img {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 8px rgba(255, 193, 7, 0.3));
}

.reward-title {
    color: #ffc107;
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 600;
}

.reward-amount {
    font-size: 28px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    line-height: 1.3;
}

.reward-description {
    color: #8b95a9;
    font-size: 14px;
    margin-bottom: 24px;
}

.claim-button {
    background: linear-gradient(145deg, #ffc107, #ffab00);
    color: #1a1f2e;
    border: none;
    padding: 14px 48px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.claim-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
} 