/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Dark Fantasy Theme */
    --primary-dark: #0a0a0a;
    --secondary-dark: #1a1a1a;
    --accent-gold: #dc2626;
    --accent-red: #991b1b;
    --accent-silver: #c0c0c0;
    --text-light: #f5f5f5;
    --text-muted: #b8b8b8;
    --text-dark: #333;
    
    /* Typography */
    --font-primary: 'Cinzel', serif;
    --font-secondary: 'Crimson Text', serif;
    --font-accent: 'Uncial Antiqua', cursive;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;
    --border-radius: 8px;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--primary-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--accent-gold), #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(45deg, var(--accent-gold), #ef4444);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-style: italic;
}

.lead {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-silver);
    margin-bottom: 2rem;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(220, 38, 38, 0.2);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo h2 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    color: var(--accent-gold);
    margin: 0;
}

.nav-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    display: flex;
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--accent-gold);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--accent-gold);
    margin: 3px 0;
    transition: var(--transition-smooth);
}
/* ===============================
   HERO BASE
================================ */

.hero {
    position: relative;
    min-height: 100vh;
    background: #000;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: #000;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    min-height: 100vh;

    /* PUSH CONTENT UP */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    padding-top: 4.5rem;
    padding-bottom: 2.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.hero-text {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

/* ===============================
   HEADLINES
================================ */

.hero-title {
    margin-bottom: 1.8rem;
}

.hero-quote {
    display: block;
    font-size: 2.6rem;
    line-height: 1.25;
    font-weight: 600;
    color: #b11212;
    text-align: center;
}

/* ===============================
   SUBTITLE
================================ */

.hero-subtitle {
    margin-bottom: 2.6rem;
    font-size: 1.8rem;
    font-weight: 500;
    color: #b11212;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}

/* ===============================
   POEM
================================ */

.hero-poem {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.25rem;
    line-height: 1.9;
    color: #e0e0e0;
    text-align: justify;
}

.hero-poem p {
    margin-bottom: 1.3rem;
}

/* RESTORED POSITION (NOT CENTERED) */
.hero-final-line {
    margin-top: 1.8rem;
    text-align: left;
    font-style: italic;
}

/* ===============================
   SCROLL ARROW
================================ */

.scroll-indicator {
    margin-top: 1.8rem;
    display: flex;
    justify-content: center;
}

.scroll-arrow {
    width: 14px;
    height: 14px;
    border-left: 2px solid #b11212;
    border-bottom: 2px solid #b11212;
    transform: rotate(-45deg);
    animation: bounce 1.6s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0) rotate(-45deg); }
    50% { transform: translateY(8px) rotate(-45deg); }
}

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

@media (max-width: 768px) {

    .hero-content {
        padding-top: 4rem;
    }

    .hero-quote {
        font-size: 1.7rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        text-align: left;
    }

    .hero-poem {
        font-size: 1.05rem;
        text-align: left;
    }

    .hero-final-line {
        text-align: left;
    }
}
/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-smooth);
}

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

.btn-primary {
    background: linear-gradient(45deg, var(--accent-gold), #dc2626);
    color: var(--primary-dark);
    border: 2px solid var(--accent-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--accent-silver);
}

.btn-secondary:hover {
    background: var(--accent-silver);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-block;
    padding: 12px 22px;
    background: #dc2626;
    color: #000;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    border: 1px solid #dc2626;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline:hover {
    background: transparent;
    color: #dc2626;
    box-shadow: 0 0 14px rgba(220, 38, 38, 0.7);
    transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
section {
    padding: var(--section-padding);
    position: relative;
}

.about {
    background: var(--secondary-dark);
}

.books {
    background: var(--primary-dark);
}

.section-spacer {
    height: 6rem;
    margin: 4rem 0;
    border-top: 1px solid rgba(220, 38, 38, 0.2);
    position: relative;
}

.section-spacer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: var(--accent-gold);
}



.news {
    background: var(--primary-dark);
}

.contact {
    background: var(--secondary-dark);
}

/* ===== ABOUT SECTION ===== */
.author-image-section {
    display: flex;
    justify-content: center;
    margin: 3rem 0 4rem 0;
}

.author-image-section .author-photo {
    max-width: 300px;
    width: 100%;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

.author-photo {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.author-img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-slow);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 2rem;
    transform: translateY(100%);
    transition: var(--transition-slow);
}

.author-photo:hover .photo-overlay {
    transform: translateY(0);
}

.author-photo:hover .author-img {
    transform: scale(1.05);
}

.photo-quote {
    font-style: italic;
    color: var(--accent-gold);
    font-size: 1.1rem;
}

.about-text h3 {
    color: var(--accent-gold);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.influence-grid,
.passion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.influence-item,
.passion-item {
    background: rgba(220, 38, 38, 0.05);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-gold);
    transition: var(--transition-smooth);
}

.influence-item:hover,
.passion-item:hover {
    background: rgba(220, 38, 38, 0.1);
    transform: translateY(-5px);
}

.passion-item i {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.passion-item h4 {
    color: var(--accent-silver);
    margin-bottom: 0.5rem;
}

/* ===== BOOKS SECTION ===== */
.series-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.series-quote blockquote {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--accent-silver);
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    border-left: 4px solid var(--accent-gold);
    background: rgba(220, 38, 38, 0.05);
    border-radius: var(--border-radius);
}

.book-showcase {
    margin-bottom: 4rem;
}

.book-main {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 3rem;
    align-items: start;
}

.book-cover {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    transition: var(--transition-smooth);
}

.book-cover:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

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

.book-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-gold);
    color: var(--primary-dark);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.9rem;
}

.book-title {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.book-subtitle {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-style: normal;
    font-weight: 700;
    text-shadow: 0 0 12px rgba(220, 38, 38, 0.4), 1px 1px 3px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.5px;
}

.book-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.release-date,
.book-genre {
    color: var(--text-muted);
    font-size: 1rem;
}

.book-synopsis {
    margin-bottom: 2rem;
}

.book-synopsis h4 {
    color: var(--accent-silver);
    margin-bottom: 1rem;
}

.book-quote {
    font-style: italic;
    color: var(--accent-gold);
    padding: 1.5rem;
    background: rgba(139, 0, 0, 0.1);
    border-left: 4px solid var(--accent-red);
    border-radius: var(--border-radius);
    margin: 1rem 0;
}

.book-excerpt {
    margin-bottom: 2rem;
}

.book-excerpt h4 {
    color: var(--accent-silver);
    margin-bottom: 1rem;
}

.book-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}



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

.upcoming-books h3 {
    color: var(--accent-gold);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.upcoming-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 500px;
    margin: 0 auto;
}

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

.upcoming-cover {
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.upcoming-cover img {
    width: 100%;
    height: auto;
    display: block;
}

/* PREVIEW CHAPTERS BUTTON */

.book-actions {
margin-top: 18px;
}

.preview-btn {
    display: inline-block;
    padding: 12px 22px;
    background: #dc2626;
    color: #000;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    border: 1px solid #dc2626;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    cursor: pointer;
}

.preview-btn:hover {
    background: transparent;
    color: #dc2626;
    box-shadow: 0 0 14px rgba(220, 38, 38, 0.7);
    transform: translateY(-2px);
}

/* ===== NEWS SECTION ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-item {
    background: rgba(220, 38, 38, 0.05);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-gold);
    transition: var(--transition-smooth);
}

.news-item.featured {
    background: rgba(220, 38, 38, 0.1);
    border-left-color: var(--accent-red);
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.news-date {
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 1rem;
}

.news-item h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.news-link {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.news-link:hover {
    color: var(--accent-silver);
}

/* ===== CONTACT SECTION ===== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.contact-methods {
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-method i {
    font-size: 2rem;
    color: var(--accent-gold);
    width: 50px;
    text-align: center;
}

.newsletter-signup h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.newsletter-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    background: rgba(26, 26, 26, 0.8);
    border: 2px solid rgba(220, 38, 38, 0.3);
    border-radius: var(--border-radius);
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

.newsletter-benefits {
    background: rgba(220, 38, 38, 0.05);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-gold);
}

.newsletter-benefits h4 {
    color: var(--accent-silver);
    margin-bottom: 1rem;
}

.newsletter-benefits ul {
    list-style: none;
}

.newsletter-benefits li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    position: relative;
    padding-left: 1.5rem;
}

.newsletter-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-dark);
    border-top: 1px solid rgba(220, 38, 38, 0.2);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

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

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: var(--accent-silver);
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-column a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(220, 38, 38, 0.2);
    color: var(--text-muted);
}
/* SOCIAL LINKS — CONTACT SECTION */

.social-links {
    margin-top: 25px;
}

.social-links h4 {
    font-family: 'Cinzel', serif;
    color: #dc2626;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.social-btn {
    display: inline-block;
    margin: 6px 8px 6px 0;
    padding: 10px 16px;
    border-radius: 6px;
    background: #0f0f0f;
    color: #fff;
    text-decoration: none;
    font-family: 'Crimson Text', serif;
    border: 1px solid #dc2626;
    transition: all 0.3s ease;
}

.social-btn i {
    margin-right: 8px;
}

.social-btn:hover {
    background: #dc2626;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 0 12px rgba(220, 38, 38, 0.6);
}

/* Optional subtle platform tints */

.instagram:hover { background: #e1306c; color: #fff; }
.twitter:hover   { background: #000; color: #fff; }
.facebook:hover  { background: #1877f2; color: #fff; }
.reddit:hover    { background: #ff4500; color: #fff; }
.royalroad:hover { background: #c0392b; color: #fff; }

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.98);
        width: 100%;
        text-align: center;
        transition: var(--transition-smooth);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .book-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .book-actions {
        justify-content: center;
    }
    

    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .influence-grid,
    .passion-grid {
        grid-template-columns: 1fr;
    }
    
    .upcoming-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .book-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ===== RED DIVIDER: between books section and EmpireHistory ===== */
.EmpireHistory {
    border-top: 1px solid rgba(220, 38, 38, 0.2);
}

/* ===== NAV DROPDOWN ===== */
.nav-dropdown {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: -12px;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
}

.nav-chevron {
    font-size: 0.7rem;
    transition: var(--transition-smooth);
}

.nav-dropdown:hover .nav-chevron,
.nav-dropdown.active .nav-chevron { transform: rotate(180deg); }

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(10, 10, 10, 0.98);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: var(--border-radius);
    list-style: none;
    min-width: 230px;
    z-index: 2000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    padding: 0.4rem 0;
    margin-top: 0;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.active .nav-dropdown-menu { display: block; }

.nav-dropdown-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1.2rem;
    color: var(--text-light);
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.nav-dropdown-link:hover {
    color: var(--accent-gold);
    background: rgba(220, 38, 38, 0.08);
}

.nav-chevron-right { font-size: 0.65rem; }

.nav-subdropdown { position: relative; }

.nav-subdropdown-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background: rgba(10, 10, 10, 0.98);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: var(--border-radius);
    list-style: none;
    min-width: 260px;
    z-index: 2100;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    padding: 0.4rem 0;
}

.nav-subdropdown:hover .nav-subdropdown-menu,
.nav-subdropdown.active .nav-subdropdown-menu { display: block; }

@media (max-width: 768px) {
    .nav-dropdown {
        padding-bottom: 0;
        margin-bottom: 0;
    }
    .nav-dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-left: 2px solid rgba(220, 38, 38, 0.3);
        margin-left: 1rem;
        padding: 0;
        display: none;
    }
    .nav-dropdown.active .nav-dropdown-menu { display: block; }
    .nav-subdropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-left: 2px solid rgba(220, 38, 38, 0.2);
        margin-left: 1rem;
        display: none;
    }
    .nav-subdropdown.active .nav-subdropdown-menu { display: block; }
}

/* ===== NAV LOGO WITH IMAGE ===== */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 50%;
    border: 1px solid rgba(220, 38, 38, 0.4);
    transition: var(--transition-smooth);
}

.nav-logo-img:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 0 12px rgba(220, 38, 38, 0.5);
}

.nav-logo-text h2 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    color: var(--accent-gold);
    margin: 0;
}

/* ===== FOOTER LOGO ===== */
.footer-logo-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 50%;
    border: 1px solid rgba(220, 38, 38, 0.3);
    margin-bottom: 0.75rem;
    display: block;
}

/* ===== WORLD MAP SUBSECTION (inside EmpireHistory) ===== */
.world-map-subsection {
    max-width: 960px;
    margin: 0 auto 5rem;
    padding-top: 1rem;
}

.world-subheading {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, var(--accent-gold), #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.world-subheading-sub {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 2.5rem;
}

.map-image-wrapper {
    margin: 0 auto 3rem;
    text-align: center;
}

.map-image-title {
    font-family: var(--font-primary);
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1.2rem;
    background: linear-gradient(45deg, var(--accent-gold), #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.map-image-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(45deg, var(--accent-gold), #ef4444);
    border-radius: 2px;
}

.map-frame {
    border: 2px solid rgba(220, 38, 38, 0.3);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 0 40px rgba(220, 38, 38, 0.1), 0 20px 60px rgba(0,0,0,0.6);
    background: #111;
    padding: 8px;
}

.map-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    filter: sepia(20%) contrast(1.05);
    transition: filter 0.4s ease;
}

.map-img:hover {
    filter: sepia(0%) contrast(1.1);
}

.map-caption {
    margin-top: 1.2rem;
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
    letter-spacing: 0.03em;
}

.map-exposition {
    margin: 0 auto 3.5rem;
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(220, 38, 38, 0.15);
    border-left: 4px solid var(--accent-gold);
    border-radius: var(--border-radius);
    padding: 2.5rem 3rem;
}

.map-doc-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--accent-silver);
    text-align: center;
    margin-bottom: 1.8rem;
    letter-spacing: 0.05em;
}

.map-body {
    font-family: var(--font-secondary);
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 1.4rem;
    text-align: justify;
}

.map-body em {
    color: var(--accent-silver);
    font-style: italic;
}

.map-credits {
    background: rgba(220, 38, 38, 0.05);
    border-radius: var(--border-radius);
    padding: 1.5rem 2rem;
    margin: 1.5rem 0;
}

.map-credits p {
    font-family: var(--font-secondary);
    font-size: 1.05rem;
    color: var(--text-muted);
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(220, 38, 38, 0.08);
}

.map-credits p:last-child {
    border-bottom: none;
}

.credit-label {
    color: var(--accent-silver);
    font-weight: 600;
    margin-right: 0.5rem;
}

/* Divider between world section and book showcase */
.book-showcase {
    border-top: 1px solid rgba(220, 38, 38, 0.2);
    padding-top: 4rem;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .map-exposition {
        padding: 1.5rem;
    }

    .map-body {
        font-size: 1rem;
        text-align: left;
    }

    .map-credits {
        padding: 1rem;
    }

    .nav-logo-img {
        width: 40px;
        height: 40px;
    }

    .world-subheading {
        font-size: 1.7rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* ===== SCROLL ANIMATIONS ===== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== LOADING STATES ===== */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--accent-gold);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ===== BOOK SHOWCASE RESTRUCTURED LAYOUT ===== */
.book-showcase-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.book-details-top {
    width: 100%;
    text-align: left;
}

.book-bottom-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 3rem;
    width: 100%;
}

/* Override the global .book-cover overflow:hidden so the full cover shows naturally */
.book-bottom-row .book-cover {
    flex: 0 0 auto;
    width: 280px;
    overflow: visible;
    border-radius: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.book-bottom-row .book-cover .cover-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: unset;
}

.book-bottom-row .book-synopsis {
    flex: 1;
    min-width: 0;
    margin-bottom: 0;
}

.book-actions-centered {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .book-bottom-row {
        flex-direction: column;
        align-items: center;
    }
    .book-bottom-row .book-cover {
        width: 80%;
    }
}
