/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --pink:    #FF6B9D;
    --purple:  #A855F7;
    --blue:    #3B82F6;
    --green:   #22C55E;
    --yellow:  #FBBF24;
    --orange:  #F97316;
    --red:     #EF4444;
    --bg:      #FFF9F0;
    --card-bg: #FFFFFF;
    --shadow:  0 8px 32px rgba(0,0,0,0.12);
    --radius:  20px;
    --font:    'Nunito', 'Segoe UI', Tahoma, sans-serif;
}

html, body {
    width: 100%; height: 100%;
    overflow: hidden;
    font-family: var(--font);
    background: var(--bg);
    color: #1a1a2e;
}

/* ===== NAVIGATION ===== */
#nav {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 10px 20px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-top: 2px solid #eee;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}

#nav button {
    padding: 10px 28px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

#btn-prev { background: #e5e7eb; color: #374151; }
#btn-next { background: linear-gradient(135deg, var(--pink), var(--purple)); color: white; }
#btn-prev:hover { background: #d1d5db; transform: scale(1.05); }
#btn-next:hover { transform: scale(1.05); box-shadow: 0 4px 15px rgba(168,85,247,0.4); }
#btn-prev:disabled { opacity: 0.3; cursor: default; }

#slide-counter {
    font-size: 0.9rem;
    font-weight: 600;
    color: #6b7280;
    min-width: 60px;
    text-align: center;
}

/* ===== SLIDES ===== */
.slide {
    position: absolute;
    top: 0; left: 0; right: 0;
    bottom: 64px; /* nav height */
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateX(60px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    padding: 20px;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    pointer-events: all;
    transform: translateX(0);
}

.slide.exit-left {
    opacity: 0;
    transform: translateX(-60px);
}

.slide-content {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
    padding-bottom: 20px;
    margin: 0 auto;
    min-height: calc(100vh - 64px - 40px); /* wypełnia wysokość → centruje krótkie slajdy */
}

/* ===== TITLES ===== */
.slide-title {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.subtitle {
    font-size: 1.1rem;
    color: #6b7280;
}

/* ===== SLIDE 1: INTRO ===== */
.intro-slide {
    background: var(--card-bg);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    padding: 40px;
    justify-content: center;
}

.title-big {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--pink), var(--purple), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.title-sub {
    font-size: 1.8rem;
    font-weight: 700;
    color: #374151;
}

.intro-text {
    font-size: 1.3rem;
    color: #6b7280;
    max-width: 500px;
}

.heart-beat-icon {
    font-size: 5rem;
    animation: heartBeat 1s ease-in-out infinite;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    14% { transform: scale(1.3); }
    28% { transform: scale(1); }
    42% { transform: scale(1.2); }
    70% { transform: scale(1); }
}

/* ===== SLIDE 2: BREATHING ===== */
.breathe-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin: 0;
}

.breathe-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #A855F7, #FF6B9D);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
    transition: transform 4s ease-in-out, background 1s ease;
    box-shadow: 0 0 40px rgba(168,85,247,0.4);
}

/* ===== SLIDE 2: FIST & HEART ===== */
.fist-heart-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: 10px 0;
}

.fist-heart-box {
    background: white;
    border-radius: var(--radius);
    padding: 30px 40px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.fist-heart-box p {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
}

.big-emoji {
    font-size: 5rem;
    line-height: 1;
}

.equals {
    font-size: 3rem;
    font-weight: 900;
    color: var(--purple);
}

.fist-anim { animation: none; }
.heart-anim { animation: heartBeat 1s ease-in-out infinite; }

.task-box {
    background: linear-gradient(135deg, #FFF7ED, #FFF0F8);
    border: 2px solid var(--orange);
    border-radius: var(--radius);
    padding: 20px 30px;
    font-size: 1.1rem;
    max-width: 600px;
}

.fact-box {
    background: linear-gradient(135deg, #F0FFF4, #ECFDF5);
    border: 2px solid var(--green);
    border-radius: var(--radius);
    padding: 20px 30px;
    font-size: 1.2rem;
    max-width: 600px;
    animation: fadeIn 0.5s ease;
    margin-top: 0;
}

.hidden { display: none !important; }

/* ===== QUIZ ===== */
.quiz-question-box {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 750px;
}

.quiz-question-text {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a2e;
}

.quiz-question-number {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--purple);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.quiz-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.quiz-option {
    padding: 18px 20px;
    border: 3px solid #e5e7eb;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    background: white;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
}

.quiz-option:hover:not(:disabled) {
    border-color: var(--purple);
    background: #FAF5FF;
    transform: scale(1.02);
}

.quiz-option.correct {
    border-color: var(--green);
    background: #F0FFF4;
    animation: correctPulse 0.5s ease;
}

.quiz-option.wrong {
    border-color: var(--red);
    background: #FFF1F1;
    animation: shake 0.4s ease;
}

.quiz-option:disabled { cursor: default; }

@keyframes correctPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

.quiz-progress {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 15px;
}

.quiz-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: #e5e7eb;
    transition: background 0.3s;
}

.quiz-dot.done { background: var(--green); }
.quiz-dot.current { background: var(--purple); transform: scale(1.3); }

.quiz-result {
    font-size: 2rem;
    font-weight: 800;
    padding: 20px;
    border-radius: var(--radius);
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.quiz-result.win {
    background: linear-gradient(135deg, #F0FFF4, #DCFCE7);
    color: #15803d;
    border: 3px solid var(--green);
}

/* ===== SOUND QUIZ ===== */
.sound-quiz-item {
    background: white;
    border-radius: var(--radius);
    padding: 25px 30px;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 650px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.sound-quiz-item.done { border: 3px solid var(--green); }

.btn-play-sound {
    padding: 15px 35px;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-play-sound:hover { transform: scale(1.05); box-shadow: 0 4px 15px rgba(59,130,246,0.4); }
.btn-play-sound.playing { animation: pulse 0.5s ease infinite alternate; }

@keyframes pulse {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
}

.sound-answer { font-size: 1.3rem; font-weight: 700; }
.sound-fact { font-size: 1.2rem; color: #374151; margin-top: 8px; }
.sound-btn-row { display: flex; gap: 12px; align-items: center; justify-content: center; }
.btn-stop-sound {
    padding: 12px 22px;
    background: #fee2e2;
    color: #991b1b;
    border: 2px solid #EF4444;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-stop-sound:hover { background: #EF4444; color: white; }

.btn-reveal-sound {
    padding: 10px 25px;
    border: 2px solid var(--purple);
    background: white;
    color: var(--purple);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-reveal-sound:hover { background: var(--purple); color: white; }

/* ===== EXPLANATION CARD (slajdy 8, 9, 10) ===== */
.explanation-card {
    background: linear-gradient(135deg, #FFF7ED, #FFF0F8);
    border: 3px solid var(--orange);
    border-radius: var(--radius);
    padding: 24px 36px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    max-width: 700px;
    width: 100%;
    text-align: center;
    animation: fadeIn 0.4s ease;
    box-shadow: var(--shadow);
}

/* ===== FACTS CAROUSEL ===== */
.fact-card {
    background: white;
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 700px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    animation: fadeIn 0.4s ease;
}

.fact-emoji { font-size: 4rem; }

.fact-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.4;
}

.fact-sub {
    font-size: 1rem;
    color: #6b7280;
}

.facts-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-fact-nav {
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: white;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-fact-nav:hover { transform: scale(1.08); }

#fact-counter { font-size: 1rem; font-weight: 600; color: #6b7280; min-width: 50px; text-align: center; }

/* ===== CPR SLIDE ===== */
.cpr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    width: 100%;
}

.cpr-fact-box {
    background: linear-gradient(135deg, #FFF7ED, #FFF0F8);
    border: 2px solid var(--orange);
    border-radius: var(--radius);
    padding: 20px 30px;
    max-width: 650px;
}

.cpr-question {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.5;
}

.cpr-heart {
    font-size: 5rem;
    line-height: 1;
    transition: transform 0.1s;
}

.cpr-heart.beating { animation: cprBeat 0.583s ease infinite; } /* 103 BPM */

@keyframes cprBeat {
    0%, 100% { transform: scale(1); }
    10% { transform: scale(1.4); }
    20% { transform: scale(1.1); }
    30% { transform: scale(1.35); }
    45% { transform: scale(1); }
}

.cpr-bpm {
    font-size: 1rem;
    font-weight: 700;
    color: var(--red);
}

.cpr-song-box {
    background: #1a1a2e;
    color: white;
    border-radius: var(--radius);
    padding: 20px 30px;
    max-width: 650px;
    width: 100%;
}

.song-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--yellow);
    margin: 8px 0;
}

.cpr-fact-small {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-top: 10px;
    line-height: 1.5;
}

/* ===== YOUTUBE EMBED ===== */
.youtube-embed {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 560px;
    margin: 10px auto;
}

.youtube-embed.large { max-width: 800px; }

.youtube-embed iframe {
    display: block;
    width: 100%;
}

.video-source {
    font-size: 0.85rem;
    color: #9ca3af;
}

/* ===== FINAL QUIZ ===== */
.final-quiz-question {
    background: white;
    border-radius: var(--radius);
    padding: 25px 30px;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 750px;
    margin-bottom: 10px;
}

.final-quiz-text {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.final-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.final-option {
    padding: 15px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    background: white;
    transition: all 0.25s;
    text-align: left;
}

.final-option:hover:not(:disabled) { border-color: var(--purple); background: #FAF5FF; }
.final-option.correct { border-color: var(--green); background: #F0FFF4; }
.final-option.wrong { border-color: var(--red); background: #FFF1F1; }

/* ===== END SLIDE ===== */
.end-slide {
    background: linear-gradient(135deg, #FFF7ED, #FFF0F8, #F0F0FF);
    border-radius: var(--radius);
    padding: 40px;
    min-height: 80vh;
    justify-content: center;
}

.trophy { font-size: 6rem; animation: bounce 1s ease infinite; }

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.end-facts {
    background: white;
    border-radius: var(--radius);
    padding: 20px 30px;
    box-shadow: var(--shadow);
    text-align: left;
    max-width: 500px;
    width: 100%;
}

.end-facts p { font-size: 1rem; font-weight: 600; margin-bottom: 12px; }

.end-facts ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }

.end-facts li { font-size: 1.3rem; line-height: 1.9; color: #374151; }

.end-author { font-size: 1.2rem; color: #6b7280; }
.end-slide .title-big { font-size: 5rem; }
.end-slide .title-sub { font-size: 2.2rem; }

/* ===== BUTTONS ===== */
.btn-main {
    padding: 18px 45px;
    font-size: 1.2rem;
    font-weight: 800;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: white;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 4px 20px rgba(168,85,247,0.35);
}

.btn-main:hover { transform: scale(1.05); box-shadow: 0 6px 25px rgba(168,85,247,0.5); }

.btn-reveal {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 700;
    border: 2px solid var(--yellow);
    background: linear-gradient(135deg, #FFFBEB, #FFF7C0);
    color: #92400e;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-reveal:hover { transform: scale(1.04); background: var(--yellow); }

/* ===== CONFETTI ===== */
.confetti-piece {
    position: absolute;
    width: 10px; height: 10px;
    border-radius: 2px;
    animation: confettiFall linear forwards;
    pointer-events: none;
}

@keyframes confettiFall {
    0% { transform: translateY(-20px) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== ORGAN QUIZ IMAGE / EMOJI ===== */
.quiz-organ-emoji {
    font-size: 100px;
    line-height: 1;
    margin: 0 auto 16px;
    animation: fadeIn 0.4s ease;
}

.quiz-organ-img {
    display: block;
    width: 160px;
    height: 160px;
    object-fit: contain;
    margin: 0 auto 16px;
    border-radius: 16px;
    animation: fadeIn 0.4s ease;
}

/* ===== TRUE/FALSE QUIZ ===== */
.tf-box {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 28px 32px;
    box-shadow: var(--shadow);
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.tf-statement {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 20px 0 28px;
    line-height: 1.4;
}

.tf-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
}

.tf-btn {
    padding: 18px 40px;
    font-size: 1.3rem;
    font-weight: 800;
    border: 3px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s;
}

.tf-true {
    background: #dcfce7;
    color: #166534;
    border-color: #22C55E;
}

.tf-false {
    background: #fee2e2;
    color: #991b1b;
    border-color: #EF4444;
}

.tf-btn:hover:not(:disabled) { transform: scale(1.06); }
.tf-btn:disabled { cursor: default; }
.tf-btn.correct { background: #22C55E; color: white; transform: scale(1.05); }
.tf-btn.wrong { background: #EF4444; color: white; }
.tf-btn.wrong-dim { opacity: 0.4; }

.tf-result {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.tf-result span {
    display: block;
    font-size: 1.1rem;
    font-weight: 400;
    margin-top: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .title-big { font-size: 2.5rem; }
    .title-sub { font-size: 1.3rem; }
    .slide-title { font-size: 1.5rem; }
    .quiz-options, .final-options { grid-template-columns: 1fr; }
    .fist-heart-container { flex-direction: column; gap: 15px; }
    .big-emoji { font-size: 3.5rem; }
    .youtube-embed.large { max-width: 100%; }
    .youtube-embed.large iframe { height: 220px; }
    .rtg-task-box { grid-template-columns: 1fr; }
}

/* ===== TYPOGRAPHY: CZYTELNOŚĆ NA DUŻYM EKRANIE ===== */
body { font-size: 18px; }
.slide-title { font-size: 2.4rem; font-weight: 900; }
.subtitle { font-size: 1.3rem; }
.quiz-question-text { font-size: 1.8rem; font-weight: 800; }
.quiz-option { font-size: 1.25rem; font-weight: 700; }
.fact-text { font-size: 1.6rem; font-weight: 800; }
.fact-sub { font-size: 1.15rem; }
.tf-statement { font-size: 1.9rem; font-weight: 800; }
.tf-btn { font-size: 1.5rem; font-weight: 900; }
.final-quiz-text { font-size: 1.3rem; font-weight: 700; }
.final-option { font-size: 1.15rem; font-weight: 700; }

/* ===== TŁO Z NARZĄDAMI ===== */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='500' height='300'%3E%3Ctext y='70' font-size='60' opacity='0.10'%3E%E2%9D%A4%EF%B8%8F%3C/text%3E%3Ctext x='170' y='120' font-size='56' opacity='0.10'%3E%F0%9F%A7%A0%3C/text%3E%3Ctext x='340' y='75' font-size='58' opacity='0.10'%3E%F0%9F%AB%81%3C/text%3E%3Ctext x='30' y='250' font-size='60' opacity='0.10'%3E%F0%9F%A6%B4%3C/text%3E%3Ctext x='220' y='270' font-size='54' opacity='0.10'%3E%F0%9F%91%81%EF%B8%8F%3C/text%3E%3Ctext x='100' y='185' font-size='52' opacity='0.09'%3E%F0%9F%AB%80%3C/text%3E%3Ctext x='300' y='195' font-size='48' opacity='0.09'%3E%F0%9F%A6%B7%3C/text%3E%3Ctext x='130' y='295' font-size='40' font-family='Arial' font-weight='900' opacity='0.13' fill='%23a855f7'%3E1%20beta%3C/text%3E%3C/svg%3E");
    pointer-events: none;
}

.slide-content { position: relative; z-index: 1; }

/* ===== SLIDE 3: JELITA ===== */
.gut-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    width: 100%;
    max-width: 900px;
    align-items: center;
}
.gut-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: white;
    border-radius: var(--radius);
    padding: 28px 32px;
    box-shadow: var(--shadow);
}
.gut-stat-row {
    display: grid;
    grid-template-columns: 180px 1fr 80px;
    align-items: center;
    gap: 14px;
    font-size: 1.5rem;
    font-weight: 700;
}
.gut-name { text-align: right; color: #374151; }
.gut-bar { background: #f3f4f6; border-radius: 8px; height: 32px; overflow: hidden; }
.gut-bar-fill { display: block; height: 100%; border-radius: 8px; }
.gut-bar-fill.thin { width: 85%; background: linear-gradient(90deg, #A855F7, #FF6B9D); }
.gut-bar-fill.thick { width: 22%; background: linear-gradient(90deg, #3B82F6, #22C55E); }
.gut-bar-fill.total { width: 100%; background: linear-gradient(90deg, #F97316, #EF4444); }
.gut-len { font-size: 1.4rem; font-weight: 800; color: #6b7280; }
.total-row .gut-name { color: var(--purple); font-size: 1.6rem; }
.gut-total-len { color: var(--red); font-size: 1.7rem; }
.gut-rope-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    background: white;
    border-radius: var(--radius);
    padding: 28px 32px;
    box-shadow: var(--shadow);
}
.rope-visual { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.rope-line { width: 220px; height: 8px; background: linear-gradient(90deg, var(--orange), var(--red)); border-radius: 4px; }
.rope-text { font-size: 1.3rem; font-weight: 800; color: var(--orange); }
.rope-desc { font-size: 1.2rem; font-weight: 700; color: #374151; text-align: center; }

/* ===== RTG ZADANIE GRUPOWE ===== */
.rtg-task-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 20px 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.rtg-task-rules, .rtg-task-hint {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 24px 28px;
    box-shadow: var(--shadow);
    text-align: left;
}
.rtg-hint-centered {
    max-width: 600px;
    width: 100%;
}
.rtg-task-rules h3, .rtg-task-hint p { margin-bottom: 12px; font-size: 1.5rem; font-weight: 800; }
.rtg-task-rules ol, .rtg-task-hint ul { padding-left: 20px; line-height: 2.2; font-size: 1.35rem; }
.rtg-task-rules li, .rtg-task-hint li { margin-bottom: 4px; }

/* ===== QUIZ CONTAINERS SPACING ===== */
#truefalse-container,
#quiz-organ-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

/* ===== SLIDE 2: WHITE CARD ===== */
.slide-2-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 32px 40px;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 680px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
