:root{--navy:#103b6f;--red:#e52a1c;--green:#2f7d32;--cream:#fff9e9;--gold:#f3ba3b}body{font-family:Arial,sans-serif;background:var(--cream);color:#17324d}.navbar,footer{background:linear-gradient(90deg,#0d315d,#164d85)}footer,footer a{color:white}.hero{min-height:72vh;background:linear-gradient(90deg,rgba(7,39,67,.78),rgba(7,39,67,.2)),url('../images/mr-tall-cover.png') center/cover;display:flex;align-items:center;color:white}.hero-box{max-width:650px;background:rgba(0,0,0,.28);padding:2rem;border-radius:1.5rem}.btn-adventure{background:var(--red);color:white;border-radius:999px;padding:.8rem 1.4rem}.section-title{color:var(--navy);font-weight:800}.card{border:0;border-radius:1.2rem;box-shadow:0 10px 28px rgba(0,0,0,.10);overflow:hidden}.card-img-top{height:280px;object-fit:cover}.character-img{width:180px;height:180px;object-fit:cover;border-radius:50%;border:7px solid white;box-shadow:0 8px 22px rgba(0,0,0,.2)}.leaf-divider{text-align:center;color:var(--green);font-size:1.5rem}.form-control,.form-select{border-radius:.8rem}.activity-card{background:white;padding:1.5rem;border-radius:1rem}.qr-callout{background:#e7f5ff;border-left:6px solid var(--navy);padding:1rem;border-radius:.8rem}@media(max-width:768px){.hero{min-height:62vh}.hero h1{font-size:2.1rem}.card-img-top{height:220px}}
.home-hero {
    min-height: 650px;
    display: flex;
    align-items: center;
    background-position: center;
    background-size: cover;
}

.home-hero .hero-box {
    max-width: 760px;
}

.featured-book-section {
    background:
        radial-gradient(circle at top left, rgba(255, 205, 86, 0.22), transparent 35%),
        #fffaf0;
}

.featured-book-cover {
    max-width: 390px;
    margin: 0 auto;
    padding: 16px;
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 25px 60px rgba(18, 62, 105, 0.18);
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.featured-book-cover:hover {
    transform: rotate(0deg) translateY(-6px);
}

.featured-book-cover img {
    width: 100%;
    border-radius: 18px;
}

.book-number-badge {
    display: inline-block;
    padding: 8px 18px;
    color: #ffffff;
    background: #1c754e;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.feature-card {
    border: 0;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(18, 62, 105, 0.1);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 55px rgba(18, 62, 105, 0.16);
}

.feature-icon {
    margin-bottom: 14px;
    font-size: 2.4rem;
}

.feature-card a {
    margin-top: auto;
    font-weight: 700;
    text-decoration: none;
}

.character-preview-section {
    background: #fff9e9;
}

.section-kicker {
    margin-bottom: 6px;
    color: #c46725;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.section-introduction {
    max-width: 650px;
}

.home-character-card {
    display: block;
    height: 100%;
    padding: 22px 16px;
    color: inherit;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(18, 62, 105, 0.09);
    text-align: center;
    text-decoration: none;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.home-character-card:hover {
    color: inherit;
    transform: translateY(-8px);
    box-shadow: 0 22px 50px rgba(18, 62, 105, 0.15);
}

.home-character-card img {
    width: 170px;
    height: 170px;
    max-width: 100%;
    margin-bottom: 18px;
    border: 7px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 12px 30px rgba(18, 62, 105, 0.18);
    object-fit: cover;
    object-position: center;
}

.home-character-card h3 {
    color: #123e69;
    font-size: 1.35rem;
    font-weight: 800;
}

.home-character-card p {
    margin-bottom: 0;
    color: #606060;
    font-size: 0.95rem;
}

.reader-preview-section {
    background: #ffffff;
}

.reader-quote-card {
    position: relative;
    padding: 30px;
    overflow: hidden;
    background: #f8fbff;
    border: 1px solid rgba(18, 62, 105, 0.08);
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(18, 62, 105, 0.08);
}

.reader-quote-mark {
    position: absolute;
    top: -18px;
    right: 18px;
    color: rgba(18, 62, 105, 0.08);
    font-family: Georgia, serif;
    font-size: 8rem;
    line-height: 1;
}

.reader-quote {
    position: relative;
    font-size: 1.08rem;
    font-weight: 600;
}

.reader-lesson {
    color: #555555;
}

.reader-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.reader-details span {
    padding: 5px 10px;
    background: #ffffff;
    border-radius: 999px;
    color: #123e69;
    font-size: 0.82rem;
    font-weight: 700;
}

.reader-book-title {
    margin: 14px 0 0;
    color: #123e69;
    font-size: 0.9rem;
    font-weight: 700;
}

.reader-recommendation {
    margin: 10px 0 0;
    color: #1c754e;
    font-size: 0.9rem;
    font-weight: 700;
}

.reader-empty-state {
    max-width: 650px;
    margin: 0 auto;
    padding: 40px;
    background: #f8fbff;
    border-radius: 24px;
}

.coming-next-section {
    background:
        linear-gradient(
            135deg,
            rgba(18, 62, 105, 0.98),
            rgba(29, 91, 139, 0.95)
        );
}

.coming-next-box {
    padding: 45px;
    color: #ffffff;
    background:
        radial-gradient(circle at top right, rgba(255, 199, 73, 0.28), transparent 34%),
        rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 32px;
}

.coming-next-box .section-kicker {
    color: #ffd166;
}

.coming-next-cover {
    max-width: 330px;
    border: 10px solid #ffffff;
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
    transform: rotate(2deg);
}

.home-final-callout {
    color: #ffffff;
    background:
        linear-gradient(rgba(20, 94, 69, 0.92), rgba(20, 94, 69, 0.92)),
        url("../images/backgrounds/tropical-village.jpg") center/cover;
}

.home-final-callout h2 {
    font-weight: 800;
}

.home-final-callout p {
    max-width: 700px;
}

@media (max-width: 991px) {
    .home-hero {
        min-height: 540px;
    }

    .featured-book-cover,
    .coming-next-cover {
        max-width: 300px;
    }

    .coming-next-box {
        padding: 32px 24px;
    }
}

@media (max-width: 575px) {
    .home-hero .display-3 {
        font-size: 2.7rem;
    }

    .home-character-card img {
        width: 125px;
        height: 125px;
    }

    .featured-book-cover {
        max-width: 260px;
    }

    .coming-next-cover {
        max-width: 250px;
    }
}

/* =========================================================
   MR. TALL HOMEPAGE – STORYBOOK ENHANCEMENTS
========================================================= */

:root {
    --mrtall-blue: #174a7e;
    --mrtall-dark-blue: #0f345b;
    --mrtall-green: #25764f;
    --mrtall-light-green: #eaf6e8;
    --mrtall-yellow: #ffd166;
    --mrtall-orange: #e9873d;
    --mrtall-cream: #fff8e8;
    --mrtall-white: #ffffff;
    --mrtall-text: #263238;
}

/* Smooth interaction */
html {
    scroll-behavior: smooth;
}

body {
    color: var(--mrtall-text);
    background: #ffffff;
}

/* =========================================================
   HERO
========================================================= */

.home-hero {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-position: center;
    background-size: cover;
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(8, 39, 70, 0.88) 0%,
            rgba(8, 39, 70, 0.65) 48%,
            rgba(8, 39, 70, 0.18) 100%
        );
}

.home-hero::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -100px;
    width: 340px;
    height: 340px;
    opacity: 0.18;
    border-radius: 50%;
    background:
        radial-gradient(circle, #ffd166 0%, transparent 68%);
}

.home-hero .container {
    position: relative;
    z-index: 2;
}

.home-hero .hero-box {
    max-width: 760px;
    padding: 42px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    background: rgba(15, 52, 91, 0.42);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(5px);
}

.home-hero h1 {
    line-height: 1.03;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.28);
}

.home-hero .lead {
    max-width: 680px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.94);
}

/* =========================================================
   BUTTONS
========================================================= */

.btn-adventure {
    padding: 12px 25px;
    color: #ffffff;
    background: linear-gradient(
        135deg,
        var(--mrtall-orange),
        #d46825
    );
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    box-shadow: 0 12px 25px rgba(213, 104, 37, 0.3);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.btn-adventure:hover,
.btn-adventure:focus {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 17px 32px rgba(213, 104, 37, 0.42);
}

/* =========================================================
   FEATURED FIRST BOOK
========================================================= */

.featured-book-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 8% 12%,
            rgba(255, 209, 102, 0.28),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 85%,
            rgba(53, 143, 92, 0.18),
            transparent 30%
        ),
        var(--mrtall-cream);
}

.featured-book-section::before {
    content: "🌿";
    position: absolute;
    top: 30px;
    left: 4%;
    font-size: 4rem;
    opacity: 0.14;
    transform: rotate(-18deg);
}

.featured-book-section::after {
    content: "🌺";
    position: absolute;
    right: 5%;
    bottom: 20px;
    font-size: 4.5rem;
    opacity: 0.14;
    transform: rotate(12deg);
}

.featured-book-cover {
    position: relative;
    max-width: 380px;
    margin: 0 auto;
    padding: 15px;
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 28px 65px rgba(22, 74, 126, 0.22);
    transform: rotate(-2deg);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.featured-book-cover::before {
    content: "BOOK ONE";
    position: absolute;
    top: 24px;
    left: -25px;
    z-index: 3;
    padding: 8px 18px;
    color: #ffffff;
    background: var(--mrtall-green);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.featured-book-cover:hover {
    transform: rotate(0deg) translateY(-8px);
    box-shadow: 0 34px 75px rgba(22, 74, 126, 0.28);
}

.featured-book-cover img {
    display: block;
    width: 100%;
    border-radius: 18px;
}

.book-number-badge {
    display: inline-block;
    padding: 8px 17px;
    color: #ffffff;
    background: var(--mrtall-green);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* =========================================================
   SECTION HEADINGS
========================================================= */

.section-title {
    color: var(--mrtall-blue);
    font-weight: 900;
    letter-spacing: -0.02em;
}

.section-kicker {
    margin-bottom: 6px;
    color: var(--mrtall-orange);
    font-size: 0.84rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.leaf-divider {
    margin: 10px 0 20px;
    font-size: 1.3rem;
    letter-spacing: 8px;
    text-align: center;
}

/* =========================================================
   FEATURE CARDS
========================================================= */

.feature-card {
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(18, 62, 105, 0.11);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.feature-card::after {
    content: "";
    position: absolute;
    right: -45px;
    bottom: -45px;
    width: 115px;
    height: 115px;
    border-radius: 50%;
    background: rgba(255, 209, 102, 0.18);
}

.feature-card:hover {
    transform: translateY(-9px);
    box-shadow: 0 28px 60px rgba(18, 62, 105, 0.17);
}

.feature-card h3 {
    color: var(--mrtall-blue);
    font-weight: 800;
}

.feature-card a {
    position: relative;
    z-index: 2;
    margin-top: auto;
    color: var(--mrtall-green);
    font-weight: 800;
    text-decoration: none;
}

.feature-card a:hover {
    color: var(--mrtall-orange);
}

.feature-icon {
    margin-bottom: 15px;
    font-size: 2.5rem;
}

/* =========================================================
   CHARACTER SECTION
========================================================= */

.character-preview-section {
    position: relative;
    background:
        linear-gradient(
            rgba(255, 249, 233, 0.96),
            rgba(255, 249, 233, 0.96)
        );
}

.home-character-card {
    display: block;
    height: 100%;
    padding: 24px 17px;
    color: inherit;
    background: #ffffff;
    border: 1px solid rgba(18, 62, 105, 0.07);
    border-radius: 26px;
    box-shadow: 0 17px 42px rgba(18, 62, 105, 0.1);
    text-align: center;
    text-decoration: none;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.home-character-card:hover {
    color: inherit;
    transform: translateY(-9px) scale(1.015);
    box-shadow: 0 26px 58px rgba(18, 62, 105, 0.17);
}

.home-character-card img {
    width: 170px;
    height: 170px;
    max-width: 100%;
    margin-bottom: 18px;
    border: 8px solid #ffffff;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    box-shadow:
        0 0 0 4px rgba(255, 209, 102, 0.55),
        0 14px 32px rgba(18, 62, 105, 0.2);
}

.home-character-card h3 {
    margin-bottom: 8px;
    color: var(--mrtall-blue);
    font-size: 1.35rem;
    font-weight: 900;
}

.home-character-card p {
    margin-bottom: 0;
    color: #5e666d;
    font-size: 0.94rem;
}

/* =========================================================
   READER RESPONSES
========================================================= */

.reader-preview-section {
    background:
        radial-gradient(
            circle at top right,
            rgba(79, 159, 108, 0.12),
            transparent 28%
        ),
        #ffffff;
}

.reader-quote-card {
    position: relative;
    height: 100%;
    padding: 30px;
    overflow: hidden;
    background: #f7fbff;
    border: 1px solid rgba(18, 62, 105, 0.08);
    border-radius: 25px;
    box-shadow: 0 16px 38px rgba(18, 62, 105, 0.09);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.reader-quote-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(18, 62, 105, 0.14);
}

.reader-quote-mark {
    position: absolute;
    top: -24px;
    right: 18px;
    color: rgba(18, 62, 105, 0.08);
    font-family: Georgia, serif;
    font-size: 9rem;
    line-height: 1;
}

.reader-quote {
    position: relative;
    font-size: 1.08rem;
    font-weight: 700;
}

.reader-lesson {
    color: #505b62;
}

.reader-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.reader-details span {
    padding: 6px 11px;
    color: var(--mrtall-blue);
    background: #ffffff;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
}

.reader-book-title {
    margin: 15px 0 0;
    color: var(--mrtall-blue);
    font-size: 0.88rem;
    font-weight: 800;
}

.reader-recommendation {
    margin: 10px 0 0;
    color: var(--mrtall-green);
    font-size: 0.9rem;
    font-weight: 800;
}

/* =========================================================
   COMING NEXT
========================================================= */

.coming-next-section {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            var(--mrtall-dark-blue),
            var(--mrtall-blue)
        );
}

.coming-next-section::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -100px;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(255, 209, 102, 0.15);
}

.coming-next-box {
    position: relative;
    z-index: 2;
    padding: 50px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 34px;
    background:
        radial-gradient(
            circle at top right,
            rgba(255, 209, 102, 0.22),
            transparent 35%
        ),
        rgba(255, 255, 255, 0.06);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.coming-next-box .section-kicker {
    color: var(--mrtall-yellow);
}

.coming-next-cover {
    max-width: 330px;
    padding: 8px;
    background: #ffffff;
    border-radius: 23px;
    box-shadow: 0 27px 65px rgba(0, 0, 0, 0.35);
    transform: rotate(2deg);
    transition: transform 0.3s ease;
}

.coming-next-cover:hover {
    transform: rotate(0deg) translateY(-7px);
}

/* =========================================================
   FINAL CALLOUT
========================================================= */

.home-final-callout {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background:
        linear-gradient(
            rgba(27, 105, 72, 0.94),
            rgba(21, 80, 57, 0.96)
        );
}

.home-final-callout::before {
    content: "🌴";
    position: absolute;
    left: 4%;
    bottom: -25px;
    font-size: 9rem;
    opacity: 0.12;
}

.home-final-callout::after {
    content: "🌺";
    position: absolute;
    top: 15px;
    right: 6%;
    font-size: 5rem;
    opacity: 0.13;
}

.home-final-callout .container {
    position: relative;
    z-index: 2;
}

.home-final-callout h2 {
    font-weight: 900;
}

.home-final-callout p {
    max-width: 720px;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 991px) {
    .home-hero {
        min-height: 540px;
    }

    .home-hero::before {
        background: rgba(8, 39, 70, 0.74);
    }

    .home-hero .hero-box {
        max-width: 100%;
    }

    .featured-book-cover,
    .coming-next-cover {
        max-width: 300px;
    }

    .coming-next-box {
        padding: 34px 25px;
    }
}

@media (max-width: 575px) {
    .home-hero {
        min-height: 520px;
    }

    .home-hero .hero-box {
        padding: 28px 22px;
        border-radius: 24px;
    }

    .home-hero .display-3 {
        font-size: 2.65rem;
    }

    .featured-book-cover {
        max-width: 260px;
    }

    .featured-book-cover::before {
        left: -10px;
    }

    .home-character-card {
        padding: 18px 10px;
    }

    .home-character-card img {
        width: 125px;
        height: 125px;
    }

    .home-character-card h3 {
        font-size: 1.1rem;
    }

    .home-character-card p {
        font-size: 0.82rem;
    }

    .coming-next-cover {
        max-width: 245px;
    }
}