/* ===========================
   CSS Reset & Base Styles
   =========================== */

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

/* ===========================
   Preloader
   =========================== */

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.preloader-logo {
    animation: logoFloat 2s ease-in-out infinite;
}

.preloader-logo img {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 0 20px rgba(255, 70, 85, 0.5));
}

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

.preloader-spinner {
    position: relative;
    width: 80px;
    height: 80px;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-radius: 50%;
    animation: spin 1.5s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.spinner-ring:nth-child(1) {
    border-top-color: #ff4655;
    animation-delay: -0.45s;
}

.spinner-ring:nth-child(2) {
    border-top-color: #ff6b77;
    animation-delay: -0.3s;
}

.spinner-ring:nth-child(3) {
    border-top-color: #5865f2;
    animation-delay: -0.15s;
}

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

.preloader-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: pulse 1.5s ease-in-out infinite;
}

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

:root {
    /* Color Palette - Dark Theme */
    --color-bg-primary: #0a0a0a;
    --color-bg-secondary: #121212;
    --color-bg-tertiary: #1a1a1a;
    --color-bg-card: #1e1e1e;
    --color-bg-hover: #252525;

    /* Text Colors */
    --color-text-primary: #ffffff;
    --color-text-secondary: #b0b0b0;
    --color-text-muted: #808080;

    /* Accent Colors */
    --color-accent-primary: #ff4655;
    --color-accent-primary-hover: #ff6b77;
    --color-accent-secondary: #5865f2;
    --color-accent-secondary-hover: #7289da;

    /* Border & Shadow */
    --color-border: #2a2a2a;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.6);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}


/* ===========================
   Container & Layout
   =========================== */

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
}


/* ===========================
   Navigation Bar
   =========================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    transition: transform var(--transition-normal), background-color var(--transition-normal);
}

.navbar.scrolled {
    background-color: rgba(10, 10, 10, 0.98);
    box-shadow: var(--shadow-md);
}

.navbar.hidden {
    transform: translateY(-100%);
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: var(--spacing-sm) var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    flex-shrink: 0;
    z-index: 1001;
}

.nav-logo img {
    height: 50px;
    width: auto;
    transition: transform var(--transition-fast);
}

.nav-logo img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-link {
    position: relative;
    color: var(--color-text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    padding: var(--spacing-xs) 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent-primary);
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: var(--color-text-primary);
}

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

.nav-buttons {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}


/* ===========================
   Buttons
   =========================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--color-accent-primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--color-accent-primary-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-discord {
    background-color: var(--color-accent-secondary);
    color: white;
}

.btn-discord:hover {
    background-color: var(--color-accent-secondary-hover);
    transform: translateY(-2px);
}

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


/* ===========================
   Hamburger Menu
   =========================== */

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    padding: var(--spacing-xs);
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: var(--color-text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}


/* ===========================
   Hero Section
   =========================== */

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.7) 50%, rgba(10, 10, 10, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1600px;
    width: 100%;
    padding: 0 var(--spacing-xl);
    margin: 0 auto;
}

.hero-logo {
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.8s ease;
}

.hero-logo img {
    width: 100%;
    max-width: 350px;
    height: auto;
    transition: transform var(--transition-normal);
}

.hero-logo img:hover {
    transform: scale(1.05);
}

/* Keep for backwards compatibility if needed */
.hero-title {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 900;
    letter-spacing: 0.02em;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, #ffffff 0%, #ff4655 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: var(--color-text-secondary);
    /*max-width: 700px;*/
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

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


/* ===========================
   Section Titles
   =========================== */

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: var(--spacing-xxl);
    background: linear-gradient(135deg, #ffffff 0%, #ff4655 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subsection-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    color: var(--color-text-primary);
}


/* ===========================
   Updates Section
   =========================== */

.updates-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--color-bg-secondary);
}


/* ===========================
   Carousel
   =========================== */

.carousel-container {
    position: relative;
    margin-bottom: var(--spacing-xxl);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.carousel {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    display: flex;
    align-items: flex-end;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carousel-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.3) 70%, transparent 100%);
}

.carousel-slide-content {
    position: relative;
    z-index: 2;
    padding: var(--spacing-xl);
    max-width: 800px;
}

.carousel-slide-date {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--color-accent-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-sm);
}

.carousel-slide-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.carousel-slide-description {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    backdrop-filter: blur(10px);
    transition: all var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-btn:hover {
    background-color: var(--color-accent-primary);
    border-color: var(--color-accent-primary);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
    left: var(--spacing-md);
}

.carousel-btn-next {
    right: var(--spacing-md);
}

.carousel-indicators {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: var(--spacing-sm);
}

.indicator {
    width: 40px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.indicator.active {
    background-color: var(--color-accent-primary);
    width: 60px;
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.5);
}


/* ===========================
   Updates List
   =========================== */

.updates-list {
    margin-top: var(--spacing-xxl);
}

.updates-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--color-accent-primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: gap var(--transition-fast);
    text-decoration: none;
}

.view-all-link:hover {
    gap: var(--spacing-sm);
    text-decoration: underline;
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.update-card {
    background-color: var(--color-bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    border: 1px solid var(--color-border);
    opacity: 0;
    transform: translateY(20px);
}

.update-card.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.update-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent-primary);
}

.update-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: var(--color-bg-tertiary);
}

.update-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.update-card-content {
    padding: var(--spacing-md);
}

.update-card-date {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--color-accent-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-xs);
}

.update-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
    color: var(--color-text-primary);
}

.update-card-description {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.5;
}

.update-card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--color-accent-primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap var(--transition-fast);
}

.update-card-link:hover {
    gap: var(--spacing-sm);
}


/* ===========================
   Game Info Section
   =========================== */

.game-info-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--color-bg-secondary);
}

/* Story Hero Block */
.story-hero {
    position: relative;
    width: 100%;
    min-height: 500px;
    margin-bottom: var(--spacing-xxl);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.story-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.story-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.85) 40%,
        rgba(0, 0, 0, 0.6) 70%,
        rgba(0, 0, 0, 0.3) 100%
    );
    z-index: 2;
}

.story-hero-content {
    position: relative;
    z-index: 3;
    padding: var(--spacing-xxl);
    max-width: 700px;
}

.story-hero-content h3 {
    font-size: 3rem;
    margin-bottom: var(--spacing-lg);
    color: var(--color-accent-primary);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.story-hero-content p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #ffffff;
    margin-bottom: var(--spacing-md);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
}

.story-hero-content p:last-child {
    margin-bottom: 0;
}

/* Game Description */
.game-description {
    margin-bottom: var(--spacing-xxl);
    text-align: center;
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-text-primary);
    max-width: 900px;
    margin: 0 auto;
}

/* Modern Features Grid */
.features-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xxl);
}

.feature-modern-card {
    position: relative;
    background-color: var(--color-bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.feature-modern-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent-primary);
    box-shadow: 0 12px 40px rgba(139, 28, 28, 0.3);
}

.feature-modern-image-container {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.feature-modern-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.feature-modern-card:hover .feature-modern-image-container img {
    transform: scale(1.1);
}

.feature-modern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.6) 100%
    );
}

.feature-modern-content {
    padding: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.feature-modern-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-accent-primary), #a52a2a);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    box-shadow: 0 4px 12px rgba(139, 28, 28, 0.4);
}

.feature-modern-icon svg {
    color: #ffffff;
}

.feature-modern-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-primary);
    line-height: 1.3;
}

.feature-modern-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-sm);
}

.feature-modern-content p:last-child {
    margin-bottom: 0;
}

/* Quick Overview */
.quick-overview {
    padding: var(--spacing-xl);
    background-color: var(--color-bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.quick-overview h3 {
    font-size: 2rem;
    margin-bottom: var(--spacing-lg);
    text-align: center;
    color: var(--color-text-primary);
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.overview-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background-color: var(--color-bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: all var(--transition-normal);
}

.overview-item:hover {
    border-color: var(--color-accent-primary);
    transform: translateX(4px);
}

.overview-icon {
    flex-shrink: 0;
    color: var(--color-accent-primary);
}

.overview-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin: 0;
}

/* Responsive Design for Game Info */
@media (max-width: 968px) {
    .story-hero {
        min-height: 400px;
    }

    .story-hero-content {
        padding: var(--spacing-lg);
        max-width: 100%;
    }

    .story-hero-content h3 {
        font-size: 2rem;
    }

    .story-hero-content p {
        font-size: 1rem;
    }

    .story-hero-overlay {
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.85) 50%,
            rgba(0, 0, 0, 0.95) 100%
        );
    }

    .features-modern {
        grid-template-columns: 1fr;
    }

    .feature-modern-image-container {
        height: 200px;
    }

    .feature-modern-content {
        padding: var(--spacing-md);
    }

    .feature-modern-icon {
        width: 50px;
        height: 50px;
    }

    .feature-modern-content h4 {
        font-size: 1.3rem;
    }

    .overview-grid {
        grid-template-columns: 1fr;
    }
}


/* ===========================
   Press Kit Section
   =========================== */

.press-kit-section {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, rgba(139, 28, 28, 0.1), rgba(0, 0, 0, 0.3));
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.press-kit-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.press-kit-content p {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
}

.press-kit-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.external-link-icon {
    transition: transform var(--transition-fast);
}

.press-kit-link:hover .external-link-icon {
    transform: translate(2px, -2px);
}


/* ===========================
   FAQ Section
   =========================== */

.faq-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--color-bg-primary);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    overflow: hidden;
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(20px);
}

.faq-item.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.faq-item:hover {
    border-color: var(--color-accent-primary);
}

.faq-item.active {
    border-color: var(--color-accent-primary);
}

.faq-question {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.faq-question:hover {
    color: var(--color-accent-primary);
}

.faq-icon {
    flex-shrink: 0;
    transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    color: var(--color-text-secondary);
    line-height: 1.8;
}


/* ===========================
   Footer
   =========================== */

.footer {
    background-color: var(--color-bg-secondary);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo img {
    height: 60px;
    width: auto;
    margin-bottom: var(--spacing-md);
}

.footer-logo p {
    color: var(--color-text-secondary);
    font-size: 1rem;
}

.footer-links {
    display: contents;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-primary);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-column a {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--color-accent-primary);
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer-bottom p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}


/* ===========================
   Responsive Design
   =========================== */

@media (max-width: 1024px) {
    .carousel {
        height: 500px;
    }

    .carousel-slide-content {
        padding: var(--spacing-lg);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-lg);
    }

    .footer-logo {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 350px;
        height: 100vh;
        background-color: var(--color-bg-secondary);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px var(--spacing-lg) var(--spacing-xl);
        gap: var(--spacing-lg);
        transition: right var(--transition-normal);
        box-shadow: var(--shadow-xl);
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: var(--spacing-md);
    }

    .nav-link {
        font-size: 1.1rem;
        width: 100%;
        padding: var(--spacing-sm) 0;
    }

    .nav-buttons {
        flex-direction: column;
        width: 100%;
        gap: var(--spacing-sm);
    }

    .nav-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .hero {
        min-height: 500px;
    }

    .hero-content {
        padding: 0 var(--spacing-md);
    }

    .hero-logo img {
        max-width: 250px;
    }

    .hero-overlay {
        background: linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.7) 70%, rgba(10, 10, 10, 0.3) 100%);
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .carousel {
        height: 450px;
    }

    .carousel-slide-content {
        padding: var(--spacing-md);
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-btn-prev {
        left: var(--spacing-sm);
    }

    .carousel-btn-next {
        right: var(--spacing-sm);
    }

    .updates-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-logo {
        grid-column: 1;
        text-align: center;
    }

    .footer-logo img {
        margin: 0 auto var(--spacing-md);
    }

    .footer-column {
        text-align: center;
    }

    .footer-column ul {
        align-items: center;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 1.5rem;
        --spacing-xl: 2rem;
        --spacing-xxl: 2.5rem;
    }

    .nav-container {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .nav-logo img {
        height: 40px;
    }

    .hero {
        min-height: 450px;
    }

    .hero-logo img {
        max-width: 200px;
    }

    .section-title {
        margin-bottom: var(--spacing-lg);
    }

    .carousel {
        height: 400px;
    }

    .indicator {
        width: 30px;
    }

    .indicator.active {
        width: 45px;
    }
}


/* ===========================
   Trailer Modal
   =========================== */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.modal-content {
    position: relative;
    z-index: 10001;
    width: 90%;
    max-width: 1200px;
    animation: modalSlideIn 0.4s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    background-color: var(--color-accent-primary);
    border-color: var(--color-accent-primary);
    transform: rotate(90deg);
}

.modal-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background-color: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.modal-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
    }

    .modal-close {
        top: -45px;
        width: 40px;
        height: 40px;
    }

    .modal-close svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .modal-close {
        top: auto;
        bottom: -60px;
        right: 50%;
        transform: translateX(50%);
    }

    .modal-close:hover {
        transform: translateX(50%) rotate(90deg);
    }
}


/* ===========================
   Easter Egg: Terminal System
   =========================== */

.terminal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.terminal-overlay.active {
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    opacity: 1;
}

.terminal {
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    background: #0a0a0a;
    border: 2px solid #00ff00;
    border-radius: 8px;
    padding: 20px;
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    font-size: 14px;
    color: #00ff00;
    overflow-y: auto;
    box-shadow:
        0 0 30px rgba(0, 255, 0, 0.3),
        inset 0 0 50px rgba(0, 255, 0, 0.05);
    position: relative;
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.3s ease;
}

.terminal-overlay.active .terminal {
    transform: scale(1);
    opacity: 1;
}

/* CRT Scanline Effect */
.terminal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        transparent 50%,
        rgba(0, 255, 0, 0.03) 50%
    );
    background-size: 100% 4px;
    pointer-events: none;
    animation: scanline 8s linear infinite;
    z-index: 1;
}

@keyframes scanline {
    0% { background-position: 0 0; }
    100% { background-position: 0 100%; }
}

/* CRT Flicker */
.terminal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 255, 0, 0.02);
    opacity: 0;
    pointer-events: none;
    animation: flicker 0.15s infinite;
    z-index: 1;
}

@keyframes flicker {
    0% { opacity: 0.05; }
    50% { opacity: 0.1; }
    100% { opacity: 0.05; }
}

.terminal-output {
    position: relative;
    z-index: 2;
    white-space: pre-wrap;
    word-wrap: break-word;
    line-height: 1.6;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.terminal-output span {
    animation: textGlow 0.1s ease-in-out;
}

@keyframes textGlow {
    0% { opacity: 0.5; text-shadow: 0 0 2px rgba(0, 255, 0, 0.3); }
    100% { opacity: 1; text-shadow: 0 0 5px rgba(0, 255, 0, 0.5); }
}

/* Glitch Effects */
.glitch-in {
    animation: glitchIn 0.4s ease-out;
}

.glitch-out {
    animation: glitchOut 0.4s ease-out;
}

@keyframes glitchIn {
    0% {
        transform: scale(0.8) skewX(-10deg);
        opacity: 0;
        filter: blur(10px);
    }
    20% {
        transform: scale(1.05) skewX(5deg);
        opacity: 0.5;
    }
    40% {
        transform: scale(0.95) skewX(-3deg);
        opacity: 0.8;
    }
    60% {
        transform: scale(1.02) skewX(2deg);
        opacity: 0.9;
    }
    100% {
        transform: scale(1) skewX(0deg);
        opacity: 1;
        filter: blur(0px);
    }
}

@keyframes glitchOut {
    0% {
        transform: scale(1) skewX(0deg);
        opacity: 1;
        filter: blur(0px);
    }
    50% {
        transform: scale(1.1) skewX(-20deg);
        opacity: 0.5;
        filter: blur(5px);
    }
    100% {
        transform: scale(0) skewX(30deg);
        opacity: 0;
        filter: blur(20px);
    }
}

/* Terminal Buttons */
.terminal-buttons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.terminal-btn {
    background: transparent;
    border: 2px solid #00ff00;
    color: #00ff00;
    padding: 10px 20px;
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.terminal-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 255, 0, 0.1);
    transition: left 0.3s ease;
}

.terminal-btn:hover::before {
    left: 0;
}

.terminal-btn:hover {
    background: rgba(0, 255, 0, 0.1);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
    transform: translateY(-2px);
}

.terminal-btn:active {
    transform: translateY(0);
}

.terminal-btn-close {
    border-color: #ff0000;
    color: #ff0000;
}

.terminal-btn-close:hover {
    background: rgba(255, 0, 0, 0.1);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

/* Log List */
.log-list {
    margin: 15px 0;
}

.log-item {
    padding: 12px;
    margin: 8px 0;
    border-left: 3px solid #00ff00;
    background: rgba(0, 255, 0, 0.05);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.log-item::before {
    content: '▶';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.2s ease;
}

.log-item:hover {
    background: rgba(0, 255, 0, 0.1);
    padding-left: 20px;
    border-left-width: 5px;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.log-item:hover::before {
    left: 8px;
    opacity: 1;
}

.log-number {
    color: #00ff00;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.8);
}

.log-content {
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 255, 0, 0.03);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 4px;
    animation: fadeIn 0.5s ease;
}

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

/* Scrollbar Styling */
.terminal::-webkit-scrollbar {
    width: 12px;
}

.terminal::-webkit-scrollbar-track {
    background: #0a0a0a;
    border-left: 1px solid #00ff00;
}

.terminal::-webkit-scrollbar-thumb {
    background: #00ff00;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.terminal::-webkit-scrollbar-thumb:hover {
    background: #00ff00;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.8);
}

/* Responsive Terminal */
@media (max-width: 768px) {
    .terminal {
        width: 95%;
        max-height: 90vh;
        padding: 15px;
        font-size: 12px;
    }

    .terminal-btn {
        padding: 8px 15px;
        font-size: 12px;
    }

    .log-item {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .terminal {
        font-size: 11px;
        padding: 10px;
    }

    .terminal-buttons {
        flex-direction: column;
    }

    .terminal-btn {
        width: 100%;
    }
}


/* ===========================
   Animations & Utilities
   =========================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Smooth scroll behavior */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Loading state */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid var(--color-accent-primary);
    outline-offset: 2px;
}
