/* ============================================
   PHANTOM PACT WEBSITE - VARIATION 1 (CINEMATIC)
   ============================================ */

/* Import Ironworth Font */
@font-face {
    font-family: 'Ironworth';
    src: url('../assets/fonts/Ironworth.woff2') format('woff2'),
         url('../assets/fonts/Ironworth.woff') format('woff'),
         url('../assets/fonts/Ironworth.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   ROOT VARIABLES - Book Cover Colors
   ============================================ */
:root {
    /* Primary Colors from Book Covers */
    --color-primary: #1a1a2e;        /* Deep navy/black */
    --color-secondary: #0f3460;      /* Rich blue */
    --color-accent: #16213e;         /* Dark blue */
    --color-highlight: #e94560;      /* Crimson red accent */
    --color-gold: #d4af37;           /* Gold accent */

    /* Neutral Colors */
    --color-white: #ffffff;
    --color-light: #f5f5f5;
    --color-gray: #9ba4b5;
    --color-dark-gray: #444;
    --color-black: #0a0a0a;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(26, 26, 46, 0.8) 0%, rgba(15, 52, 96, 0.9) 100%);

    /* Typography */
    --font-primary: 'Ironworth', serif;
    --font-secondary: 'Georgia', 'Times New Roman', serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(233, 69, 96, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-light);
    background-color: var(--color-primary);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: normal;
    line-height: 1.4;
    margin-bottom: var(--spacing-md);
    padding-top: 0.1em;
    padding-bottom: 0.1em;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    letter-spacing: 0.05em;
    line-height: 1.3;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: 0.03em;
    line-height: 1.35;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    letter-spacing: 0.02em;
    line-height: 1.4;
}

p {
    margin-bottom: var(--spacing-sm);
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    line-height: 1.5;
    vertical-align: middle;
    text-align: center;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition-normal);
}

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

.btn-primary {
    background: var(--color-highlight);
    color: var(--color-white);
}

.btn-primary:hover {
    background: #d63850;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: var(--color-secondary);
    color: var(--color-white);
}

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

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--spacing-sm) 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    letter-spacing: 0.15em;
    color: var(--color-white);
    margin: 0;
    line-height: 1.5;
    padding: 0.25rem 0;
}

.nav-menu {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-menu a {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gray);
    position: relative;
    line-height: 1.5;
    padding: 0.5rem 0;
    display: inline-block;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-highlight);
    transition: var(--transition-normal);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-white);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-white);
    transition: var(--transition-normal);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--gradient-primary);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(233, 69, 96, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.03) 0px,
        transparent 1px,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 3px
    );
}

.hero-book-covers {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    width: 350px;
    max-width: 30vw;
    height: 520px;
    z-index: 0;
}

.hero-book-covers img {
    position: absolute;
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: all 0.5s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

.hero-book-1 {
    top: 50%;
    left: -40px;
    transform: translateY(-50%) perspective(1000px) rotateY(-20deg) rotateZ(-5deg);
    z-index: 1;
}

.hero-book-2 {
    top: 50%;
    left: 0;
    transform: translateY(-50%) perspective(1000px) rotateY(-15deg) rotateZ(2deg);
    z-index: 2;
}

.hero:hover .hero-book-1 {
    transform: translateY(-50%) perspective(1000px) rotateY(-25deg) rotateZ(-8deg) translateX(-10px);
}

.hero:hover .hero-book-2 {
    transform: translateY(-50%) perspective(1000px) rotateY(-10deg) rotateZ(0deg) translateX(10px);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: var(--spacing-md);
    margin-right: auto;
    margin-left: 5%;
    text-align: left;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    padding: 0.2em 0;
}

.hero-subtitle {
    font-family: var(--font-secondary);
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: var(--color-gray);
    margin-bottom: var(--spacing-lg);
    font-style: italic;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-indicator span {
    display: block;
    width: 20px;
    height: 30px;
    border: 2px solid var(--color-white);
    border-radius: 20px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--color-white);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    padding: calc(var(--spacing-xl) + 60px) 0 var(--spacing-lg);
    text-align: center;
    background: var(--gradient-primary);
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-highlight), transparent);
}

.page-title {
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
    padding: 0.15em 0;
}

.page-subtitle {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    color: var(--color-gray);
    font-style: italic;
    line-height: 1.6;
}

/* ============================================
   SECTION STYLES
   ============================================ */
section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    text-align: center;
    color: var(--color-white);
    margin-bottom: var(--spacing-lg);
    position: relative;
    line-height: 1.35;
    padding: 0.15em 0;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: var(--color-highlight);
    margin: var(--spacing-sm) auto 0;
}

/* ============================================
   FEATURED BOOKS
   ============================================ */
.featured-books {
    background: var(--color-accent);
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.book-card {
    text-align: center;
    transition: var(--transition-normal);
}

.book-card:hover {
    transform: translateY(-10px);
}

.book-cover {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--spacing-md);
    aspect-ratio: 2/3;
    background: var(--color-primary);
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.book-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 46, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.book-card:hover .book-overlay {
    opacity: 1;
}

.book-card:hover .book-cover img {
    transform: scale(1.1);
}

.book-card h3 {
    font-size: 1.8rem;
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
    padding: 0.15em 0;
}

.book-tagline {
    color: var(--color-gray);
    font-style: italic;
}

/* ============================================
   BOOK DETAIL
   ============================================ */
.book-detail {
    background: var(--color-primary);
}

.book-detail.alternate {
    background: var(--color-accent);
}

.book-detail-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.book-detail.alternate .book-detail-content {
    grid-template-columns: 1.5fr 1fr;
}

.book-detail-image {
    position: sticky;
    top: 100px;
}

.book-detail-image img {
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.book-detail-info h2 {
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
    line-height: 1.35;
    padding: 0.15em 0;
}

.book-detail-info .book-subtitle {
    font-size: 1.3rem;
    color: var(--color-gold);
    margin-bottom: var(--spacing-md);
    font-weight: normal;
    letter-spacing: 0.05em;
}

.book-meta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.meta-item {
    color: var(--color-gray);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.book-description {
    margin-bottom: var(--spacing-md);
}

.book-description p {
    color: var(--color-light);
    margin-bottom: var(--spacing-sm);
}

.book-features {
    background: rgba(0, 0, 0, 0.2);
    padding: var(--spacing-md);
    border-radius: 8px;
    margin-bottom: var(--spacing-md);
}

.book-features h3 {
    font-size: 1.2rem;
    color: var(--color-gold);
    margin-bottom: var(--spacing-sm);
}

.book-features blockquote {
    color: var(--color-gray);
    font-style: italic;
    padding-left: var(--spacing-sm);
    border-left: 3px solid var(--color-highlight);
    margin: var(--spacing-sm) 0;
}

.book-actions {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    align-items: flex-start;
}

.more-retailers {
    position: relative;
}

.retailers-toggle {
    cursor: pointer;
}

.retailers-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    background: var(--color-accent);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: var(--spacing-sm);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: 10;
}

.retailers-dropdown.active {
    display: block;
}

.retailers-dropdown a {
    display: block;
    padding: 0.75rem var(--spacing-sm);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition-normal);
}

.retailers-dropdown a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-highlight);
}

/* ============================================
   READING ORDER / TIMELINE
   ============================================ */
.reading-order {
    background: var(--color-accent);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-highlight);
}

.timeline-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.timeline-marker {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-highlight);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--color-white);
    box-shadow: 0 0 0 4px var(--color-accent), 0 0 0 6px var(--color-highlight);
    line-height: 1;
}

.timeline-content {
    flex: 1;
    padding-top: var(--spacing-sm);
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
    padding: 0.1em 0;
}

.timeline-content p {
    color: var(--color-gray);
}

/* ============================================
   PRAISE & REVIEWS
   ============================================ */
.praise-section {
    background: var(--color-accent);
    text-align: center;
}

.praise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.praise-card {
    background: rgba(0, 0, 0, 0.2);
    padding: var(--spacing-lg);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quote-icon {
    font-size: 4rem;
    color: var(--color-gold);
    line-height: 1;
    font-family: Georgia, serif;
    margin-bottom: var(--spacing-sm);
    opacity: 0.5;
}

.praise-card blockquote {
    margin: 0;
    flex-grow: 1;
}

.praise-card blockquote p {
    color: var(--color-light);
    font-size: 1.1rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: var(--spacing-md);
}

.attribution {
    color: var(--color-gold);
    font-family: var(--font-primary);
    margin-top: auto;
}

.attribution strong {
    display: block;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
}

.award-badge {
    text-align: center;
    padding: var(--spacing-md);
}

.badge-icon {
    font-size: 4rem;
    color: var(--color-gold);
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 0 20px rgba(218, 165, 32, 0.5);
}

.badge-text {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.badge-text strong {
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: 1.3rem;
    letter-spacing: 0.05em;
}

.badge-text span {
    color: var(--color-light);
    font-size: 0.9rem;
}

/* Critical Acclaim Section */
.acclaim-section {
    background: var(--color-accent);
}

.acclaim-awards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
}

.award-highlight {
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.1) 0%, rgba(184, 134, 11, 0.05) 100%);
    padding: var(--spacing-lg);
    border-radius: 8px;
    text-align: center;
    border: 2px solid var(--color-gold);
}

.award-icon {
    font-size: 3rem;
    color: var(--color-gold);
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 0 20px rgba(218, 165, 32, 0.5);
}

.award-highlight h3 {
    color: var(--color-white);
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
    padding: 0.1em 0;
}

.award-highlight p {
    color: var(--color-gold);
    font-size: 1rem;
    margin: 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.review-card {
    background: rgba(0, 0, 0, 0.2);
    padding: var(--spacing-md);
    border-radius: 8px;
    border-left: 4px solid var(--color-highlight);
    transition: var(--transition-normal);
}

.review-card:hover {
    background: rgba(0, 0, 0, 0.3);
    border-left-color: var(--color-gold);
}

.review-quote {
    margin-bottom: var(--spacing-md);
}

.quote-mark {
    font-size: 3rem;
    color: var(--color-gold);
    line-height: 1;
    font-family: Georgia, serif;
    opacity: 0.3;
    margin-bottom: -10px;
}

.review-quote p {
    color: var(--color-light);
    font-style: italic;
    line-height: 1.6;
    margin: 0;
}

.review-source {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.review-source strong {
    color: var(--color-gold);
    font-family: var(--font-primary);
    font-size: 1rem;
    letter-spacing: 0.05em;
}

.review-source a {
    color: var(--color-highlight);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-normal);
}

.review-source a:hover {
    color: var(--color-gold);
}

.review-badge,
.review-note {
    display: inline-block;
    background: rgba(218, 165, 32, 0.1);
    color: var(--color-gold);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 4px;
    font-size: 0.85rem;
    margin-top: var(--spacing-xs);
}

/* ============================================
   ABOUT SECTIONS
   ============================================ */
.about-preview {
    background: var(--color-primary);
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-text h2 {
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    line-height: 1.35;
    padding: 0.15em 0;
}

.about-text p {
    color: var(--color-light);
    margin-bottom: var(--spacing-md);
}

.about-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 2px solid var(--color-highlight);
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}

.image-frame {
    width: 100%;
    height: 100%;
    border: 3px solid var(--color-highlight);
    border-radius: 8px;
}

.about-series {
    background: var(--color-accent);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.about-section h2 {
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    line-height: 1.35;
    padding: 0.15em 0;
}

.about-section p {
    color: var(--color-light);
    margin-bottom: var(--spacing-sm);
}

.about-author {
    background: var(--color-primary);
}

.author-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.author-image {
    position: sticky;
    top: 100px;
}

.author-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 2px solid var(--color-highlight);
    box-shadow: var(--shadow-lg);
}

.image-placeholder {
    aspect-ratio: 3/4;
    background: var(--gradient-overlay);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-highlight);
}

.image-placeholder span {
    color: var(--color-gray);
    font-family: var(--font-primary);
    font-size: 1.2rem;
    line-height: 1.5;
}

.author-bio h2 {
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    line-height: 1.35;
    padding: 0.15em 0;
}

.author-bio p {
    color: var(--color-light);
    margin-bottom: var(--spacing-md);
}

.author-contact {
    margin-top: var(--spacing-md);
}

/* ============================================
   FAQ
   ============================================ */
.faq {
    background: var(--color-accent);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-lg);
    border-left: 4px solid var(--color-gold);
}

.faq-question {
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: 1.4rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
}

.faq-answer {
    padding: 0;
}

.faq-answer p {
    color: var(--color-light);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-section {
    background: var(--color-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.contact-info h2 {
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    line-height: 1.35;
    padding: 0.15em 0;
}

.contact-info > p {
    color: var(--color-light);
    margin-bottom: var(--spacing-lg);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-method {
    padding: var(--spacing-md);
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border-left: 4px solid var(--color-highlight);
}

.contact-method h3 {
    font-size: 1.2rem;
    color: var(--color-gold);
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
    padding: 0.1em 0;
}

.contact-method p {
    color: var(--color-gray);
    margin-bottom: var(--spacing-xs);
}

.contact-method a {
    color: var(--color-white);
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    color: var(--color-white);
    text-decoration: none;
}

.social-link:hover {
    color: var(--color-highlight);
}

.contact-form-container {
    background: var(--color-accent);
    padding: var(--spacing-lg);
    border-radius: 8px;
}

.contact-form h3 {
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    line-height: 1.4;
    padding: 0.1em 0;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    color: var(--color-light);
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    line-height: 1.5;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-sm);
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-highlight);
}

.form-note {
    color: var(--color-gray);
    font-size: 0.9rem;
    margin-top: var(--spacing-sm);
}

.form-message {
    padding: var(--spacing-md);
    border-radius: 8px;
    margin-bottom: var(--spacing-md);
    display: none;
    font-size: 1rem;
}

.form-message.success {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid #4CAF50;
    color: #4CAF50;
    display: block;
}

.form-message.error {
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid #f44336;
    color: #f44336;
    display: block;
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter {
    background: var(--gradient-primary);
    text-align: center;
}

.bearer-corps-logo {
    max-width: 200px;
    height: auto;
    margin: 0 auto var(--spacing-md);
    display: block;
    opacity: 0.9;
}

.newsletter-content h2 {
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    line-height: 1.35;
    padding: 0.15em 0;
}

.newsletter-content p {
    color: var(--color-gray);
    margin-bottom: var(--spacing-md);
}

.newsletter-bonus {
    background: rgba(218, 165, 32, 0.1);
    border-left: 3px solid var(--color-gold);
    padding: var(--spacing-sm) var(--spacing-md);
    margin: var(--spacing-md) auto;
    max-width: 600px;
    border-radius: 4px;
    color: var(--color-light) !important;
}

.newsletter-bonus strong {
    color: var(--color-gold);
}

.newsletter-bonus em {
    color: var(--color-white);
    font-style: normal;
    font-weight: 500;
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-sm);
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: var(--color-white);
    font-size: 1rem;
}

.newsletter-form input::placeholder {
    color: var(--color-gray);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--color-highlight);
}

/* ============================================
   ARG CONFIRMATION PAGE
   ============================================ */
.arg-confirmation {
    background: var(--gradient-primary);
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: var(--spacing-xl) 0;
}

.arg-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    padding: var(--spacing-xl);
    border-radius: 8px;
    border: 1px solid rgba(218, 165, 32, 0.3);
}

.arg-icon {
    margin-bottom: var(--spacing-lg);
    display: flex;
    justify-content: center;
}

.arg-content h1 {
    color: var(--color-white);
    margin-bottom: var(--spacing-lg);
    line-height: 1.3;
}

.success-message {
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    background: rgba(218, 165, 32, 0.1);
    border-radius: 4px;
}

.success-message .lead {
    font-size: 1.2rem;
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
}

.success-message strong {
    color: var(--color-gold);
}

.success-message p {
    color: var(--color-light);
    margin: 0;
}

.arg-notice {
    background: rgba(218, 165, 32, 0.15);
    border-left: 4px solid var(--color-gold);
    padding: var(--spacing-md);
    margin: var(--spacing-lg) 0;
    text-align: left;
    border-radius: 4px;
}

.arg-notice h3 {
    color: var(--color-gold);
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

.arg-notice p {
    color: var(--color-light);
    margin: 0;
    line-height: 1.6;
}

.arg-info {
    background: rgba(0, 0, 0, 0.2);
    padding: var(--spacing-lg);
    border-radius: 4px;
    margin: var(--spacing-lg) 0;
    text-align: left;
}

.arg-info h2 {
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.arg-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.arg-info li {
    color: var(--color-light);
    padding: var(--spacing-sm) 0;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
}

.arg-info li::before {
    content: "▸";
    color: var(--color-gold);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.arg-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-top: var(--spacing-lg);
    flex-wrap: wrap;
}

@media (max-width: 968px) {
    .arg-content {
        padding: var(--spacing-lg);
    }

    .arg-actions {
        flex-direction: column;
    }

    .arg-actions .btn {
        width: 100%;
    }
}

/* ============================================
   WORLD PAGE
   ============================================ */
.world-intro {
    background: var(--color-accent);
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.intro-content p {
    font-size: 1.1rem;
    color: var(--color-light);
    line-height: 1.8;
}

.maps-section {
    background: var(--color-primary);
}

.maps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.map-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.map-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.map-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.map-card:hover .map-image img {
    transform: scale(1.05);
}

.map-info {
    padding: var(--spacing-md);
}

.map-info h3 {
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
    padding: 0.1em 0;
}

.map-info p {
    color: var(--color-gray);
    margin-bottom: var(--spacing-md);
}

.lore-section {
    background: var(--color-accent);
}

.lore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.lore-card {
    background: rgba(0, 0, 0, 0.2);
    padding: var(--spacing-lg);
    border-radius: 8px;
    border-left: 4px solid var(--color-highlight);
    transition: var(--transition-normal);
}

.lore-card:hover {
    background: rgba(0, 0, 0, 0.3);
    border-left-color: var(--color-gold);
}

.lore-card h3 {
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
    padding: 0.1em 0;
}

.lore-card p {
    color: var(--color-light);
    margin-bottom: var(--spacing-md);
}

.coming-soon {
    display: inline-block;
    color: var(--color-gold);
    font-size: 0.9rem;
    font-style: italic;
    opacity: 0.8;
}

.exclusive-content {
    background: var(--gradient-primary);
    padding: var(--spacing-xl) 0;
}

.exclusive-banner {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.exclusive-banner h2 {
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    line-height: 1.35;
    padding: 0.15em 0;
}

.exclusive-banner p {
    color: var(--color-gray);
    margin-bottom: var(--spacing-lg);
    font-size: 1.1rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-black);
    padding: var(--spacing-lg) 0 var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    text-align: center;
}

.footer-brand h3 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
    line-height: 1.5;
    padding: 0.1em 0;
}

.footer-brand p {
    color: var(--color-gray);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-links a {
    color: var(--color-gray);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--color-white);
}

.footer-publisher {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
}

.publisher-label {
    color: var(--color-gray);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.25rem;
}

.publisher-logo {
    max-width: 120px;
    height: auto;
    opacity: 0.85;
    transition: var(--transition-normal);
    filter: brightness(0.95);
}

.publisher-logo:hover {
    opacity: 1;
    filter: brightness(1);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background: var(--color-highlight);
    transform: translateY(-3px);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    animation: fadeIn 1s ease forwards;
    opacity: 0;
}

.fade-in-delay {
    animation: fadeIn 1s ease 0.3s forwards;
    opacity: 0;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease 0.6s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(26, 26, 46, 0.98);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition-normal);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .book-detail-content,
    .book-detail.alternate .book-detail-content,
    .about-content,
    .author-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .book-detail-image,
    .author-image {
        position: relative;
        top: 0;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .bearer-corps-logo {
        max-width: 150px;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-marker {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* Move hero books below title on narrow screens */
@media (max-width: 1200px) {
    .hero {
        min-height: 100vh;
        height: auto;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 80px;
    }

    .hero-content {
        position: relative;
        width: 100%;
        max-width: 100%;
        padding: var(--spacing-lg) var(--spacing-md);
        margin: 0 auto;
        text-align: center;
    }

    .hero-book-covers {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 300px;
        max-width: 80vw;
        height: 440px;
        margin: var(--spacing-lg) auto;
        z-index: 0;
    }

    .hero-book-1 {
        left: -30px;
    }

    .hero-book-2 {
        left: 0;
    }

    .scroll-indicator {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        align-self: center;
        margin-top: var(--spacing-lg);
        margin-bottom: var(--spacing-md);
    }
}

@media (max-width: 640px) {
    :root {
        --spacing-md: 1rem;
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
    }

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

    .book-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .logo {
        font-size: 1.3rem;
    }

    .nav-menu a {
        font-size: 1rem;
    }

    .hero-book-covers {
        width: 250px;
        max-width: 70vw;
        height: 370px;
    }

    .hero-book-1 {
        left: -20px;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .navbar,
    .nav-toggle,
    .scroll-indicator,
    .newsletter,
    .footer-social {
        display: none;
    }
}
