/* ===== FILTER OVERRIDE RESET ===== */
img, .portrait-core, .portrait-universe, .cosmic-center, 
.wormhole-portal, .portal-vortex, .portal-text {
    filter: none !important;
    -webkit-filter: none !important;
    mix-blend-mode: normal !important;
}

/* ===== ВСЕЛЕННАЯ ВЕРОНИКИ - STYLES ===== */

:root {
    --cosmic-purple: #a855f7;
    --cosmic-blue: #3b82f6;
    --cosmic-pink: #ec4899;
    --cosmic-gold: #fbbf24;
    --cosmic-red: #f43f5e;
    --deep-space: #0a0118;
}

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

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

body {
    font-family: 'Raleway', sans-serif;
    background: var(--deep-space);
    color: white;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

body.no-scroll { overflow: hidden; height: 100vh; }

/* ===== COSMIC CANVAS BACKGROUND ===== */
#cosmos-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
}

/* ===== MORPHING GRADIENT BLOBS ===== */
.blob-container {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: blobMorph 20s infinite ease-in-out;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--cosmic-purple), transparent);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--cosmic-blue), transparent);
    bottom: -150px;
    right: -150px;
    animation-delay: -7s;
}

.blob-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--cosmic-pink), transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes blobMorph {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -30px) scale(1.1); }
    50% { transform: translate(-30px, 50px) scale(0.9); }
    75% { transform: translate(30px, 30px) scale(1.05); }
}

/* ===== FLOATING RUNES ===== */
.floating-rune {
    position: fixed;
    font-size: 1.5rem;
    opacity: 0.15;
    pointer-events: none;
    animation: runeFloat 15s infinite ease-in-out;
    z-index: 1;
}

@keyframes runeFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.15; }
    50% { transform: translateY(-30px) rotate(180deg); opacity: 0.3; }
}

/* ===== CHROMATIC ABERRATION OVERLAY ===== */
.chromatic-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.3s;
    mix-blend-mode: normal;
}

/* ===== BLOOM OVERLAY ===== */
.bloom-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 99;
    background: radial-gradient(circle at 50% 50%, rgba(168,85,247,0.08), transparent 60%);
    mix-blend-mode: normal;
    filter: blur(40px);
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* ===== LANDING UNIVERSE ===== */
#landing {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity 1s, transform 1s;
}

#landing.hidden {
    opacity: 0;
    pointer-events: none;
}

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

/* ===== PORTRAIT UNIVERSE ===== */
.portrait-universe {
    position: relative;
    width: min(350px, 70vw);
    height: min(350px, 70vw);
    margin: 0 auto 2rem;
}

.portrait-orbit {
    position: absolute;
    inset: -30px;
    pointer-events: none;
}

.orbit-ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 50%;
    animation: orbitRotate 20s linear infinite;
}

.orbit-ring:nth-child(2) {
    inset: -15px;
    animation-duration: 25s;
    animation-direction: reverse;
}

.orbit-ring:nth-child(3) {
    inset: -30px;
    animation-duration: 30s;
}

@keyframes orbitRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.portrait-core {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 
        0 0 60px rgba(168, 85, 247, 0.4),
        0 0 120px rgba(59, 130, 246, 0.2),
        inset 0 0 60px rgba(0, 0, 0, 0.5);
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.08), transparent 60%);
}

.portrait-core img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none !important;
    -webkit-filter: none !important;
}

.portrait-core {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(168, 85, 247, 0.4),
                0 0 120px rgba(59, 130, 246, 0.2),
                inset 0 0 60px rgba(0, 0, 0, 0.5);
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.08), transparent 60%);
    filter: none !important;
    -webkit-filter: none !important;
}

.portrait-universe {
    position: relative;
    width: min(350px, 70vw);
    height: min(350px, 70vw);
    margin: 0 auto 2rem;
    filter: none !important;
    -webkit-filter: none !important;
}

/* ===== ORGANIC FLOATING PARTICLES ===== */
.energy-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.9) 0%, transparent 70%);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(251, 191, 36, 0.6), 0 0 16px rgba(251, 191, 36, 0.3);
    animation: organicFloat var(--duration) ease-in-out infinite;
    left: 50%;
    top: 50%;
    opacity: 0;
    pointer-events: none;
}

.energy-particle-gold {
    background: radial-gradient(circle, rgba(251, 191, 36, 0.9) 0%, transparent 70%);
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.7), 0 0 20px rgba(251, 191, 36, 0.4);
}

.energy-particle-white {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, transparent 70%);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6), 0 0 20px rgba(96, 165, 250, 0.3);
    width: 2px;
    height: 2px;
}

.energy-particle-blue {
    background: radial-gradient(circle, rgba(96, 165, 250, 0.9) 0%, transparent 70%);
    box-shadow: 0 0 10px rgba(96, 165, 250, 0.6), 0 0 20px rgba(168, 85, 247, 0.3);
    width: 2.5px;
    height: 2.5px;
}

@keyframes organicFloat {
    0% {
        transform: translate(-50%, -50%) translateX(var(--start-x)) translateY(var(--start-y)) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    25% {
        transform: translate(-50%, -50%) translateX(calc(var(--mid-x) + var(--drift-x))) translateY(calc(var(--mid-y) + var(--drift-y))) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) translateX(var(--end-x)) translateY(var(--end-y)) scale(0.6);
        opacity: 0.4;
    }
    75% {
        transform: translate(-50%, -50%) translateX(calc(var(--mid-x) - var(--drift-x))) translateY(calc(var(--mid-y) - var(--drift-y))) scale(0.8);
        opacity: 0.6;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translate(-50%, -50%) translateX(var(--start-x)) translateY(var(--start-y)) scale(0);
        opacity: 0;
    }
}

/* ===== COSMIC BUTTON ===== */
.cosmic-button {
    position: relative;
    margin: 2rem auto 0;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(59, 130, 246, 0.2));
    border: 1px solid rgba(168, 85, 247, 0.4);
    border-radius: 50px;
    color: white;
    font-family: 'Raleway', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    overflow: hidden;
    filter: none !important;
    -webkit-filter: none !important;
}

.cosmic-button:hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(59, 130, 246, 0.3));
    border-color: rgba(168, 85, 247, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.3);
}

.cosmic-button:active {
    transform: translateY(0);
}

.button-text {
    position: relative;
    z-index: 2;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.button-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(251, 191, 36, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.cosmic-button:hover .button-glow {
    opacity: 1;
}

/* ===== COSMIC TYPOGRAPHY ===== */
.constellation-name {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: 0.15em;
    background: linear-gradient(135deg, #fbbf24 0%, #a855f7 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 40px rgba(168, 85, 247, 0.5);
}

.cosmic-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.2em;
    margin-bottom: 3rem;
    font-style: italic;
}

.cosmic-subtitle-char {
    display: inline-block;
    opacity: 0;
    animation: charReveal 0.5s forwards;
    animation-delay: calc(var(--char-index) * 0.03s);
}

@keyframes charReveal {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== WORMHOLE PORTAL ===== */
.wormhole-portal {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
    cursor: pointer;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.wormhole-portal:hover {
    transform: scale(1.1);
}

.wormhole-portal:hover .portal-vortex {
    transform: translate(-50%, -50%) scale(1.05);
}

.portal-vortex {
    position: absolute;
    inset: -20px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    background: conic-gradient(from 0deg, #e879f9, #60a5fa, #f472b6, #fb923c, #e879f9);
    border-radius: 50%;
    animation: vortexSpin 4s linear infinite;
    filter: none;
    opacity: 0.9;
    box-shadow: 0 0 60px #e879f9, 0 0 120px #60a5fa, 0 0 180px #f472b6;
}

@keyframes vortexSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.portal-core {
    position: absolute;
    inset: 10px;
    background: radial-gradient(circle, #0a0118 0%, transparent 70%);
    border-radius: 50%;
    z-index: 2;
}

.portal-layer {
    position: absolute;
    inset: 10px;
    border: 2px solid rgba(168, 85, 247, 0.5);
    border-radius: 50%;
    animation: portalPulse var(--speed) ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes portalPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0; }
}

.portal-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    color: white;
    z-index: 3;
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.8);
}

/* ===== PORTAL WISPS ===== */
.wisp {
    position: absolute;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px white, 0 0 20px var(--cosmic-purple);
    animation: wispOrbit var(--d) linear infinite;
    left: 50%;
    top: 50%;
    margin-left: -3px;
    margin-top: -3px;
}

.wisp-gold {
    background: var(--cosmic-gold);
    box-shadow: 0 0 10px var(--cosmic-gold), 0 0 20px var(--cosmic-gold);
}

.wisp-white {
    background: white;
    box-shadow: 0 0 10px white, 0 0 20px var(--cosmic-blue);
}

@keyframes wispOrbit {
    from { transform: rotate(0deg) translateX(70px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(70px) rotate(-360deg); }
}

/* ===== SOUND CONTROL ===== */
#sound-control {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(168,85,247,0.25), rgba(10,1,24,0.7));
    backdrop-filter: blur(16px);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s;
    box-shadow: 0 4px 24px rgba(168,85,247,0.18);
}

#sound-control:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.5);
}

/* ===== REALM GALLERY ===== */
#realm-gallery {
    min-height: 100vh;
    padding: 10vh 5vw;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s;
}

#realm-gallery.active {
    opacity: 1;
    pointer-events: auto;
}

.galaxy-title {
    text-align: center;
    margin-bottom: 8vh;
}

.galaxy-title h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    letter-spacing: 0.2em;
    background: linear-gradient(135deg, #fbbf24 0%, #a855f7 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    animation: titlePulse 3s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.galaxy-title p {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.3em;
}

/* ===== REALM CARDS WITH 3D TILT ===== */
.realms-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
    gap: 5vw;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2vw;
}

.realm-card {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: 30px;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    color: white;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateX(0) rotateY(0);
    opacity: 0;
    transform: translateY(100px);
}

.realm-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.realm-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(168, 85, 247, 0.1) 0%,
        rgba(59, 130, 246, 0.1) 50%,
        rgba(236, 72, 153, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.6s;
    z-index: 1;
}

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

/* Dreamy Glow Expansion */
.realm-card::after {
    content: '';
    position: absolute;
    inset: -15px;
    border-radius: 40px;
    background: radial-gradient(circle, rgba(168,85,247,0.35), rgba(59,130,246,0.2) 50%, transparent 70%);
    opacity: 0;
    transform: scale(0.85);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    pointer-events: none;
}

.realm-card:hover::after {
    opacity: 1;
    transform: scale(1.08);
}

.realm-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s;
    filter: brightness(0.6);
}

.realm-card:hover .realm-bg {
    transform: scale(1.15);
    filter: brightness(0.95);
}

.realm-glow {
    position: absolute;
    inset: -2px;
    border-radius: 30px;
    background: linear-gradient(135deg, #a855f7, #3b82f6, #ec4899);
    opacity: 0;
    transition: opacity 0.6s;
    z-index: -1;
    filter: blur(20px);
}

.realm-card:hover .realm-glow {
    opacity: 0.8;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { filter: blur(20px); }
    50% { filter: blur(30px); }
}

.realm-content {
    position: relative;
    height: 100%;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 60%);
    z-index: 2;
    transform: translateZ(20px);
}

.realm-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px currentColor);
    animation: iconFloat 3s ease-in-out infinite;
    transition: transform 0.3s;
}

.realm-card:hover .realm-icon {
    animation-play-state: paused;
    transform: scale(1.2);
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

/* CARD SPECIFIC COLORS */
.realm-card:nth-child(1) .realm-icon { color: #fbbf24; }
.realm-card:nth-child(2) .realm-icon { color: #3b82f6; }
.realm-card:nth-child(3) .realm-icon { color: #ec4899; }
.realm-card:nth-child(4) .realm-icon { color: #a855f7; }
.realm-card:nth-child(5) .realm-icon { color: #f43f5e; }

.realm-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    transition: transform 0.6s, text-shadow 0.6s;
}

.realm-card:hover .realm-title {
    transform: translateY(-8px) translateZ(30px);
    text-shadow: 0 0 30px rgba(168, 85, 247, 0.8);
}

.realm-desc {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    opacity: 0.8;
    transition: opacity 0.6s;
    transform: translateZ(10px);
}

.realm-card:hover .realm-desc {
    opacity: 1;
}

/* ===== RIPPLE EFFECT ===== */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: rippleAnim 0.6s linear;
    pointer-events: none;
}

@keyframes rippleAnim {
    to { transform: scale(4); opacity: 0; }
}

/* ===== SCROLL HINT ===== */
.scroll-hint {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.6s;
    z-index: 100;
    pointer-events: none;
}

.scroll-hint.visible {
    opacity: 1;
}

.scroll-hint-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid rgba(255, 255, 255, 0.5);
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    transform: rotate(45deg);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(10px); }
}

/* ===== CURSOR TRAIL ===== */
.trail-particle {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    background: radial-gradient(circle, var(--cosmic-gold), transparent);
}

/* ===== SPARKLE PARTICLE ===== */
.sparkle {
    position: fixed;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    pointer-events: none;
    z-index: 50;
    box-shadow: 0 0 6px 2px rgba(255,255,255,0.7);
}

/* ===== STORY INTRO OVERLAY ===== */
.story-intro {
    position: fixed;
    inset: 0;
    z-index: 20;
    background: rgba(10, 1, 24, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
}

.story-intro.active {
    opacity: 1;
    pointer-events: auto;
}

.story-intro-inner {
    width: min(980px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 24px;
}

@media (min-width: 900px) {
    .story-intro-inner {
        grid-template-columns: 420px minmax(0, 1fr);
        gap: 40px;
    }
}

.story-square {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 8px 48px rgba(168,85,247,0.22);
}

.story-square img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.story-textwrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

.story-phase {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    letter-spacing: 0.22em;
    color: var(--cosmic-purple);
    text-transform: uppercase;
    opacity: 0.85;
}

.story-line {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.35rem, 2.8vw, 2rem);
    line-height: 1.7;
    color: rgba(255,255,255,0.92);
    min-height: 90px;
}

.story-controls {
    display: flex;
    gap: 18px;
    margin-top: 18px;
}

.story-btn {
    font-family: 'Raleway', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    padding: 12px 32px;
    border-radius: 30px;
    border: 1px solid rgba(168,85,247,0.5);
    background: rgba(168,85,247,0.13);
    color: #fff;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s, transform 0.2s;
}

.story-btn:hover {
    background: rgba(168,85,247,0.32);
    border-color: var(--cosmic-purple);
    transform: scale(1.04);
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .blob-container, #cosmos-canvas, #chromatic-canvas {
        display: none;
    }
    .story-intro {
        display: none;
    }
}
