/* Outstanding MICA Website - Advanced CSS */

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

:root {
    /* Divine Color Palette */
    --divine-gold: #FFD700;
    --celestial-blue: #87CEEB;
    --heavenly-white: #FFFAF0;
    --infernal-red: #DC143C;
    --shadow-black: #1a1a1a;
    --ethereal-purple: #9370DB;
    
    /* Advanced Gradients */
    --divine-gradient: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    --celestial-gradient: linear-gradient(135deg, #87CEEB 0%, #4169E1 50%, #0000CD 100%);
    --infernal-gradient: linear-gradient(135deg, #DC143C 0%, #8B0000 50%, #4B0000 100%);
    
    /* Shadows and Glows */
    --divine-glow: 0 0 30px rgba(255, 215, 0, 0.8);
    --celestial-glow: 0 0 30px rgba(135, 206, 235, 0.6);
    --infernal-glow: 0 0 30px rgba(220, 20, 60, 0.7);
    --shadow-deep: 0 20px 60px rgba(0, 0, 0, 0.4);
    
    /* Animation Timings */
    --animation-fast: 0.3s;
    --animation-medium: 0.6s;
    --animation-slow: 1.2s;
    --animation-epic: 2.4s;
    
    /* 3D Perspective */
    --perspective: 1000px;
    --perspective-origin: center center;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: var(--heavenly-white);
    overflow-x: hidden;
    perspective: var(--perspective);
    perspective-origin: var(--perspective-origin);
}

/* Particle Canvas */
.particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

/* Liquid Background */
.liquid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
}

.liquid-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: liquidFloat 20s ease-in-out infinite;
}

.blob-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(135, 206, 235, 0.2) 0%, transparent 70%);
    top: 60%;
    right: 15%;
    animation-delay: -7s;
}

.blob-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(147, 112, 219, 0.25) 0%, transparent 70%);
    bottom: 20%;
    left: 50%;
    animation-delay: -14s;
}

/* Cursor Trail */
.cursor-trail {
    position: fixed;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, var(--divine-gold) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: screen;
    transition: transform 0.1s ease-out;
}

/* Divine Navigation */
.divine-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    transition: all var(--animation-medium) ease;
}

.divine-navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: var(--divine-glow);
}

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

.nav-logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.logo-3d-container {
    position: relative;
    transform-style: preserve-3d;
}

.logo-3d {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    transition: transform var(--animation-medium) ease;
    filter: drop-shadow(var(--divine-glow));
}

.logo-3d:hover {
    transform: rotateY(360deg) scale(1.1);
}

.logo-halo {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--divine-gold);
    border-radius: 50%;
    opacity: 0;
    animation: haloSpin 3s linear infinite;
}

.logo-text {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 900;
    background: var(--divine-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.nav-socials {
    display: flex;
    gap: 1rem;
}

.social-orb {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all var(--animation-medium) ease;
    transform-style: preserve-3d;
}

.social-orb:hover {
    transform: translateY(-5px) rotateX(15deg);
    box-shadow: var(--divine-glow);
}

.social-orb img {
    width: 24px;
    height: 24px;
    transition: transform var(--animation-fast) ease;
}

.social-orb:hover img {
    transform: scale(1.2);
}

.orb-glow {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: var(--divine-gradient);
    opacity: 0;
    filter: blur(10px);
    transition: opacity var(--animation-medium) ease;
    z-index: -1;
}

.social-orb:hover .orb-glow {
    opacity: 0.6;
}

/* Hero Section - The Divine Battlefield */
.hero-battlefield {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    overflow: hidden;
}

.battlefield-sky {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        rgba(135, 206, 235, 0.3) 0%, 
        rgba(255, 215, 0, 0.2) 50%, 
        rgba(220, 20, 60, 0.3) 100%);
    animation: skyShift var(--animation-epic) ease-in-out infinite alternate;
}

.divine-rays {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(135, 206, 235, 0.1) 0%, transparent 50%);
    animation: raysPulse 4s ease-in-out infinite alternate;
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    align-items: center;
    min-height: 80vh;
    z-index: 20;
}

/* Divine Poem */
.divine-poem {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--divine-gold);
}

.poem-line {
    opacity: 0;
    transform: translateX(-50px);
    animation: poemReveal 1s ease-out forwards;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.poem-line:nth-child(1) { animation-delay: 0.5s; }
.poem-line:nth-child(2) { animation-delay: 0.7s; }
.poem-line:nth-child(3) { animation-delay: 0.9s; }
.poem-line:nth-child(4) { animation-delay: 1.1s; }
.poem-line:nth-child(5) { animation-delay: 1.3s; }
.poem-line:nth-child(6) { animation-delay: 1.5s; }

/* Divine Title */
.title-container {
    position: relative;
    text-align: center;
    margin-bottom: 2rem;
}

.divine-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 900;
    display: flex;
    justify-content: center;
    gap: 0.2em;
    perspective: 1000px;
}

.letter {
    display: inline-block;
    background: var(--divine-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform-style: preserve-3d;
    animation: letterFloat 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
}

.letter:nth-child(1) { animation-delay: 0s; }
.letter:nth-child(2) { animation-delay: 0.2s; }
.letter:nth-child(3) { animation-delay: 0.4s; }
.letter:nth-child(4) { animation-delay: 0.6s; }

.title-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: auraPulse 2s ease-in-out infinite alternate;
    z-index: -1;
}

/* 3D Character Stage */
.character-3d-stage {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
    perspective: 1200px;
}

.character-container {
    position: relative;
    transform-style: preserve-3d;
    animation: characterFloat 4s ease-in-out infinite;
}

.character-3d {
    max-width: 100%;
    height: auto;
    max-height: 450px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
    transition: transform var(--animation-medium) ease;
    cursor: pointer;
}

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

.character-halo {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 20px;
    border: 3px solid var(--divine-gold);
    border-radius: 50%;
    box-shadow: var(--divine-glow);
    animation: haloFloat 2s ease-in-out infinite alternate;
}

.character-wings {
    position: absolute;
    top: 30%;
    width: 60px;
    height: 80px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 215, 0, 0.4) 100%);
    border-radius: 50% 10% 50% 10%;
    filter: blur(1px);
    animation: wingFlap 1.5s ease-in-out infinite alternate;
}

.left-wing {
    left: -30px;
    transform: rotate(-20deg);
}

.right-wing {
    right: -30px;
    transform: rotate(20deg) scaleX(-1);
}

.divine-energy {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: energyPulse 3s ease-in-out infinite;
}

/* Divine Subtitle */
.subtitle-container {
    position: relative;
    text-align: center;
    transform: rotate(-6deg);
}

.divine-subtitle {
    font-family: 'Cinzel', serif;
    font-style: italic;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--celestial-blue);
    text-shadow: 0 0 15px rgba(135, 206, 235, 0.6);
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: subtitleReveal 1s ease-out 2s forwards;
}

.floating-luci {
    position: absolute;
    bottom: 20%;
    right: 10%;
    animation: luciFloat 6s ease-in-out infinite;
}

.luci-sprite {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 0 15px rgba(220, 20, 60, 0.6));
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--divine-gold);
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--divine-gold);
    margin: 0 auto 0.5rem;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 8px solid var(--divine-gold);
}

/* Divine Ticker */
.divine-ticker {
    background: var(--divine-gradient);
    border-top: 3px solid var(--celestial-blue);
    border-bottom: 3px solid var(--infernal-red);
    padding: 2rem 0;
    overflow: hidden;
    position: relative;
    z-index: 15;
}

.ticker-3d-container {
    position: relative;
    perspective: 800px;
}

.ticker-content {
    display: flex;
    animation: tickerScroll 15s linear infinite;
    transform-style: preserve-3d;
}

.ticker-item {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    color: var(--shadow-black);
    margin-right: 4rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transform: rotateX(15deg);
    white-space: nowrap;
}

.ticker-glow-trail {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%);
    animation: glowTrail 3s ease-in-out infinite;
}

/* Sacred Exchange */
.sacred-exchange {
    padding: 6rem 2rem;
    position: relative;
    z-index: 15;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.8) 0%, 
        rgba(26, 26, 26, 0.9) 100%);
}

.exchange-altar {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
}

.character-pedestal {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    perspective: 800px;
}

.luci-3d, .mica-3d {
    max-width: 100%;
    height: auto;
    max-height: 250px;
    transition: transform var(--animation-medium) ease;
    cursor: pointer;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
}

.luci-3d:hover {
    transform: rotateY(-15deg) scale(1.1);
    animation: demonicTremble 0.5s ease-in-out infinite;
}

.mica-3d:hover {
    transform: rotateY(15deg) scale(1.1);
    animation: divineGlow 1s ease-in-out infinite;
}

.pedestal-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 20px;
    border-radius: 50%;
    filter: blur(15px);
}

.pedestal-glow.divine {
    background: var(--divine-gold);
    box-shadow: var(--divine-glow);
}

.pedestal-glow.demonic {
    background: var(--infernal-red);
    box-shadow: var(--infernal-glow);
}

.character-aura {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    animation: auraRotate 4s linear infinite;
}

.character-aura.light {
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
}

.character-aura.dark {
    background: radial-gradient(circle, rgba(220, 20, 60, 0.2) 0%, transparent 70%);
}

/* Exchange Center */
.exchange-center {
    text-align: center;
    position: relative;
}

.exchange-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    gap: 0.2em;
}

.title-letter {
    background: var(--divine-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: letterPulse 2s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.title-letter:nth-child(1) { animation-delay: 0s; }
.title-letter:nth-child(2) { animation-delay: 0.3s; }
.title-letter:nth-child(3) { animation-delay: 0.6s; }

.sacred-button-container {
    position: relative;
    margin-bottom: 2rem;
}

.sacred-button {
    background: var(--divine-gradient);
    border: none;
    padding: 2rem 4rem;
    border-radius: 50px;
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--shadow-black);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all var(--animation-medium) ease;
    transform-style: preserve-3d;
}

.sacred-button:hover {
    transform: translateY(-5px) rotateX(10deg);
    box-shadow: var(--divine-glow), var(--shadow-deep);
}

.button-halo {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--divine-gold);
    border-radius: 50px;
    opacity: 0;
    animation: buttonHalo 2s ease-in-out infinite;
}

.button-energy {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        transparent 100%);
    transition: left var(--animation-medium) ease;
}

.sacred-button:hover .button-energy {
    left: 100%;
}

.power-meter {
    position: relative;
    width: 200px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 0 auto;
    overflow: hidden;
}

.meter-fill {
    height: 100%;
    background: var(--divine-gradient);
    border-radius: 10px;
    animation: powerCharge 3s ease-in-out infinite;
}

.meter-label {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    color: var(--divine-gold);
}

/* Battle Effects */
.battle-effects {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 5;
}

.lightning-bolt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 100px;
    background: linear-gradient(180deg, var(--divine-gold) 0%, transparent 100%);
    opacity: 0;
    animation: lightningStrike 4s ease-in-out infinite;
}

.energy-clash {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    animation: energyClash 3s ease-in-out infinite;
}

/* Sacred Contract */
.sacred-contract {
    padding: 4rem 2rem;
    background: rgba(0, 0, 0, 0.9);
    position: relative;
    z-index: 15;
}

.contract-scroll {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.1) 0%, 
        rgba(135, 206, 235, 0.1) 100%);
    border: 2px solid var(--divine-gold);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.contract-scroll::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,215,0,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(135,206,235,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: -1;
}

.contract-title {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--divine-gold);
    margin-bottom: 2rem;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.contract-display {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.contract-text {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--divine-gold);
    border-radius: 10px;
    padding: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    color: var(--heavenly-white);
    word-break: break-all;
    flex: 1;
    min-width: 300px;
    transition: all var(--animation-medium) ease;
}

.contract-text:hover {
    background: rgba(255, 215, 0, 0.1);
    box-shadow: var(--divine-glow);
}

.copy-rune {
    background: var(--divine-gradient);
    border: none;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    color: var(--shadow-black);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--animation-medium) ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.copy-rune:hover {
    transform: translateY(-3px);
    box-shadow: var(--divine-glow);
}

.rune-symbol {
    font-size: 1.2rem;
    animation: runeGlow 2s ease-in-out infinite alternate;
}

.contract-blessing {
    font-style: italic;
    color: var(--celestial-blue);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Jupiter Divine Terminal */
.jupiter-realm {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, 
        rgba(16, 49, 69, 0.9) 0%, 
        rgba(26, 74, 95, 0.8) 100%);
    position: relative;
    z-index: 15;
}

.realm-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.terminal-hologram {
    position: relative;
    perspective: 1000px;
}

.hologram-frame {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--celestial-blue);
    border-radius: 15px;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform var(--animation-medium) ease;
}

.hologram-frame:hover {
    transform: rotateY(5deg) rotateX(2deg);
}

.terminal-header {
    background: rgba(58, 58, 66, 0.9);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.orb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: orbPulse 2s ease-in-out infinite;
}

.orb.divine { background: var(--divine-gold); }
.orb.neutral { background: var(--celestial-blue); }
.orb.demonic { background: var(--infernal-red); }

.terminal-title {
    color: var(--heavenly-white);
    font-weight: 600;
    font-family: 'Orbitron', monospace;
}

.signal-strength {
    display: flex;
    gap: 2px;
    align-items: end;
}

.signal-bar {
    width: 3px;
    background: var(--divine-gold);
    border-radius: 1px;
    animation: signalStrength 1.5s ease-in-out infinite;
}

.signal-bar:nth-child(1) { height: 8px; animation-delay: 0s; }
.signal-bar:nth-child(2) { height: 12px; animation-delay: 0.2s; }
.signal-bar:nth-child(3) { height: 16px; animation-delay: 0.4s; }
.signal-bar:nth-child(4) { height: 20px; animation-delay: 0.6s; }

.terminal-screen {
    position: relative;
    background: #1a1a1a;
    min-height: 300px;
    padding: 2rem;
    font-family: 'Courier New', monospace;
    overflow: hidden;
}

.scan-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 2px,
        rgba(0, 255, 0, 0.03) 2px,
        rgba(0, 255, 0, 0.03) 4px
    );
    pointer-events: none;
    animation: scanLines 2s linear infinite;
}

.boot-sequence {
    color: var(--divine-gold);
}

.boot-line {
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: bootLine 0.5s ease-out forwards;
}

.boot-line:nth-child(1) { animation-delay: 0.5s; }
.boot-line:nth-child(2) { animation-delay: 1s; }
.boot-line:nth-child(3) { animation-delay: 1.5s; }
.boot-line:nth-child(4) { animation-delay: 2s; }
.boot-line:nth-child(5) { animation-delay: 2.5s; }
.boot-line:nth-child(6) { animation-delay: 3s; }

.boot-line.success {
    color: #00ff00;
}

.ready-prompt {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: bootLine 0.5s ease-out 3.5s forwards;
}

.prompt-symbol {
    color: var(--divine-gold);
    animation: symbolPulse 1s ease-in-out infinite;
}

.cursor-blink {
    animation: cursorBlink 1s ease-in-out infinite;
}

.hologram-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, 
        rgba(135, 206, 235, 0.3) 0%, 
        rgba(255, 215, 0, 0.3) 100%);
    border-radius: 20px;
    filter: blur(15px);
    z-index: -1;
    animation: hologramGlow 3s ease-in-out infinite alternate;
}

/* Jupiter Info */
.jupiter-info {
    text-align: center;
    color: var(--heavenly-white);
}

.jupiter-logo-container {
    position: relative;
    margin-bottom: 2rem;
    display: inline-block;
}

.jupiter-logo {
    width: 100px;
    height: 100px;
    filter: drop-shadow(var(--celestial-glow));
    animation: logoFloat 3s ease-in-out infinite;
}

.logo-orbit {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--celestial-blue);
    border-radius: 50%;
    border-top-color: transparent;
    animation: orbitSpin 4s linear infinite;
}

.jupiter-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.jupiter-mascot {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 0 15px rgba(135, 206, 235, 0.5));
    animation: mascotBob 2s ease-in-out infinite;
}

.jupiter-title {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 900;
    background: var(--celestial-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(135, 206, 235, 0.5);
}

.jupiter-subtitle {
    font-size: 1.2rem;
    color: var(--celestial-blue);
    font-style: italic;
}

/* Epic Chronicle */
.epic-chronicle {
    padding: 6rem 2rem;
    background: rgba(0, 0, 0, 0.95);
    position: relative;
    z-index: 15;
}

.chronicle-container {
    max-width: 1200px;
    margin: 0 auto;
}

.story-header {
    text-align: center;
    margin-bottom: 4rem;
}

.chronicle-title {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    font-weight: 700;
    background: var(--divine-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    margin-bottom: 1rem;
}

.title-underline {
    width: 200px;
    height: 3px;
    background: var(--divine-gradient);
    margin: 0 auto;
    border-radius: 2px;
    animation: underlineGlow 2s ease-in-out infinite alternate;
}

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

.story-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--heavenly-white);
}

.story-timestamp {
    color: var(--divine-gold);
    font-weight: 600;
    font-family: 'Orbitron', monospace;
}

.story-visual {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform var(--animation-medium) ease;
}

.image-frame:hover {
    transform: rotateY(5deg) rotateX(2deg) scale(1.02);
}

.story-image {
    width: 100%;
    height: auto;
    display: block;
}

.frame-glow {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: var(--divine-gradient);
    border-radius: 20px;
    filter: blur(10px);
    z-index: -1;
    animation: frameGlow 3s ease-in-out infinite alternate;
}

.meteora-blessing {
    text-align: center;
}

.blessing-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background: rgba(147, 112, 219, 0.1);
    border: 2px solid var(--ethereal-purple);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
}

.meteora-symbol {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 0 15px rgba(147, 112, 219, 0.6));
    animation: symbolRotate 6s linear infinite;
}

.blessing-text {
    font-size: 1.4rem;
    color: var(--ethereal-purple);
    font-weight: 600;
    max-width: 400px;
}

.blessing-aura {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle, rgba(147, 112, 219, 0.3) 0%, transparent 70%);
    border-radius: 25px;
    filter: blur(15px);
    z-index: -1;
    animation: blessingAura 4s ease-in-out infinite alternate;
}

/* Divine Network */
.divine-network {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.1) 0%, 
        rgba(135, 206, 235, 0.1) 50%,
        rgba(147, 112, 219, 0.1) 100%);
    position: relative;
    z-index: 15;
}

.network-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.character-shrine {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 350px;
}

.shrine-character {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: shrineFloat 4s ease-in-out infinite;
}

.shrine-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 30px;
    border-radius: 50%;
    filter: blur(20px);
    animation: shrineGlow 3s ease-in-out infinite alternate;
}

.shrine-glow:not(.demonic) {
    background: var(--divine-gold);
    box-shadow: var(--divine-glow);
}

.shrine-glow.demonic {
    background: var(--infernal-red);
    box-shadow: var(--infernal-glow);
}

.network-center {
    text-align: center;
    position: relative;
}

.network-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    background: var(--divine-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    margin-bottom: 3rem;
}

.social-constellation {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    position: relative;
    perspective: 1000px;
}

.social-planet {
    position: relative;
    transform-style: preserve-3d;
}

.planet-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    padding: 2rem;
    text-decoration: none;
    color: var(--heavenly-white);
    transition: all var(--animation-medium) ease;
    position: relative;
    overflow: hidden;
}

.planet-link:hover {
    transform: translateY(-10px) rotateX(10deg);
    border-color: var(--divine-gold);
    box-shadow: var(--divine-glow);
}

.planet-link img {
    width: 50px;
    height: 50px;
    transition: transform var(--animation-medium) ease;
}

.planet-link:hover img {
    transform: scale(1.2) rotateY(180deg);
}

.planet-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.planet-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--divine-gold);
    border-radius: 25px;
    opacity: 0;
    animation: planetRing 3s ease-in-out infinite;
}

.constellation-connections {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: -1;
}

.constellation-connections::before,
.constellation-connections::after {
    content: '';
    position: absolute;
    background: linear-gradient(45deg, var(--divine-gold) 0%, transparent 100%);
    height: 2px;
    animation: connectionPulse 4s ease-in-out infinite;
}

.constellation-connections::before {
    top: 50%;
    left: 25%;
    right: 25%;
    transform: translateY(-50%);
}

.constellation-connections::after {
    left: 50%;
    top: 25%;
    bottom: 25%;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, var(--divine-gold) 0%, transparent 100%);
}

/* Final Ascension */
.final-ascension {
    padding: 8rem 2rem;
    background: var(--divine-gradient);
    position: relative;
    z-index: 15;
    text-align: center;
}

.ascension-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.ascension-portal {
    position: relative;
    background: rgba(0, 0, 0, 0.8);
    border: 3px solid var(--heavenly-white);
    border-radius: 30px;
    padding: 4rem;
    transform-style: preserve-3d;
}

.ascension-title {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--heavenly-white);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.ascension-text {
    font-size: 1.3rem;
    color: var(--celestial-blue);
    margin-bottom: 3rem;
    font-style: italic;
}

.ascension-button {
    background: linear-gradient(135deg, var(--heavenly-white) 0%, var(--celestial-blue) 100%);
    border: none;
    border-radius: 50px;
    padding: 2rem 4rem;
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--shadow-black);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all var(--animation-medium) ease;
    transform-style: preserve-3d;
}

.ascension-button:hover {
    transform: translateY(-10px) rotateX(15deg);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.3);
}

.button-wings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.wing {
    position: absolute;
    top: 50%;
    width: 30px;
    height: 60px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.8) 0%, transparent 100%);
    border-radius: 50% 10% 50% 10%;
    transform: translateY(-50%);
    animation: finalWingFlap 2s ease-in-out infinite;
}

.wing.left {
    left: -15px;
    transform: translateY(-50%) rotate(-20deg);
}

.wing.right {
    right: -15px;
    transform: translateY(-50%) rotate(20deg) scaleX(-1);
}

.button-halo-final {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid var(--heavenly-white);
    border-radius: 50px;
    opacity: 0;
    animation: finalHalo 3s ease-in-out infinite;
}

.portal-energy {
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: portalEnergy 4s ease-in-out infinite;
    z-index: -1;
}

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

.audio-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--divine-gold);
    color: var(--divine-gold);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--animation-medium) ease;
    backdrop-filter: blur(10px);
}

.audio-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--divine-glow);
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 1s ease-out;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    color: var(--heavenly-white);
}

.loading-logo {
    position: relative;
    margin-bottom: 2rem;
}

.loading-logo img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    animation: loadingRotate 2s linear infinite;
}

.loading-halo {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 3px solid var(--divine-gold);
    border-radius: 50%;
    border-top-color: transparent;
    animation: loadingHalo 1s linear infinite;
}

.loading-text {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--divine-gold);
}

.loading-progress {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.progress-bar {
    height: 100%;
    background: var(--divine-gradient);
    border-radius: 2px;
    animation: loadingProgress 3s ease-in-out infinite;
}

/* Keyframe Animations */
@keyframes liquidFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

@keyframes haloSpin {
    0% { transform: rotate(0deg); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: rotate(360deg); opacity: 0; }
}

@keyframes skyShift {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(30deg); }
}

@keyframes raysPulse {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

@keyframes poemReveal {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes letterFloat {
    0%, 100% { transform: translateY(0px) rotateX(0deg); }
    50% { transform: translateY(-10px) rotateX(10deg); }
}

@keyframes auraPulse {
    0% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes characterFloat {
    0%, 100% { transform: translateY(0px) rotateY(0deg); }
    50% { transform: translateY(-15px) rotateY(5deg); }
}

@keyframes haloFloat {
    0%, 100% { transform: translateX(-50%) translateY(0px); }
    50% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes wingFlap {
    0%, 100% { transform: rotate(-20deg) scaleY(1); }
    50% { transform: rotate(-25deg) scaleY(0.8); }
}

@keyframes energyPulse {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.05); }
}

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

@keyframes luciFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, -10px) rotate(5deg); }
    50% { transform: translate(-5px, -15px) rotate(-3deg); }
    75% { transform: translate(-10px, -5px) rotate(2deg); }
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes tickerScroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@keyframes glowTrail {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes demonicTremble {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

@keyframes divineGlow {
    0%, 100% { filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4)); }
    50% { filter: drop-shadow(0 15px 30px rgba(255, 215, 0, 0.6)); }
}

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

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

@keyframes buttonHalo {
    0% { opacity: 0; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 0; transform: scale(1.1); }
}

@keyframes powerCharge {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes lightningStrike {
    0%, 90%, 100% { opacity: 0; }
    5%, 10% { opacity: 1; }
}

@keyframes energyClash {
    0%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.5); }
}

@keyframes runeGlow {
    0% { text-shadow: 0 0 5px currentColor; }
    100% { text-shadow: 0 0 15px currentColor; }
}

@keyframes orbPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.9); }
}

@keyframes signalStrength {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

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

@keyframes bootLine {
    to {
        opacity: 1;
    }
}

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

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

@keyframes hologramGlow {
    0% { opacity: 0.3; }
    100% { opacity: 0.6; }
}

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

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

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

@keyframes underlineGlow {
    0% { box-shadow: 0 0 5px rgba(255, 215, 0, 0.5); }
    100% { box-shadow: 0 0 15px rgba(255, 215, 0, 0.8); }
}

@keyframes frameGlow {
    0% { opacity: 0.5; }
    100% { opacity: 0.8; }
}

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

@keyframes blessingAura {
    0% { opacity: 0.3; }
    100% { opacity: 0.6; }
}

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

@keyframes shrineGlow {
    0% { opacity: 0.5; }
    100% { opacity: 0.8; }
}

@keyframes planetRing {
    0% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.2); }
}

@keyframes connectionPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

@keyframes finalWingFlap {
    0%, 100% { transform: translateY(-50%) rotate(-20deg) scaleY(1); }
    50% { transform: translateY(-50%) rotate(-25deg) scaleY(0.8); }
}

@keyframes finalHalo {
    0% { opacity: 0; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
    100% { opacity: 0; transform: scale(1.2); }
}

@keyframes portalEnergy {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.1); }
}

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

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

@keyframes loadingProgress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content,
    .exchange-altar,
    .network-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .realm-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }
    
    .nav-socials {
        gap: 0.5rem;
    }
    
    .social-orb {
        width: 40px;
        height: 40px;
    }
    
    .divine-poem {
        font-size: 1.1rem;
    }
    
    .social-constellation {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .blessing-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contract-display {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contract-text {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 0 1rem;
    }
    
    .divine-title {
        font-size: 3rem;
    }
    
    .exchange-title {
        font-size: 2.5rem;
    }
    
    .network-title {
        font-size: 2rem;
    }
    
    .ascension-title {
        font-size: 2rem;
    }
    
    .ascension-button {
        padding: 1.5rem 2rem;
        font-size: 1.2rem;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .particle-canvas,
    .liquid-background,
    .cursor-trail {
        display: none;
    }
}

