/* ============================================
   mujun.study - Neon Aquarium of Learning
   Holographic / Retro-Display / Tropical Fish
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --neon-pink: #FF006E;
    --neon-cyan: #00F5FF;
    --dark-void: #0A0E27;
    --navy-shimmer: #1A1F3A;
    --holo-pink: #B70D7F;
    --holo-blue: #0099FF;
    --neon-yellow: #FFFF00;
    --neon-white: #F0F0FF;
    --column-width: min(560px, 92vw);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark-void);
    color: var(--neon-white);
    font-family: 'Space Mono', monospace;
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0.02em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- SVG Filters (hidden) --- */
.svg-filters {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* --- Scanline Overlay --- */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 2px,
        rgba(0, 0, 0, 0.04) 2px,
        rgba(0, 0, 0, 0.04) 4px
    );
}

/* --- Progress Bar --- */
.progress-bar {
    position: fixed;
    right: calc(50% - var(--column-width) / 2 - 12px);
    top: 0;
    width: 3px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.05);
    z-index: 100;
    border-radius: 2px;
}

.progress-fill {
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, var(--neon-pink), var(--neon-cyan));
    border-radius: 2px;
    transition: height 0.15s ease-out;
    box-shadow: 0 0 8px var(--neon-pink), 0 0 16px var(--neon-cyan);
}

/* --- Holographic Shimmer Layer --- */
.holo-shimmer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(
        135deg,
        rgba(255, 0, 110, 0.03) 0%,
        rgba(0, 245, 255, 0.03) 25%,
        rgba(255, 255, 0, 0.02) 50%,
        rgba(183, 13, 127, 0.03) 75%,
        rgba(0, 153, 255, 0.03) 100%
    );
    background-size: 400% 400%;
    animation: shimmerSlide 18s ease-in-out infinite;
}

@keyframes shimmerSlide {
    0% { background-position: 0% 0%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 50% 100%; }
    75% { background-position: 0% 50%; }
    100% { background-position: 0% 0%; }
}

/* --- Floating Fish Container --- */
.fish-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
    overflow: hidden;
}

.fish {
    position: absolute;
    opacity: 0.18;
    transition: opacity 0.5s;
    filter: drop-shadow(0 0 6px var(--neon-cyan));
}

.fish-1 {
    width: 100px;
    top: 15%;
    left: -120px;
    animation: fishSwim1 22s linear infinite;
}

.fish-2 {
    width: 80px;
    top: 40%;
    right: -100px;
    animation: fishSwim2 28s linear infinite;
    animation-delay: -5s;
}

.fish-3 {
    width: 70px;
    top: 65%;
    left: -90px;
    animation: fishSwim3 25s linear infinite;
    animation-delay: -10s;
}

.fish-4 {
    width: 90px;
    top: 25%;
    right: -110px;
    animation: fishSwim4 30s linear infinite;
    animation-delay: -15s;
}

.fish-5 {
    width: 55px;
    top: 80%;
    left: -70px;
    animation: fishSwim5 20s linear infinite;
    animation-delay: -8s;
}

@keyframes fishSwim1 {
    0% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(calc(100vw + 220px)) translateY(30px); }
    100% { transform: translateX(0) translateY(0); }
}

@keyframes fishSwim2 {
    0% { transform: translateX(0) translateY(0) scaleX(-1); }
    50% { transform: translateX(calc(-100vw - 200px)) translateY(-20px) scaleX(-1); }
    100% { transform: translateX(0) translateY(0) scaleX(-1); }
}

@keyframes fishSwim3 {
    0% { transform: translateX(0) translateY(0); }
    30% { transform: translateX(40vw) translateY(-15px); }
    60% { transform: translateX(80vw) translateY(10px); }
    100% { transform: translateX(calc(100vw + 180px)) translateY(0); }
}

@keyframes fishSwim4 {
    0% { transform: translateX(0) translateY(0) scaleX(-1); }
    40% { transform: translateX(-50vw) translateY(25px) scaleX(-1); }
    100% { transform: translateX(calc(-100vw - 220px)) translateY(0) scaleX(-1); }
}

@keyframes fishSwim5 {
    0% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(calc(100vw + 140px)) translateY(-20px); }
    100% { transform: translateX(0) translateY(0); }
}

/* --- Geometric Shapes --- */
.geo-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.geo-shape {
    position: absolute;
    opacity: 0.06;
}

.geo-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 2px solid var(--neon-cyan);
    top: 20%;
    left: 10%;
    animation: geoFloat 12s ease-in-out infinite, geoRotate 20s linear infinite;
}

.geo-circle-2 {
    width: 120px;
    height: 120px;
    border-color: var(--neon-pink);
    top: 60%;
    left: 75%;
    animation-duration: 15s, 25s;
    animation-delay: -3s, -3s;
}

.geo-diamond {
    width: 100px;
    height: 100px;
    border: 2px solid var(--neon-yellow);
    top: 45%;
    right: 15%;
    transform: rotate(45deg);
    animation: geoFloat 14s ease-in-out infinite;
    animation-delay: -5s;
}

.geo-diamond-2 {
    width: 70px;
    height: 70px;
    border-color: var(--holo-pink);
    top: 75%;
    left: 20%;
    animation-delay: -8s;
}

.geo-hexagon {
    width: 140px;
    height: 140px;
    top: 10%;
    right: 25%;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.05), rgba(255, 0, 110, 0.05));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: geoFloat 16s ease-in-out infinite, geoRotate 30s linear infinite reverse;
    animation-delay: -2s, -2s;
}

@keyframes geoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}

@keyframes geoRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- Content Column --- */
.content-column {
    position: relative;
    width: var(--column-width);
    margin: 0 auto;
    z-index: 10;
}

/* --- Chambers --- */
.chamber {
    position: relative;
    min-height: 100vh;
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chamber-bg {
    position: absolute;
    top: 0;
    left: -50vw;
    right: -50vw;
    bottom: 0;
    z-index: -1;
}

.chamber-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

/* Chamber 1 - Surface */
.chamber-1 {
    min-height: 100vh;
    padding-top: 15vh;
}

.chamber-1 .chamber-bg {
    background: radial-gradient(ellipse at 50% 30%, rgba(0, 245, 255, 0.08) 0%, transparent 60%),
                linear-gradient(to bottom, var(--dark-void), var(--navy-shimmer));
}

/* Chamber 2 - First Depths */
.chamber-2 .chamber-bg {
    background: linear-gradient(135deg, var(--navy-shimmer) 0%, var(--dark-void) 50%, rgba(183, 13, 127, 0.1) 100%);
}

/* Chamber 3 - Mid Depths */
.chamber-3 .chamber-bg {
    background: linear-gradient(135deg, rgba(183, 13, 127, 0.08) 0%, var(--dark-void) 40%, rgba(0, 153, 255, 0.08) 100%);
}

/* Chamber 4 - Deeper */
.chamber-4 .chamber-bg {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.06) 0%, var(--navy-shimmer) 50%, rgba(0, 245, 255, 0.06) 100%);
}

/* Chamber 5 - Peak */
.chamber-5 .chamber-bg {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.1) 0%, var(--dark-void) 30%, rgba(0, 245, 255, 0.1) 60%, rgba(255, 255, 0, 0.06) 100%);
}

/* --- Typography --- */

/* Display Heading - Orbitron */
.display-heading {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: clamp(3rem, 10vw, 5.5rem);
    letter-spacing: -0.01em;
    color: var(--neon-cyan);
    text-shadow: 0 0 20px rgba(0, 245, 255, 0.6), 0 0 40px rgba(0, 245, 255, 0.3), 0 0 80px rgba(0, 245, 255, 0.1);
    text-align: center;
    line-height: 1.1;
}

.display-sub {
    font-family: 'Press Start 2P', cursive;
    font-size: clamp(1rem, 3.5vw, 1.8rem);
    color: var(--neon-pink);
    text-shadow: 0 0 15px rgba(255, 0, 110, 0.6), 0 0 30px rgba(255, 0, 110, 0.3);
    text-align: center;
    margin-top: 10px;
}

/* Section Headings */
.section-heading {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: clamp(2.2rem, 6vw, 4rem);
    letter-spacing: -0.01em;
    color: var(--neon-pink);
    text-shadow: 0 0 15px rgba(255, 0, 110, 0.5), 0 0 30px rgba(255, 0, 110, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.section-heading .word {
    display: block;
}

/* Body text */
.body-text {
    font-family: 'Space Mono', monospace;
    font-weight: 400;
    font-size: clamp(14px, 2vw, 17px);
    line-height: 1.8;
    letter-spacing: 0.02em;
    color: var(--neon-white);
}

/* Accent text */
.accent-text {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 500;
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.4);
}

/* --- Glitch Text Effect (Chromatic Aberration) --- */
.glitch-text {
    position: relative;
}

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

.glitch-text::before {
    color: var(--neon-pink);
    opacity: 0.08;
    transform: translate(2px, -1px);
    z-index: -1;
}

.glitch-text::after {
    color: var(--neon-yellow);
    opacity: 0.06;
    transform: translate(-2px, 1px);
    z-index: -1;
}

/* --- Bounce-Enter Animations --- */
.word {
    display: inline-block;
    opacity: 0;
    transform: translateY(60px) scale(0.8);
    transition: none;
}

.word.visible {
    animation: bounceEnter 0.7s cubic-bezier(0.25, 1.5, 0.5, 1) forwards;
}

@keyframes bounceEnter {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.8);
    }
    60% {
        opacity: 1;
        transform: translateY(-8px) scale(1.02);
    }
    80% {
        transform: translateY(4px) scale(0.99);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.bounce-in {
    opacity: 0;
    transform: translateY(50px);
    transition: none;
}

.bounce-in.visible {
    animation: bounceInUp 0.8s cubic-bezier(0.25, 1.4, 0.5, 1) forwards;
}

@keyframes bounceInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    60% {
        opacity: 1;
        transform: translateY(-6px);
    }
    80% {
        transform: translateY(3px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Welcome Fish Guide --- */
.welcome-fish-guide {
    margin: 20px 0;
    animation: fishBob 3s ease-in-out infinite;
}

.guide-fish {
    width: 140px;
    height: auto;
    filter: drop-shadow(0 0 12px rgba(0, 245, 255, 0.5)) drop-shadow(0 0 24px rgba(0, 245, 255, 0.2));
}

@keyframes fishBob {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-12px) rotate(2deg); }
}

/* --- Tagline --- */
.tagline {
    font-size: clamp(15px, 2.5vw, 20px);
    text-align: center;
}

/* --- Scroll Hint --- */
.scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
    opacity: 0.8;
    animation: fadeInSlow 2s ease forwards 1s;
}

.scroll-pulse {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--neon-pink);
    box-shadow: 0 0 12px var(--neon-pink), 0 0 24px rgba(255, 0, 110, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

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

.scroll-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 13px;
    color: var(--neon-cyan);
    text-shadow: 0 0 6px rgba(0, 245, 255, 0.3);
    text-transform: lowercase;
    letter-spacing: 0.1em;
}

@keyframes fadeInSlow {
    from { opacity: 0; }
    to { opacity: 0.8; }
}

/* --- Text Panel --- */
.text-panel {
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.7) 0%, rgba(10, 14, 39, 0.8) 100%);
    border: 1px solid rgba(0, 245, 255, 0.12);
    border-radius: 12px;
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.text-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 2px,
        rgba(0, 245, 255, 0.02) 2px,
        rgba(0, 245, 255, 0.02) 4px
    );
    pointer-events: none;
}

/* --- Learning Cards --- */
.learning-card {
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.8) 0%, rgba(10, 14, 39, 0.9) 100%);
    border: 1px solid rgba(255, 0, 110, 0.15);
    border-radius: 16px;
    padding: 30px 24px;
    position: relative;
    overflow: hidden;
    width: 100%;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.25, 1.4, 0.5, 1), border-color 0.3s;
}

.learning-card:hover {
    transform: scale(1.02);
    border-color: rgba(255, 0, 110, 0.4);
}

.learning-card:active {
    transform: scale(0.98);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 0, 110, 0.04) 0%, transparent 50%);
    pointer-events: none;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.card-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.4);
    margin-bottom: 12px;
}

.card-body {
    font-family: 'Space Mono', monospace;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.7;
    color: var(--neon-white);
    opacity: 0.9;
}

.card-fish {
    position: absolute;
    bottom: 10px;
    right: 15px;
    width: 50px;
    opacity: 0.25;
    filter: drop-shadow(0 0 4px var(--neon-pink));
    transition: opacity 0.3s;
}

.learning-card:hover .card-fish {
    opacity: 0.5;
}

/* --- Module Grid --- */
.module-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.module-item {
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.7) 0%, rgba(10, 14, 39, 0.8) 100%);
    border: 1px solid rgba(0, 245, 255, 0.1);
    border-radius: 14px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.25, 1.4, 0.5, 1), border-color 0.3s, background 0.3s;
    position: relative;
    overflow: hidden;
}

.module-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(0, 245, 255, 0.03));
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.module-item:hover {
    transform: scale(1.03);
    border-color: rgba(0, 245, 255, 0.3);
}

.module-item:hover::after {
    opacity: 1;
}

.module-item:active {
    transform: scale(0.97);
}

.module-icon {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 4px rgba(0, 245, 255, 0.3));
}

.module-icon svg {
    width: 100%;
    height: 100%;
}

.module-title {
    font-family: 'Press Start 2P', cursive;
    font-size: clamp(11px, 2vw, 14px);
    color: var(--neon-pink);
    text-shadow: 0 0 8px rgba(255, 0, 110, 0.4);
    margin-bottom: 6px;
}

.module-desc {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 13px;
    color: var(--neon-cyan);
    text-shadow: 0 0 4px rgba(0, 245, 255, 0.2);
}

/* --- Quote Block --- */
.quote-block {
    position: relative;
    padding: 30px 24px;
    border-left: 3px solid var(--neon-pink);
    background: linear-gradient(135deg, rgba(183, 13, 127, 0.06) 0%, rgba(10, 14, 39, 0.8) 100%);
    border-radius: 0 12px 12px 0;
    width: 100%;
}

.quote-glow {
    position: absolute;
    top: 0;
    left: -3px;
    width: 6px;
    height: 100%;
    background: var(--neon-pink);
    filter: blur(8px);
    opacity: 0.4;
}

.quote-text {
    font-family: 'Space Mono', monospace;
    font-weight: 400;
    font-size: clamp(14px, 2vw, 17px);
    line-height: 1.8;
    color: var(--neon-white);
    font-style: italic;
}

.quote-cite {
    display: block;
    margin-top: 15px;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 13px;
    color: var(--neon-pink);
    text-shadow: 0 0 6px rgba(255, 0, 110, 0.3);
}

/* --- Interactive Orb --- */
.interactive-orb {
    position: relative;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.orb-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid;
    animation: orbSpin 8s linear infinite;
}

.orb-ring-1 {
    width: 100%;
    height: 100%;
    border-color: rgba(0, 245, 255, 0.3);
    animation-duration: 8s;
}

.orb-ring-2 {
    width: 75%;
    height: 75%;
    border-color: rgba(255, 0, 110, 0.3);
    animation-duration: 6s;
    animation-direction: reverse;
}

.orb-ring-3 {
    width: 50%;
    height: 50%;
    border-color: rgba(255, 255, 0, 0.3);
    animation-duration: 4s;
}

.orb-core {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--neon-cyan) 0%, var(--neon-pink) 100%);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.5), 0 0 40px rgba(255, 0, 110, 0.3);
    animation: orbPulse 3s ease-in-out infinite;
}

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

@keyframes orbPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(0, 245, 255, 0.5), 0 0 40px rgba(255, 0, 110, 0.3); }
    50% { transform: scale(1.15); box-shadow: 0 0 30px rgba(0, 245, 255, 0.7), 0 0 60px rgba(255, 0, 110, 0.5); }
}

.interactive-orb:hover .orb-ring-1 {
    border-color: rgba(0, 245, 255, 0.6);
    animation-duration: 3s;
}

.interactive-orb:hover .orb-ring-2 {
    border-color: rgba(255, 0, 110, 0.6);
    animation-duration: 2.5s;
}

.interactive-orb:hover .orb-ring-3 {
    border-color: rgba(255, 255, 0, 0.6);
    animation-duration: 1.5s;
}

.interactive-orb:hover .orb-core {
    transform: scale(1.3);
    box-shadow: 0 0 40px rgba(0, 245, 255, 0.8), 0 0 80px rgba(255, 0, 110, 0.6), 0 0 120px rgba(255, 255, 0, 0.3);
}

.orb-label {
    position: absolute;
    bottom: -30px;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 12px;
    color: var(--neon-cyan);
    text-shadow: 0 0 6px rgba(0, 245, 255, 0.3);
    opacity: 0.7;
    white-space: nowrap;
}

/* --- Neon Button --- */
.neon-button {
    position: relative;
    font-family: 'Press Start 2P', cursive;
    font-size: clamp(11px, 2vw, 14px);
    color: var(--neon-white);
    background: transparent;
    border: 2px solid var(--neon-pink);
    border-radius: 8px;
    padding: 18px 36px;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.15s cubic-bezier(0.25, 1.4, 0.5, 1), box-shadow 0.3s;
    text-shadow: 0 0 8px rgba(255, 0, 110, 0.4);
    box-shadow: 0 0 15px rgba(255, 0, 110, 0.2), inset 0 0 15px rgba(255, 0, 110, 0.05);
}

.neon-button:hover {
    box-shadow: 0 0 25px rgba(255, 0, 110, 0.4), 0 0 50px rgba(255, 0, 110, 0.15), inset 0 0 25px rgba(255, 0, 110, 0.1);
    color: var(--neon-pink);
}

.neon-button:active {
    transform: scale(0.95);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 110, 0.15), transparent);
    transition: left 0.5s;
}

.neon-button:hover .btn-glow {
    left: 100%;
}

/* --- CTA Block --- */
.cta-block {
    text-align: center;
}

/* --- Fish Parade --- */
.final-fish-parade {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.parade-fish {
    width: 60px;
    height: auto;
    filter: drop-shadow(0 0 8px var(--neon-cyan));
    animation: paradeSwim 3s ease-in-out infinite;
}

.pf-1 { animation-delay: 0s; }
.pf-2 { animation-delay: 0.3s; }
.pf-3 { animation-delay: 0.6s; }
.pf-4 { animation-delay: 0.9s; }
.pf-5 { animation-delay: 1.2s; }

@keyframes paradeSwim {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-8px) rotate(1deg); }
}

/* --- Footer Mark --- */
.footer-mark {
    margin-top: 50px;
    padding: 30px 0;
}

.footer-text {
    font-family: 'Orbitron', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: var(--neon-cyan);
    text-shadow: 0 0 8px rgba(0, 245, 255, 0.3);
    opacity: 0.5;
    letter-spacing: 0.1em;
}

/* --- Particle Container --- */
.particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
}

.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: particleBurst 0.8s ease-out forwards;
}

@keyframes particleBurst {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--dx), var(--dy)) scale(0);
    }
}

/* --- Hover Color Shift for text --- */
.card-title:hover,
.module-title:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 12px rgba(0, 245, 255, 0.6);
}

.accent-text:hover {
    color: var(--neon-pink);
    text-shadow: 0 0 12px rgba(255, 0, 110, 0.5);
}

/* --- Holographic Noise on panels (via pseudo-element) --- */
.text-panel::after,
.learning-card::before,
.quote-block::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    border-radius: inherit;
    opacity: 0.5;
    mix-blend-mode: overlay;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .word {
        opacity: 1;
        transform: none;
    }

    .bounce-in {
        opacity: 1;
        transform: none;
    }
}

/* --- Responsive --- */
@media (max-width: 600px) {
    .chamber {
        padding: 60px 16px;
    }

    .progress-bar {
        right: 6px;
    }

    .module-item {
        padding: 18px;
        gap: 14px;
    }

    .module-icon {
        width: 44px;
        height: 44px;
    }

    .interactive-orb {
        width: 120px;
        height: 120px;
    }

    .parade-fish {
        width: 45px;
    }
}
