/* --- General Body & Font Styles --- */
body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    background-color: #18181b; /* zinc-900 */
    color: #E0E0E0;
    line-height: 1.7;
    margin: 0;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    box-sizing: border-box; /* Ensures padding is included in the total height/width */
}

/* --- Quiz Specific Styles --- */
.question-title {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.5rem;
    line-height: 2rem;
    color: #F9FAFB;
}

.question-number {
    font-size: 1rem;
    color: #a1a1aa;
    padding-top: 0.25rem;
}

.custom-radio label {
    transition: all 0.2s ease-in-out;
    border: 1px solid #3f3f46;
    background-color: rgba(39, 39, 42, 0.5);
    font-size: 1rem;
}
.custom-radio label:hover {
    border-color: #52525b;
    background-color: rgba(63, 63, 70, 0.5);
}
.custom-radio input:checked + label {
    border-color: #71717a;
    background-color: rgba(63, 63, 70, 0.7);
}
.custom-radio input:checked + label .checkmark {
    opacity: 1;
}
.checkmark {
    transition: all 0.2s ease-in-out;
    opacity: 0;
    color: #a1a1aa;
}

.text-input {
    background-color: #27272a;
    border: 1px solid #3f3f46;
    color: #f4f4f5;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.text-input:focus {
    outline: none;
    border-color: #71717a;
    box-shadow: 0 0 0 2px #18181b, 0 0 0 4px #71717a;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

.quiz-step {
    min-height: 320px;
}

/* --- Guide Specific Styles (Updated for Consistency) --- */
.guide-container {
    max-width: 800px;
    width: 100%;
}

.guide-header {
    position: relative;
    text-align: center;
    color: white;
    border-radius: 12px;
    overflow: hidden;
}

.cover-image {
    width: 100%;
    height: auto;
    display: block;
}

.title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    box-sizing: border-box;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    text-align: left;
}

.title-overlay h1 {
    color: #FFFFFF;
    font-size: 3em;
    margin: 0;
    font-weight: 800;
    text-transform: uppercase;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
    line-height: 1.1;
}

.title-overlay h4 {
    font-size: 1.3em;
    margin: 10px 0 0;
    font-weight: 400;
    color: #d0d0d0;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
}

.header-content {
    padding: 20px 0;
    text-align: center;
    border-bottom: 1px solid #3f3f46;
    margin-bottom: 30px;
}

.logo {
    max-width: 200px;
    width: 40%;
    margin-bottom: 15px;
}

.guide-main {
    padding: 0 10px;
}

.guide-section {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #3f3f46;
}
.guide-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

h4.section-title {
    color: #FFFFFF;
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 600;
}

.guide-main p, .guide-main li {
    font-size: 1em;
    color: #dcdcdc;
}

.guide-main ul {
    list-style-type: none;
    padding-left: 0;
}

.guide-main li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}

.guide-main li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #FFFFFF;
    font-weight: 700;
}

.secret-box {
    background-color: rgba(39, 39, 42, 0.5);
    border: 1px solid #3f3f46;
    border-left: 4px solid #FFFFFF;
    padding: 15px;
    margin-top: 20px;
    border-radius: 6px;
}
.secret-box p {
    margin: 0;
    font-size: 0.95em;
}
.secret-box strong {
    color: #FFFFFF;
    font-weight: 600;
}

.cta-section {
    background-color: #27272a;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    margin-top: 20px;
}

.cta-button {
    display: inline-block;
    background-color: #FFFFFF;
    color: #121212;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    margin-top: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
}

.guide-footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid #3f3f46;
    font-size: 0.9em;
    color: #888;
}

.guide-footer a {
    color: #FFFFFF;
    text-decoration: none;
}
