/* ========================================
   DORIAN ZELMANY – AUTHOR WEBSITE
   ======================================== */

/* ---------- Self-hosted Google Fonts ---------- */

/* Cinzel – latin-ext */
@font-face {
    font-family: 'Cinzel';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url(fonts/cinzel-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Cinzel – latin */
@font-face {
    font-family: 'Cinzel';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url(fonts/cinzel-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* DM Sans – italic, latin-ext */
@font-face {
    font-family: 'DM Sans';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/dmsans-italic-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* DM Sans – italic, latin */
@font-face {
    font-family: 'DM Sans';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/dmsans-italic-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* DM Sans – normal, latin-ext */
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url(fonts/dmsans-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* DM Sans – normal, latin */
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url(fonts/dmsans-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Playfair Display – italic, latin-ext */
@font-face {
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/playfair-italic-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Playfair Display – italic, latin */
@font-face {
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/playfair-italic-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Playfair Display – normal, latin-ext */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url(fonts/playfair-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Playfair Display – normal, latin */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url(fonts/playfair-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-dark: #1a1a1a;
    --color-gray: #666;
    --color-gold: #C9A84C;
    --color-warm-white: #FAF8F5;

    --mc-teal: #2A9D8F;
    --mc-orange: #E76F51;
    --mc-beige: #F5E6D3;

    --ea-green: #6BBF59;
    --ea-blue: #B8D4E3;
    --ea-dark: #333;

    --pl-deep-blue: #0B1026;
    --pl-gold: #FFD700;
    --pl-purple: #6B5B95;

    --fa-forest: #1B4332;
    --fa-gold: #C9A84C;
    --fa-brown: #3E2723;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--color-dark);
    background: var(--color-warm-white);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ---------- Utility ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Button ---------- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn--outline {
    background: transparent;
    border-color: currentColor;
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.nav.scrolled {
    background: rgba(250, 248, 245, 0.97);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    padding: 10px 0;
}

.nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-dark);
    letter-spacing: 0.02em;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav__link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-dark);
    transition: color 0.2s ease;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width 0.3s ease;
}

.nav__link:hover::after {
    width: 100%;
}

.nav__lang {
    background: none;
    border: 2px solid var(--color-dark);
    border-radius: 20px;
    padding: 6px 14px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: border-color 0.2s ease;
}

.nav__lang:hover {
    border-color: var(--color-gold);
}

.nav__lang-option {
    opacity: 0.4;
    transition: opacity 0.2s ease;
}

.nav__lang-option--active {
    opacity: 1;
}

.nav__lang-divider {
    opacity: 0.3;
}

/* Hamburger */
.nav__hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-direction: column;
    gap: 5px;
}

.nav__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-dark);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   HERO
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    background: var(--color-warm-white);
    position: relative;
    overflow: hidden;
}

.hero__deco-line {
    position: absolute;
    width: 1px;
    height: 40%;
    background: linear-gradient(to bottom, transparent, var(--color-gold), transparent);
    opacity: 0.3;
}

.hero__deco-line--left {
    left: 15%;
    top: 10%;
}

.hero__deco-line--right {
    right: 15%;
    bottom: 10%;
}

.hero__content {
    max-width: 700px;
}

.hero__subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 12px;
}

.hero__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.1;
    margin-bottom: 16px;
}

.hero__tagline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-style: italic;
    color: var(--color-gray);
    margin-bottom: 20px;
}

.hero__desc {
    font-size: 1.1rem;
    color: var(--color-gray);
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero__cta {
    background: var(--color-dark);
    color: var(--color-warm-white);
}

.hero__cta:hover {
    background: var(--color-gold);
    color: var(--color-dark);
}

/* ========================================
   BOOK SECTIONS – SHARED
   ======================================== */
.book {
    position: relative;
    padding: 100px 24px;
    overflow: hidden;
}

.book__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.book__inner--reverse {
    direction: rtl;
}

.book__inner--reverse > * {
    direction: ltr;
}

.book__badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.book__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
}

.book__subtitle {
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 12px;
    opacity: 0.85;
}

.book__tagline {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 16px;
    opacity: 0.9;
}

.book__desc {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.book__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 28px;
}

.book__feature {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9rem;
}

.book__feature-icon {
    flex-shrink: 0;
    font-size: 1.1rem;
}

.book__cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.book__lang-note {
    margin-top: 16px;
    font-size: 0.9rem;
    font-style: italic;
    opacity: 0.7;
}

.book__lang-only-notice {
    margin-top: 8px;
}

.book__lang-link {
    display: inline-block;
    font-weight: 600;
    margin-top: 8px;
    transition: opacity 0.2s ease;
}

.book__lang-link:hover {
    opacity: 0.7;
}

.book__cover {
    display: flex;
    justify-content: center;
}

.book__cover img {
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    max-width: 360px;
    width: 100%;
    transition: transform 0.4s ease;
}

.book__cover img:hover {
    transform: scale(1.03);
}

.book__epigraph {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 24px;
    padding-left: 20px;
    border-left: 3px solid currentColor;
    opacity: 0.9;
}

/* ---------- Characters (Plumsi) ---------- */
.book__characters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 24px;
}

.book__character {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
}

.book__character-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(255,255,255,0.3);
}

.book__character--plumsi .book__character-dot { background: radial-gradient(circle at 35% 35%, #7bdf7b, #4CAF50); }
.book__character--plamsi .book__character-dot { background: radial-gradient(circle at 35% 35%, #ffbb55, #FF9800); }
.book__character--glimmo .book__character-dot { background: radial-gradient(circle at 35% 35%, #f5f0c0, #E0D68A); }
.book__character--piepsi .book__character-dot { background: radial-gradient(circle at 35% 35%, #b0c4ce, #90A4AE); }

/* ========================================
   BOOK: MINECRAFT
   ======================================== */
.book--minecraft {
    background: var(--mc-beige);
    color: var(--color-dark);
}

.book--minecraft .book__badge {
    background: var(--mc-teal);
    color: #fff;
    border-radius: 4px;
}

.book--minecraft .book__title {
    color: var(--mc-teal);
}

.book--minecraft .btn {
    background: var(--mc-teal);
    color: #fff;
    border-radius: 4px;
}

.book--minecraft .btn:hover {
    background: var(--mc-orange);
}

.book--minecraft .book__cover img {
    border-radius: 4px;
    box-shadow: 8px 8px 0 var(--mc-teal), 16px 16px 0 rgba(42, 157, 143, 0.2);
}

.book--minecraft .book__lang-link {
    color: var(--mc-teal);
}

/* Pixel grid background */
.mc-grid {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image:
        linear-gradient(var(--mc-teal) 1px, transparent 1px),
        linear-gradient(90deg, var(--mc-teal) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

/* Floating blocks */
.mc-block {
    position: absolute;
    border-radius: 3px;
    pointer-events: none;
    opacity: 0.12;
    animation: mcFloat 8s ease-in-out infinite;
}

.mc-block--1 {
    width: 30px; height: 30px;
    background: var(--mc-teal);
    top: 15%; right: 8%;
    animation-delay: 0s;
}
.mc-block--2 {
    width: 20px; height: 20px;
    background: var(--mc-orange);
    top: 60%; right: 5%;
    animation-delay: -2s;
}
.mc-block--3 {
    width: 25px; height: 25px;
    background: var(--mc-teal);
    bottom: 20%; left: 6%;
    animation-delay: -4s;
}
.mc-block--4 {
    width: 16px; height: 16px;
    background: var(--mc-orange);
    top: 25%; left: 4%;
    animation-delay: -1s;
}
.mc-block--5 {
    width: 22px; height: 22px;
    background: var(--mc-teal);
    bottom: 10%; right: 15%;
    animation-delay: -3s;
}

@keyframes mcFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

/* Blocky feature icons */
.mc-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mc-icon-block {
    width: 14px;
    height: 14px;
    border-radius: 2px;
}

.mc-icon-block--teal { background: var(--mc-teal); }
.mc-icon-block--orange { background: var(--mc-orange); }

/* ========================================
   BOOK: E-AUTO
   ======================================== */
.book--eauto {
    background: linear-gradient(160deg, #eef2f5 0%, #f0f5ee 40%, #e8f0e5 100%);
    color: var(--color-dark);
    position: relative;
    padding-top: 110px;
    padding-bottom: 110px;
}

/* ---------- Electron Atom Decoration ---------- */
.ea-atom {
    position: absolute;
    width: 550px;
    height: 550px;
    top: 50%;
    right: -8%;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0.12;
}

.ea-atom--2 {
    width: 350px;
    height: 350px;
    top: auto;
    right: auto;
    bottom: -5%;
    left: -3%;
    transform: none;
    opacity: 0.08;
}

.ea-nucleus {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 22px;
    background: var(--ea-green);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 30px rgba(107, 191, 89, 0.5);
}

.ea-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1.5px solid var(--ea-green);
    border-radius: 50%;
    transform-origin: center;
}

.ea-orbit--1 {
    width: 180px;
    height: 180px;
    margin-top: -90px;
    margin-left: -90px;
    transform: rotateX(70deg) rotateZ(0deg);
    animation: eaOrbit1 6s linear infinite;
}

.ea-orbit--2 {
    width: 320px;
    height: 320px;
    margin-top: -160px;
    margin-left: -160px;
    transform: rotateX(70deg) rotateZ(60deg);
    animation: eaOrbit2 9s linear infinite reverse;
}

.ea-orbit--3 {
    width: 480px;
    height: 480px;
    margin-top: -240px;
    margin-left: -240px;
    transform: rotateX(70deg) rotateZ(120deg);
    animation: eaOrbit3 14s linear infinite;
}

.ea-electron {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--ea-green);
    border-radius: 50%;
    top: -5px;
    left: 50%;
    margin-left: -5px;
    box-shadow: 0 0 14px rgba(107, 191, 89, 0.7);
}

@keyframes eaOrbit1 {
    from { transform: rotateX(70deg) rotateZ(0deg); }
    to { transform: rotateX(70deg) rotateZ(360deg); }
}

@keyframes eaOrbit2 {
    from { transform: rotateX(70deg) rotateZ(60deg); }
    to { transform: rotateX(70deg) rotateZ(420deg); }
}

@keyframes eaOrbit3 {
    from { transform: rotateX(70deg) rotateZ(120deg); }
    to { transform: rotateX(70deg) rotateZ(480deg); }
}

/* Floating electron particles */
.ea-particle {
    position: absolute;
    border-radius: 50%;
    background: var(--ea-green);
    pointer-events: none;
    animation: eaParticleFloat 8s ease-in-out infinite;
}

.ea-particle--1 {
    width: 10px; height: 10px;
    top: 15%; left: 12%;
    opacity: 0.18;
    animation-delay: 0s;
    box-shadow: 0 0 16px rgba(107,191,89,0.4);
}

.ea-particle--2 {
    width: 7px; height: 7px;
    top: 70%; left: 8%;
    opacity: 0.12;
    animation-delay: -2s;
    box-shadow: 0 0 12px rgba(107,191,89,0.35);
}

.ea-particle--3 {
    width: 9px; height: 9px;
    top: 30%; right: 18%;
    opacity: 0.15;
    animation-delay: -4s;
    box-shadow: 0 0 14px rgba(107,191,89,0.4);
}

.ea-particle--4 {
    width: 6px; height: 6px;
    bottom: 25%; left: 20%;
    opacity: 0.12;
    animation-delay: -1s;
    box-shadow: 0 0 10px rgba(107,191,89,0.35);
}

.ea-particle--5 {
    width: 8px; height: 8px;
    top: 55%; right: 8%;
    opacity: 0.1;
    animation-delay: -3s;
    box-shadow: 0 0 12px rgba(107,191,89,0.35);
}

@keyframes eaParticleFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.5); }
}

/* Energy flow lines */
.ea-flow {
    position: absolute;
    height: 1px;
    pointer-events: none;
    background: linear-gradient(to right, transparent, var(--ea-green), transparent);
    opacity: 0.08;
}

.ea-flow--1 {
    width: 40%;
    height: 2px;
    top: 30%;
    left: 5%;
    transform: rotate(-5deg);
    animation: eaFlowPulse 5s ease-in-out infinite;
}

.ea-flow--2 {
    width: 30%;
    height: 2px;
    bottom: 25%;
    right: 10%;
    transform: rotate(3deg);
    animation: eaFlowPulse 7s ease-in-out infinite 2s;
}

@keyframes eaFlowPulse {
    0%, 100% { opacity: 0.04; transform: scaleX(0.8); }
    50% { opacity: 0.12; transform: scaleX(1); }
}

/* ---------- E-Auto Section Styles ---------- */
.book--eauto .book__badge {
    background: var(--ea-green);
    color: #fff;
}

.book--eauto .book__title {
    color: var(--ea-dark);
}

.book--eauto .book__subtitle {
    color: #555;
}

.book--eauto .btn {
    background: linear-gradient(135deg, var(--ea-green) 0%, #5aad4a 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(107,191,89,0.3);
}

.book--eauto .btn:hover {
    background: linear-gradient(135deg, #5aad4a 0%, var(--ea-green) 100%);
    box-shadow: 0 6px 25px rgba(107,191,89,0.4);
}

.book--eauto .book__lang-link {
    color: var(--ea-green);
}

.book--eauto .book__cover img {
    box-shadow: 0 25px 60px rgba(0,0,0,0.18), 0 0 0 1px rgba(107,191,89,0.15);
    border-radius: 8px;
}

/* E-Auto feature icons */
.ea-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ea-icon--bolt::before {
    content: '';
    width: 12px;
    height: 16px;
    clip-path: polygon(40% 0, 100% 40%, 55% 40%, 60% 100%, 0 55%, 45% 55%);
    background: var(--ea-green);
}

.ea-icon--check::before {
    content: '';
    width: 14px;
    height: 14px;
    border: 2.5px solid var(--ea-green);
    border-radius: 50%;
    position: relative;
}

.ea-icon--check::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 8px;
    border-right: 2px solid var(--ea-green);
    border-bottom: 2px solid var(--ea-green);
    transform: rotate(45deg);
    margin-top: -2px;
}

/* ========================================
   BOOK: PLUMSI
   ======================================== */
.book--plumsi {
    background: radial-gradient(ellipse at 30% 40%, #121840 0%, var(--pl-deep-blue) 70%);
    color: #fff;
    position: relative;
    padding-top: 120px;
    padding-bottom: 120px;
}

.book--plumsi .book__badge {
    background: rgba(255, 215, 0, 0.15);
    color: var(--pl-gold);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.book--plumsi .book__title {
    color: var(--pl-gold);
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.15);
}

.book--plumsi .book__tagline {
    color: var(--pl-gold);
}

.book--plumsi .book__feature-icon {
    color: var(--pl-gold);
}

.book--plumsi .btn {
    background: var(--pl-gold);
    color: var(--pl-deep-blue);
    font-weight: 700;
}

.book--plumsi .btn:hover {
    background: #ffed4a;
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.3);
}

.book--plumsi .book__lang-note {
    color: rgba(255, 255, 255, 0.5);
}

.book--plumsi .book__cover img {
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(107, 91, 149, 0.2);
}

/* Stars */
.book__stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #fff;
    border-radius: 50%;
    animation: twinkle var(--duration, 3s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    opacity: 0;
}

@keyframes twinkle {
    0%, 100% { opacity: 0; }
    50% { opacity: var(--max-opacity, 0.8); }
}

/* Shooting stars */
.pl-shooting-star {
    position: absolute;
    width: 80px;
    height: 1px;
    background: linear-gradient(to right, rgba(255,215,0,0.6), transparent);
    pointer-events: none;
    opacity: 0;
    animation: shootingStar 6s linear infinite;
}

.pl-shooting-star--1 {
    top: 18%;
    right: 20%;
    transform: rotate(-25deg);
    animation-delay: 2s;
}

.pl-shooting-star--2 {
    top: 35%;
    right: 40%;
    transform: rotate(-30deg);
    animation-delay: 5s;
}

@keyframes shootingStar {
    0% { opacity: 0; transform: translateX(0) rotate(-25deg); }
    5% { opacity: 1; }
    15% { opacity: 0; transform: translateX(-200px) rotate(-25deg); }
    100% { opacity: 0; }
}

/* Floating mini planets */
.pl-planet {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: planetFloat 10s ease-in-out infinite;
}

.pl-planet--small-1 {
    width: 12px;
    height: 12px;
    background: radial-gradient(circle at 35% 35%, #7bdf7b, #3a8a3a);
    top: 12%;
    left: 8%;
    animation-delay: 0s;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
}

.pl-planet--small-2 {
    width: 8px;
    height: 8px;
    background: radial-gradient(circle at 35% 35%, #ffbb55, #cc7700);
    bottom: 18%;
    right: 10%;
    animation-delay: -3s;
    box-shadow: 0 0 8px rgba(255, 152, 0, 0.3);
}

.pl-planet--small-3 {
    width: 16px;
    height: 16px;
    background: radial-gradient(circle at 40% 30%, #f5f0c0, #c4b87a);
    top: 25%;
    right: 5%;
    animation-delay: -5s;
    box-shadow: 0 0 12px rgba(224, 214, 138, 0.2);
}

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

/* ========================================
   BOOK: FANTASY
   ======================================== */
.book--fantasy {
    background: linear-gradient(180deg, #070f0a 0%, var(--fa-forest) 35%, var(--fa-forest) 65%, #070f0a 100%);
    color: #f0e8d8;
    position: relative;
    padding-top: 120px;
    padding-bottom: 120px;
}

.book--fantasy .book__badge {
    background: rgba(201, 168, 76, 0.15);
    color: var(--fa-gold);
    border: 1px solid rgba(201, 168, 76, 0.3);
}

.book--fantasy .book__title--fantasy {
    font-family: 'Cinzel', serif;
    color: var(--fa-gold);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    text-shadow: 0 0 30px rgba(201, 168, 76, 0.2);
}

.book--fantasy .book__subtitle {
    color: rgba(240, 232, 216, 0.6);
    font-family: 'Cinzel', serif;
    letter-spacing: 0.05em;
}

.book--fantasy .book__epigraph {
    color: var(--fa-gold);
    border-left-color: var(--fa-gold);
}

.book--fantasy .book__feature-icon.fa-icon {
    color: var(--fa-gold);
}

.book--fantasy .btn {
    background: var(--fa-gold);
    color: var(--fa-forest);
    font-weight: 700;
}

.book--fantasy .btn:hover {
    background: #d4b45c;
    box-shadow: 0 6px 25px rgba(201, 168, 76, 0.3);
}

.book--fantasy .btn--outline {
    background: transparent;
    color: var(--fa-gold);
    border-color: var(--fa-gold);
}

.book--fantasy .btn--outline:hover {
    background: rgba(201, 168, 76, 0.1);
}

.book--fantasy .book__lang-link {
    color: var(--fa-gold);
}

.book--fantasy .book__cover img {
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.15);
}

/* Fog layers */
.fa-fog {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(255,255,255,0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.03) 0%, transparent 50%);
    animation: fogDrift 15s ease-in-out infinite alternate;
}

@keyframes fogDrift {
    0% { opacity: 0.5; transform: translateX(-15px); }
    100% { opacity: 1; transform: translateX(15px); }
}

/* Glow orbs */
.fa-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(60px);
}

.fa-glow--1 {
    width: 200px;
    height: 200px;
    background: rgba(201, 168, 76, 0.06);
    top: 10%;
    left: 10%;
    animation: glowPulse 8s ease-in-out infinite;
}

.fa-glow--2 {
    width: 150px;
    height: 150px;
    background: rgba(27, 67, 50, 0.15);
    bottom: 15%;
    right: 15%;
    animation: glowPulse 10s ease-in-out infinite 3s;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Ornamental vine corners */
.fa-vine {
    position: absolute;
    width: 80px;
    height: 80px;
    pointer-events: none;
    opacity: 0.2;
}

.fa-vine::before,
.fa-vine::after {
    content: '';
    position: absolute;
    background: var(--fa-gold);
}

.fa-vine::before {
    width: 60px;
    height: 1px;
}

.fa-vine::after {
    width: 1px;
    height: 60px;
}

.fa-vine--tl { top: 30px; left: 30px; }
.fa-vine--tl::before { top: 0; left: 0; }
.fa-vine--tl::after { top: 0; left: 0; }

.fa-vine--tr { top: 30px; right: 30px; }
.fa-vine--tr::before { top: 0; right: 0; }
.fa-vine--tr::after { top: 0; right: 0; }

.fa-vine--bl { bottom: 30px; left: 30px; }
.fa-vine--bl::before { bottom: 0; left: 0; }
.fa-vine--bl::after { bottom: 0; left: 0; }

.fa-vine--br { bottom: 30px; right: 30px; }
.fa-vine--br::before { bottom: 0; right: 0; }
.fa-vine--br::after { bottom: 0; right: 0; }

/* ========================================
   ABOUT
   ======================================== */
.about {
    padding: 100px 24px;
    background: var(--color-warm-white);
    text-align: center;
}

.about__inner {
    max-width: 700px;
    margin: 0 auto;
}

.about__monogram {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 700;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border: 3px solid var(--color-gold);
    border-radius: 50%;
    margin: 0 auto 28px;
    color: var(--color-gold);
}

.about__heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--color-dark);
    margin-bottom: 32px;
}

.about__bio {
    text-align: left;
    margin-bottom: 32px;
}

.about__bio p {
    margin-bottom: 16px;
    font-size: 1.05rem;
    color: var(--color-gray);
    line-height: 1.8;
}

.about__bio p strong {
    color: var(--color-dark);
}

.about__quote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: var(--color-gold);
    padding: 24px 0;
    border-top: 1px solid rgba(201, 168, 76, 0.3);
    border-bottom: 1px solid rgba(201, 168, 76, 0.3);
    line-height: 1.6;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--color-dark);
    color: rgba(255,255,255,0.6);
    padding: 40px 24px;
    text-align: center;
    font-size: 0.9rem;
}

.footer__inner {
    max-width: 700px;
    margin: 0 auto;
}

.footer__links {
    margin-bottom: 16px;
}

.footer__links a {
    transition: color 0.2s ease;
    cursor: pointer;
}

.footer__links a:hover {
    color: #fff;
}

.footer__divider {
    margin: 0 12px;
    opacity: 0.3;
}

.footer__note {
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.footer__contact {
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.footer__copy {
    font-size: 0.8rem;
    opacity: 0.5;
}

/* ========================================
   IMPRESSUM OVERLAY
   ======================================== */
.overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.overlay__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    cursor: pointer;
}

.overlay__content {
    position: relative;
    background: var(--color-warm-white);
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.overlay.active .overlay__content {
    transform: translateY(0);
}

.overlay__close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--color-gray);
    transition: color 0.2s ease;
    line-height: 1;
}

.overlay__close:hover {
    color: var(--color-dark);
}

.overlay__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--color-dark);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--color-gold);
}

.overlay__body h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-top: 20px;
    margin-bottom: 8px;
}

.overlay__body p {
    font-size: 0.95rem;
    color: var(--color-gray);
    line-height: 1.7;
    margin-bottom: 4px;
}

.overlay__copy {
    margin-top: 24px;
    font-size: 0.85rem;
    opacity: 0.5;
}

.overlay__link {
    color: var(--color-gold);
    text-decoration: underline;
    cursor: pointer;
}

.overlay__link:hover {
    opacity: 0.8;
}

/* ========================================
   DATA-SHOW LANGUAGE TOGGLE
   ======================================== */
[data-show="en"] {
    display: none;
}

body.lang-en [data-show="de"] {
    display: none;
}

body.lang-en [data-show="en"] {
    display: block;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .nav__hamburger {
        display: flex;
    }

    .nav__links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-warm-white);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        padding: 24px;
        box-shadow: -4px 0 20px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
    }

    .nav__links.open {
        right: 0;
    }

    .book__inner,
    .book__inner--reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        direction: ltr;
    }

    .book__cover {
        order: -1;
    }

    .book__cover img {
        max-width: 260px;
    }

    .book__features {
        grid-template-columns: 1fr;
    }

    .book__characters {
        grid-template-columns: 1fr;
    }

    .book__cta-group {
        flex-direction: column;
    }

    .book {
        padding: 70px 20px;
    }

    .book--plumsi,
    .book--fantasy {
        padding: 90px 20px;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero__deco-line {
        display: none;
    }

    .mc-block,
    .ea-atom,
    .ea-particle,
    .ea-flow,
    .fa-vine {
        display: none;
    }

    .overlay__content {
        padding: 28px 20px;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .book__inner {
        gap: 40px;
    }

    .book__cover img {
        max-width: 300px;
    }
}
