:root {
    --primary-color: #00d4ff;
    --primary-dark: #0099cc;
    --secondary-color: #1a1a2e;
    --text-light: #ffffff;
    --background: #0f0f1e;
    --accent: #ff6b6b;
    --success: #00ff88;
    --mythic-gold: #ffd700;
    --mythic-purple: #8b5cf6;
    --transition: 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Animated Background Lights */
.background-lights {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.light {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    mix-blend-mode: screen;
}

.light-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.8) 0%, transparent 70%);
    top: -50px;
    left: 10%;
    animation: float 15s ease-in-out infinite;
}

.light-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.6) 0%, transparent 70%);
    top: 20%;
    right: 5%;
    animation: float 18s ease-in-out infinite reverse;
}

.light-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.5) 0%, transparent 70%);
    bottom: 10%;
    left: 5%;
    animation: float 20s ease-in-out infinite;
}

.light-4 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.4) 0%, transparent 70%);
    top: 40%;
    left: 50%;
    animation: float 17s ease-in-out infinite reverse;
}

.light-5 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.5) 0%, transparent 70%);
    bottom: 20%;
    right: 15%;
    animation: float 19s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        filter: blur(80px);
    }
    25% {
        transform: translate(50px, -80px) scale(1.1);
    }
    50% {
        transform: translate(-40px, 60px) scale(0.9);
        filter: blur(60px);
    }
    75% {
        transform: translate(80px, 40px) scale(1.05);
    }
}

/* Navigation Bar */
nav {
    position: sticky;
    top: 0;
    background: rgba(15, 15, 30, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    z-index: 1000;
    box-shadow: 0 2px 30px rgba(0, 212, 255, 0.15);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

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

.logo {
    font-size: 2rem;
    font-weight: bold;
    text-decoration: none;
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% {
        text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
        transform: scale(1);
    }
    50% {
        text-shadow: 0 0 40px rgba(255, 215, 0, 0.7);
        transform: scale(1.1);
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: all var(--transition);
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
}

.title-container {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
}

.brand-title {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 1.2;
    perspective: 1000px;
}

.brand-word {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--mythic-gold), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: wordBreathe 4s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.moira-word {
    animation-delay: 0s;
    margin-right: 0.2em;
}

.nexus-word {
    animation-delay: 0.5s;
}

@keyframes wordBreathe {
    0%, 100% {
        text-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
        transform: scale(1);
    }
    50% {
        text-shadow: 0 0 50px rgba(255, 215, 0, 0.8), 0 0 30px rgba(0, 212, 255, 0.6);
        transform: scale(1.02);
    }
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-style: italic;
    letter-spacing: 1px;
    animation: slideUp 0.8s ease 0.2s backwards;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #bbb;
    animation: slideUp 0.8s ease 0.4s backwards;
    line-height: 1.8;
}

.hero-cta {
    animation: slideUp 0.8s ease 0.6s backwards;
}

.cta-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--mythic-gold));
    color: var(--background);
    padding: 1.2rem 3.5rem;
    font-size: 1.2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.4);
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-btn:hover::before {
    width: 300px;
    height: 300px;
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 60px rgba(0, 212, 255, 0.8), 0 0 40px rgba(255, 215, 0, 0.5);
}

.cta-btn:active {
    transform: translateY(-2px);
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Sections */
section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 2rem;
    position: relative;
    z-index: 10;
}

h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--mythic-gold), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: slideDown 0.8s ease;
}

.section-subtitle {
    text-align: center;
    color: #888;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    font-style: italic;
}

/* Gallery / Carousel Section */
.gallery-section {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.carousel-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.carousel-wrapper {
    flex: 1;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 50px rgba(0, 212, 255, 0.2);
    border: 2px solid rgba(0, 212, 255, 0.3);
    animation: carouselGlow 4s ease-in-out infinite;
}

@keyframes carouselGlow {
    0%, 100% {
        box-shadow: 0 10px 50px rgba(0, 212, 255, 0.2);
    }
    50% {
        box-shadow: 0 10px 70px rgba(0, 212, 255, 0.4), 0 0 30px rgba(255, 215, 0, 0.2);
    }
}

.carousel {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.carousel-item {
    min-width: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.carousel-item.active img {
    transform: scale(1.02);
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, transparent 100%);
    padding: 2rem;
    color: white;
    transform: translateY(30px);
    transition: transform 0.3s ease;
}

.carousel-item.active .carousel-caption {
    transform: translateY(0);
}

.carousel-caption h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    animation: slideUp 0.5s ease;
}

.carousel-caption p {
    font-size: 1rem;
    color: #ddd;
    animation: slideUp 0.5s ease 0.1s backwards;
}

.carousel-btn {
    background: rgba(0, 212, 255, 0.2);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.carousel-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
    z-index: -1;
}

.carousel-btn:hover::before {
    width: 100px;
    height: 100px;
}

.carousel-btn:hover {
    color: var(--background);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
}

.carousel-dots {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.3);
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
}

.dot.active {
    background: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
    width: 16px;
    height: 16px;
}

.dot:hover {
    background: rgba(0, 212, 255, 0.6);
}

/* Lore Section */
.lore-section {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(255, 107, 107, 0.08) 100%);
}

.lore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.lore-card {
    background: rgba(0, 212, 255, 0.08);
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    transition: all var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.lore-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.6s ease;
    pointer-events: none;
}

.lore-card:hover::before {
    top: 0;
    right: 0;
}

.lore-card:hover {
    transform: translateY(-10px);
    border-left-color: var(--mythic-gold);
    background: rgba(0, 212, 255, 0.15);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2);
}

.lore-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: iconBounce 3s ease-in-out infinite;
}

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

.lore-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.lore-card p {
    color: #bbb;
    line-height: 1.8;
}

/* Features Section */
.features-section {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(255, 107, 107, 0.05) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(255, 107, 107, 0.05));
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
    transition: left 0.8s ease;
    pointer-events: none;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.2);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.feature-card p {
    color: #bbb;
    line-height: 1.8;
}

/* Seasons Section */
.seasons-section {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.seasons-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.season-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(139, 92, 246, 0.1));
    padding: 2.5rem;
    border-radius: 15px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    transition: all var(--transition);
    position: relative;
    padding-top: 4rem;
    overflow: hidden;
}

.season-card::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.8s ease;
    pointer-events: none;
}

.season-card:hover::after {
    bottom: 0;
    left: 0;
}

.season-number {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--mythic-gold), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.7;
}

.season-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.15);
}

.season-card h3 {
    color: var(--mythic-gold);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.season-myth {
    color: var(--primary-color);
    font-style: italic;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.season-card p {
    color: #bbb;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.season-duration {
    display: inline-block;
    background: rgba(0, 212, 255, 0.2);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Concept Section */
.concept-section {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.08) 0%, rgba(0, 212, 255, 0.08) 100%);
    border-top: 2px solid rgba(255, 107, 107, 0.3);
}

.concept-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.concept-card {
    background: rgba(255, 107, 107, 0.08);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid rgba(255, 107, 107, 0.3);
    transition: all var(--transition);
}

.concept-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.15);
    background: rgba(255, 107, 107, 0.12);
}

.concept-card h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.concept-card p {
    color: #bbb;
    line-height: 1.8;
}

.disclaimer {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 107, 107, 0.1);
    border: 2px dashed rgba(255, 107, 107, 0.4);
    border-radius: 15px;
    animation: disclaimerPulse 3s ease-in-out infinite;
}

.disclaimer p {
    font-size: 1.1rem;
    color: var(--accent);
    font-weight: 600;
}

@keyframes disclaimerPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 107, 107, 0.2);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 107, 107, 0.4);
    }
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.7);
    text-align: center;
    padding: 2.5rem;
    border-top: 2px solid rgba(0, 212, 255, 0.2);
    color: #888;
    margin-top: 2rem;
    letter-spacing: 1px;
    position: relative;
    z-index: 10;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .brand-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    h2 {
        font-size: 2rem;
    }

    section {
        padding: 3rem 1rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .light {
        filter: blur(60px);
        opacity: 0.3;
    }
}

@media (max-width: 480px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .brand-title {
        font-size: 1.8rem;
    }

    .cta-btn {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    h2 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .carousel-wrapper {
        border-radius: 10px;
    }

    .carousel-item img {
        height: 250px;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    section {
        padding: 2rem 0.5rem;
    }

    .light {
        filter: blur(50px);
        opacity: 0.25;
    }
}
