/*
Theme Name: Earth's Secret Alliance
Theme URI: https://tonybrichard.com
Author: Tony B. Richard / Worth Design
Author URI: https://tonybrichard.com
Description: Custom ESA landing theme based on Worth Design HTML.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: earths-secret-alliance
*/

/* Default link color */
a {
    color: #66ccff;
    /* light cyan/blue */
    text-decoration: underline;
}

/* Visited links */
a:visited {
    color: #b58cff;
    /* soft violet */
}

/* Hover + focus (accessibility-friendly) */
a:hover,
a:focus {
    color: #ffd966;
    /* warm gold */
    text-decoration: underline;
}

:root {
    --bg-color: #02040A;
    --text-color: #E0E0E0;
    --accent-cyan: #00F0FF;
    --accent-blue: #0066FF;
    --font-header: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    --accent-purple: #b58cff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(2, 4, 10, 0.8);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.logo {
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 1.0rem;
    color: #fff;
    letter-spacing: 2px;
}

.logo span {
    color: var(--accent-cyan);
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: var(--accent-purple);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-cyan);
}

.access-btn {
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--accent-cyan);
    color: var(--accent-purple);
    text-decoration: none;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.access-btn:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

/* Dropdown Menu */
.nav-item {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(2, 4, 10, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 250px;
    display: none;
    flex-direction: column;
    padding: 0.5rem 0;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
}

/* Desktop Hover Only */
@media (min-width: 769px) {
    .nav-item:hover .dropdown-menu {
        display: flex;
    }
}

.dropdown-menu a {
    padding: 0.8rem 1.5rem;
    color: #ccc;
    font-size: 0.9rem;
    text-transform: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s;
    white-space: normal;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: rgba(0, 240, 255, 0.1);
    color: var(--accent-cyan);
    padding-left: 1.8rem;
}

/* Mobile Menu Defaults */
.hamburger,
.mobile-menu-close,
.mobile-only {
    display: none;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding-top: 100px;
    padding-bottom: 50px;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        background: none;
        border: none;
        color: #fff;
        font-size: 2rem;
        cursor: pointer;
        margin-left: 1rem;
        position: relative;
        z-index: 2100;
        /* Ensure above everything */
    }

    .desktop-only {
        display: none !important;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #02040A;
        /* Solid background */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 2000;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links.active~.hamburger {
        display: none;
    }

    .mobile-menu-close {
        display: block;
        position: absolute;
        top: 2rem;
        right: 2rem;
        background: none;
        border: none;
        color: #fff;
        font-size: 3rem;
        cursor: pointer;
    }

    .mobile-only {
        display: block;
    }

    /* Adjust dropdown for mobile */
    /* Adjust dropdown for mobile */
    .nav-item.dropdown-active .dropdown-menu {
        display: flex;
        position: static;
        background: transparent;
        border: none;
        box-shadow: none;
        text-align: center;
        padding: 1rem 0;
    }

    .dropdown-toggle {
        display: inline-block;
        padding: 0 10px;
        font-size: 1.2rem;
        cursor: pointer;
        color: var(--accent-cyan);
    }

    .dropdown-menu a {
        color: #aaa;
        padding: 0.5rem;
    }
}

.bg-columns {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    gap: 2rem;
    z-index: -1;
    opacity: 0.1;
    pointer-events: none;
}

.col {
    width: 100px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #00F0FF, transparent);
}

.clearance-text {
    font-size: 1.1rem;
    letter-spacing: 4px;
    color: var(--accent-cyan);
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 600;
}

.main-title {
    font-family: var(--font-header);
    display: flex;
    flex-direction: column;
    line-height: 0.9;
    margin-bottom: 2rem;
}

.line-1 {
    font-size: 6rem;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 5px;
}

.line-2 {
    font-size: 6rem;
    font-weight: 900;
    background: linear-gradient(to bottom, #e0e0e0, #7f8c8d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-transform: uppercase;
    letter-spacing: 5px;
}

.line-3 {
    font-size: 7rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 2px var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 5px;
    text-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
    animation: glowPulse 3s infinite alternate;
}

@keyframes glowPulse {
    0% {
        text-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
        opacity: 0.8;
    }

    100% {
        text-shadow: 0 0 50px rgba(0, 240, 255, 0.8), 0 0 10px rgba(0, 240, 255, 0.5);
        opacity: 1;
    }
}

.hero-tagline {
    max-width: 600px;
    color: #fff;
    font-size: 1.4rem;
    line-height: 1.6;
    margin: 0 auto 3rem auto;
}

.entry-content p {
    color: #fff;
    line-height: 1.6;
    font-size: 1.3rem;
    margin: 0 0 1.25rem 0; /* avoid auto-centering */
    max-width: 65ch;       /* nice reading width */
}

/* WP content typography baseline */
.entry-content {
    color: #fff;
    font-size: 1.15rem;
    line-height: 1.7;
}

/* Headings in WP content */
.entry-content h1,
.entry-content h2,
.entry-content h3 {
    font-family: var(--font-header);
    line-height: 1.15;
    margin: 2.0rem 0 1.0rem;
}

/* Paragraphs + lists */
.entry-content p {
    margin: 0 0 1.25rem 0;
    max-width: 65ch;
}

.entry-content ul,
.entry-content ol {
    margin: 0 0 1.25rem 1.25rem;
    max-width: 65ch;
}

.entry-content li {
    margin: 0.4rem 0;
}


/* Hero Character Grid */
.hero-character-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    width: 100%;
    max-width: 1500px;
    margin-top: 2rem;
    padding: 0 20px;
}

.char-slot {
    height: 500px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.char-slot:hover {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--accent-cyan);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.2);
}

.char-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.char-slot:hover .char-img {
    opacity: 1;
}

/* Dossier Section */
.dossier-section {
    padding: 6rem 4rem;
    background: linear-gradient(to bottom, var(--bg-color), #050814);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 6rem;
}

.book-display {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.book-frame {
    padding: 10px;
    border: 1px solid var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
    transform: perspective(1000px) rotateY(-15deg);
    transition: transform 0.3s ease;
}

.book-frame:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.book-cover {
    width: 300px;
    display: block;
}

.dossier-content {
    flex: 1;
    text-align: left;
}

.transmission-label {
    background: rgba(0, 240, 255, 0.1);
    color: var(--accent-cyan);
    padding: 0.4rem 0.8rem;
    display: inline-block;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border-left: 2px solid var(--accent-cyan);
}

.dossier-content h2 {
    font-family: var(--font-header);
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.dossier-content h2 .highlight {
    color: var(--accent-cyan);
}

.description {
    color: #fff;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 500px;
    font-size: 1.3rem;
}

.entry-content p, .entry-content ul, .entry-content ol {
    color: #fff;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-size: 1.3rem;
}

.cta-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.primary-btn {
    padding: 1rem 2rem;
    border: 1px solid var(--accent-cyan);
    color: var(--accent-purple);
    text-decoration: none;
    font-family: var(--font-header);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.primary-btn:hover {
    background: var(--accent-cyan);
    color: #000;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
}

.verify-text {
    font-size: 1rem;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.4;
    display: block;
    max-width: 300px;
}

.stats-grid {
    display: flex;
    gap: 4rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: var(--font-header);
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 0.2rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--accent-cyan);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        flex-direction: column;
        text-align: center;
        gap: 4rem;
    }

    .book-display {
        justify-content: center;
    }

    .dossier-content {
        text-align: center;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .cta-group {
        justify-content: center;
        flex-direction: column;
    }

    .stats-grid {
        justify-content: center;
    }

    .line-1,
    .line-2 {
        font-size: 4rem;
    }

    .line-3 {
        font-size: 5rem;
    }

    .hero-character-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 2rem;
    }

    .line-1,
    .line-2 {
        font-size: 3rem;
    }

    .line-3 {
        font-size: 3.5rem;
    }

    .hero-character-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding-bottom: 1rem;
        /* Space for scrolling */
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
        margin-right: -2rem;
        /* Pull to edge */
        padding-right: 2rem;
    }

    .hero-character-grid::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari */
    }

    .char-slot {
        flex: 0 0 75%;
        /* Medium size */
        scroll-snap-align: center;
        min-width: 0;
        height: auto;
        aspect-ratio: 2/3;
    }

    .char-img {
        height: 100%;
        object-fit: cover;
        /* Fill the aspect ratio */
    }
}

/* Carousel Navigation */
/* Carousel Navigation */
.carousel-next-btn,
.carousel-prev-btn {
    display: none;
    /* Hidden on desktop */
}

@media (max-width: 768px) {
    .carousel-wrapper {
        position: relative;
        width: 100%;
        padding: 0 1rem;
    }

    .carousel-next-btn,
    .carousel-prev-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0, 0, 0, 0.6);
        border: 1px solid var(--accent-cyan);
        color: var(--accent-cyan);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 20;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
        transition: all 10s ease;
    }

    .carousel-next-btn {
        right: 0;
    }

    .carousel-prev-btn {
        left: 0;
    }

    .carousel-next-btn:hover,
    .carousel-prev-btn:hover {
        background: var(--accent-cyan);
        color: #000;
    }

    .hero-character-grid {
        position: relative;
        padding: 0;
        margin-right: 0;
        padding-right: 2rem;
    }
}

/* Character Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: rgba(2, 4, 10, 0.95);
    border: 1px solid var(--accent-cyan);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
    padding: 1.5rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 4px;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: #888;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
    font-family: var(--font-header);
    z-index: 10;
}

.modal-close:hover {
    color: var(--accent-cyan);
}

.modal-body {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.modal-img-container {
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 5px;
}

.modal-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
}

.modal-info {
    flex: 1;
    text-align: left;
}

.modal-title {
    font-family: var(--font-header);
    color: var(--accent-cyan);
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.modal-desc {
    color: #ccc;
    line-height: 1.6;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 0;
        width: 85%;
        max-width: 340px;
        /* Force a small card look */
        max-height: 70vh;
        /* Don't fill the scren verticaly */
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        margin: auto;
    }

    /* Create a sticky header area for the close button */
    .modal-close {
        position: sticky;
        top: 0;
        right: 0;
        margin-left: auto;
        background: inherit;
        width: 100%;
        text-align: right;
        padding: 0.5rem 0.8rem;
        z-index: 20;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: block;
        font-size: 1.5rem;
        line-height: 1;
    }

    /* Content wrapper for padding */
    .modal-body {
        padding: 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .modal-img-container {
        max-width: 120px;
        /* Significantly smaller image */
        margin: 0 auto 1rem auto;
    }

    .modal-title {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }

    .modal-desc {
        font-size: 0.85rem;
    }

    .modal-info {
        text-align: center;
    }

    .modal-btn {
        width: 100%;
        text-align: center;
        margin-top: 1rem;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

.modal-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    font-family: var(--font-header);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.modal-btn:hover {
    background: var(--accent-cyan);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

/* Video Background Section */
.video-bg-section {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    color: #fff;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.video-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

/* Animation Classes */
.fade-in-section {
    opacity: 0;
    transform: translateY(60px);
    /* Increased float distance */
    transition: opacity 1s ease-out, transform 1s ease-out;
    /* Slower, smoother */
    will-change: opacity, transform;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

/* Specific Interactive Elements */
.blog-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.blog-date {
    display: block;
    color: #aaa;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.blog-title {
    color: var(--accent-cyan);
    font-family: var(--font-header);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.blog-excerpt {
    color: #eee;
    line-height: 1.6;
    font-size: 1.1rem;
}

.blog-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.15);
    border-color: var(--accent-cyan) !important;
}

.author-img-container:hover {
    transform: scale(1.02);
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.4) !important;
}

/* Footer */
.site-footer {
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 4rem 2rem;
    font-size: 1.1rem;
    color: #ccc;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff;
    letter-spacing: 2px;
}

.footer-logo span {
    color: var(--accent-cyan);
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

.copyright {
    margin-top: 2rem;
    font-size: 1rem;
    color: #aaa;
    text-align: center;
    width: 100%;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        padding-top: 1rem;
    }
}

/* Start Guide Section */
.start-guide-container {
    margin-bottom: 4rem;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.start-guide-subtitle {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.start-guide-text {
    color: #fff;
    margin-bottom: 2rem;
    font-size: 1.4rem;
}

.character-stories-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.character-story-item {
    color: #fff;
    line-height: 1.6;
    font-size: 1.4rem;
}

.character-name-highlight {
    color: var(--accent-purple);
}

.start-guide-section-container {
    display: block;
}

.start-guide-heading {
    font-family: var(--font-header);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}



/* Feature Sections Refactor */
.section-centered {
    display: block;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-header);
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.section-text-large {
    color: var(--text-color);
    font-size: 1.6rem;
    line-height: 1.6;
}

.features-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 800px;
    margin: 0 auto;
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: start;
    font-size: 1.4rem;
    color: var(--text-color);
}

.feature-icon {
    color: var(--accent-cyan);
    font-weight: bold;
    font-size: 1.3rem;
}

.novel-preview-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 8px;
    display: flex;
    gap: 2rem;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.novel-info {
    flex: 1;
    min-width: 300px;
}

.novel-link {
    color: var(--accent-cyan);
    text-decoration: underline;
    font-weight: bold;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.novel-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.novel-point-item {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1.2rem;
}

.author-container {
    display: flex;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.author-text {
    flex: 1;
    min-width: 300px;
}

/* Light Mode Support */
body.light-mode {
    --bg-color: #f0f2f5;
    --text-color: #2c3e50;
    --card-bg: #ffffff;
    --card-border: rgba(0, 0, 0, 0.1);
    /* Darker cyan for readability on white background */
    --accent-cyan: #0088AA;
}

body.light-mode .navbar {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .logo {
    color: #333;
}

body.light-mode .nav-links a {
    color: #555;
}

body.light-mode .nav-links a:hover,
body.light-mode .nav-links a.active {
    color: var(--accent-blue);
}

/* Ensure Hero Section Remains Dark */
body.light-mode .hero-section {
    background-color: #02040A !important;
    /* Explicitly force dark background */
    color: #fff !important;
    /* Reset text color for hero */
    --accent-cyan: #00F0FF;
    /* Ensure cyan accent stays cyan in hero */
}

/* Light Mode Specific Overrides */
body.light-mode .dossier-section {
    background: var(--bg-color);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .description,
body.light-mode .character-story-item,
body.light-mode .start-guide-text,
body.light-mode .blog-excerpt,
body.light-mode .dossier-content p,
body.light-mode .dossier-content li,
body.light-mode .verify-text {
    color: #000000 !important;
}

body.light-mode .blog-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

body.light-mode .blog-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

body.light-mode .blog-date {
    color: #000000;
}

body.light-mode .modal-content {
    background: #fff;
    border: 1px solid var(--accent-blue);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
}

body.light-mode .modal-desc {
    color: #444;
}

body.light-mode .modal-close {
    color: #555;
}

body.light-mode .site-footer {
    background: #e0e0e0;
    color: #444;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .footer-logo {
    color: #333;
}

body.light-mode .footer-links a {
    color: #000000;
}

body.light-mode .copyright {
    color: #000000;
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--accent-cyan);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    margin-right: 1.5rem;
    transition: all 0.3s;
}

.theme-toggle:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

body.light-mode .theme-toggle {
    border-color: rgba(0, 0, 0, 0.2);
    color: var(--accent-blue);
}

body.light-mode .theme-toggle:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Light Mode Buttons */
body.light-mode .primary-btn {
    color: var(--text-color);
    border-color: var(--accent-cyan);
}

body.light-mode .primary-btn:hover {
    background: var(--accent-cyan);
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 136, 170, 0.4);
}

/* Video Section Light Mode Override */
body.light-mode .video-bg-section,
body.light-mode .video-bg-section .section-title,
body.light-mode .video-bg-section .section-text-large {
    color: #fff !important;
}

body.light-mode .modal-btn {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
}

body.light-mode .modal-btn:hover {
    background: var(--accent-cyan);
    color: #fff;
}

/* Light Mode Headings (Strictly Black) */
body.light-mode h1:not(.main-title),
body.light-mode h2,
body.light-mode h3,
body.light-mode .section-title,
body.light-mode .modal-title,
body.light-mode .blog-title,
body.light-mode .novel-point-item,
body.light-mode .novel-points li,
body.light-mode .novel-points em,
body.light-mode .novel-info p {
    color: #000000 !important;
}

/* Ensure Hero Text stays white even if some generic rule targets it */
body.light-mode .hero-section h1,
body.light-mode .hero-section h2,
body.light-mode .hero-section .main-title,
body.light-mode .hero-section .line-1,
body.light-mode .hero-section .line-2,
body.light-mode .hero-section .line-3 {
    color: #fff !important;
}

body.light-mode .hero-section .line-3 {
    color: transparent !important;
    /* Preserve stroke effect */
}

@keyframes glowPulse {
    0% {
        text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
    }

    50% {
        text-shadow: 0 0 20px rgba(0, 240, 255, 0.9), 0 0 30px rgba(0, 240, 255, 0.7);
    }

    100% {
        text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
    }
}

.header-search {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-search input {
  background: var(--accent-purple);
  color: var(--bg-color); /* dark text reads better on light purple */
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 14px;
  font-family: var(--font-body);
}

.header-search input::placeholder {
  color: rgba(2, 4, 10, 0.6); /* softened bg-color */
}

.header-search input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 2px rgba(0, 240, 255, 0.35);
}

.header-search button {
  background: transparent;
  color: #ff4d4d; /* matches your red link accent */
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.header-search button:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .header-search {
    display: none;
  }
}

/* Header search - match menu purple vibe */
.navbar .header-search .search-field{
  background: rgba(181, 140, 255, 0.18); /* tint of #b58cff */
  border: 1px solid var(--accent-purple);
  color: var(--text-color);
}

.navbar .header-search .search-field::placeholder{
  color: rgba(224, 224, 224, 0.7);
}

.navbar .header-search .search-submit{
  color: var(--accent-purple);
}

/* Search results: force a single vertical column */
body.search-results .dossier-section .container{
  display: block !important;
}

body.search-results .dossier-section .blog-card{
  width: 100% !important;
  max-width: 900px;
  margin: 0 auto 2rem !important;
}

blockquote {
  margin-top: 0.5em;
  margin-bottom: 1em;
}

blockquote p {
  margin-top: 0;
}

.entry-content p {
  margin: 0 0 1em 0;
}

.entry-content .wp-block-quote {
  margin-top: 0.25em;   /* tighter connection to the intro line */
  margin-bottom: 1em;
  margin-left: 0;       /* remove default indent if you want */
  margin-right: 0;
}

.entry-content .wp-block-quote p {
  margin: 0;
}
