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

:root {
    /* Cinematic Southern Gothic Sunset Palette */
    --primary-bg: #1A0F0B;
    --secondary-bg: #2A1813;
    --burnt-orange: #8B2E1A;
    --deep-sunset: #C24A1D;
    --accent-gold: #E8A85C;
    --highlight-gold: #F4C27A;
    --accent-olive: #5E6B3C;
    --text-primary: #F5E6D3;
    --heading-color: #FFFFFF;
    --card-bg: #3B2318;
    --footer-bg: #140A07;

    /* Legacy mappings to new palette */
    --cover-dark: var(--primary-bg);
    --cover-deep-brown: var(--secondary-bg);
    --cover-warm-brown: var(--card-bg);
    --cover-slate: #24130F;
    
    --accent-bronze: var(--burnt-orange);
    --accent-amber: var(--highlight-gold);
    --accent-cream: var(--text-primary);
    --accent-terracotta: var(--deep-sunset);
    
    --earth-brown: var(--secondary-bg);
    --earth-taupe: var(--card-bg);
    --earth-sand: #8B6A4A;
    --earth-warm: #A06B46;
    
    --book-burgundy: var(--burnt-orange);
    --book-wine: var(--deep-sunset);
    --book-rust: var(--burnt-orange);
    
    --warm-white: var(--text-primary);
    --warm-beige: #E7D3B8;
    --warm-gray: #B79D80;
    --warm-cream: #F5E0C4;
    
    --primary-dark: var(--primary-bg);
    --primary-brown: var(--secondary-bg);
    --primary-accent: var(--accent-gold);
    --primary-warm: var(--deep-sunset);
    
    --storm-dark: var(--primary-bg);
    --storm-blue: var(--secondary-bg);
    --storm-gray: #24130F;
    --lightning-gold: var(--accent-gold);
    --lightning-yellow: var(--highlight-gold);
    --thunder-blue: var(--burnt-orange);
    --rain-silver: var(--warm-gray);
    --cloud-white: var(--warm-white);
    --shadow-black: #000000;

    /* Professional Accent Colors */
    --accent-blue: var(--accent-olive);
    --accent-gray: #3D2A1F;

    /* Base Colors */
    --pure-white: #ffffff;
    --off-white: var(--text-primary);
    --light-gray: #D8C4AA;
    --medium-gray: #B09378;
    --dark-gray: #3B291F;

    /* Typography */
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Inter', sans-serif;

    /* Spacing */
    --header-height: 80px;
    --section-padding: 100px 0;

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.6s ease;
    --transition-slow: 1s ease;

    /* Shadows */
    --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.4);
    --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.6);
    --shadow-heavy: 0 20px 60px rgba(0, 0, 0, 0.8);
    --storm-glow: 0 0 30px rgba(232, 168, 92, 0.4);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-secondary);
    background: radial-gradient(120% 160% at 10% 0%, #C24A1D 0%, #1A0F0B 45%, #140A07 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

/* Container Classes - Fixed Implementation */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    width: 100%;
    padding: 0 20px;
}

.container {
    width: 100%;
    padding: 30px 30px !important;

}

.navbar {
    margin-top: 20px !important;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #1A0F0B;
    background-image: radial-gradient(circle at center, #2A1813 0%, #1A0F0B 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    overflow: hidden;
    transition: opacity 0.9s ease, visibility 0.9s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.loading-logo h1 {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--highlight-gold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-shadow: 0 0 28px rgba(0, 0, 0, 0.95), 0 0 50px rgba(232, 168, 92, 0.35);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

.loading-bar {
    width: clamp(200px, 50vw, 300px);
    height: 4px;
    background: #2A1813;
    border-radius: 2px;
    margin: 2rem auto;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(to right, #E8A85C, #C24A1D);
    width: 0%;
    animation: loadingProgress 3s ease forwards;
    box-shadow: 0 0 15px rgba(232, 168, 92, 0.6);
}

.loading-text {
    color: #F5E6D3;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    letter-spacing: 0.12em;
    opacity: 0;
    animation: fadeInUp 1.2s ease 1.1s forwards;
}

/* Cinematic loading spinner */
.loading-spinner {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid rgba(139, 46, 26, 0.6);
    border-top-color: #E8A85C;
    border-right-color: #C24A1D;
    border-left-color: transparent;
    border-bottom-color: transparent;
    margin: 1.75rem auto 0;
    box-shadow: 0 0 15px rgba(232, 168, 92, 0.6);
    animation: spinnerSlow 4s linear infinite;
}

/* Subtle dust particles in preloader */
.loading-dust {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.loading-dust span {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(244, 194, 122, 0.25);
    box-shadow: 0 0 8px rgba(232, 168, 92, 0.4);
    opacity: 0;
    animation: dustFloat 9s linear infinite;
}

.loading-dust span:nth-child(1) {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.loading-dust span:nth-child(2) {
    top: 35%;
    right: 10%;
    animation-delay: 2s;
}

.loading-dust span:nth-child(3) {
    bottom: 25%;
    left: 30%;
    animation-delay: 4s;
}

.loading-dust span:nth-child(4) {
    bottom: 15%;
    right: 25%;
    animation-delay: 6s;
}

.loading-dust span:nth-child(5) {
    top: 10%;
    left: 50%;
    animation-delay: 1s;
}

.loading-dust span:nth-child(6) {
    bottom: 40%;
    right: 45%;
    animation-delay: 3s;
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    display: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
    box-shadow: 0 0 12px rgba(201, 169, 97, 0.9);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    opacity: 0.6;
}

/* Header - Fixed Navbar Styling */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(26, 15, 11, 0.9);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(232, 168, 92, 0.35);
    z-index: 1000;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.85);
}

.header.scrolled {
    background: rgba(20, 10, 7, 0.97);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.9);
    border-bottom-color: rgba(232, 168, 92, 0.5);
}

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

.nav-brand {
    display: flex;
    flex-direction: column;
    z-index: 1002;
}

.brand-text {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading-color);
    line-height: 1;
    margin-bottom: 2px;
}

.brand-subtitle {
    font-size: 0.75rem;
    color: var(--accent-gold);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1;
    text-shadow: 0 0 12px rgba(201, 169, 97, 0.5);
}

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

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    position: relative;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all var(--transition-fast);
    padding: 0.5rem 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-amber), var(--accent-terracotta));
    transition: width var(--transition-fast);
    box-shadow: 0 0 12px rgba(201, 169, 97, 0.6);
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--accent-gold);
    text-shadow: 0 0 14px rgba(0, 0, 0, 0.9);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    z-index: 1002;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--accent-gold);
    transition: all var(--transition-fast);
}

.nav-close {
    display: none;
    font-size: 2rem;
    color: var(--accent-gold);
    cursor: pointer;
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 1002;
}

/* Hero Section - Improved Responsive Layout */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: #000;
    overflow: hidden;
    padding-top: var(--header-height);
}

/* Video Background */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none;
    z-index: 1;
    pointer-events: none;
}

/* Image Background */
.hero-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    pointer-events: none;
}

/* Video Overlay for better text readability */
.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(26, 15, 11, 0.9) 28%,
        rgba(26, 15, 11, 0.55) 55%,
        rgba(26, 15, 11, 0.15) 80%,
        rgba(26, 15, 11, 0) 100%
    );
    z-index: 2;
    pointer-events: none;
}

/* Image Overlay for better text readability */
.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(245, 237, 224, 0.3) 0%, rgba(237, 229, 216, 0.2) 50%, rgba(232, 221, 208, 0.1) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Hero Content - Better Responsive Grid */
.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
    min-height: 70vh;
}

.hero-text {
    width: 100%;
}

.hero-subtitle {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    opacity: 0;
}

.subtitle-line {
    width: clamp(30px, 8vw, 50px);
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), var(--accent-amber), transparent);
    box-shadow: 0 0 12px rgba(201, 169, 97, 0.7);
}

.subtitle-text {
    color: #ffffff;
    font-size: clamp(0.8rem, 2vw, 1rem);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.2),
        0 0 15px rgba(255, 255, 255, 0.1);
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 1.5rem;
}

.title-word {
    display: block;
    position: relative;
    color: var(--heading-color);
    -webkit-text-stroke: 1px rgba(194, 74, 29, 0.65);
    text-stroke: 1px rgba(194, 74, 29, 0.65);
    text-shadow: 
        0 0 24px rgba(0, 0, 0, 0.9),
        0 0 60px rgba(0, 0, 0, 1);
    opacity: 0;
    transform: translateY(100px);
}

/* Glitch Effect */
.glitch-effect {
    position: relative;
}

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

.glitch-effect::before {
    animation: glitch-1 2s infinite;
    color: var(--burnt-orange);
    z-index: -1;
}

.glitch-effect::after {
    animation: glitch-2 2s infinite;
    color: var(--accent-gold);
    z-index: -2;
}

.hero-tagline {
    margin-bottom: 2rem;
    opacity: 0;
}

.tagline-text {
    font-family: var(--font-primary);
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: #ffffff;
    font-style: italic;
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.2),
        0 0 15px rgba(255, 255, 255, 0.1);
}

/* Typewriter Effect */
.typewriter-text {
    border-right: 2px solid rgba(255, 255, 255, 0.4);
    animation: typewriter 3s steps(22) 1s forwards, blink 1s infinite;
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 3rem;
    opacity: 0;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.hero-stats {
    display: flex;
    gap: clamp(1rem, 4vw, 2rem);
    margin-bottom: 3rem;
    opacity: 0;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 100px;
}

.stat-number {
    display: block;
    font-family: var(--font-primary);
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    font-weight: 700;
    color: var(--lightning-gold);
    line-height: 1;
    text-shadow: 0 0 12px rgba(201, 169, 97, 0.6);
}

.stat-label {
    font-size: clamp(0.7rem, 1.5vw, 0.85rem);
    color: var(--medium-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    opacity: 0;
    flex-wrap: wrap;
}

/* Hero Visual - Better Responsive Layout */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}

.book-container {
    position: relative;
    opacity: 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Survivor Silhouette */
.survivor-silhouette {
    position: absolute;
    top: clamp(-60px, -8vw, -80px);
    left: clamp(-30px, -4vw, -40px);
    z-index: 1;
    opacity: 0.6;
}

.silhouette-figure {
    width: clamp(45px, 6vw, 60px);
    height: clamp(120px, 16vw, 160px);
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.6) 70%,
            transparent 100%);
    clip-path: polygon(40% 0%, 60% 0%, 65% 15%, 70% 25%,
            75% 35%, 80% 50%, 75% 65%, 70% 80%,
            60% 90%, 55% 100%, 45% 100%, 40% 90%,
            30% 80%, 25% 65%, 20% 50%, 25% 35%,
            30% 25%, 35% 15%);
    animation: silhouette-sway 4s ease-in-out infinite;
}

.silhouette-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle,
            rgba(201, 169, 97, 0.3) 0%,
            transparent 70%);
    animation: glow-pulse 3s ease-in-out infinite;
}

/* 3D Book Scene - Improved Responsive */
.book-3d-scene {
    position: relative;
    perspective: 1000px;
}

.book-3d {
    position: relative;
    width: clamp(200px, 25vw, 320px);
    height: clamp(260px, 32vw, 420px);
    transform-style: preserve-3d;
    transition: transform var(--transition-medium);
    cursor: pointer;
}

.book-3d:hover {
    transform: rotateY(-15deg) rotateX(5deg) scale(1.05);
}

.book-cover {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--storm-blue);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 35px rgba(201, 169, 97, 0.3);
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-lightning-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
            transparent 0%,
            rgba(201, 169, 97, 0.2) 50%,
            transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.book-3d:hover .book-lightning-overlay {
    opacity: 1;
}

.book-spine {
    position: absolute;
    right: -20px;
    top: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(to right, var(--storm-gray), var(--storm-blue));
    transform: rotateY(90deg);
    transform-origin: left;
}

.book-back {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--storm-gray);
    transform: translateZ(-20px);
    border-radius: 8px;
}

.book-storm-aura {
    position: absolute;
    top: clamp(-30px, -4vw, -40px);
    left: clamp(-30px, -4vw, -40px);
    right: clamp(-30px, -4vw, -40px);
    bottom: clamp(-30px, -4vw, -40px);
    background: radial-gradient(circle,
            rgba(139, 90, 90, 0.2) 0%,
            transparent 70%);
    border-radius: 20px;
    opacity: 0;
    transition: opacity var(--transition-medium);
    animation: storm-aura 4s ease-in-out infinite;
}

/* Storm Elements */
.storm-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.storm-element {
    position: absolute;
    color: var(--lightning-gold);
    font-size: clamp(1rem, 2vw, 1.2rem);
    opacity: 0.4;
    animation: storm-float 6s ease-in-out infinite;
}

.thunder-icon {
    top: 15%;
    left: -8%;
    animation-delay: 0s;
}

.wind-icon {
    top: 55%;
    right: -8%;
    animation-delay: 2s;
}

.cloud-icon {
    bottom: 15%;
    left: 8%;
    animation-delay: 4s;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--medium-gray);
    opacity: 0;
    animation: bounce 2s infinite;
    z-index: 10;
}

.scroll-text {
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.scroll-arrow {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--lightning-gold);
}

/* Audio Controls */
.audio-controls {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 10;
}

.audio-btn {
    width: clamp(40px, 6vw, 50px);
    height: clamp(40px, 6vw, 50px);
    background: rgba(201, 169, 97, 0.2);
    border: 1px solid var(--lightning-gold);
    border-radius: 50%;
    color: var(--lightning-gold);
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    cursor: pointer;
    transition: all var(--transition-fast);
    backdrop-filter: blur(10px);
}

.audio-btn:hover {
    background: var(--lightning-gold);
    color: var(--storm-dark);
    transform: scale(1.1);
}

/* Buttons - Improved Responsive */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: clamp(0.8rem, 2vw, 1rem) clamp(1.5rem, 3vw, 2rem);
    border: none;
    border-radius: 50px;
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: clamp(0.9rem, 2vw, 1rem);
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    transition: all var(--transition-fast);
    z-index: 1;
    min-width: 120px;
    justify-content: center;
}

.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.6s ease;
    z-index: -1;
}

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

.btn-primary {
    background: var(--accent-gold);
    color: var(--primary-bg);
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.9), 0 0 38px rgba(232, 168, 92, 0.5);
    font-weight: 700;
    border: 1px solid rgba(201, 169, 97, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 32px rgba(0, 0, 0, 1), 0 0 46px rgba(194, 74, 29, 0.7);
    background: var(--deep-sunset);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
    box-shadow: 0 0 22px rgba(201, 169, 97, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.25), rgba(212, 165, 116, 0.25));
    color: var(--accent-gold);
    border-color: var(--accent-amber);
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(201, 169, 97, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--warm-white);
    border: 2px solid rgba(201, 169, 97, 0.6);
    box-shadow: 0 0 18px rgba(201, 169, 97, 0.2);
}

.btn-outline:hover {
    background: rgba(201, 169, 97, 0.15);
    color: var(--accent-gold);
    border-color: var(--accent-gold);
    box-shadow: 0 0 28px rgba(201, 169, 97, 0.4);
}

/* Storm Buttons */
.storm-btn {
    position: relative;
    overflow: hidden;
}

.btn-lightning {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(201, 169, 97, 0.5),
            rgba(212, 165, 116, 0.4),
            transparent);
    transition: left 0.6s ease;
    box-shadow: 0 0 25px rgba(201, 169, 97, 0.6);
}

.storm-btn:hover .btn-lightning {
    left: 100%;
}

/* Section Styles - Improved Responsive */
.section {
    padding: clamp(60px, 10vw, 100px) 0;
    position: relative;
    width: 100%;
    background: var(--primary-bg);
}

.section:nth-child(even) {
    background: var(--secondary-bg);
    position: relative;
}

.section:nth-child(even)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 97, 0.4), rgba(212, 165, 116, 0.3), transparent);
}

.section-header {
    text-align: center;
    margin-bottom: clamp(3rem, 8vw, 5rem);
}

.section-subtitle {
    display: block;
    color: var(--accent-gold);
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    text-shadow: 0 0 18px rgba(201, 169, 97, 0.5);
}

.section-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 2rem;
    line-height: 1.2;
    text-shadow: 0 0 28px rgba(0, 0, 0, 0.9);
    background: none;
    -webkit-background-clip: border-box;
    -webkit-text-fill-color: var(--heading-color);
    background-clip: border-box;
}

.section-line {
    width: clamp(60px, 15vw, 100px);
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), var(--highlight-gold), var(--accent-gold), transparent);
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 0 18px rgba(232, 168, 92, 0.7);
}

.about .section-line {
    background: linear-gradient(90deg, transparent, var(--accent-olive), transparent);
    box-shadow: 0 0 16px rgba(94, 107, 60, 0.7);
}

/* About Section - Improved Responsive */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 3rem);
    align-items: center;
    /* gap: 20px !important; */
    padding: 80px 100px !important;
    width: 100%;
}

.about-image {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container {
    position: relative;
    border-radius: 20px;
    overflow: visible;
    transform: perspective(1000px) rotateY(-3deg);
    transition: transform var(--transition-medium);
    width: 100%;
    max-width: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15), 0 0 30px rgba(201, 169, 97, 0.2);
}

.image-container:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.03);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 0 40px rgba(201, 169, 97, 0.3);
}

.author-img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    display: block;
    border-radius: 20px;
    transition: transform var(--transition-medium);
}

/* .image-container img {
    object-fit: cover !important;
    background-repeat: no-repeat !important;
    overflow: hidden !important;
    padding-top: 30px !important;
     padding-bottom: 30px !important;
} */

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-medium);
    border-radius: 20px;
    pointer-events: none;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(139, 90, 90, 0.25), rgba(201, 169, 97, 0.25));
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.image-container:hover .image-overlay {
    opacity: 1;
}

.image-frame {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 3px solid rgba(201, 169, 97, 0.4);
    border-radius: 25px;
    opacity: 0.6;
    transition: opacity var(--transition-medium);
    pointer-events: none;
}

.image-container:hover .image-frame {
    opacity: 0.8;
    border-color: rgba(201, 169, 97, 0.6);
}

.floating-quotes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.quote-item {
    position: absolute;
    background: rgba(20, 10, 7, 0.95);
    color: var(--text-primary);
    padding: 1rem;
    border-radius: 10px;
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    max-width: clamp(150px, 25vw, 200px);
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-fast);
    border: 1px solid var(--lightning-gold);
}

.quote-item:nth-child(1) {
    top: 20%;
    right: clamp(-40px, -5vw, -50px);
}

.quote-item:nth-child(2) {
    bottom: 30%;
    left: clamp(-40px, -5vw, -50px);
}

.image-container:hover .quote-item {
    opacity: 1;
    transform: translateY(0);
}

.about-text {
    width: 100%;
}

.about-name {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 5vw, 2.5rem);
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.about-role {
    margin-bottom: 2rem;
}

.role-text {
    color: var(--lightning-gold);
    font-size: clamp(1rem, 2vw, 1.1rem);
    font-weight: 500;
    letter-spacing: 1px;
}

.about-description {
    margin-bottom: 3rem;
}

.description-text {
    color: var(--text-primary);
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-achievements {
    margin-bottom: 3rem;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(59, 35, 24, 0.96);
    border-radius: 15px;
    border-left: 4px solid var(--accent-olive);
    transition: all var(--transition-fast);
}

.achievement-item:hover {
    background: rgba(139, 90, 90, 0.25);
    transform: translateX(10px);
}

.achievement-icon {
    width: clamp(50px, 8vw, 60px);
    height: clamp(50px, 8vw, 60px);
    background: linear-gradient(45deg, var(--thunder-blue), var(--lightning-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: var(--storm-dark);
    flex-shrink: 0;
}

.achievement-text h4 {
    color: var(--pure-white);
    font-size: clamp(1.1rem, 2vw, 1.2rem);
    margin-bottom: 0.5rem;
}

.achievement-text p {
    color: var(--medium-gray);
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

.signature {
    text-align: center;
}

.signature-img {
    max-width: clamp(150px, 25vw, 200px);
    height: auto;
    opacity: 0.8;
}

/* Books Section - Improved Responsive */
.books-content {
    width: 100%;
}

.book-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 3rem);
    align-items: center;
    width: 100%;
}

/* About Author & Book section backgrounds */
.section.about {
    background: var(--secondary-bg);
}

.section.books {
    background: linear-gradient(135deg, var(--burnt-orange) 0%, var(--primary-bg) 60%, #140A07 100%);
}

.books .section-title,
.book-title {
    color: var(--highlight-gold);
    -webkit-text-fill-color: var(--highlight-gold);
}

.book-subtitle {
    color: var(--accent-gold);
}

.book-description p {
    color: var(--text-primary);
}

.book-display {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.book-3d-container {
    position: relative;
    perspective: 1000px;
}

.book-3d-wrapper {
    position: relative;
    width: clamp(250px, 30vw, 350px);
    height: clamp(320px, 38vw, 450px);
    transform-style: preserve-3d;
    transition: transform var(--transition-medium);
    cursor: pointer;
}

.book-3d-wrapper:hover {
    transform: rotateY(-20deg) rotateX(5deg) scale(1.05);
}

.book-front {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--storm-blue);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--storm-glow);
}

.book-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-spine-3d {
    position: absolute;
    right: -25px;
    top: 0;
    width: 25px;
    height: 100%;
    background: linear-gradient(to right, var(--storm-gray), var(--storm-blue));
    transform: rotateY(90deg);
    transform-origin: left;
}

.book-back-3d {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--storm-gray);
    transform: translateZ(-25px);
    border-radius: 10px;
}

.book-glow-effect {
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.3) 0%, transparent 70%);
    border-radius: 20px;
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.book-3d-wrapper:hover+.book-glow-effect {
    opacity: 1;
}

.book-info {
    width: 100%;
}

.book-badge {
    display: inline-block;
    background: linear-gradient(45deg, var(--thunder-blue), var(--lightning-gold));
    color: var(--storm-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.book-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 5vw, 3rem);
    color: #2c2416;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    text-shadow: 1px 1px 5px rgba(201, 169, 97, 0.2);
    background: linear-gradient(135deg, #2c2416 0%, #4a3a28 50%, #6b5d4f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.book-subtitle {
    font-family: var(--font-primary);
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: var(--accent-gold);
    font-style: italic;
    margin-bottom: 2rem;
    text-shadow: 0 0 18px rgba(201, 169, 97, 0.6);
}

.book-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stars {
    color: var(--accent-gold);
    font-size: clamp(1rem, 2vw, 1.2rem);
    text-shadow: 0 0 12px rgba(201, 169, 97, 0.6);
    filter: drop-shadow(0 0 6px rgba(201, 169, 97, 0.4));
}

.rating-text {
    color: var(--medium-gray);
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

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

.book-description p {
    color: var(--light-gray);
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.8;
}

.book-details {
    margin-bottom: 3rem;
}

.detail-item {
    display: flex;
    margin-bottom: 0.5rem;
}

.detail-label {
    font-weight: 600;
    color: var(--lightning-gold);
    min-width: clamp(80px, 15vw, 100px);
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

.detail-value {
    color: var(--light-gray);
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

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

/* Journey Section - Improved Responsive */
.journey-timeline {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--thunder-blue), var(--lightning-gold));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(50px);
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: right;
    margin-left: auto;
    margin-right: 0;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 2rem;
    width: 20px;
    height: 20px;
    background: var(--lightning-gold);
    border: 4px solid var(--storm-dark);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.marker-inner {
    width: 100%;
    height: 100%;
    background: var(--lightning-gold);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.timeline-content {
    width: 45%;
    background: rgba(139, 90, 90, 0.15);
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: 15px;
    border: 1px solid rgba(139, 90, 90, 0.3);
    backdrop-filter: blur(10px);
    transition: all var(--transition-fast);
}

.timeline-content:hover {
    background: rgba(139, 90, 90, 0.25);
    transform: translateY(-5px);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
}

.timeline-date {
    font-family: var(--font-primary);
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: var(--lightning-gold);
    font-weight: 700;
    margin-bottom: 1rem;
}

.timeline-title {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: var(--pure-white);
    margin-bottom: 1rem;
}

.timeline-text {
    color: var(--light-gray);
    line-height: 1.8;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

/* Art Gallery Section - Improved Responsive */
.gallery-slider {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.gallery-track {
    display: flex;
    transition: transform var(--transition-medium);
}

.gallery-card {
    min-width: 100%;
    padding: clamp(0.8rem, 2vw, 1.2rem);
    background: linear-gradient(135deg, #ffffff 0%, #faf7f2 50%, #f5ede0 100%);
    border-radius: 15px;
    border: 2px solid rgba(201, 169, 97, 0.3);
    backdrop-filter: blur(10px);
    text-align: center;
    opacity: 0.7;
    transform: scale(0.95);
    transition: all var(--transition-medium);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08), 0 0 20px rgba(201, 169, 97, 0.12);
}

.gallery-card.active {
    opacity: 1;
    transform: scale(1);
    border-color: rgba(201, 169, 97, 0.5);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 0 30px rgba(201, 169, 97, 0.2);
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    height: clamp(280px, 35vw, 380px);
    border-radius: 12px;
    overflow: hidden;
    background: #f5ede0;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform var(--transition-medium);
}

.gallery-card.active .gallery-image {
    transform: scale(1.01);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-medium);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.gallery-icon {
    font-size: clamp(2rem, 4vw, 3rem);
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Testimonials Section - Improved Responsive */
.testimonials-slider {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-track {
    display: flex;
    transition: transform var(--transition-medium);
}

.testimonial-card {
    min-width: 100%;
    padding: clamp(2rem, 5vw, 3rem);
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid rgba(232, 168, 92, 0.4);
    backdrop-filter: blur(10px);
    text-align: center;
    opacity: 0.8;
    transform: scale(0.95);
    transition: all var(--transition-medium);
    box-shadow: 0 14px 46px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 0, 0, 0.8);
}

.testimonial-card.active {
    opacity: 1;
    transform: scale(1);
    border-color: rgba(244, 194, 122, 0.8);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 1), 0 0 55px rgba(232, 168, 92, 0.35);
}

.testimonial-quote {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--highlight-gold);
    margin-bottom: 2rem;
    text-shadow: 0 0 20px rgba(0, 0, 0, 1);
}

.testimonial-text {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.9);
}

.testimonial-rating {
    color: var(--highlight-gold);
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 2rem;
    text-shadow: 0 0 12px rgba(201, 169, 97, 0.6);
    filter: drop-shadow(0 0 6px rgba(201, 169, 97, 0.4));
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.author-avatar {
    width: clamp(50px, 8vw, 60px);
    height: clamp(50px, 8vw, 60px);
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--lightning-gold);
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    color: var(--heading-color);
    font-size: clamp(1rem, 2vw, 1.1rem);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-role {
    color: var(--medium-gray);
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
}

.gallery-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.gallery-btn {
    width: clamp(40px, 6vw, 50px);
    height: clamp(40px, 6vw, 50px);
    background: rgba(201, 169, 97, 0.25);
    border: 1px solid var(--accent-gold);
    border-radius: 50%;
    color: var(--accent-gold);
    font-size: clamp(1rem, 2vw, 1.2rem);
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 0 18px rgba(201, 169, 97, 0.3);
}

.gallery-btn:hover {
    background: var(--accent-gold);
    color: var(--cover-dark);
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(201, 169, 97, 0.7);
}

.gallery-dots {
    display: flex;
    gap: 1rem;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(201, 169, 97, 0.3);
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 0 10px rgba(201, 169, 97, 0.2);
}

.gallery-dot.active {
    background: var(--accent-gold);
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(201, 169, 97, 0.6);
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.testimonial-btn {
    width: clamp(40px, 6vw, 50px);
    height: clamp(40px, 6vw, 50px);
    background: rgba(201, 169, 97, 0.25);
    border: 1px solid var(--accent-gold);
    border-radius: 50%;
    color: var(--accent-gold);
    font-size: clamp(1rem, 2vw, 1.2rem);
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 0 18px rgba(201, 169, 97, 0.3);
}

.testimonial-btn:hover {
    background: var(--accent-gold);
    color: var(--cover-dark);
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(201, 169, 97, 0.7);
}

.testimonial-dots {
    display: flex;
    gap: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(201, 169, 97, 0.3);
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 0 10px rgba(201, 169, 97, 0.2);
}

.dot.active {
    background: var(--accent-gold);
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(201, 169, 97, 0.6);
}

/* Contact Section - Improved Responsive */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 3rem);
    align-items: start;
    width: 100%;
}

.section.contact {
    background: var(--primary-bg);
}

.section.art-gallery {
    background: linear-gradient(135deg, var(--deep-sunset) 0%, var(--burnt-orange) 55%, var(--primary-bg) 100%);
}

.contact-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: #2c2416;
    text-shadow: 1px 1px 5px rgba(201, 169, 97, 0.2);
    margin-bottom: 1.5rem;
}

.contact-description {
    color: var(--text-primary);
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.8;
    text-shadow: none;
    margin-bottom: 3rem;
}

.contact-details {
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(59, 35, 24, 0.95);
    border-radius: 15px;
    transition: all var(--transition-fast);
    border: 1px solid rgba(94, 107, 60, 0.6);
}

.contact-item:hover {
    background: rgba(201, 169, 97, 0.25);
    transform: translateX(10px);
    box-shadow: 0 0 22px rgba(201, 169, 97, 0.3);
}

.contact-icon {
    width: clamp(50px, 8vw, 60px);
    height: clamp(50px, 8vw, 60px);
    background: linear-gradient(135deg, var(--burnt-orange), var(--deep-sunset));
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: var(--heading-color);
    flex-shrink: 0;
}

.contact-text-info h4 {
    color: var(--heading-color);
    font-size: clamp(1.1rem, 2vw, 1.2rem);
    margin-bottom: 0.5rem;
    text-shadow: none;
}

.contact-text-info p {
    color: var(--text-primary);
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

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

.social-link {
    width: clamp(40px, 6vw, 50px);
    height: clamp(40px, 6vw, 50px);
    background: rgba(201, 169, 97, 0.25);
    border: 1px solid var(--accent-gold);
    border-radius: 50%;
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: clamp(1rem, 2vw, 1.2rem);
    transition: all var(--transition-fast);
    box-shadow: 0 0 18px rgba(201, 169, 97, 0.3);
}

.social-link:hover {
    background: var(--accent-gold);
    color: var(--cover-dark);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 0 30px rgba(201, 169, 97, 0.7);
}

/* Contact Form - Improved Responsive */
.contact-form-container {
    background: linear-gradient(135deg, #2A1813 0%, #1A0F0B 60%, #140A07 100%);
    padding: clamp(2rem, 4vw, 3rem);
    border-radius: 20px;
    border: 1px solid rgba(94, 107, 60, 0.7);
    backdrop-filter: blur(10px);
    width: 100%;
    box-shadow: 0 14px 46px rgba(0, 0, 0, 1), 0 0 40px rgba(0, 0, 0, 0.9);
}

.contact-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-input {
    width: 100%;
    padding: clamp(1rem, 2vw, 1.2rem);
    background: #2A1813;
    border: 1px solid rgba(94, 107, 60, 0.7);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-secondary);
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    transition: all var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: #2A1813;
    box-shadow: 0 0 26px rgba(232, 168, 92, 0.5), 0 0 40px rgba(0, 0, 0, 0.9);
}

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

.form-textarea {
    resize: vertical;
    min-height: clamp(100px, 15vw, 120px);
}

.form-label {
    position: absolute;
    top: clamp(1rem, 2vw, 1.2rem);
    left: clamp(1rem, 2vw, 1.2rem);
    color: var(--medium-gray);
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    pointer-events: none;
    transition: all var(--transition-fast);
}

.form-input:focus+.form-label,
.form-input:not(:placeholder-shown)+.form-label {
    top: -0.5rem;
    left: 1rem;
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    color: var(--lightning-gold);
    background: var(--storm-dark);
    padding: 0 0.5rem;
}

.form-submit {
    width: 100%;
    margin-top: 1rem;
}

/* Footer - Improved Responsive */
.footer {
    background: var(--footer-bg);
    border-top: 2px solid rgba(232, 168, 92, 0.4);
    padding: clamp(3rem, 6vw, 4rem) 0 2rem;
    width: 100%;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.1);
}

.footer-content {
    width: 100%;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    margin-bottom: 3rem;
}

.footer-brand {
    width: 100%;
}

.footer-title {
    font-family: var(--font-primary);
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

.footer-subtitle {
    color: var(--accent-gold);
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 12px rgba(201, 169, 97, 0.5);
}

.footer-description {
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

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

.footer-social-link {
    width: clamp(40px, 6vw, 45px);
    height: clamp(40px, 6vw, 45px);
    background: rgba(201, 169, 97, 0.25);
    border: 1px solid var(--accent-gold);
    border-radius: 50%;
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all var(--transition-fast);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    box-shadow: 0 0 18px rgba(201, 169, 97, 0.3);
}

.footer-social-link:hover {
    background: var(--accent-gold);
    color: var(--cover-dark);
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(201, 169, 97, 0.7);
}

.footer-newsletter {
    text-align: left;
    width: 100%;
}

.footer-column-title {
    color: var(--pure-white);
    font-size: clamp(1.1rem, 2vw, 1.2rem);
    margin-bottom: 1.5rem;
}

.newsletter-text {
    color: var(--light-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

.newsletter-form {
    width: 100%;
}

.newsletter-input-group {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    padding: clamp(0.7rem, 1.5vw, 0.8rem);
    background: rgba(26, 15, 11, 0.85);
    border: 1px solid rgba(94, 107, 60, 0.7);
    border-radius: 8px;
    color: var(--pure-white);
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
}

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

.newsletter-btn {
    padding: clamp(0.7rem, 1.5vw, 0.8rem) clamp(0.8rem, 1.8vw, 1rem);
    background: linear-gradient(45deg, var(--burnt-orange), var(--accent-gold));
    border: none;
    border-radius: 8px;
    color: var(--storm-dark);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(232, 168, 92, 0.25);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: var(--medium-gray);
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
}

.footer-legal {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.legal-link {
    color: var(--medium-gray);
    text-decoration: none;
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    transition: color var(--transition-fast);
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes loadingProgress {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

@keyframes spinnerSlow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes dustFloat {
    0% {
        transform: translate3d(0, 10px, 0);
        opacity: 0;
    }
    10% {
        opacity: 0.35;
    }
    50% {
        transform: translate3d(-8px, -18px, 0);
        opacity: 0.5;
    }
    90% {
        opacity: 0;
        transform: translate3d(4px, -30px, 0);
    }
    100% {
        opacity: 0;
    }
}

@keyframes lightning-strike {

    0%,
    90%,
    100% {
        opacity: 0;
        transform: scaleY(0);
    }

    5%,
    10% {
        opacity: 1;
        transform: scaleY(1);
    }
}

@keyframes cloud-drift {
    from {
        transform: translateX(-100px);
    }

    to {
        transform: translateX(calc(100vw + 100px));
    }
}

@keyframes rain-fall {
    from {
        transform: translateY(-100vh);
        opacity: 1;
    }

    to {
        transform: translateY(100vh);
        opacity: 0;
    }
}

@keyframes glitch-1 {

    0%,
    100% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }
}

@keyframes glitch-2 {

    0%,
    100% {
        transform: translate(0);
    }

    20% {
        transform: translate(2px, -2px);
    }

    40% {
        transform: translate(2px, 2px);
    }

    60% {
        transform: translate(-2px, -2px);
    }

    80% {
        transform: translate(-2px, 2px);
    }
}

@keyframes typewriter {
    from {
        width: 0;
    }

    to {
        width: 22ch;
    }
}

@keyframes blink {

    0%,
    50% {
        border-color: var(--lightning-gold);
    }

    51%,
    100% {
        border-color: transparent;
    }
}

@keyframes silhouette-sway {

    0%,
    100% {
        transform: rotate(-2deg);
    }

    50% {
        transform: rotate(2deg);
    }
}

@keyframes glow-pulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.7;
    }
}

@keyframes storm-aura {

    0%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

@keyframes storm-float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Design - Mobile First Approach */
@media screen and (max-width: 1200px) {
    .container {
        padding: 0 15px;
    }

    .container-fluid {
        padding: 0 15px;
    }

    .hero-content,
    .about-content,
    .book-showcase,
    .contact-content {
        gap: 2rem;
    }

    .nav-list {
        gap: 1.5rem;
    }
}

@media screen and (max-width: 968px) {
    .custom-cursor {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(20, 10, 7, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right var(--transition-fast);
        z-index: 1001;
    }

    .nav-menu.show-menu {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-close {
        display: block;
    }

    .hero-content,
    .about-content,
    .book-showcase,
    .contact-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .about-content {
        padding: 2rem 0 !important;
    }

    .hero-text {
        order: 2;
    }

    .hero-visual {
        order: 1;
    }

    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
    }

    .hero-buttons {
        justify-content: center;
        gap: 1rem;
    }

    .timeline-line {
        left: 2rem;
    }

    .timeline-marker {
        left: 2rem;
    }

    .timeline-content {
        width: calc(100% - 4rem);
        margin-left: 4rem;
        text-align: left;
    }

    .timeline-item:nth-child(even) .timeline-content {
        text-align: left;
        margin-left: 4rem;
        margin-right: 0;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .achievement-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .quote-item {
        position: static;
        margin-bottom: 1rem;
        opacity: 1;
        transform: none;
    }

    .floating-quotes {
        position: static;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
    }

    .brand-text {
        font-size: 1.3rem;
    }

    .brand-subtitle {
        font-size: 0.7rem;
    }
}

@media screen and (max-width: 768px) {
    .container {
        padding: 0 10px;
    }

    .container-fluid {
        padding: 0 10px;
    }

    .section {
        padding: 60px 0;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .testimonial-controls,
    .gallery-controls {
        gap: 1rem;
    }
    
    .gallery-slider {
        max-width: 100%;
    }
    
    .gallery-image-wrapper {
        height: clamp(250px, 50vw, 350px);
    }
    
    .gallery-card {
        padding: clamp(0.6rem, 1.5vw, 1rem);
    }

    .book-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero,
    .hero-content,
    .hero-text,
    .hero-visual,
    .book-container,
    .book-3d-scene,
    .book-3d {
        max-width: 100%;
        overflow-x: clip;
    }

    .book-3d {
        width: min(72vw, 260px);
        height: auto;
        aspect-ratio: 320 / 420;
        transform: none !important;
    }

    .book-cover {
        position: relative;
        z-index: 2;
    }

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

    .book-spine,
    .book-back {
        display: none;
    }

    .typewriter-text {
        white-space: normal;
        width: auto;
        border-right: 0;
        animation: none;
        display: inline;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .social-links,
    .footer-social {
        justify-content: center;
    }

    .newsletter-input-group {
        flex-direction: column;
        gap: 1rem;
    }

    .newsletter-btn {
        width: 100%;
    }

    .brand-text {
        font-size: 1.2rem;
    }

    .brand-subtitle {
        font-size: 0.65rem;
    }
}

@media screen and (max-width: 576px) {
    .container {
        padding: 0 8px;
    }

    .container-fluid {
        padding: 0 8px;
    }

    .section {
        padding: 50px 0;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .contact-form-container {
        padding: 1.5rem;
    }

    .achievement-item {
        padding: 1rem;
    }

    .contact-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .hero-subtitle {
        justify-content: center;
        flex-wrap: wrap;
    }

    .subtitle-text {
        white-space: normal;
        text-align: center;
    }

    .book-storm-aura,
    .book-glow-effect {
        display: none;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .audio-controls {
        bottom: 1rem;
        right: 1rem;
    }

    .scroll-indicator {
        bottom: 1rem;
    }

    .brand-text {
        font-size: 1.1rem;
    }

    .brand-subtitle {
        font-size: 0.6rem;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 5px;
    }

    .container-fluid {
        padding: 0 5px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }

    .testimonial-author {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-legal {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .brand-text {
        font-size: 1rem;
    }

    .brand-subtitle {
        font-size: 0.55rem;
    }
}

@media screen and (max-width: 320px) {

    .container,
    .container-fluid {
        padding: 0 5px;
    }

    .section {
        padding: 40px 0;
    }

    .hero-content,
    .about-content,
    .book-showcase,
    .contact-content {
        gap: 1rem;
    }

    .testimonial-card,
    .contact-form-container,
    .achievement-item,
    .contact-item,
    .timeline-content {
        padding: 1rem;
    }
    
    .coming-soon-card {
        padding: clamp(2rem, 4vw, 2.5rem);
        margin: 0 1rem;
    }
    
    .coming-soon-icon {
        font-size: clamp(2.5rem, 5vw, 3rem);
    }
    
    .coming-soon-title {
        font-size: clamp(1.5rem, 3vw, 2rem);
    }
    
    .coming-soon-text {
        font-size: clamp(0.9rem, 1.8vw, 1rem);
    }

    .brand-text {
        font-size: 0.9rem;
    }

    .brand-subtitle {
        font-size: 0.5rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

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

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

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-1 {
    margin-top: 0.5rem;
}

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

.mt-3 {
    margin-top: 1.5rem;
}

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

.mt-5 {
    margin-top: 3rem;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

/* High DPI Display Support */
@media screen and (-webkit-min-device-pixel-ratio: 2),
screen and (min-resolution: 192dpi) {

    .book-cover img,
    .author-img,
    .author-avatar img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Responsive Video Background */
@media (max-width: 768px) {
    .hero-video-bg,
    .hero-image-bg {
        /* Ensure video/image covers properly on mobile */
        object-position: center;
    }
    
    .hero-video-overlay,
    .hero-image-overlay {
        /* Slightly darker overlay on mobile for better text readability */
        background: rgba(0, 0, 0, 0.4);
    }
}

/* Coming Soon Section */
.coming-soon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    padding: clamp(2rem, 5vw, 4rem) 0;
}

.coming-soon-card {
    background: linear-gradient(135deg, #ffffff 0%, #faf7f2 50%, #f5ede0 100%);
    border-radius: 20px;
    border: 2px solid rgba(201, 169, 97, 0.3);
    backdrop-filter: blur(10px);
    padding: clamp(3rem, 6vw, 4rem);
    text-align: center;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), 0 0 30px rgba(201, 169, 97, 0.15);
    transition: all var(--transition-medium);
}

.coming-soon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15), 0 0 40px rgba(201, 169, 97, 0.25);
    border-color: rgba(201, 169, 97, 0.5);
}

.coming-soon-icon {
    font-size: clamp(3rem, 6vw, 4rem);
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.coming-soon-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: #2c2416;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 5px rgba(201, 169, 97, 0.2);
}

.coming-soon-text {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: #4a3a28;
    line-height: 1.8;
    margin: 0;
}

/* Print Styles */
@media print {

    .custom-cursor,
    .loading-screen,
    .hero-video-bg,
    .hero-video-overlay,
    .nav-toggle,
    .storm-elements {
        display: none !important;
    }

    .hero,
    .section {
        page-break-inside: avoid;
    }

    body {
        background: white !important;
        color: black !important;
    }
}