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

:root {
    --primary-color: #00d9ff;
    --secondary-color: #ff00ff;
    --accent-color: #00ff88;
    --dark-bg: #0a0a0f;
    --darker-bg: #050508;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --glow-cyan: rgba(0, 217, 255, 0.6);
    --glow-magenta: rgba(255, 0, 255, 0.5);
    --glow-green: rgba(0, 255, 136, 0.5);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Exo 2', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Animation */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(125deg, transparent 0%, rgba(0, 217, 255, 0.03) 50%, transparent 100%),
        radial-gradient(circle at 20% 50%, rgba(255, 0, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 255, 136, 0.04) 0%, transparent 50%);
    z-index: -1;
    animation: bgPulse 20s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 217, 255, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 20px 0;
    gap: 50px;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 2px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--glow-cyan);
}

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: 
        radial-gradient(circle at 50% 50%, rgba(0, 217, 255, 0.1) 0%, transparent 70%),
        linear-gradient(180deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 217, 255, 0.03) 2px, rgba(0, 217, 255, 0.03) 4px);
    animation: scanlines 8s linear infinite;
    pointer-events: none;
}

@keyframes scanlines {
    0% { transform: translateY(0); }
    100% { transform: translateY(50px); }
}

.hero-content {
    text-align: center;
    z-index: 2;
}

.main-title {
    font-family: 'Orbitron', sans-serif;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.title-line-1 {
    font-size: clamp(32px, 6vw, 72px);
    font-weight: 900;
    letter-spacing: 8px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 
        0 0 30px var(--glow-cyan),
        0 0 60px var(--glow-magenta);
    animation: titleGlow 3s ease-in-out infinite;
}

.title-line-2 {
    font-size: clamp(18px, 3vw, 36px);
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--text-primary);
    text-shadow: 0 0 20px var(--glow-cyan);
}

@keyframes titleGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

.hero-subtitle {
    margin-top: 40px;
}

.subtitle-text {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(18px, 2.5vw, 28px);
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--accent-color);
    text-shadow: 0 0 15px var(--glow-green);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-family: 'Orbitron', sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, var(--primary-color), transparent);
}

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

/* Section Styles */
section {
    padding: 120px 0;
    position: relative;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 900;
    text-align: center;
    margin-bottom: 80px;
    letter-spacing: 8px;
    position: relative;
    color: transparent;
    -webkit-text-stroke: 2px var(--primary-color);
}

.section-title::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glitch 5s ease-in-out infinite;
}

@keyframes glitch {
    0%, 90%, 100% { opacity: 1; transform: translate(0); }
    92% { opacity: 0.8; transform: translate(-2px, 2px); }
    94% { opacity: 0.8; transform: translate(2px, -2px); }
    96% { opacity: 0.8; transform: translate(-2px, -2px); }
}

/* Story Section */
.story-section {
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
}

/* Ominous Opening Text */
.ominous-text-container {
    margin-bottom: 60px;
    padding: 60px 40px;
    background: 
        linear-gradient(135deg, rgba(10, 10, 30, 0.8) 0%, rgba(20, 10, 30, 0.9) 100%);
    border: 1px solid rgba(100, 100, 150, 0.3);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 0 40px rgba(100, 100, 200, 0.2),
        inset 0 0 60px rgba(0, 0, 50, 0.5);
}

.ominous-text-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle, rgba(150, 150, 255, 0.1) 0%, transparent 70%);
    animation: frostRotate 20s linear infinite;
}

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

.ominous-text {
    font-family: 'Creepster', cursive;
    font-size: clamp(24px, 4vw, 42px);
    line-height: 1.8;
    text-align: center;
    color: #b8c5d6;
    text-shadow: 
        0 0 10px rgba(184, 197, 214, 0.8),
        0 0 20px rgba(100, 120, 180, 0.6),
        0 0 30px rgba(80, 100, 160, 0.4),
        2px 2px 8px rgba(0, 0, 0, 0.8);
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
    animation: ominousGlow 4s ease-in-out infinite;
}

@keyframes ominousGlow {
    0%, 100% { 
        text-shadow: 
            0 0 10px rgba(184, 197, 214, 0.8),
            0 0 20px rgba(100, 120, 180, 0.6),
            0 0 30px rgba(80, 100, 160, 0.4),
            2px 2px 8px rgba(0, 0, 0, 0.8);
    }
    50% { 
        text-shadow: 
            0 0 15px rgba(184, 197, 214, 1),
            0 0 30px rgba(100, 120, 180, 0.8),
            0 0 45px rgba(80, 100, 160, 0.6),
            2px 2px 10px rgba(0, 0, 0, 0.9);
    }
}

/* Main Story Content */
.story-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(10, 10, 20, 0.6);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.1);
}

.story-text {
    font-family: 'Exo 2', sans-serif;
    font-size: clamp(16px, 2vw, 20px);
    line-height: 2;
    color: var(--text-primary);
    text-align: justify;
    letter-spacing: 1px;
}

/* Characters Section */
.characters-section {
    background: 
        radial-gradient(circle at 30% 30%, rgba(0, 217, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 0, 255, 0.05) 0%, transparent 50%),
        var(--dark-bg);
}

/* Main Character (Protagonist) */
.main-character {
    margin-bottom: 80px;
}

.protagonist {
    max-width: 800px;
    margin: 0 auto;
    background: 
        linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(255, 0, 255, 0.1) 100%);
    border: 2px solid var(--primary-color);
    box-shadow: 
        0 0 40px var(--glow-cyan),
        inset 0 0 40px rgba(0, 217, 255, 0.1);
}

.protagonist .character-name {
    font-size: clamp(24px, 3vw, 36px);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Characters Grid */
.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 100px;
}

.character-card {
    background: rgba(15, 15, 25, 0.8);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.character-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--glow-cyan) 0%, var(--glow-magenta) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.character-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 10px 40px var(--glow-cyan),
        0 0 60px var(--glow-magenta);
    border-color: var(--primary-color);
}

.character-card:hover::before {
    opacity: 0.1;
}

.character-image-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(0, 50, 80, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.character-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
}

.character-card:hover .character-image {
    transform: scale(1.1);
}

.character-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 217, 255, 0.2) 100%);
    pointer-events: none;
}

.character-info {
    padding: 30px;
    background: rgba(5, 5, 10, 0.9);
}

.character-name {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-shadow: 0 0 10px var(--glow-cyan);
}

.character-description {
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    line-height: 1.6;
}

.character-cv {
    font-family: 'Exo 2', sans-serif;
    font-size: 14px;
    color: var(--accent-color);
    font-weight: 500;
    letter-spacing: 1px;
}

/* Glacier Team Section */
.glacier-team {
    max-width: 900px;
    margin: 80px auto 0;
    padding: 80px 40px;
    background: 
        linear-gradient(135deg, rgba(20, 10, 40, 0.8) 0%, rgba(10, 5, 20, 0.9) 100%);
    border: 2px solid rgba(80, 60, 120, 0.4);
    border-radius: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 0 50px rgba(80, 60, 120, 0.3),
        inset 0 0 80px rgba(20, 10, 40, 0.6);
}

.glacier-team::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 20px,
            rgba(100, 80, 150, 0.05) 20px,
            rgba(100, 80, 150, 0.05) 40px
        );
    animation: mysteryScan 15s linear infinite;
}

@keyframes mysteryScan {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.glacier-title {
    font-family: 'Creepster', cursive;
    font-size: clamp(32px, 5vw, 56px);
    color: #9090b0;
    margin-bottom: 40px;
    letter-spacing: 4px;
    text-shadow: 
        0 0 15px rgba(144, 144, 176, 0.8),
        0 0 30px rgba(80, 80, 120, 0.6),
        2px 2px 10px rgba(0, 0, 0, 0.9);
    position: relative;
    z-index: 1;
    animation: glacierPulse 3s ease-in-out infinite;
}

@keyframes glacierPulse {
    0%, 100% { 
        text-shadow: 
            0 0 15px rgba(144, 144, 176, 0.8),
            0 0 30px rgba(80, 80, 120, 0.6),
            2px 2px 10px rgba(0, 0, 0, 0.9);
    }
    50% { 
        text-shadow: 
            0 0 20px rgba(144, 144, 176, 1),
            0 0 40px rgba(80, 80, 120, 0.8),
            2px 2px 12px rgba(0, 0, 0, 1);
    }
}

.coming-soon {
    position: relative;
    z-index: 1;
}

.coming-soon-text {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 900;
    letter-spacing: 12px;
    background: linear-gradient(135deg, #666 0%, #999 50%, #666 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(100, 100, 100, 0.5);
}

@keyframes shimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.mystery-line {
    width: 200px;
    height: 2px;
    margin: 30px auto 0;
    background: linear-gradient(90deg, transparent 0%, #666 50%, transparent 100%);
    animation: lineExpand 2s ease-in-out infinite;
}

@keyframes lineExpand {
    0%, 100% { width: 100px; opacity: 0.3; }
    50% { width: 300px; opacity: 0.8; }
}

/* Video Section */
.video-section {
    background: 
        radial-gradient(circle at 50% 50%, rgba(0, 217, 255, 0.08) 0%, transparent 60%),
        var(--darker-bg);
    padding: 120px 0;
}

.video-announcement {
    text-align: center;
    margin-bottom: 60px;
}

.video-announcement-text {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(24px, 4vw, 42px);
    font-weight: 700;
    letter-spacing: 3px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px var(--glow-cyan);
    animation: pulse 2s ease-in-out infinite;
}

.video-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    border: 2px solid var(--primary-color);
    box-shadow: 
        0 0 40px var(--glow-cyan),
        0 10px 60px rgba(0, 217, 255, 0.3);
    background: rgba(0, 0, 0, 0.8);
}

.video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 13px;
}

/* Staff Section */
.staff-section {
    background: var(--darker-bg);
}

.staff-content {
    text-align: center;
    padding: 60px 20px;
}

.staff-item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.staff-role {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(20px, 3vw, 28px);
    color: var(--text-secondary);
    letter-spacing: 2px;
}

.staff-name {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 4px;
    text-shadow: 0 0 15px var(--glow-cyan);
}

/* Footer */
.footer {
    background: rgba(5, 5, 8, 0.95);
    border-top: 1px solid rgba(0, 217, 255, 0.2);
    padding: 40px 0;
    text-align: center;
}

.copyright {
    font-family: 'Exo 2', sans-serif;
    font-size: 14px;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 20px;
        flex-wrap: wrap;
    }

    .nav-link {
        font-size: 14px;
    }

    section {
        padding: 80px 0;
    }

    .section-title {
        margin-bottom: 50px;
    }

    .characters-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .ominous-text-container {
        padding: 40px 20px;
    }

    .story-content {
        padding: 30px 20px;
    }

    .glacier-team {
        padding: 60px 20px;
    }
}

@media (max-width: 480px) {
    .title-line-1 {
        letter-spacing: 4px;
    }

    .title-line-2 {
        letter-spacing: 2px;
    }

    .coming-soon-text {
        letter-spacing: 6px;
    }
}
