* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    background: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #2d3436;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

.container {
    max-width: 600px;
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 2s forwards;
    animation-delay: 1s;
    padding: 20px;
    z-index: 1;
}

.header {
    margin-bottom: 40px;
}

h1 {
    font-size: 3rem;
    margin: 20px 0;
    background: linear-gradient(45deg, #ff7675, #fd79a8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin: 20px 0;
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #636e72;
    margin: 15px 0;
}

.start-btn {
    background: linear-gradient(45deg, #ff7675, #fd79a8);
    color: white;
    border: none;
    padding: 18px 36px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    margin: 30px 0;
    transition: transform 0.2s, box-shadow 0.2s;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(253, 121, 168, 0.4);
}

.start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(253, 121, 168, 0.6);
}


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

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }

    .card {
        padding: 20px;
    }

    p {
        font-size: 1rem;
    }

    .start-btn {
        padding: 15px 30px;
        font-size: 1rem;
    }
}

/* Animation container should appear immediately */
.container {
    opacity: 1;
    transform: none;
    animation: none;
}

/* Question Styles */
.question-container {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.question-intro {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}

.question-text {
    font-size: 2rem;
    color: #2d3436;
    margin-bottom: 40px;
    font-weight: bold;
}

.options-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.option-btn {
    background: white;
    border: 2px solid #fd79a8;
    padding: 15px 25px;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #2d3436;
}

.option-btn:hover {
    background: #fd79a8;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(253, 121, 168, 0.3);
}

.option-btn.correct {
    background: #00b894;
    border-color: #00b894;
    color: white;
}

.option-btn.incorrect {
    background: #ff7675;
    border-color: #ff7675;
    color: white;
}

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

.feedback {
    margin-top: 30px;
    padding: 20px;
    border-radius: 15px;
    animation: fadeIn 0.5s ease-out;
    font-size: 1.1rem;
}

.feedback.correct {
    background: rgba(0, 184, 148, 0.1);
    color: #00b894;
}

.feedback.incorrect {
    background: rgba(255, 118, 117, 0.1);
    color: #ff7675;
}

/* Add these styles to your existing CSS file */
.button-container {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.next-btn {
    background: linear-gradient(45deg, #ff7675, #fd79a8);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(253, 121, 168, 0.4);
}

.next-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(253, 121, 168, 0.6);
}

.next-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Add these styles to your CSS */
.container {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

.container.loaded {
    opacity: 1;
}

/* Loading spinner styles */
.loading-spinner {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255,118,117,0.3);
    border-radius: 50%;
    border-top-color: #ff7675;
    animation: spin 1s ease-in-out infinite;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Hide initial content until JS loads */
.content-hidden {
    display: none;
}

.agenda-container {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.agenda-title {
    font-size: 2rem;
    color: #2d3436;
    margin-bottom: 30px;
    background: linear-gradient(45deg, #ff7675, #fd79a8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.agenda-content {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin: 20px 0;
    text-align: left;
}

.agenda-content p {
    margin: 15px 0;
    line-height: 1.8;
    color: #636e72;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.back-btn {
    background: white;
    border: 2px solid #fd79a8;
    color: #fd79a8;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.back-btn:hover {
    background: #fd79a8;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(253, 121, 168, 0.3);
}

.finale-container {
    text-align: center;
    padding: 40px 20px;
    animation: fadeIn 1s ease-out;
}

.finale-message {
    margin: 20px auto;
    max-width: 600px;
}

.finale-title {
    font-size: 2rem;
    color: #fd79a8;
    margin-bottom: 20px;
    animation: slideUp 1s ease-out;
}

.edition-title {
    font-size: 3rem;
    background: linear-gradient(45deg, #ff7675, #fd79a8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 10px 0;
    animation: slideUp 1.2s ease-out;
}

.edition-year {
    font-size: 3.5rem;
    background: linear-gradient(45deg, #fd79a8, #a8e6cf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 10px 0;
    animation: slideUp 1.4s ease-out;
}

.finale-subtitle {
    font-size: 1.5rem;
    color: #636e72;
    margin-top: 30px;
    animation: fadeIn 2s ease-out;
}

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

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