/**
 * HORIZON PULSE - Main Stylesheet
 * Cosmic consciousness aesthetic with particle effects
 * Colors: Deep purples, vibrant oranges, cyan accents
 */

/* === ROOT VARIABLES === */
:root {
    /* Color Palette */
    --deep-space: #000000;
    --dark-purple: #1a0033;
    --medium-purple: #2d0052;
    --bright-purple: #4a0080;
    --neon-purple: #9d4edd;

    --fire-orange: #ff6b35;
    --bright-orange: #ff8c42;
    --warm-orange: #ffa500;

    --cyan-bright: #00d9ff;
    --cyan-medium: #00bfff;
    --cyan-light: #87ceeb;

    --white-glow: #ffffff;
    --off-white: #f0f0f0;
    --light-gray: #b8b8b8;
    --medium-gray: #666666;

    /* Spacing */
    --section-padding: 100px;
    --container-max: 1400px;

    /* Typography */
    --font-main: 'Courier New', 'Consolas', monospace;
    --font-display: 'Arial', sans-serif;

    /* Animations */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.8s ease;
}

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--deep-space);
    color: var(--off-white);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
}

/* === COSMIC BACKGROUND LAYERS === */
.cosmic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    background: radial-gradient(ellipse at 50% 40%,
        rgba(77, 0, 128, 0.4) 0%,
        rgba(26, 0, 51, 0.6) 30%,
        rgba(0, 0, 0, 1) 70%
    );
}

.cosmic-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 60%, rgba(255, 107, 53, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 40%, rgba(157, 78, 221, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(0, 217, 255, 0.1) 0%, transparent 50%);
    animation: nebula-shift 20s ease-in-out infinite;
}

@keyframes nebula-shift {
    0%, 100% { opacity: 0.6; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.9; transform: scale(1.1) rotate(2deg); }
}

.particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

.energy-pulse {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    margin: -400px 0 0 -400px;
    z-index: -1;
    pointer-events: none;
    opacity: 0.3;
    background: radial-gradient(circle,
        rgba(255, 255, 255, 0.8) 0%,
        rgba(0, 217, 255, 0.4) 20%,
        rgba(255, 140, 66, 0.3) 40%,
        transparent 70%
    );
    filter: blur(60px);
    animation: pulse-energy 4s ease-in-out infinite;
}

@keyframes pulse-energy {
    0%, 100% { transform: scale(0.8); opacity: 0.2; }
    50% { transform: scale(1.2); opacity: 0.4; }
}

/* === NAVIGATION === */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--cyan-bright);
    box-shadow: 0 4px 30px rgba(0, 217, 255, 0.3);
    transition: var(--transition-medium);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.4em;
    font-weight: bold;
    letter-spacing: 4px;
}

.logo-symbol {
    color: var(--neon-purple);
    font-size: 1.3em;
    text-shadow: 0 0 20px rgba(157, 78, 221, 0.8);
    animation: symbol-glow 3s ease-in-out infinite;
}

@keyframes symbol-glow {
    0%, 100% { text-shadow: 0 0 20px rgba(157, 78, 221, 0.8); }
    50% { text-shadow: 0 0 30px rgba(157, 78, 221, 1), 0 0 40px rgba(157, 78, 221, 0.6); }
}

.logo-text {
    background: linear-gradient(90deg, var(--cyan-bright), var(--cyan-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 217, 255, 0.5);
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-link {
    color: var(--cyan-medium);
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid var(--cyan-medium);
    border-radius: 5px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9em;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover,
.nav-link.active {
    background: var(--cyan-bright);
    color: var(--deep-space);
    border-color: var(--cyan-bright);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.6);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--cyan-bright);
    transition: var(--transition-fast);
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px 60px;
    position: relative;
}

.hero-content {
    z-index: 1;
    animation: fade-in-up 1.5s ease-out;
}

@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-symbol {
    font-size: 4em;
    color: var(--neon-purple);
    margin-bottom: 30px;
    text-shadow: 0 0 40px rgba(157, 78, 221, 1);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.1); filter: brightness(1.3); }
}

.hero-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    animation: title-entrance 1.2s ease-out 0.3s backwards;
}

@keyframes title-entrance {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.title-line {
    height: 2px;
    width: 100px;
    background: linear-gradient(90deg,
        transparent,
        var(--cyan-bright),
        transparent
    );
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.6);
    animation: line-expand 1.5s ease-out 0.5s backwards;
}

@keyframes line-expand {
    from { width: 0; opacity: 0; }
    to { width: 100px; opacity: 1; }
}

.title-text {
    font-size: 5em;
    font-weight: bold;
    letter-spacing: 10px;
    background: linear-gradient(135deg,
        var(--cyan-bright) 0%,
        var(--white-glow) 50%,
        var(--cyan-light) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 60px rgba(0, 217, 255, 0.8);
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.5));
}

.hero-subtitle {
    font-size: 1.8em;
    color: var(--fire-orange);
    letter-spacing: 6px;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.8);
    animation: fade-in 1.5s ease-out 0.6s backwards;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-tagline {
    font-size: 1.2em;
    color: var(--light-gray);
    font-style: italic;
    letter-spacing: 3px;
    margin-bottom: 50px;
    animation: fade-in 1.5s ease-out 0.9s backwards;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fade-in-up 1.5s ease-out 1.2s backwards;
}

/* === BUTTONS === */
.cta-button {
    display: inline-block;
    padding: 15px 40px;
    font-family: var(--font-main);
    font-size: 1em;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--cyan-bright), var(--bright-purple));
    color: var(--white-glow);
    border: 2px solid var(--cyan-bright);
    box-shadow: 0 5px 30px rgba(0, 217, 255, 0.4);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(0, 217, 255, 0.6);
}

.cta-button.secondary {
    background: transparent;
    color: var(--fire-orange);
    border: 2px solid var(--fire-orange);
}

.cta-button.secondary:hover {
    background: var(--fire-orange);
    color: var(--deep-space);
    box-shadow: 0 5px 30px rgba(255, 107, 53, 0.5);
    transform: translateY(-3px);
}

.cta-button.large {
    padding: 18px 50px;
    font-size: 1.1em;
}

/* === SCROLL INDICATOR === */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-20px); }
    60% { transform: translateX(-50%) translateY(-10px); }
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid var(--cyan-bright);
    border-radius: 25px;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.4);
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: var(--cyan-bright);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scroll-dot 2s infinite;
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.8);
}

@keyframes scroll-dot {
    0% { top: 10px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

/* === CONTAINER === */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 30px;
}

/* === SECTION STYLING === */
section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3.5em;
    font-weight: bold;
    letter-spacing: 8px;
    background: linear-gradient(135deg, var(--cyan-bright), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.title-underline {
    width: 150px;
    height: 4px;
    background: linear-gradient(90deg,
        transparent,
        var(--fire-orange),
        transparent
    );
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.6);
    animation: underline-glow 3s ease-in-out infinite;
}

@keyframes underline-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 107, 53, 0.6); }
    50% { box-shadow: 0 0 30px rgba(255, 107, 53, 1); }
}

/* === ABOUT SECTION === */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    font-size: 1.1em;
    line-height: 1.9;
}

.lead-text {
    font-size: 1.3em;
    margin-bottom: 25px;
    color: var(--cyan-light);
}

.about-text p {
    margin-bottom: 20px;
}

.highlight-cyan {
    color: var(--cyan-bright);
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

.highlight-orange {
    color: var(--fire-orange);
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.highlight-purple {
    color: var(--neon-purple);
    font-weight: bold;
    text-shadow: 0 0 10px rgba(157, 78, 221, 0.5);
}

.stats-grid {
    display: grid;
    gap: 20px;
}

.stat-card {
    background: linear-gradient(135deg, rgba(26, 0, 51, 0.8), rgba(74, 0, 128, 0.6));
    border: 2px solid var(--cyan-bright);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: var(--transition-medium);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 217, 255, 0.3);
    border-color: var(--fire-orange);
}

.stat-number {
    font-size: 4em;
    font-weight: bold;
    color: var(--fire-orange);
    text-shadow: 0 0 30px rgba(255, 107, 53, 0.8);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.9em;
    color: var(--cyan-bright);
    letter-spacing: 2px;
    font-weight: bold;
}

/* === SEASONS SECTION === */
.seasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.season-card {
    background: linear-gradient(135deg, rgba(26, 0, 51, 0.9), rgba(45, 0, 82, 0.8));
    border: 2px solid var(--neon-purple);
    border-radius: 20px;
    padding: 40px;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

.season-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.1), transparent);
    transition: left 0.8s ease;
}

.season-card:hover::before {
    left: 100%;
}

.season-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 217, 255, 0.4);
    border-color: var(--cyan-bright);
}

.season-number {
    font-size: 0.9em;
    color: var(--fire-orange);
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.6);
}

.season-title {
    font-size: 1.8em;
    color: var(--cyan-bright);
    margin-bottom: 20px;
    letter-spacing: 3px;
    text-shadow: 0 0 15px rgba(0, 217, 255, 0.6);
}

.season-desc {
    color: var(--light-gray);
    line-height: 1.8;
    margin-bottom: 25px;
}

.season-episodes {
    color: var(--neon-purple);
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(157, 78, 221, 0.5);
}

.season-link {
    display: inline-block;
    color: var(--cyan-bright);
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 2px;
    transition: var(--transition-medium);
}

.season-link:hover {
    color: var(--fire-orange);
    text-shadow: 0 0 15px rgba(255, 107, 53, 0.7);
    transform: translateX(10px);
    display: inline-block;
}

/* === PHILOSOPHY SECTION === */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.philosophy-card {
    background: rgba(26, 0, 51, 0.6);
    border: 2px solid var(--fire-orange);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    transition: var(--transition-medium);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
}

.philosophy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.3);
    border-color: var(--cyan-bright);
}

.philosophy-icon {
    font-size: 3em;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(0, 217, 255, 0.6));
}

.philosophy-card h3 {
    font-size: 1.3em;
    color: var(--cyan-bright);
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

.philosophy-card p {
    color: var(--light-gray);
    line-height: 1.8;
}

/* === CTA SECTION === */
.cta-section {
    background: linear-gradient(135deg, rgba(26, 0, 51, 0.9), rgba(74, 0, 128, 0.7));
    border-top: 2px solid var(--neon-purple);
    border-bottom: 2px solid var(--neon-purple);
    box-shadow:
        0 0 50px rgba(157, 78, 221, 0.3),
        inset 0 0 50px rgba(157, 78, 221, 0.1);
}

.cta-content {
    text-align: center;
    padding: 40px 0;
}

.cta-title {
    font-size: 3.5em;
    font-weight: bold;
    letter-spacing: 6px;
    background: linear-gradient(90deg, var(--fire-orange), var(--cyan-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.3em;
    color: var(--light-gray);
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.cta-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

/* === FOOTER === */
.main-footer {
    background: rgba(0, 0, 0, 0.95);
    border-top: 2px solid var(--cyan-bright);
    padding: 60px 0 30px;
    box-shadow: 0 -4px 30px rgba(0, 217, 255, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    text-align: center;
}

.footer-symbol {
    font-size: 3em;
    color: var(--neon-purple);
    margin-bottom: 15px;
    text-shadow: 0 0 30px rgba(157, 78, 221, 0.8);
}

.footer-title {
    font-size: 1.5em;
    font-weight: bold;
    letter-spacing: 4px;
    background: linear-gradient(90deg, var(--cyan-bright), var(--cyan-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    color: var(--fire-orange);
    margin-bottom: 15px;
    letter-spacing: 2px;
    font-size: 1.1em;
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--cyan-medium);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: var(--cyan-bright);
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.6);
    padding-left: 5px;
}

.footer-highlight {
    color: var(--light-gray);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 217, 255, 0.2);
    color: var(--medium-gray);
}

.footer-bottom p {
    margin-bottom: 10px;
}

.footer-bottom a {
    color: var(--cyan-bright);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.6);
}

.footer-tagline {
    font-style: italic;
    color: var(--neon-purple);
    text-shadow: 0 0 10px rgba(157, 78, 221, 0.4);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .title-text {
        font-size: 3.5em;
        letter-spacing: 6px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .title-text {
        font-size: 2.5em;
        letter-spacing: 4px;
    }

    .title-line {
        width: 50px;
    }

    .hero-subtitle {
        font-size: 1.3em;
    }

    .hero-cta {
        flex-direction: column;
    }

    .section-title {
        font-size: 2.5em;
        letter-spacing: 4px;
    }

    .seasons-grid,
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
}

/* === UTILITY CLASSES === */
.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-40 {
    margin-top: 40px;
}
