/* ===== CSS RESET & ROOT VARIABLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #0a0e27;
    --secondary-dark: #1a1f3a;
    --demonic-purple: #c77dff;
    --fel-green: #39ff14;
    --deep-blue: #4361ee;
    --accent-blue: #3a86ff;
    --text-light: #e0e0e0;
    --text-gray: #a0a0a0;
    --border-color: #2a2f4a;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0f1229 50%, #1a1f3a 100%);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--demonic-purple);
    text-shadow: 0 0 10px var(--demonic-purple);
    letter-spacing: 2px;
}

.logo-icon {
    margin-right: 0.5rem;
    font-size: 1.3rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover {
    color: var(--fel-green);
    border-bottom-color: var(--fel-green);
    text-shadow: 0 0 10px var(--fel-green);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 60px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) contrast(1.2) saturate(0.9);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(199, 125, 255, 0.15) 0%, rgba(10, 14, 39, 0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 1s ease forwards;
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: 4px;
    color: var(--demonic-purple);
    text-shadow: 
        0 0 20px var(--demonic-purple),
        0 0 40px var(--demonic-purple),
        0 0 60px rgba(199, 125, 255, 0.5);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--fel-green);
    text-shadow: 0 0 10px var(--fel-green);
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.cta-button {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--demonic-purple), var(--deep-blue));
    color: white;
    border: 2px solid var(--fel-green);
    cursor: pointer;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    transition: var(--transition);
    box-shadow: 0 0 20px rgba(199, 125, 255, 0.5);
}

.cta-button:hover {
    background: linear-gradient(135deg, var(--fel-green), var(--deep-blue));
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.8);
    transform: translateY(-3px);
}

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

/* ===== ABOUT SECTION ===== */
.about {
    padding: 5rem 2rem;
    background: var(--secondary-dark);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--demonic-purple), transparent);
}

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

.about-image img {
    width: 100%;
    border: 2px solid var(--demonic-purple);
    box-shadow: 0 0 20px rgba(199, 125, 255, 0.5);
    border-radius: 4px;
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--demonic-purple);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px var(--demonic-purple);
}

.about-content p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 1rem;
}

/* ===== TIMELINE SECTION ===== */
.timeline {
    padding: 5rem 2rem;
    background: var(--primary-dark);
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--fel-green), transparent);
}

.timeline h2 {
    font-size: 2.5rem;
    text-align: center;
    color: var(--fel-green);
    margin-bottom: 3rem;
    text-shadow: 0 0 10px var(--fel-green);
}

.timeline-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--demonic-purple), var(--fel-green));
    transform: translateX(-1px);
}

.timeline-item {
    margin-bottom: 2rem;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.timeline-item:nth-child(even) {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.timeline-item:nth-child(even) .timeline-content {
    direction: ltr;
}

.timeline-marker {
    width: 20px;
    height: 20px;
    background: var(--fel-green);
    border: 3px solid var(--primary-dark);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    box-shadow: 0 0 15px var(--fel-green);
    z-index: 10;
}

.timeline-content {
    padding: 1.5rem;
    background: rgba(26, 31, 58, 0.6);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--demonic-purple);
    border-radius: 4px;
}

.timeline-content h3 {
    color: var(--demonic-purple);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.timeline-content p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* ===== ABILITIES SECTION ===== */
.abilities {
    padding: 5rem 2rem;
    background: var(--secondary-dark);
    position: relative;
}

.abilities h2 {
    font-size: 2.5rem;
    text-align: center;
    color: var(--deep-blue);
    margin-bottom: 3rem;
    text-shadow: 0 0 10px var(--deep-blue);
}

.abilities-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.ability-card {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.8), rgba(52, 97, 238, 0.1));
    border: 1px solid var(--border-color);
    border-top: 2px solid var(--deep-blue);
    border-radius: 4px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.ability-card:hover {
    border-color: var(--demonic-purple);
    box-shadow: 0 0 20px rgba(199, 125, 255, 0.4);
    transform: translateY(-5px);
}

.ability-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.ability-card h3 {
    color: var(--demonic-purple);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.ability-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== GALLERY SECTION ===== */
.gallery {
    padding: 5rem 2rem;
    background: var(--primary-dark);
    position: relative;
}

.gallery h2 {
    font-size: 2.5rem;
    text-align: center;
    color: var(--fel-green);
    margin-bottom: 3rem;
    text-shadow: 0 0 10px var(--fel-green);
}

.gallery-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border: 2px solid var(--demonic-purple);
    border-radius: 4px;
    aspect-ratio: 16/9;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    filter: brightness(0.7);
}

.gallery-item:hover img {
    filter: brightness(1);
    transform: scale(1.05);
}

/* ===== QUOTES SECTION ===== */
.quotes {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    position: relative;
}

.quotes-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.quote-box {
    padding: 2rem;
    background: rgba(26, 31, 58, 0.6);
    border: 2px solid var(--fel-green);
    border-radius: 4px;
    text-align: center;
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.2);
    transition: var(--transition);
}

.quote-box:hover {
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.5);
    transform: translateY(-5px);
}

.quote-text {
    font-size: 1.3rem;
    color: var(--fel-green);
    font-style: italic;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--fel-green);
    font-weight: bold;
}

.quote-source {
    color: var(--demonic-purple);
    font-weight: bold;
    font-size: 0.95rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-dark);
    border-top: 2px solid var(--border-color);
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content p {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--demonic-purple);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--fel-green);
    text-shadow: 0 0 10px var(--fel-green);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

    .about-container {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .timeline-container::before {
        left: 20px;
    }

    .timeline-item {
        grid-template-columns: 0 1fr;
        padding-left: 50px;
    }

    .timeline-item:nth-child(even) {
        grid-template-columns: 0 1fr;
        direction: ltr;
    }

    .timeline-marker {
        left: 20px;
    }

    .abilities h2,
    .timeline h2,
    .gallery h2 {
        font-size: 1.8rem;
    }

    .quote-text {
        font-size: 1.1rem;
    }
}