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

:root {
    /* Color Palette */
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #707070;
    --accent-blue: #00ffff;
    --accent-magenta: #ff00ff;
    --accent-green: #00ff88;
    --accent-red: #ff4444;
    --border-color: #333333;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Orbitron', monospace;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 4rem 0;
    --grid-gap: 2rem;
}

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

/* Scan Lines Effect */
.scan-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 255, 0.02) 2px,
        rgba(0, 255, 255, 0.02) 4px
    );
    pointer-events: none;
    z-index: 1000;
    animation: scanlines 2s linear infinite;
}

@keyframes scanlines {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}

/* Glitch Overlay */
.glitch-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    pointer-events: none;
    z-index: 999;
    opacity: 0;
    animation: glitchOverlay 8s infinite;
}

@keyframes glitchOverlay {
    0%, 98%, 100% { opacity: 0; }
    99% { 
        opacity: 1;
        background: linear-gradient(45deg, rgba(255, 0, 255, 0.1), rgba(0, 255, 255, 0.1));
    }
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 900;
    padding: 1rem 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo-accent {
    color: var(--accent-blue);
    margin-left: 0.5rem;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.nav-link:hover {
    color: var(--accent-blue);
    text-shadow: 0 0 10px var(--accent-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width 0.3s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 0.75rem;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
}

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

.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

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

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 160px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    list-style: none;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dropdown-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.5s ease;
}

.dropdown-link:hover::before {
    left: 100%;
}

.dropdown-link:hover {
    color: var(--text-primary);
    background: rgba(0, 255, 255, 0.1);
    transform: translateX(5px);
}

.dropdown-link.instagram-link:hover {
    background: rgba(255, 0, 255, 0.1);
    color: var(--accent-magenta);
}

.dropdown-link.tiktok-link:hover {
    background: rgba(0, 255, 136, 0.1);
    color: var(--accent-green);
}

/* Dropdown arrow animation */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid var(--border-color);
}

.dropdown-menu::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 21px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid rgba(10, 10, 10, 0.95);
}

/* Main Content */
main {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23333" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-subtitle {
    display: block;
    font-size: 0.6em;
    color: var(--accent-magenta);
    margin-top: 0.5rem;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hologram-frame {
    position: relative;
    width: 300px;
    height: 400px;
    border: 2px solid var(--accent-blue);
    border-radius: 10px;
    background: rgba(0, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: hologramGlow 3s ease-in-out infinite alternate;
}

@keyframes hologramGlow {
    0% { 
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
        border-color: var(--accent-blue);
    }
    100% { 
        box-shadow: 0 0 40px rgba(0, 255, 255, 0.5);
        border-color: var(--accent-magenta);
    }
}

.placeholder-cover {
    width: 80%;
    height: 80%;
    background: linear-gradient(45deg, var(--bg-secondary), var(--bg-tertiary));
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--accent-green);
    text-align: center;
    font-size: 1.2rem;
}

.hero-cover-image {
    width: 80%;
    height: 80%;
    border-radius: 5px;
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.3));
    transition: all 0.3s ease;
}

.hero-cover-image:hover {
    filter: drop-shadow(0 0 30px rgba(0, 255, 255, 0.5));
    transform: scale(1.02);
}

/* Glitch Text Effect */
.glitch-text {
    position: relative;
    color: var(--text-primary);
    animation: glitch 2s infinite;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    animation: glitch-1 0.5s infinite;
    color: var(--accent-blue);
    z-index: -1;
}

.glitch-text::after {
    animation: glitch-2 0.5s infinite;
    color: var(--accent-magenta);
    z-index: -2;
}

@keyframes glitch {
    0%, 98%, 100% { transform: translate(0); }
    1% { transform: translate(-2px, 1px); }
    3% { transform: translate(2px, -1px); }
}

@keyframes glitch-1 {
    0%, 98%, 100% { transform: translate(0); }
    1% { transform: translate(2px, -1px); }
    3% { transform: translate(-1px, 2px); }
}

@keyframes glitch-2 {
    0%, 98%, 100% { transform: translate(0); }
    1% { transform: translate(-1px, 1px); }
    3% { transform: translate(1px, -2px); }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: 2px solid;
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: var(--font-primary);
    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.1), transparent);
    transition: left 0.5s ease;
}

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

.btn-primary {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.btn-primary:hover {
    background: var(--accent-blue);
    color: var(--bg-primary);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.btn-secondary {
    border-color: var(--accent-magenta);
    color: var(--accent-magenta);
}

.btn-secondary:hover {
    background: var(--accent-magenta);
    color: var(--bg-primary);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
}

.btn-outline {
    border-color: var(--border-color);
    color: var(--text-secondary);
}

.btn-outline:hover {
    border-color: var(--accent-green);
    color: var(--accent-green);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Sections */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Books Section */
.books-section {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

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

.book-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.book-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 255, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.book-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
}

.book-cover {
    height: 250px;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
}

.placeholder-book {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--accent-green);
    font-weight: 700;
}

.book-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.book-card:hover .book-cover-image {
    transform: scale(1.05);
    filter: drop-shadow(0 10px 25px rgba(0, 255, 255, 0.2));
}

.book-info {
    padding: 1.5rem;
}

.book-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent-blue);
}

.book-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

/* About Section */
.about-section {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

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

.about-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.terminal-window {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.1);
}

.terminal-header {
    background: var(--bg-secondary);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
}

.terminal-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.btn-close { background: var(--accent-red); }
.btn-minimize { background: #ffaa00; }
.btn-maximize { background: var(--accent-green); }

.terminal-title {
    font-family: var(--font-display);
    color: var(--accent-blue);
    font-size: 0.9rem;
}

.terminal-content {
    padding: 1.5rem;
    font-family: 'Courier New', monospace;
    background: var(--bg-primary);
}

.terminal-line {
    color: var(--accent-green);
    margin-bottom: 0.5rem;
    animation: typewriter 0.5s ease-in;
}

.terminal-cursor {
    color: var(--accent-green);
    animation: blink 1s infinite;
}

@keyframes typewriter {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Newsletter Section */
.newsletter-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    text-align: center;
}

.newsletter-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Dystopian Terminal Frame for Substack Embed */
.dystopian-frame {
    max-width: 500px;
    margin: 0 auto;
    background: var(--bg-secondary);
    border: 2px solid var(--accent-blue);
    border-radius: 8px;
    box-shadow: 
        0 0 20px rgba(0, 255, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dystopian-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 255, 0.03) 2px,
        rgba(0, 255, 255, 0.03) 4px
    );
    pointer-events: none;
    z-index: 1;
}

.dystopian-frame:hover {
    border-color: var(--accent-green);
    box-shadow: 
        0 0 30px rgba(0, 255, 136, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.dystopian-frame:hover::before {
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 136, 0.05) 2px,
        rgba(0, 255, 136, 0.05) 4px
    );
}

.embed-header {
    background: linear-gradient(90deg, var(--bg-primary), var(--bg-tertiary));
    padding: 0.5rem 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.embed-header .terminal-buttons {
    display: flex;
    gap: 0.5rem;
}

.embed-header .terminal-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}

.embed-header .btn-close {
    background: var(--accent-red);
    box-shadow: 0 0 6px rgba(255, 68, 68, 0.3);
}

.embed-header .btn-minimize {
    background: #ffaa00;
    box-shadow: 0 0 6px rgba(255, 170, 0, 0.3);
}

.embed-header .btn-maximize {
    background: var(--accent-green);
    box-shadow: 0 0 6px rgba(0, 255, 136, 0.3);
}

.embed-title {
    font-family: var(--font-display);
    font-size: 0.8rem;
    color: var(--accent-blue);
    text-shadow: 0 0 5px var(--accent-blue);
    letter-spacing: 1px;
    font-weight: 400;
}

.embed-container {
    background: var(--bg-secondary);
    position: relative;
    z-index: 2;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.embed-container iframe {
    background: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
}

/* Target Substack embed elements */
.embed-container iframe::deep .embed-page,
.embed-container iframe::deep .embed-page-inner {
    background: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
}

.embed-container iframe::deep .publication-name,
.embed-container iframe::deep .publication-name a,
.embed-container iframe::deep .publication-tagline,
.embed-container iframe::deep .publication-meta {
    color: var(--text-primary) !important;
}

/* Additional styling injection for iframe content */
.embed-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background: var(--bg-secondary);
    opacity: 0;
    z-index: -1;
}

.embed-container iframe {
    display: block;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

/* Add subtle glitch effect */
.dystopian-frame.glitch-active .embed-title {
    animation: text-glitch 0.3s ease-in-out;
}

@keyframes text-glitch {
    0%, 100% { 
        transform: translate(0);
        text-shadow: 0 0 5px var(--accent-blue);
    }
    25% { 
        transform: translate(-1px, 1px);
        text-shadow: 
            -2px 0 var(--accent-magenta),
            2px 0 var(--accent-blue);
    }
    75% { 
        transform: translate(1px, -1px);
        text-shadow: 
            2px 0 var(--accent-green),
            -2px 0 var(--accent-blue);
    }
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1rem;
}

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

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-tagline {
    color: var(--text-muted);
    font-style: italic;
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem;
    border: 1px solid transparent;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.5s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateX(5px);
    border-color: var(--accent-blue);
    background: rgba(0, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

.social-link.instagram:hover {
    border-color: var(--accent-magenta);
    background: rgba(255, 0, 255, 0.05);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.2);
}

.social-link.tiktok:hover {
    border-color: var(--accent-green);
    background: rgba(0, 255, 136, 0.05);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
}

.social-icon {
    font-size: 1.2rem;
    filter: grayscale(1);
    transition: filter 0.3s ease;
}

.social-link:hover .social-icon {
    filter: grayscale(0);
}

.social-text {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-column h4 {
    color: var(--accent-blue);
    margin-bottom: 1rem;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        right: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        box-sizing: border-box;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-toggle {
        display: flex;
        padding: 0.5rem 0.25rem;
        margin-right: 0;
        position: relative;
        z-index: 1001;
        flex-shrink: 0;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .nav-menu li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 1rem;
        display: block;
        width: 100%;
    }
    
    .nav {
        padding: 0 0.75rem;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }
    
    /* Mobile dropdown adjustments */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(26, 26, 26, 0.95);
        border: none;
        border-radius: 0;
        box-shadow: inset 0 1px 0 var(--border-color);
        padding: 0;
        margin-top: 0.5rem;
    }
    
    .dropdown-menu::before,
    .dropdown-menu::after {
        display: none;
    }
    
    .nav-dropdown .dropdown-menu {
        display: none;
    }
    
    .nav-dropdown.active .dropdown-menu {
        display: block;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .social-links {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .container {
        padding: 0 1rem;
    }
}

/* Teaser Section */
.teaser-section {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

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

.teaser-video {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    border: 2px solid var(--accent-blue);
    background: rgba(0, 255, 255, 0.05);
    animation: hologramGlow 3s ease-in-out infinite alternate;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.teaser-text {
    padding: 1rem;
}

.teaser-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.teaser-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

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

@media (max-width: 768px) {
    .teaser-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .teaser-actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 70vh;
    }
    
    .books-grid {
        grid-template-columns: 1fr;
    }
    
    .book-actions {
        flex-direction: column;
    }
    
    .teaser-title {
        font-size: 1.5rem;
    }
    
    .teaser-description {
        font-size: 1rem;
    }
    
    .teaser-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .teaser-actions .btn {
        width: 100%;
        max-width: 200px;
    }
}
