/* K.N. Wilder - Shared Styles */

:root {
    --hot-pink: #FF1493;
    --magenta: #FF00FF;
    --neon-pink: #FF69B4;
    --soft-pink: #FFB6C1;
    --black: #0A0A0A;
    --charcoal: #1A1A1A;
    --smoke: #2D2D2D;
    --bone-white: #F5F0E8;
    --cream: #FFFAF0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--black);
    color: var(--bone-white);
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
}

/* Subtle X pattern overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" font-size="80" fill="%23FF1493" opacity="0.02">✕</text></svg>') repeat,
        radial-gradient(ellipse at 20% 30%, rgba(255, 20, 147, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(255, 0, 255, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* ====
   NAVIGATION
   ==== */

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.98), transparent);
    backdrop-filter: blur(10px);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--bone-white);
    text-decoration: none;
    position: relative;
}

.logo .x-accent {
    color: var(--hot-pink);
    text-shadow: 0 0 20px rgba(255, 20, 147, 0.5);
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--hot-pink), var(--magenta));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.logo:hover::after {
    transform: scaleX(1);
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bone-white);
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-links a::before {
    content: '✕';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6rem;
    color: var(--hot-pink);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--hot-pink);
}

.nav-links a:hover::before,
.nav-links a.active::before {
    opacity: 1;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--hot-pink);
    font-size: 1.5rem;
    cursor: pointer;
}

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

.btn {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 1rem 2rem;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--hot-pink), var(--magenta));
    color: var(--black);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 20, 147, 0.4);
}

.btn-secondary {
    background: rgba(255, 20, 147, 0.15);
    color: var(--bone-white);
    border: 2px solid var(--hot-pink);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--hot-pink), var(--magenta));
    transition: width 0.4s ease;
    z-index: -1;
}

.btn-secondary:hover::before {
    width: 100%;
}

.btn-secondary:hover {
    color: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 20, 147, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--bone-white);
    border: 1px solid rgba(255, 20, 147, 0.5);
}

.btn-outline:hover {
    border-color: var(--hot-pink);
    color: var(--hot-pink);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.2);
}

/* ====
   SECTIONS
   ==== */

.section {
    padding: 6rem 4rem;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--hot-pink);
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* Page wrapper for non-home pages */
.page-wrapper {
    padding-top: 100px;
    min-height: 100vh;
}

/* ====
   DIVIDER
   ==== */

.divider {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 2rem 0;
}

.divider::before,
.divider::after {
    content: '';
    width: 150px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--hot-pink), transparent);
}

.divider-icon {
    font-size: 1.2rem;
    margin: 0 1.5rem;
    color: var(--hot-pink);
}

/* ====
   HERO (index.html)
   ==== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 4rem 4rem;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 900px;
}

.tagline,
.hero-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--neon-pink);
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.3s;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.5s;
}

.hero-title .x-mark {
    color: var(--hot-pink);
    position: relative;
    display: inline-block;
    text-shadow: 0 0 40px rgba(255, 20, 147, 0.6);
}

.hero-title .x-mark::before {
    content: '✕';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0.1;
    color: var(--magenta);
    filter: blur(12px);
    animation: pulse 3s ease-in-out infinite;
}

.subtitle,
.hero-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: rgba(245, 240, 232, 0.85);
    line-height: 1.8;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.7s;
}

.cta-group,
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 4rem;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.9s;
}

/* ====
   SERIES & BOOKS (books.html)
   ==== */

.series-section {
    margin-bottom: 5rem;
}

.series-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 20, 147, 0.15);
}

.series-badge {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.2), rgba(255, 0, 255, 0.1));
    border: 1px solid var(--hot-pink);
    color: var(--hot-pink);
    margin-bottom: 1rem;
}

.series-name {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.series-slogan {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-style: italic;
    color: var(--neon-pink);
    letter-spacing: 0.05em;
}

.series-description {
    font-size: 0.95rem;
    color: rgba(245, 240, 232, 0.7);
    max-width: 600px;
    margin: 1rem auto 0;
    line-height: 1.7;
}

/* Books Grid */
.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.book-card {
    position: relative;
    background: var(--charcoal);
    border: 1px solid rgba(255, 20, 147, 0.15);
    padding: 1.5rem;
    transition: all 0.4s ease;
    overflow: hidden;
}

.book-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(to bottom, var(--hot-pink), var(--magenta));
    transition: height 0.4s ease;
}

.book-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(255, 20, 147, 0.15);
    border-color: var(--hot-pink);
}

.book-card:hover::before {
    height: 100%;
}

.book-card.coming-soon {
    opacity: 0.7;
}

.book-card.coming-soon:hover {
    opacity: 1;
}

.book-card.tba .book-cover {
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--smoke) 100%);
}

.book-cover {
    width: 100%;
    aspect-ratio: 2/3;
    background: linear-gradient(135deg, var(--black) 0%, var(--charcoal) 50%, var(--black) 100%);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 20, 147, 0.2);
}

.book-cover::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 20, 147, 0.1), transparent, rgba(255, 0, 255, 0.1), transparent);
    animation: rotate 10s linear infinite;
}

.cover-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 1.5rem;
}

.cover-icon {
    font-size: 3rem;
    color: var(--hot-pink);
    text-shadow: 0 0 30px rgba(255, 20, 147, 0.8);
    margin-bottom: 0.75rem;
}

.cover-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

.book-number {
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--hot-pink);
    margin-bottom: 0.4rem;
}

.book-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
}

.book-status {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--neon-pink);
    margin-bottom: 0.5rem;
}

.book-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.95rem;
    font-style: italic;
    color: rgba(245, 240, 232, 0.7);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.book-tropes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.trope-tag {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.6rem;
    background: rgba(255, 20, 147, 0.1);
    border: 1px solid rgba(255, 20, 147, 0.3);
    color: var(--neon-pink);
}

/* Book Blurb */
.book-blurb {
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-left: 2px solid rgba(255, 20, 147, 0.3);
}

.book-blurb p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(245, 240, 232, 0.8);
    margin-bottom: 0.75rem;
}

.book-blurb p:last-child {
    margin-bottom: 0;
}

.book-blurb strong {
    color: var(--bone-white);
}

.book-blurb em {
    color: var(--neon-pink);
}

/* Book Links */
.book-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 20, 147, 0.1);
}

.book-links-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.book-link {
    flex: 1;
    min-width: 80px;
    padding: 0.6rem 0.8rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}

.book-link-primary {
    background: linear-gradient(135deg, var(--hot-pink), var(--magenta));
    color: var(--black);
}

.book-link-primary:hover {
    box-shadow: 0 5px 20px rgba(255, 20, 147, 0.4);
    transform: translateY(-2px);
}

.book-link-secondary {
    background: rgba(255, 20, 147, 0.1);
    border: 1px solid rgba(255, 20, 147, 0.3);
    color: var(--neon-pink);
}

.book-link-secondary:hover {
    background: rgba(255, 20, 147, 0.2);
    border-color: var(--hot-pink);
}

.book-link-bonus {
    background: transparent;
    border: 1px dashed rgba(255, 20, 147, 0.4);
    color: var(--bone-white);
    width: 100%;
}

.book-link-bonus:hover {
    border-style: solid;
    border-color: var(--hot-pink);
    background: rgba(255, 20, 147, 0.1);
}

.book-link-disabled {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(245, 240, 232, 0.4);
    cursor: not-allowed;
}

.book-link-disabled:hover {
    transform: none;
    box-shadow: none;
}

/* ====
   TRIGGER WARNINGS
   ==== */

.trigger-warnings {
    margin-top: 1rem;
    border: 1px solid rgba(255, 20, 147, 0.2);
    background: rgba(0, 0, 0, 0.3);
}

.trigger-warnings[open] {
    background: rgba(0, 0, 0, 0.5);
}

.tw-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(245, 240, 232, 0.7);
    transition: all 0.3s ease;
    list-style: none;
}

.tw-toggle::-webkit-details-marker {
    display: none;
}

.tw-toggle:hover {
    color: var(--hot-pink);
    background: rgba(255, 20, 147, 0.05);
}

.tw-icon {
    font-size: 1rem;
}

.tw-arrow {
    margin-left: auto;
    font-size: 0.6rem;
    transition: transform 0.3s ease;
}

.trigger-warnings[open] .tw-arrow {
    transform: rotate(180deg);
}

.tw-content {
    padding: 1rem 1.25rem 1.5rem;
    border-top: 1px solid rgba(255, 20, 147, 0.15);
    animation: fadeIn 0.3s ease;
}

.tw-intro {
    font-size: 0.85rem;
    color: rgba(245, 240, 232, 0.8);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.tw-list {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
}

.tw-list li {
    font-size: 0.8rem;
    color: rgba(245, 240, 232, 0.7);
    padding: 0.4rem 0 0.4rem 1.5rem;
    position: relative;
    line-height: 1.5;
}

.tw-list li::before {
    content: '✕';
    position: absolute;
    left: 0;
    color: var(--hot-pink);
    font-size: 0.6rem;
    top: 0.55rem;
}

.tw-outro {
    font-size: 0.85rem;
    color: rgba(245, 240, 232, 0.8);
    margin-top: 1rem;
    line-height: 1.6;
}

.tw-disclaimer {
    font-size: 0.8rem;
    font-style: italic;
    color: rgba(245, 240, 232, 0.6);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(255, 20, 147, 0.2);
    line-height: 1.6;
}

.tw-signoff {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-style: italic;
    color: var(--neon-pink);
    margin-top: 1rem;
    text-align: center;
}

/* ====
   BLURB EXPAND (Read More)
   ==== */

.blurb-expand {
    margin-top: 0.5rem;
}

.read-more-toggle {
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: var(--hot-pink);
    list-style: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.read-more-toggle::-webkit-details-marker {
    display: none;
}

.read-more-toggle:hover {
    color: var(--magenta);
    text-decoration: underline;
}

.blurb-expand[open] .read-more-toggle {
    margin-bottom: 0.75rem;
    display: block;
}

.blurb-expand[open] .read-more-toggle::after {
    content: ' ▲';
    font-size: 0.6rem;
}

.blurb-expand:not([open]) .read-more-toggle::after {
    content: ' ▼';
    font-size: 0.6rem;
}

.blurb-full {
    animation: fadeIn 0.3s ease;
}

.blurb-full p {
    margin-bottom: 0.75rem;
}

/* Future Series Teaser */
.future-series {
    text-align: center;
    padding: 3rem 2rem;
    border: 1px dashed rgba(255, 20, 147, 0.3);
    background: rgba(255, 20, 147, 0.02);
    margin-top: 3rem;
}

.future-series-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--neon-pink);
    margin-bottom: 0.5rem;
}

.future-series-text {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: rgba(245, 240, 232, 0.6);
}

/* ====
   ABOUT (about.html)
   ==== */

.about-section {
    background: linear-gradient(to bottom, var(--black), var(--charcoal), var(--black));
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(245, 240, 232, 0.9);
}

.about-quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--hot-pink);
    display: block;
    line-height: 0.5;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(255, 20, 147, 0.5);
}

.about-text {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(245, 240, 232, 0.7);
}

/* ====
   NEWSLETTER (newsletter.html)
   ==== */

.newsletter-section {
    background: linear-gradient(135deg, var(--charcoal), var(--smoke));
    border-top: 1px solid rgba(255, 20, 147, 0.2);
    border-bottom: 1px solid rgba(255, 20, 147, 0.2);
    text-align: center;
}

.newsletter-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.newsletter-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-style: italic;
    color: rgba(245, 240, 232, 0.8);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 20, 147, 0.3);
    color: var(--bone-white);
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: rgba(245, 240, 232, 0.5);
}

.newsletter-input:focus {
    border-color: var(--hot-pink);
    box-shadow: 0 0 20px rgba(255, 20, 147, 0.2);
}

/* ====
   FOOTER
   ==== */

footer {
    background: var(--black);
    padding: 3rem 4rem;
    border-top: 1px solid rgba(255, 20, 147, 0.1);
    position: relative;
    z-index: 2;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 20, 147, 0.3);
    color: var(--bone-white);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: rgba(255, 20, 147, 0.05);
}

.social-link:hover {
    border-color: var(--hot-pink);
    background: var(--hot-pink);
    color: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 20, 147, 0.3);
}

.copyright {
    font-size: 0.8rem;
    color: rgba(245, 240, 232, 0.5);
    letter-spacing: 0.05em;
}

.copyright span {
    color: var(--hot-pink);
}

.copyright a {
    color: var(--hot-pink);
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: var(--neon-pink);
    text-decoration: underline;
}


/* ====
   ANIMATIONS
   ==== */

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

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 0.1; transform: translate(-50%, -50%) scale(2.5); }
    50% { opacity: 0.2; transform: translate(-50%, -50%) scale(2.8); }
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

/* ====
   RESPONSIVE
   ==== */

@media (max-width: 768px) {
    nav {
        padding: 1rem 2rem;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 2rem 0;
        border-top: 1px solid rgba(255, 20, 147, 0.2);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
        animation: slideDown 0.3s ease;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 1.25rem 2rem;
        width: 100%;
        border-bottom: 1px solid rgba(255, 20, 147, 0.1);
    }

    .mobile-menu-btn {
        display: block;
        transition: transform 0.3s ease;
    }

    .mobile-menu-btn.active {
        transform: rotate(90deg);
    }

    .hero {
        padding: 6rem 2rem 3rem;
    }

    .section {
        padding: 4rem 2rem;
    }

    .cta-group {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    footer {
        padding: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .books-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
    }

    .series-slogan {
        font-size: 1.1rem;
    }

    .book-links-row {
        flex-direction: column;
    }

    .book-link {
        min-width: 100%;
    }
}
