:root {
    /* Color Palette */
    --bg-color: #0d0d0d;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --accent-gold: #d4af37;
    /* Elegant gold for highlights */
    --accent-fire: #e65100;
    /* Fire orange for CTA/Glows */
    --accent-blood: #8b0000;
    /* Deep red for subtle darkness */

    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Transitions */
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: var(--text-main);
    transition: color var(--transition-smooth);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.max-w-3xl {
    max-width: 800px;
    margin: 0 auto;
}

.mt-4 {
    margin-top: 2rem;
}

/* ------------------------------------
   Navigation
------------------------------------ */
.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    z-index: 100;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent-gold);
}

/* Base Buttons */
.btn-small {
    padding: 0.5rem 1.2rem;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-small:hover {
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--accent-fire), #ab3d00);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(230, 81, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(230, 81, 0, 0.6);
    background: linear-gradient(135deg, #ff6600, #c84b00);
}

/* ------------------------------------
   Hero Section
------------------------------------ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, #1a1a1a 0%, var(--bg-color) 100%);
    /* You could also add a subtle dark background video/image here */
    overflow: hidden;
}

/* Subtle particle or noise effect could be added here */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.05"/%3E%3C/svg%3E');
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1050px;
    padding: 0 2rem;
    margin-top: 5rem;
}

.hero-quote {
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #fff;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    background: -webkit-linear-gradient(#fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtext {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ------------------------------------
   Book Pitch Section
------------------------------------ */
.book-pitch {
    padding: 8rem 0;
    background: linear-gradient(to bottom, var(--bg-color), #111);
    position: relative;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.book-cover-container {
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 1000px;
    /* For 3D effect */
}

.book-cover-container::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 20px;
    background: rgba(212, 175, 55, 0.15);
    filter: blur(20px);
    border-radius: 50%;
    z-index: 0;
}

.book-cover {
    width: 100%;
    max-width: 450px;
    border-radius: 4px;
    box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 255, 255, 0.05);
    z-index: 1;
    position: relative;
}

.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotateX(2deg) rotateY(-2deg);
    }

    50% {
        transform: translateY(-15px) rotateX(0deg) rotateY(0deg);
    }

    100% {
        transform: translateY(0px) rotateX(2deg) rotateY(-2deg);
    }
}

.section-title {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--accent-fire);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.quote-block {
    margin: 2rem 0;
    padding-left: 1.5rem;
    border-left: 3px solid var(--accent-gold);
}

.quote {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.2rem;
    color: #fff;
}

.book-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.secondary-quote {
    border-left-color: var(--accent-blood);
    opacity: 0.8;
    margin-top: 3rem;
}

.secondary-quote .quote {
    font-size: 1rem;
    color: var(--text-muted);
}

/* ------------------------------------
   The World Section
------------------------------------ */
.the-world {
    position: relative;
    padding: 10rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.map-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 130%;
    /* Taller for parallax */
    background-size: cover;
    background-position: center;
    background-origin: content-box;
    z-index: 0;
    opacity: 0.3;
    /* Darkened to make text readable */
    filter: grayscale(30%) sepia(20%) brightness(0.7);
    transform: translateY(0);
}

/* Overlay gradient to blend map into sections */
.the-world::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, var(--bg-color) 0%, transparent 20%, transparent 80%, var(--bg-color) 100%);
    z-index: 1;
}

.world-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 3rem;
    background: rgba(13, 13, 13, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.world-text {
    font-size: 1.25rem;
    font-style: italic;
    color: #e2e8f0;
    line-height: 1.9;
}

/* ------------------------------------
   The Author
------------------------------------ */
.the-author {
    padding: 8rem 0;
    background: var(--bg-color);
}

.author-bio {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ------------------------------------
   Newsletter / Conversion
------------------------------------ */
.newsletter-section {
    padding: 6rem 0 8rem;
    background: linear-gradient(180deg, var(--bg-color) 0%, #111 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.newsletter-subtext {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.kit-inline-info {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.kit-form-container {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}



/* ------------------------------------
   Footer
------------------------------------ */
.footer {
    text-align: center;
    padding: 3rem 2rem;
    background: #000;
    font-size: 0.9rem;
    color: #475569;
}

.legal-links a {
    color: #64748b;
    margin: 0 0.5rem;
    font-size: 0.85rem;
    transition: color var(--transition-smooth);
}

.legal-links a:hover {
    color: var(--accent-gold);
}

/* ------------------------------------
   Animations
------------------------------------ */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.appear {
    opacity: 1;
    transform: translate(0);
}

/* ------------------------------------
   Responsive Design
------------------------------------ */
@media (max-width: 900px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .book-info {
        text-align: center;
    }

    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .quote-block {
        border-left: none;
        border-top: 3px solid var(--accent-gold);
        padding-left: 0;
        padding-top: 1.5rem;
    }

    .secondary-quote {
        border-top-color: var(--accent-blood);
    }
}

@media (max-width: 768px) {
    .hero-quote {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .nav-links {
        display: none;
        /* simple mobile nav approach for prototype */
    }

    .the-world {
        padding: 5rem 0;
    }

    .world-content {
        padding: 2rem 1.5rem;
    }
}

/* ------------------------------------
   Cookie Banner
------------------------------------ */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--accent-gold);
    z-index: 9999;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    transition: bottom var(--transition-smooth);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-text {
    font-size: 0.95rem;
    color: var(--text-main);
    flex: 1;
}

.cookie-text a {
    color: var(--accent-gold);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
    }
}