:root {
    --pink: #F0057B;
    --dark-pink: #B8004F;
    --cyan: #00C4D0;
    --orange: #FF6B1A;
    --purple: #7C3AED;
    --blue: #2563EB;
    --coral: #FF3D5A;
    --green: #059669;
    --amber: #D97706;
    --dark: #111111;
    --light: #FFF5F9;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Nunito', sans-serif; color: var(--dark); overflow-x: hidden; }

/* ─── NAV ─── */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 2rem;
    background: rgba(240, 5, 123, 0.96);
    backdrop-filter: blur(12px);
}
.nav-logo {
    font-family: 'Abril Fatface', serif; color: white;
    font-size: 1.4rem; text-decoration: none; letter-spacing: -0.02em;
}
.nav-logo .ch { background: white; color: var(--pink); padding: 0 3px; border-radius: 3px; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; list-style: none; }
.nav-links a {
    color: white; text-decoration: none; font-weight: 700;
    font-size: 0.9rem; opacity: 0.85; transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }
.nav-pdf {
    background: white !important; color: var(--pink) !important;
    padding: 0.5rem 1.25rem !important; border-radius: 100px !important;
    font-weight: 900 !important; opacity: 1 !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
}
.nav-pdf:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.nav-back {
    border: 2px solid rgba(255,255,255,0.5) !important;
    padding: 0.4rem 1rem !important; border-radius: 100px !important;
    font-weight: 700 !important; opacity: 1 !important;
    transition: border-color 0.2s, background 0.2s !important;
}
.nav-back:hover { border-color: white !important; background: rgba(255,255,255,0.15) !important; }

/* ─── TICKER ─── */
.ticker {
    background: var(--dark); color: white; overflow: hidden;
    white-space: nowrap; padding: 0.6rem 0; margin-top: 60px;
}
.ticker-inner {
    display: inline-flex; gap: 3rem;
    animation: ticker 20s linear infinite;
    font-weight: 800; font-size: 0.8rem; letter-spacing: 0.15em;
    text-transform: uppercase;
}
.ticker-inner span { color: var(--pink); }
@keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ─── HERO ─── */
.hero {
    min-height: calc(100vh - 60px); background: var(--pink);
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden; padding: 4rem 2rem 5rem;
}
.circle {
    position: absolute; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    text-align: center; font-weight: 900; color: white;
    line-height: 1.15; overflow: hidden;
}
.circle-word { font-size: 1rem; text-transform: uppercase; letter-spacing: -0.01em; padding: 1rem; word-break: break-word; hyphens: auto; }
.c1 { width: 170px; height: 170px; background: var(--cyan);    top: 5%; left: 2%;   animation: fl1 6s ease-in-out infinite; }
.c2 { width: 155px; height: 155px; background: var(--orange);  top: 4%; right: 3%;  animation: fl2 7s ease-in-out infinite; }
.c3 { width: 160px; height: 160px; background: var(--blue);    bottom: 12%; left: 1%; animation: fl3 8s ease-in-out infinite; }
.c4 { width: 148px; height: 148px; background: var(--coral);   bottom: 8%; right: 2%; animation: fl1 9s ease-in-out infinite reverse; }
.c5 { width: 143px; height: 143px; background: var(--purple);  bottom: 32%; right: 6%; animation: fl2 7.5s ease-in-out infinite; }
@keyframes fl1 { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-22px) rotate(4deg); } }
@keyframes fl2 { 0%,100% { transform: translateY(0) rotate(5deg); }  50% { transform: translateY(-16px) rotate(-5deg); } }
@keyframes fl3 { 0%,100% { transform: translateY(0) rotate(0deg); }  50% { transform: translateY(-28px) rotate(7deg); } }

.hero-content { text-align: center; position: relative; z-index: 10; max-width: 720px; }
.hero-author {
    color: white; font-size: 1rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.5rem;
    opacity: 0; animation: up 0.8s ease forwards 0.2s;
}
.hero-title {
    font-family: 'Abril Fatface', serif; color: white;
    font-size: clamp(4.5rem, 11vw, 9rem); line-height: 0.88;
    letter-spacing: -0.03em; margin-bottom: 1.5rem;
    opacity: 0; animation: up 0.8s ease forwards 0.4s;
}
.hero-title .ch {
    display: inline-block; background: white; color: var(--pink);
    padding: 0 0.08em; border-radius: 6px; line-height: 1;
}
.hero-sub {
    color: rgba(255,255,255,0.9); font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 600; line-height: 1.55; max-width: 520px; margin: 0 auto 0.75rem;
    opacity: 0; animation: up 0.8s ease forwards 0.6s;
}
.hero-tag {
    color: rgba(255,255,255,0.65); font-size: 0.9rem; font-weight: 800;
    letter-spacing: 0.06em; margin-bottom: 2.5rem;
    opacity: 0; animation: up 0.8s ease forwards 0.75s;
}
.hero-btns {
    display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
    opacity: 0; animation: up 0.8s ease forwards 0.9s;
}
.btn-dl {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--dark); color: white; padding: 1rem 2rem;
    border-radius: 100px; font-weight: 900; font-size: 1rem;
    text-decoration: none; font-family: 'Nunito', sans-serif;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-dl:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,0.35); }
.btn-out {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: transparent; color: white; padding: 1rem 2rem;
    border-radius: 100px; font-weight: 800; font-size: 1rem;
    text-decoration: none; font-family: 'Nunito', sans-serif;
    border: 2px solid rgba(255,255,255,0.55);
    transition: background 0.2s, border-color 0.2s;
}
.btn-out:hover { background: rgba(255,255,255,0.15); border-color: white; }
@keyframes up { from { opacity:0; transform: translateY(32px); } to { opacity:1; transform: translateY(0); } }

/* ─── SECTION COMMONS ─── */
.container { max-width: 1060px; margin: 0 auto; }
.section-label { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--pink); margin-bottom: 0.75rem; }
.section-title { font-family: 'Abril Fatface', serif; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.05; letter-spacing: -0.02em; color: var(--dark); margin-bottom: 2rem; }

/* ─── ABOUT ─── */
.about { background: white; padding: 7rem 2rem; }
.about-grid { display: grid; grid-template-columns: 1fr 380px; gap: 5rem; align-items: center; }
.about-text p { font-size: 1.05rem; line-height: 1.85; color: #555; margin-bottom: 1.25rem; }
.about-text strong { color: var(--dark); }
.about-meta { font-size: 0.85rem !important; color: #aaa !important; }
.book-mock {
    border-radius: 10px; overflow: hidden;
    aspect-ratio: 3/4;
    box-shadow: 24px 24px 60px rgba(240,5,123,0.28), -6px -6px 20px rgba(255,255,255,0.4);
    transform: perspective(800px) rotateY(-4deg) rotateX(2deg);
    transition: transform 0.4s;
}
.book-mock:hover { transform: perspective(800px) rotateY(0deg) rotateX(0deg); }
.book-mock img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ─── CHAPTERS ─── */
.chapters { background: var(--light); padding: 7rem 2rem; }
.chapters-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.ch-card {
    background: white; border-radius: 18px; padding: 2rem;
    text-decoration: none; color: inherit;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative; overflow: hidden;
    border: 2px solid transparent;
}
.ch-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 5px; background: var(--acc, var(--pink));
}
.ch-card:hover { transform: translateY(-7px); box-shadow: 0 24px 50px rgba(0,0,0,0.1); border-color: var(--acc, var(--pink)); }
.ch-num { font-family: 'Abril Fatface', serif; font-size: 5rem; color: var(--acc, var(--pink)); opacity: 0.12; line-height: 1; margin-bottom: -1.2rem; }
.ch-title { font-family: 'Abril Fatface', serif; font-size: 1.15rem; color: var(--dark); line-height: 1.3; margin-bottom: 0.75rem; }
.ch-meta { font-size: 0.82rem; color: #999; font-weight: 600; }
.ch-arrow { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--acc, var(--pink)); font-weight: 900; font-size: 0.85rem; margin-top: 1.5rem; transition: gap 0.2s; }
.ch-card:hover .ch-arrow { gap: 0.6rem; }

/* ─── AUTHOR ─── */
.author { background: var(--dark); padding: 7rem 2rem; color: white; }
.author-grid { display: grid; grid-template-columns: auto 1fr; gap: 4rem; align-items: center; }
.author-av {
    width: 200px; height: 200px; border-radius: 50%; background: var(--pink);
    display: flex; align-items: center; justify-content: center; overflow: hidden;
    font-family: 'Abril Fatface', serif; font-size: 4rem; color: white;
    flex-shrink: 0; border: 4px solid rgba(255,255,255,0.08);
    box-shadow: 0 0 60px rgba(240,5,123,0.4);
}
.author-av img {
    width: 100%; height: 100%; object-fit: cover; object-position: center top;
    border-radius: 50%;
}
.author-name { font-family: 'Abril Fatface', serif; font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 0.4rem; }
.author-tag { color: var(--pink); font-weight: 800; font-size: 1rem; margin-bottom: 1.5rem; }
.author-bio { font-size: 1.05rem; line-height: 1.85; color: rgba(255,255,255,0.7); }

/* ─── PDF CTA ─── */
.pdf-cta { background: var(--pink); padding: 7rem 2rem; text-align: center; position: relative; overflow: hidden; }
.pdf-cta::before, .pdf-cta::after {
    content: ''; position: absolute; border-radius: 50%;
    background: rgba(255,255,255,0.06);
}
.pdf-cta::before { width: 600px; height: 600px; top: -300px; left: -200px; }
.pdf-cta::after  { width: 400px; height: 400px; bottom: -200px; right: -100px; }
.pdf-cta h2 { font-family: 'Abril Fatface', serif; font-size: clamp(2rem, 5vw, 3.5rem); color: white; margin-bottom: 1rem; line-height: 1.1; position: relative; z-index: 1; }
.pdf-cta p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 2.5rem; font-weight: 600; position: relative; z-index: 1; }
.btn-big {
    display: inline-flex; align-items: center; gap: 0.75rem;
    background: white; color: var(--pink); padding: 1.25rem 3rem;
    border-radius: 100px; font-weight: 900; font-size: 1.1rem;
    text-decoration: none; font-family: 'Nunito', sans-serif;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 6px 30px rgba(0,0,0,0.2); position: relative; z-index: 1;
}
.btn-big:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.3); }

/* ─── FOOTER ─── */
footer { background: #080808; padding: 3rem 2rem; text-align: center; }
.ft-logo { font-family: 'Abril Fatface', serif; color: white; font-size: 1.6rem; margin-bottom: 0.5rem; }
.ft-logo .ch { background: var(--pink); color: white; padding: 0 4px; border-radius: 3px; }
footer p { color: rgba(255,255,255,0.4); font-size: 0.85rem; margin-bottom: 0.3rem; }
.ft-tag { color: var(--pink) !important; font-weight: 800 !important; font-size: 0.9rem !important; }

/* ─── SCROLL REVEAL ─── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 860px) {
    .about-grid { grid-template-columns: 1fr; }
    .book-mock { max-width: 280px; margin: 0 auto; transform: none; }
    .author-grid { grid-template-columns: 1fr; text-align: center; }
    .author-av { margin: 0 auto; }
    .chapters-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    nav { padding: 0.75rem 1rem; }
    .nav-links li:not(:last-child) { display: none; }

    .ticker { margin-top: 52px; font-size: 0.72rem; }

    .hero { padding: 2.5rem 1.25rem 3.5rem; }
    .c1,.c2,.c3,.c4,.c5 { width: 84px; height: 84px; opacity: 0.6; }
    .circle-word { font-size: 0.6rem; padding: 0.6rem; }
    .c5 { display: none; }
    .c1 { top: 1%; left: -8px; }
    .c2 { top: 1%; right: -8px; }
    .c3 { bottom: 3%; left: -8px; }
    .c4 { bottom: 3%; right: -8px; }

    .hero-btns { flex-direction: column; align-items: stretch; gap: 0.75rem; }
    .btn-dl, .btn-out { justify-content: center; }

    .about, .chapters, .author, .pdf-cta { padding: 4rem 1.25rem; }
    .about-text p { font-size: 1rem; }
    .author-av { width: 130px; height: 130px; font-size: 2.2rem; }
    .author-bio { font-size: 0.95rem; }
    .section-title { font-size: 1.75rem; }

    .ch-card { padding: 1.5rem; }

    footer { padding: 2rem 1.25rem; }
}
