/* ==========================================
   IL SONNO DI NEWTON - COSMIC SPACE THEME  
   Different from dystopian - more cosmic/ethereal
   ========================================== */

:root {
    /* Cosmic Color Palette */
    --cosmic-void: #0d0221;
    --deep-space: #1a0b2e;
    --nebula-purple: #7209b7;
    --star-blue: #3a86ff;
    --galaxy-pink: #f72585;
    --moon-white: #f8f9fa;
    --meteor-orange: #ff9e00;

    /* Text colors */
    --text-bright: #ffffff;
    --text-dim: #c8b6e2;
    --text-faded: #8e7cc3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--cosmic-void);
    color: var(--text-bright);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ==========================================
   COSMIC BACKGROUND LAYERS
   ========================================== */

.stars-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(2px 2px at 10% 20%, white, transparent),
        radial-gradient(1px 1px at 90% 80%, white, transparent),
        radial-gradient(2px 2px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 30% 60%, white, transparent),
        radial-gradient(2px 2px at 70% 30%, white, transparent),
        radial-gradient(1px 1px at 20% 90%, white, transparent),
        radial-gradient(1px 1px at 85% 15%, white, transparent);
    background-size: 300% 300%;
    animation: starfield 20s linear infinite;
    z-index: 0;
    opacity: 0.8;
}

@keyframes starfield {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 100% 100%;
    }
}

.nebula-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(114, 9, 183, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(58, 134, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(247, 37, 133, 0.1) 0%, transparent 60%);
    z-index: 0;
    animation: nebula-drift 30s ease-in-out infinite;
}

@keyframes nebula-drift {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.2) rotate(5deg);
        opacity: 0.6;
    }
}

.scan-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to bottom, transparent, var(--star-blue), transparent);
    z-index: 100;
    animation: vertical-scan 6s linear infinite;
    opacity: 0.3;
    pointer-events: none;
}

@keyframes vertical-scan {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(100vh);
    }
}

/* ==========================================
   NAVIGATION
   ========================================== */

.space-nav {
    display: none;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.cosmic-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 5rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, var(--cosmic-void) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    animation: fadeInUp 1.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

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

.mission-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.5rem;
    background: rgba(58, 134, 255, 0.2);
    border: 2px solid var(--star-blue);
    border-radius: 50px;
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    letter-spacing: 3px;
    color: var(--star-blue);
    margin-bottom: 2rem;
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {

    0%,
    100% {
        box-shadow: 0 0 10px var(--star-blue);
    }

    50% {
        box-shadow: 0 0 30px var(--star-blue);
    }
}

.story-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: 8px;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--star-blue), var(--nebula-purple), var(--galaxy-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 60px rgba(58, 134, 255, 0.5);
}

.story-tagline {
    font-size: 1.5rem;
    color: var(--text-dim);
    font-style: italic;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--star-blue);
}

.stat-item i {
    font-size: 2.5rem;
}

.stat-item span {
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-hint {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-faded);
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

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

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

/* ==========================================
   STORY FLOW
   ========================================== */

.story-flow {
    position: relative;
    z-index: 10;
}

.chapter-block {
    margin: 8rem 0;
    padding: 4rem 2rem;
}

/* Split Layout */
.split-layout {
    max-width: 1400px;
    margin: 8rem auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split-layout.reverse {
    direction: rtl;
}

.split-layout.reverse>* {
    direction: ltr;
}

.chapter-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(114, 9, 183, 0.4);
    box-shadow:
        0 10px 40px rgba(114, 9, 183, 0.3),
        0 0 60px rgba(58, 134, 255, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.chapter-image:hover {
    border-color: rgba(114, 9, 183, 0.6);
    box-shadow:
        0 15px 50px rgba(114, 9, 183, 0.5),
        0 0 80px rgba(58, 134, 255, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.chapter-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

.chapter-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 40%, rgba(13, 2, 33, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}

.chapter-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: var(--star-blue);
    text-shadow: 0 0 30px var(--star-blue);
}

.chapter-overlay h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    letter-spacing: 4px;
    color: var(--text-bright);
}

.chapter-story {
    padding: 2.5rem;
    background: rgba(13, 2, 33, 0.3);
    border-radius: 20px;
    border: 1px solid rgba(114, 9, 183, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.chapter-story p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

.chapter-story strong {
    color: var(--star-blue);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(58, 134, 255, 0.3);
}

.chapter-story em {
    color: var(--nebula-purple);
    font-style: normal;
    text-shadow: 0 0 8px rgba(114, 9, 183, 0.3);
}

/* Centered Layout */
.centered-layout {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.centered-layout.dark {
    background: rgba(13, 2, 33, 0.6);
}

.space-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.space-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.chapter-content-center {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 4rem;
    background: rgba(26, 11, 46, 0.9);
    border: 2px solid rgba(114, 9, 183, 0.5);
    border-radius: 25px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(114, 9, 183, 0.4),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.chapter-content-center p {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

/* Full Screen Climax */
.full-screen.climax {
    min-height: 100vh;
    padding: 6rem 2rem;
}

.chapter-content-center.final {
    max-width: 1000px;
    padding: 5rem;
    border-color: var(--galaxy-pink);
    box-shadow: 0 0 60px rgba(247, 37, 133, 0.6);
}

/* ==========================================
   COMPONENT STYLES
   ========================================== */

.story-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-family: 'Space Mono', monospace;
    font-size: 0.95rem;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.story-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.story-badge.danger {
    background: rgba(247, 37, 133, 0.25);
    border: 2px solid var(--galaxy-pink);
    color: var(--galaxy-pink);
    box-shadow:
        0 4px 15px rgba(247, 37, 133, 0.3),
        0 0 20px rgba(247, 37, 133, 0.2);
}

.story-badge.mystery {
    background: rgba(114, 9, 183, 0.25);
    border: 2px solid var(--nebula-purple);
    color: var(--nebula-purple);
    box-shadow:
        0 4px 15px rgba(114, 9, 183, 0.3),
        0 0 20px rgba(114, 9, 183, 0.2);
}

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

.crisis-item {
    padding: 1.2rem;
    background: rgba(247, 37, 133, 0.1);
    border: 2px solid var(--galaxy-pink);
    border-radius: 10px;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    color: var(--galaxy-pink);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.crisis-item i {
    font-size: 1.5rem;
}

.ai-display {
    background: rgba(58, 134, 255, 0.15);
    border-left: 4px solid var(--star-blue);
    padding: 1.5rem;
    margin: 2rem 0;
    font-family: 'Space Mono', monospace;
    color: var(--star-blue);
    border-radius: 8px;
}

.ai-display i {
    margin-right: 1rem;
}

.highlight {
    font-size: 1.2rem;
    color: var(--text-bright);
    font-weight: 500;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.15), rgba(114, 9, 183, 0.1));
    border-left: 4px solid var(--star-blue);
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow:
        0 4px 15px rgba(58, 134, 255, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.timeline-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    background: rgba(114, 9, 183, 0.2);
    border: 2px solid var(--nebula-purple);
    border-radius: 50px;
    font-family: 'Space Mono', monospace;
    color: var(--nebula-purple);
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.chapter-header-inline {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(114, 9, 183, 0.3);
}

.chapter-header-inline .num {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--star-blue);
    text-shadow: 0 0 25px var(--star-blue);
}

.chapter-header-inline h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    letter-spacing: 4px;
    color: var(--text-bright);
}

.warning-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.warning-chip {
    padding: 0.8rem 1.5rem;
    background: rgba(247, 37, 133, 0.2);
    border: 2px solid var(--galaxy-pink);
    border-radius: 50px;
    color: var(--galaxy-pink);
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.character-intro {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(58, 134, 255, 0.1);
    border: 2px solid var(--star-blue);
    border-radius: 12px;
    margin: 2rem 0;
}

.character-intro i {
    font-size: 3rem;
    color: var(--star-blue);
}

.character-intro h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.character-intro p {
    color: var(--text-dim);
    font-size: 1.1rem;
    margin: 0;
}

.character-intro.susan {
    border-color: var(--nebula-purple);
}

.character-intro.susan i {
    color: var(--nebula-purple);
}

.disease-text {
    color: var(--galaxy-pink);
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 3px;
    text-shadow: 0 0 20px var(--galaxy-pink);
}

.countdown-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem;
    margin: 2rem 0;
}

.countdown-num {
    font-family: 'Orbitron', sans-serif;
    font-size: 6rem;
    font-weight: 900;
    color: var(--star-blue);
    text-shadow: 0 0 50px var(--star-blue);
}

.countdown-label {
    font-family: 'Space Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-faded);
    font-size: 1.2rem;
}

.medical-warning {
    background: rgba(255, 158, 0, 0.15);
    border: 2px solid var(--meteor-orange);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.medical-warning i {
    font-size: 2.5rem;
    color: var(--meteor-orange);
}

.medical-warning p {
    color: var(--meteor-orange);
    margin: 0;
}

.theory-box {
    background: rgba(114, 9, 183, 0.15);
    border: 2px solid var(--nebula-purple);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.theory-box i {
    font-size: 2rem;
    color: var(--nebula-purple);
    margin-bottom: 1rem;
}

.theory-box h4 {
    font-family: 'Orbitron', sans-serif;
    color: var(--nebula-purple);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.theory-box ul {
    list-style: none;
    padding: 0;
}

.theory-box li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-dim);
}

.theory-box li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--nebula-purple);
}

.vision-progression {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 3rem;
    background: rgba(58, 134, 255, 0.1);
    border-radius: 12px;
    margin: 2rem 0;
}

.vision-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1.5rem;
    background: rgba(58, 134, 255, 0.2);
    border: 2px solid var(--star-blue);
    border-radius: 10px;
    color: var(--star-blue);
}

.vision-step i {
    font-size: 2.5rem;
}

.vision-step span {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.arrow {
    font-size: 2rem;
    color: var(--star-blue);
}

.important-line {
    font-size: 1.4rem;
    color: var(--text-bright);
    font-weight: 500;
    padding: 1.5rem;
    background: rgba(114, 9, 183, 0.15);
    border-left: 4px solid var(--nebula-purple);
    border-radius: 8px;
    margin: 2rem 0;
}

.warning-sequence {
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(255, 158, 0, 0.1);
    border-radius: 12px;
}

.warning-line {
    padding: 1.2rem;
    margin-bottom: 1rem;
    background: rgba(255, 158, 0, 0.15);
    border-left: 4px solid var(--meteor-orange);
    color: var(--meteor-orange);
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 6px;
}

.warning-line i {
    font-size: 1.5rem;
}

.emphasis-text {
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--star-blue);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin: 3rem 0;
    text-shadow: 0 0 30px var(--star-blue);
}

.urgent-message {
    background: rgba(247, 37, 133, 0.2);
    border: 3px solid var(--galaxy-pink);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.urgent-message i {
    font-size: 2.5rem;
    color: var(--galaxy-pink);
}

.urgent-message p {
    color: var(--galaxy-pink);
    margin: 0;
    font-size: 1.2rem;
}

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

.sensation {
    padding: 1.5rem;
    background: rgba(247, 37, 133, 0.15);
    border: 2px solid var(--galaxy-pink);
    border-radius: 10px;
    text-align: center;
    color: var(--galaxy-pink);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.sensation i {
    font-size: 2rem;
}

.revelation {
    text-align: center;
    font-size: 1.6rem;
    color: var(--nebula-purple);
    font-style: italic;
    margin: 3rem 0;
    text-shadow: 0 0 20px var(--nebula-purple);
}

.mountain-vision {
    text-align: center;
    padding: 4rem;
    background: linear-gradient(to bottom, rgba(58, 134, 255, 0.2), rgba(114, 9, 183, 0.2));
    border: 3px solid var(--star-blue);
    border-radius: 20px;
    margin: 3rem 0;
}

.mountain-vision i {
    font-size: 5rem;
    color: var(--star-blue);
    display: block;
    margin-bottom: 2rem;
    animation: float-icon 3s ease-in-out infinite;
}

@keyframes float-icon {

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

    50% {
        transform: translateY(-15px);
    }
}

.mountain-vision p {
    font-size: 1.3rem;
    color: var(--text-bright);
    margin: 1rem 0;
    font-style: italic;
}

.final-words {
    background: rgba(114, 9, 183, 0.2);
    border: 3px solid var(--nebula-purple);
    border-radius: 15px;
    padding: 3rem;
    margin: 3rem 0;
    text-align: center;
}

.final-words i {
    font-size: 3.5rem;
    color: var(--nebula-purple);
    margin-bottom: 1.5rem;
}

.dialogue {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

.quote {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--nebula-purple);
    text-shadow: 0 0 30px var(--nebula-purple);
    letter-spacing: 2px;
}

.epilogue-box {
    background: rgba(247, 37, 133, 0.15);
    border: 3px solid var(--galaxy-pink);
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
}

.epilogue-box i {
    font-size: 4rem;
    color: var(--galaxy-pink);
    margin-bottom: 1.5rem;
}

.epilogue-box p {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    color: var(--text-bright);
    line-height: 1.8;
    font-style: italic;
    margin: 0;
}

/* ==========================================
   FOOTER - Using universal footer.css
   ========================================== */

/* Footer styles removed - see ../footer.css */

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 1200px) {
    .split-layout {
        gap: 3rem;
        padding: 0 2rem;
    }

    .story-title {
        font-size: 4rem;
    }
}

@media (max-width: 992px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .split-layout.reverse {
        direction: ltr;
    }

    .chapter-image img {
        height: 400px;
    }

    .story-title {
        font-size: 3rem;
        letter-spacing: 4px;
    }

    .hero-stats {
        gap: 2rem;
    }

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

@media (max-width: 768px) {
    .cosmic-hero {
        padding-top: 6rem;
        min-height: 500px;
    }

    .space-nav {
        padding: 1rem 1.5rem;
    }

    .nav-title {
        font-size: 0.9rem;
    }

    .story-title {
        font-size: 1.8rem;
        letter-spacing: 2px;
        margin-bottom: 1rem;
    }

    .story-tagline {
        font-size: 0.9rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .mission-badge {
        font-size: 0.7rem;
        padding: 0.5rem 1rem;
        margin-bottom: 1.5rem;
        letter-spacing: 1.5px;
    }

    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
        padding: 0 1rem;
    }

    .stat-item i {
        font-size: 1.5rem;
    }

    .stat-item span {
        font-size: 0.75rem;
    }

    .chapter-block {
        padding: 2rem 1rem;
        margin: 1.5rem 0;
    }

    .chapter-story {
        padding: 1.5rem;
    }

    .chapter-story p {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 1.2rem;
    }

    .chapter-content-center {
        padding: 1.5rem 1.2rem;
    }

    .chapter-content-center p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .chapter-content-center.final {
        padding: 2rem 1.2rem;
    }

    .chapter-header-inline .num {
        font-size: 2rem;
    }

    .chapter-header-inline h2 {
        font-size: 1.1rem;
        letter-spacing: 1.5px;
    }

    .chapter-number {
        font-size: 2.5rem;
    }

    .chapter-overlay h2 {
        font-size: 1.3rem;
        letter-spacing: 2px;
    }

    .vision-progression {
        flex-direction: column;
        gap: 1rem;
    }

    .vision-step span {
        font-size: 0.85rem;
    }

    .arrow {
        transform: rotate(90deg);
    }

    .sensation-display {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .sensation {
        font-size: 0.85rem;
        padding: 0.8rem;
    }

    .chapter-image img {
        height: 300px;
    }

    .story-badge {
        font-size: 0.75rem;
        padding: 0.6rem 1rem;
    }

    .crisis-grid {
        gap: 0.8rem;
        grid-template-columns: 1fr;
    }

    .crisis-item {
        font-size: 0.85rem;
        padding: 0.8rem;
    }

    .ai-display {
        font-size: 0.8rem;
        padding: 1rem;
    }

    blockquote {
        padding: 1.2rem;
        margin: 1.2rem 0;
        font-size: 0.9rem;
    }

    .scroll-hint {
        bottom: 2rem;
        font-size: 0.75rem;
    }

    .highlight {
        font-size: 0.95rem;
        padding: 1.2rem 1.5rem;
    }

    .warning-sequence .warning-line {
        font-size: 0.85rem;
        padding: 0.8rem;
    }

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

    .urgent-message {
        font-size: 0.85rem;
        padding: 1rem;
    }

    .mountain-vision {
        padding: 1.5rem;
        font-size: 0.9rem;
    }

    .mountain-vision i {
        font-size: 2.5rem;
    }

    .quote {
        font-size: 1.2rem;
        line-height: 1.6;
    }

    .epilogue-box {
        font-size: 0.85rem;
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    .cosmic-hero {
        padding-top: 5rem;
    }

    .story-title {
        font-size: 1.5rem;
        letter-spacing: 1.5px;
    }

    .story-tagline {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .mission-badge {
        font-size: 0.65rem;
        padding: 0.5rem 0.9rem;
        letter-spacing: 1.5px;
    }

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

    .stat-item i {
        font-size: 1.3rem;
    }

    .stat-item span {
        font-size: 0.7rem;
    }

    .chapter-image img {
        height: 220px;
    }

    .chapter-block {
        padding: 1.5rem 0.8rem;
    }

    .chapter-story {
        padding: 1.2rem;
    }

    .chapter-story p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .chapter-content-center {
        padding: 1.2rem 1rem;
    }

    .chapter-content-center p {
        font-size: 0.9rem;
    }

    .chapter-header-inline .num {
        font-size: 1.8rem;
    }

    .chapter-header-inline h2 {
        font-size: 1rem;
        letter-spacing: 1.2px;
    }

    .chapter-number {
        font-size: 2rem;
    }

    .chapter-overlay h2 {
        font-size: 1.1rem;
    }

    .countdown-num {
        font-size: 3rem;
    }

    .mountain-vision {
        padding: 1.2rem 1rem;
    }

    .mountain-vision i {
        font-size: 2.5rem;
    }

    .mountain-vision p {
        font-size: 0.85rem;
    }

    .quote {
        font-size: 1.1rem;
        line-height: 1.5;
    }

    .story-badge {
        font-size: 0.7rem;
        padding: 0.5rem 0.9rem;
    }

    .crisis-item {
        font-size: 0.8rem;
        padding: 0.7rem;
    }

    p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .highlight {
        font-size: 0.9rem;
        padding: 1rem 1.2rem;
    }

    .warning-line {
        font-size: 0.8rem;
        padding: 0.7rem;
    }

    .emphasis-text {
        font-size: 0.95rem;
    }

    .urgent-message p {
        font-size: 0.8rem;
    }

    .epilogue-box p {
        font-size: 0.8rem;
    }

    .revelation {
        font-size: 0.95rem;
    }
}