/* ==========================================
   MONARCH STUDIOS - HOMEPAGE STYLES
   Premium, modern dark theme with elegant effects
   ========================================== */

/* CSS Variables - Monarch Color Palette */
:root {
    /* Brand Colors */
    --color-primary: #7B2FBF;
    --color-primary-light: #9D4EDD;
    --color-primary-dark: #5A1F8F;
    --color-primary-dim: #5A1F8F;
    --color-secondary: #57D857;
    --color-accent: #F2C93A;

    /* Background Colors (deep purple, matching deck slide 1) */
    --color-bg-dark: #150C28;
    --color-bg-medium: #1C1138;
    --color-bg-light: #271A4A;

    /* Text Colors */
    --color-text: #FFFFFF;
    --color-text-secondary: #E8E8F0;
    --color-text-dim: #888899;

    /* Glass Effect */
    --color-glass: rgba(255, 255, 255, 0.03);
    --color-glass-border: rgba(255, 255, 255, 0.08);

    /* Legacy VISR colors (for effects) */
    --color-visr-yellow: #FFB800;
    --color-visr-red: #ff3333;
    --color-visr-green: #33ff66;
    --color-visr-blue: #3399ff;

    /* Typography */
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Shadows */
    --shadow-glow: 0 0 30px rgba(123, 47, 191, 0.3);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.4);

    /* Additional Variables for New Sections */
    --color-accent-primary: #9D4EDD;
    --color-accent-secondary: #8b5cf6;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(255, 255, 255, 0.15);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #7B2FBF 0%, #9D4EDD 50%, #C77DFF 100%);

    /* Transitions */
    --transition-base: 250ms ease;

    /* Spacing System */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;

    /* Layout */
    --container-max: 1200px;
    --container-padding: 1.5rem;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-dark);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

/* Disable image dragging site-wide */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    max-width: 100vw;
}

/* Scanline Overlay */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.03) 0px,
        rgba(0, 0, 0, 0.03) 1px,
        transparent 1px,
        transparent 2px
    );
}

/* VISR HUD Overlay - only shown in loading screen */
.loading-screen .visr-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
}

.loading-screen .visr-corner {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid var(--color-visr-yellow);
    opacity: 0.3;
}

.loading-screen .visr-corner.top-left {
    top: 20px;
    left: 20px;
    border-right: none;
    border-bottom: none;
}

.loading-screen .visr-corner.top-right {
    top: 20px;
    right: 20px;
    border-left: none;
    border-bottom: none;
}

.loading-screen .visr-corner.bottom-left {
    bottom: 20px;
    left: 20px;
    border-right: none;
    border-top: none;
}

.loading-screen .visr-corner.bottom-right {
    bottom: 20px;
    right: 20px;
    border-left: none;
    border-top: none;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 2rem;
    transition: background var(--transition-medium), padding var(--transition-medium), transform 0.3s ease;
}

.nav.scrolled {
    background: rgba(17, 10, 33, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.75rem 2rem;
    border-bottom: 1px solid rgba(157, 78, 221, 0.18);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

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

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

.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--color-text);
    letter-spacing: 0.3em;
}

.logo-subtitle {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--color-text-dim);
    margin-top: -5px;
}

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

.nav-link {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-dim);
    text-decoration: none;
    letter-spacing: 0.15em;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-fast);
}

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

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
}

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

.btn-enlist {
    display: inline-block;
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn-enlist::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #ffffff;
    transition: left var(--transition-medium);
    z-index: -1;
}

.btn-enlist:hover {
    color: var(--color-bg-dark);
}

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

/* Mobile Navigation */
.mobile-nav {
    display: none; /* Hidden by default, shown via media query */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: background 0.3s ease, backdrop-filter 0.3s ease, transform 0.3s ease;
}

/* Mobile nav with background - shown when scrolling up after passing threshold */
.mobile-nav.scrolled {
    background: rgba(10, 10, 12, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Hide mobile nav when scrolling down (after initial view) */
.mobile-nav.hidden {
    transform: translateY(-100%);
}

/* Menu open state - always show with background */
.mobile-nav.menu-open {
    transform: translateY(0);
    background: rgba(10, 10, 12, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.mobile-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--color-glass-border);
}

.mobile-logo {
    text-decoration: none;
}

.mobile-logo-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--color-text);
    letter-spacing: 0.25em;
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 5px;
}

.menu-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all 0.3s ease;
}

/* Hamburger to X animation */
.mobile-nav.menu-open .menu-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-nav.menu-open .menu-bar:nth-child(2) {
    opacity: 0;
}

.mobile-nav.menu-open .menu-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-nav.menu-open .mobile-menu {
    max-height: 600px;
}

.mobile-nav-links {
    list-style: none;
    padding: 1rem 0;
}

.mobile-nav-link {
    display: block;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-dim);
    text-decoration: none;
    letter-spacing: 0.15em;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
    color: #ffffff;
    background: rgba(123, 47, 191, 0.1);
}

.mobile-nav-cta {
    display: inline-block;
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
    text-align: center;
    width: auto;
}

.mobile-nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #ffffff;
    transition: left var(--transition-medium);
    z-index: -1;
}

.mobile-nav-cta:hover,
.mobile-nav-cta:active {
    color: var(--color-bg-dark);
}

.mobile-nav-cta:hover::before,
.mobile-nav-cta:active::before {
    left: 0;
}

/* Parallax Sections */
.parallax-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.parallax-section.squad {
    overflow: visible;
}

.parallax-section.squad .parallax-content {
    overflow: visible;
}

.parallax-section.squad .section-container {
    overflow: visible;
}

.parallax-section.squad .section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.parallax-section.squad .section-header .section-label {
    display: block;
    margin-bottom: 1rem;
}

.parallax-section.arsenal .section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.parallax-section.arsenal .section-header .section-label {
    display: block;
    margin-bottom: 1rem;
}

.parallax-bg {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

.parallax-content {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg-medium) 100%);
}

.hero-bg {
    background:
        linear-gradient(180deg, rgba(10, 10, 15, 0.3) 0%, rgba(10, 10, 15, 0.7) 50%, var(--color-bg-dark) 100%),
        radial-gradient(ellipse at 30% 50%, rgba(123, 47, 191, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(87, 216, 87, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(157, 78, 221, 0.08) 0%, transparent 60%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Hero Rain Overlay GIF */
.hero-rain-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    z-index: 5;
    opacity: 0.4;
    mix-blend-mode: screen;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.hero-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.unsc-logo {
    width: 60px;
    height: auto;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.badge-text {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    color: var(--color-text);
}

.hero-title {
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 100%;
    text-align: center;
}

.title-line {
    display: block;
    font-family: var(--font-display);
    font-weight: 900;
    letter-spacing: 0.1em;
    line-height: 1.1;
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.title-line-1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    color: var(--color-text);
    opacity: 0;
    animation: slideInLeft 0.8s ease forwards;
}

.title-line-2 {
    font-size: clamp(3rem, 10vw, 7rem);
    color: #ffffff;
    text-shadow: 0 0 40px rgba(157, 78, 221, 0.6);
    opacity: 0;
    animation: slideInRight 0.8s ease 0.2s forwards;
}

.title-line-3 {
    font-size: clamp(3rem, 10vw, 7rem);
    color: #ffffff;
    text-shadow: 0 0 60px rgba(123, 47, 191, 0.6);
    opacity: 0;
    animation: fadeInGlow 0.8s ease 0.4s forwards;
}

@keyframes fadeInGlow {
    from { opacity: 0; transform: translateY(20px); text-shadow: 0 0 0 transparent; }
    to { opacity: 1; transform: translateY(0); text-shadow: 0 0 60px rgba(123, 47, 191, 0.6); }
}

/* ========================================
   SPOTLIGHT HERO SECTION
   ======================================== */

.spotlight-hero-section {
    position: relative;
    min-height: 100vh;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.spotlight-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/Herosjourneybeach.png');
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.1s ease;
    -webkit-mask-image: radial-gradient(circle 300px at var(--mouse-x, 50%) var(--mouse-y, 50%), black 0%, transparent 100%);
    mask-image: radial-gradient(circle 300px at var(--mouse-x, 50%) var(--mouse-y, 50%), black 0%, transparent 100%);
}

.spotlight-hero-section:hover .spotlight-bg {
    opacity: 1;
}

.spotlight-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
}

.spotlight-hero-section .hero-content {
    position: relative;
    z-index: 10;
}

.spotlight-hero-section .title-line-1,
.spotlight-hero-section .title-line-2,
.spotlight-hero-section .title-line-3 {
    opacity: 1;
    animation: none;
}

/* Hero Particles Effect */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    opacity: 0.8;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: var(--color-primary);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.6;
    animation: floatParticle 20s linear infinite;
    box-shadow: 0 0 6px rgba(157, 78, 221, 0.4);
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) rotate(720deg);
        opacity: 0;
    }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 640px;
    margin: 0 auto 3rem;
    text-shadow: 0 2px 16px rgba(10, 6, 20, 0.9);
    opacity: 0;
    animation: fadeIn 1s ease 0.7s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeIn 1s ease 0.9s forwards;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 1rem 2.5rem;
    background: #ffffff;
    border: 2px solid transparent;
    color: var(--color-bg-dark);
    letter-spacing: 0.15em;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.4);
}

.btn-primary .btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(123, 47, 191, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    pointer-events: none;
}

.btn-primary:hover .btn-glow {
    width: 400px;
    height: 400px;
}

.btn-primary.large {
    padding: 1.25rem 3rem;
    font-size: 1rem;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 2px solid var(--color-text-dim);
    color: var(--color-text);
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-secondary:hover {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
    box-shadow: 0 0 20px rgba(87, 216, 87, 0.3);
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    animation: fadeIn 1s ease 1.2s forwards, float 2s ease-in-out infinite;
}

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

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--color-text-dim);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0%, 100% { opacity: 1; top: 8px; }
    50% { opacity: 0.3; top: 20px; }
}

.scroll-text {
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--color-text-dim);
}


/* ==========================================
   TICKER SECTION
   ========================================== */
.ticker-section {
    background: var(--color-bg-dark);
    padding: 80px 0;
    overflow: hidden;
    position: relative;
}

.ticker-vision-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 2rem;
}

.ticker-vision-label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-accent-primary);
    margin-bottom: 1rem;
}

.ticker-vision-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.ticker-vision-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-dim);
    line-height: 1.6;
    /* Allow text to wrap on smaller screens to prevent overflow */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.ticker-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.ticker-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

/* Left side - Text content */
.ticker-text {
    flex: 1;
    max-width: 450px;
    opacity: 1;
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ticker-text.transitioning {
    opacity: 0;
    transform: translateY(15px);
}

.ticker-label {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--color-primary);
    display: block;
    margin-bottom: 1rem;
}

.ticker-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    letter-spacing: 0.1em;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.ticker-desc {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-dim);
}

/* Right side - Carousel */
.ticker-carousel-wrapper {
    flex: 1;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.ticker-carousel {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: visible;
    cursor: grab;
    user-select: none;
}

.ticker-carousel:active {
    cursor: grabbing;
}

.ticker-track {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ticker-slide {
    position: absolute;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.ticker-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ticker-slide:hover img {
    transform: scale(1.05);
}

/* Slide positions */
.ticker-slide[data-position="prev-2"] {
    transform: translateY(-220px) scale(0.5);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    filter: brightness(0.4) blur(2px);
}

.ticker-slide[data-position="prev"] {
    transform: translateY(-140px) scale(0.7);
    opacity: 0.6;
    z-index: 2;
    filter: brightness(0.7);
}

.ticker-slide[data-position="active"] {
    transform: translateY(0) scale(1);
    opacity: 1;
    z-index: 3;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 215, 0, 0.15);
    filter: brightness(1);
}

.ticker-slide[data-position="next"] {
    transform: translateY(140px) scale(0.7);
    opacity: 0.6;
    z-index: 2;
    filter: brightness(0.7);
}

.ticker-slide[data-position="next-2"] {
    transform: translateY(220px) scale(0.5);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    filter: brightness(0.4) blur(2px);
}

/* Ticker indicators */
.ticker-indicators {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
}

.ticker-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-glass-border);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.ticker-indicator.active {
    background: var(--color-primary);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.ticker-indicator:hover {
    background: var(--color-primary-dim);
}

/* Responsive - Tablet */
@media (max-width: 968px) {
    .ticker-section {
        padding: 60px 0 80px;
    }

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

    .ticker-text {
        position: relative;
        max-width: 600px;
        width: 100%;
        text-align: center;
        padding: 0 1.5rem;
        flex-shrink: 0;
    }

    .ticker-label {
        font-size: 0.7rem;
        margin-bottom: 0.75rem;
    }

    .ticker-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .ticker-desc {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .ticker-carousel-wrapper {
        max-width: 100%;
        width: 100%;
        flex-shrink: 0;
    }

    .ticker-carousel {
        height: 380px;
        overflow: visible;
    }

    .ticker-track {
        height: 100%;
    }

    .ticker-slide {
        max-width: 420px;
        left: 50%;
        transform-origin: center center;
    }

    .ticker-slide[data-position="active"] {
        transform: translateX(-50%) translateY(0) scale(1);
    }

    .ticker-slide[data-position="prev"] {
        transform: translateX(-50%) translateY(-130px) scale(0.65);
        opacity: 0.4;
    }

    .ticker-slide[data-position="next"] {
        transform: translateX(-50%) translateY(130px) scale(0.65);
        opacity: 0.4;
    }

    .ticker-slide[data-position="prev-2"] {
        transform: translateX(-50%) translateY(-220px) scale(0.5);
    }

    .ticker-slide[data-position="next-2"] {
        transform: translateX(-50%) translateY(220px) scale(0.5);
    }

    .ticker-indicators {
        position: relative;
        right: auto;
        bottom: auto;
        top: auto;
        left: auto;
        transform: none;
        flex-direction: row;
        justify-content: center;
        gap: 12px;
        margin-top: 30px;
    }

    .ticker-indicator {
        width: 10px;
        height: 10px;
    }
}

/* Responsive - Mobile */
@media (max-width: 480px) {
    .ticker-section {
        padding: 40px 0 60px;
    }

    .ticker-container {
        padding: 0 1rem;
    }

    .ticker-content {
        gap: 1.5rem;
    }

    .ticker-text {
        max-width: 100%;
        padding: 0 0.5rem;
    }

    .ticker-label {
        font-size: 0.65rem;
        letter-spacing: 0.2em;
    }

    .ticker-title {
        font-size: 1.4rem;
        letter-spacing: 0.05em;
        margin-bottom: 0.75rem;
    }

    .ticker-desc {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .ticker-carousel {
        height: 280px;
    }

    .ticker-slide {
        max-width: 280px;
        border-radius: 12px;
    }

    .ticker-slide img {
        object-fit: cover;
    }

    .ticker-slide[data-position="active"] {
        transform: translateX(-50%) translateY(0) scale(1);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.08);
    }

    .ticker-slide[data-position="prev"] {
        transform: translateX(-50%) translateY(-95px) scale(0.6);
        opacity: 0.35;
    }

    .ticker-slide[data-position="next"] {
        transform: translateX(-50%) translateY(95px) scale(0.6);
        opacity: 0.35;
    }

    .ticker-slide[data-position="prev-2"],
    .ticker-slide[data-position="next-2"] {
        opacity: 0;
    }

    .ticker-indicators {
        margin-top: 20px;
        gap: 10px;
    }

    .ticker-indicator {
        width: 8px;
        height: 8px;
    }
}

/* Section Container */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.section-number {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.3em;
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: 0.2em;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.section-line {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    margin: 0 auto;
}

/* Story Section */
.story {
    background: #050508;
    overflow: hidden;
}

/* Fade to black/transparent overlay for story section - seamless fade on top and bottom */
.story::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0.7) 5%,
        transparent 15%,
        transparent 85%,
        rgba(0, 0, 0, 0.7) 95%,
        rgba(0, 0, 0, 1) 100%);
    pointer-events: none;
    z-index: 5;
}

.story .parallax-bg {
    /* Disable parallax transform for story section - keep background static */
    transform: none !important;
    top: 0;
    height: 100%;
}

.story-bg {
    background: #050508;
}

/* Mission Layout */
.mission-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 968px) {
    .mission-layout {
        grid-template-columns: 1fr;
    }
}

/* Mission Media Container */
.mission-media {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Mission Holotable Image */
.mission-image-container {
    position: relative;
    cursor: pointer;
}

.mission-holotable {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 0 60px rgba(60, 150, 200, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-image-container:hover .mission-holotable {
    transform: scale(1.02);
    box-shadow: 0 0 80px rgba(60, 150, 200, 0.5);
}

.holotable-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(60, 150, 200, 0.2) 0%, transparent 70%);
    pointer-events: none;
    animation: holoPulse 3s ease-in-out infinite;
}

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

/* Mission Gallery */
.mission-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid rgba(60, 150, 200, 0.2);
    transition: all 0.3s ease;
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(60, 150, 200, 0);
    z-index: 1;
    transition: background 0.3s ease;
}

.gallery-item:hover {
    border-color: rgba(60, 150, 200, 0.6);
    box-shadow: 0 0 20px rgba(60, 150, 200, 0.3);
}

.gallery-item:hover::before {
    background: rgba(60, 150, 200, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .mission-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 8, 0.95);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    position: relative;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 100px rgba(60, 150, 200, 0.4);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10002;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
    line-height: 1;
}

.lightbox-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: #fff;
    background: rgba(60, 150, 200, 0.2);
    border: 1px solid rgba(60, 150, 200, 0.3);
    padding: 1rem 1.25rem;
    cursor: pointer;
    z-index: 10002;
    opacity: 0.7;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    opacity: 1;
    background: rgba(60, 150, 200, 0.4);
    border-color: rgba(60, 150, 200, 0.6);
}

/* Hide lightbox arrows on mobile - use swipe instead */
@media (max-width: 768px) {
    .lightbox-prev,
    .lightbox-next {
        display: none;
    }
}

/* Mission Content */
.mission-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mission-briefing {
    background: rgba(10, 20, 35, 0.8);
    border: 1px solid rgba(60, 150, 200, 0.3);
    padding: 2rem;
    border-radius: 4px;
}

.mission-briefing .card-label {
    color: #4a9eca;
}

.mission-briefing .card-icon {
    color: #4a9eca;
}

/* Mission Features */
.mission-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mission-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: rgba(10, 20, 35, 0.6);
    border: 1px solid rgba(60, 150, 200, 0.2);
    padding: 1.25rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.mission-feature:hover {
    border-color: rgba(60, 150, 200, 0.5);
    background: rgba(20, 40, 60, 0.6);
}

.mission-feature .feature-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    margin-bottom: 0;
}

.mission-feature .feature-icon svg {
    stroke: #4a9eca;
}

.feature-text h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: #4a9eca;
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
}

.feature-text p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-text-dim);
    margin: 0;
}

/* Legacy story-grid support */
.story-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

@media (max-width: 968px) {
    .story-grid {
        grid-template-columns: 1fr;
    }
}

.glass-card {
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    backdrop-filter: blur(10px);
    padding: 2rem;
    transition: all var(--transition-medium);
}

.glass-card:hover {
    border-color: var(--color-primary-dim);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.1);
}

.story-card {
    height: 100%;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.card-icon {
    color: var(--color-primary);
    font-size: 0.8rem;
}

.card-label {
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--color-primary);
}

.story-heading {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.story-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-dim);
    margin-bottom: 1.5rem;
}

.story-stats {
    display: flex;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-glass-border);
}

.stat {
    text-align: center;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-primary);
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--color-text-dim);
    text-transform: uppercase;
}

.story-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-card {
    padding: 1.5rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--color-secondary);
}

.feature-card h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.feature-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-text-dim);
}

/* Rain Effect */
.rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.raindrop {
    position: absolute;
    width: 1px;
    height: 20px;
    background: linear-gradient(180deg, transparent, rgba(87, 216, 87, 0.4));
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* Squad Section */
.squad {
    background: #000000;
    z-index: 5;
}

.squad-bg {
    background:
        linear-gradient(180deg, var(--color-bg-medium) 0%, transparent 20%, transparent 80%, var(--color-bg-medium) 100%),
        radial-gradient(ellipse at 70% 30%, rgba(255, 204, 0, 0.08) 0%, transparent 50%);
}

/* Squad Background Image */
.squad-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.15;
    filter: blur(3px) grayscale(50%);
    z-index: 0;
}

.squad-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0.8) 20%, rgba(0, 0, 0, 0.8) 80%, #000000 100%);
    z-index: 1;
}

.squad-intro {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-dim);
    max-width: 800px;
    margin: 0 auto 4rem;
}

.squad-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.squad-carousel-wrapper::before,
.squad-carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 30;
    pointer-events: none;
}

.squad-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #000000 0%, #000000 20%, transparent 100%);
}

.squad-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #000000 0%, #000000 20%, transparent 100%);
}

.squad-carousel {
    display: flex;
    gap: 2rem;
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 30px 4rem 50px;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    user-select: none;
}

.squad-carousel:active {
    cursor: grabbing;
    scroll-behavior: auto;
}

.squad-carousel.dragging {
    scroll-behavior: auto;
    scroll-snap-type: none;
}

.squad-carousel::-webkit-scrollbar {
    display: none;
}

.squad-member {
    flex: 0 0 min(400px, 85vw);
    scroll-snap-align: center;
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    padding: 2rem;
    transition: all var(--transition-medium);
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.squad-member:hover,
.squad-member.active {
    border-color: rgba(60, 150, 200, 0.6);
    box-shadow: 0 0 40px rgba(60, 150, 200, 0.3);
    transform: translateY(-10px);
    z-index: 20;
}

.member-image {
    position: relative;
    height: 220px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Member Portrait Image */
.member-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 4px;
    border: 2px solid var(--color-glass-border);
    transition: all var(--transition-medium);
    filter: grayscale(30%) brightness(0.9);
}

.squad-member:hover .member-portrait {
    filter: grayscale(0%) brightness(1.1);
    border-color: #4a9eca;
    transform: scale(1.05);
}

.member-silhouette {
    width: 150px;
    height: 180px;
    background: linear-gradient(180deg, var(--color-primary-dim) 0%, var(--color-bg-dark) 100%);
    clip-path: polygon(
        50% 0%,
        65% 5%,
        70% 15%,
        68% 25%,
        75% 30%,
        80% 45%,
        78% 60%,
        72% 70%,
        75% 100%,
        25% 100%,
        28% 70%,
        22% 60%,
        20% 45%,
        25% 30%,
        32% 25%,
        30% 15%,
        35% 5%
    );
    position: relative;
}

.member-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(60, 150, 200, 0.25) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.squad-member:hover .member-glow {
    opacity: 1;
}

.member-info {
    text-align: center;
}

.member-rank {
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: #4a9eca;
    display: block;
    margin-bottom: 0.5rem;
}

.member-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.member-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text-dim);
    margin-bottom: 1.5rem;
}

.member-traits {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.trait {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    padding: 0.4rem 0.8rem;
    background: rgba(60, 150, 200, 0.1);
    border: 1px solid rgba(60, 150, 200, 0.4);
    color: #4a9eca;
    text-transform: uppercase;
}

/* Carousel Navigation */
.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    background: transparent;
    border: 2px solid var(--color-text-dim);
    color: var(--color-text);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.carousel-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.carousel-dots {
    display: flex;
    gap: 0.75rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    background: var(--color-glass);
    border: 1px solid var(--color-text-dim);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.carousel-dot.active,
.carousel-dot:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

/* ==========================================
   NEW TEAM CAROUSEL - Full Width Continuous
   ========================================== */
.team-section {
    padding: var(--space-4xl) 0;
    background: var(--color-bg-dark);
    overflow: hidden;
}

.team-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-3xl);
    padding: 0 var(--container-padding);
}

.team-header .section-label {
    display: block;
    margin-bottom: 1rem;
}

.team-header .section-title {
    margin-bottom: 1rem;
}

.team-intro {
    font-size: 1.1rem;
    color: var(--color-text-dim);
    line-height: 1.7;
}

.btn-view-more {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.6rem 1.5rem;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-decoration: none;
    color: var(--color-text-dim);
    border: 1px solid var(--color-text-dim);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-view-more:hover {
    color: var(--color-secondary);
    border-color: var(--color-secondary);
    box-shadow: 0 0 15px rgba(87, 216, 87, 0.3);
}

.team-carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.team-carousel {
    width: 100%;
    overflow: hidden;
    cursor: grab;
}

.team-carousel:active {
    cursor: grabbing;
}

.team-track {
    display: flex;
    gap: 1.5rem;
    /* Transition controlled by JS for seamless infinite loop repositioning */
    padding: 2rem 0;
    /* GPU acceleration hint for smoother transform animations */
    will-change: transform;
    /* Force GPU layer to prevent stutter on wrap-around */
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.team-card {
    flex: 0 0 320px;
    background: #0a0a0f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.4s ease,
                filter 0.4s ease,
                border-color 0.4s ease,
                box-shadow 0.4s ease;
    transform: scale(0.9);
    opacity: 0.6;
    filter: grayscale(30%);
    will-change: transform, opacity;
    user-select: none;
}

.team-card.active {
    transform: scale(1);
    opacity: 1;
    filter: grayscale(0%);
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 20px 60px rgba(168, 85, 247, 0.2), 0 0 40px rgba(168, 85, 247, 0.1);
}

.team-card.adjacent {
    transform: scale(0.95);
    opacity: 0.8;
    filter: grayscale(15%);
}

.card-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.team-card.active .card-image img {
    transform: scale(1.05);
}

.card-info {
    padding: 1.5rem;
    text-align: center;
    background: transparent;
}

.card-role {
    display: block;
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: #a855f7;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.card-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.card-desc {
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--color-text-dim);
    margin-bottom: 1rem;
}

.card-tags {
    display: flex;
    gap: 0.4rem;
    justify-content: center;
    flex-wrap: wrap;
}

.card-tag {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    padding: 0.3rem 0.6rem;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #a855f7;
    text-transform: uppercase;
    border-radius: 4px;
}

/* Fade edges */
.team-carousel-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 200px;
    pointer-events: none;
    z-index: 10;
}

.team-carousel-fade-left {
    left: 0;
    background: linear-gradient(to right, var(--color-bg-dark) 0%, var(--color-bg-dark) 20%, transparent 100%);
}

.team-carousel-fade-right {
    right: 0;
    background: linear-gradient(to left, var(--color-bg-dark) 0%, var(--color-bg-dark) 20%, transparent 100%);
}

/* Navigation dots */
.team-nav {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    padding: 0 var(--container-padding);
}

.team-dots {
    display: flex;
    gap: 0.75rem;
}

.team-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.team-dot:hover {
    background: rgba(168, 85, 247, 0.5);
    border-color: rgba(168, 85, 247, 0.8);
}

.team-dot.active {
    background: #a855f7;
    border-color: #a855f7;
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 768px) {
    .team-card {
        flex: 0 0 280px;
    }

    .card-image {
        height: 240px;
    }

    .team-carousel-fade {
        width: 60px;
    }

    .card-desc {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .team-card {
        flex: 0 0 240px;
    }

    .card-image {
        height: 200px;
    }

    .card-info {
        padding: 1rem;
    }

    .card-name {
        font-size: 1rem;
    }

    .card-desc {
        font-size: 0.7rem;
    }

    .card-tag {
        font-size: 0.55rem;
        padding: 0.25rem 0.5rem;
    }

    .team-carousel-fade {
        width: 30px;
    }
}

/* ==========================================
   ARSENAL SECTION
   ========================================== */
.arsenal {
    background: var(--color-bg-dark);
}

.arsenal-bg {
    background:
        linear-gradient(180deg, var(--color-bg-dark) 0%, transparent 20%, transparent 80%, var(--color-bg-dark) 100%),
        radial-gradient(ellipse at 20% 80%, rgba(51, 153, 255, 0.1) 0%, transparent 50%);
}

.arsenal-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.1;
    filter: blur(2px) grayscale(60%);
    z-index: 0;
}

.arsenal-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--color-bg-dark) 0%, rgba(10, 10, 12, 0.9) 20%, rgba(10, 10, 12, 0.9) 80%, var(--color-bg-dark) 100%);
    z-index: 1;
}

.arsenal-selector {
    margin-bottom: 4rem;
}

/* Weapon Icons Row */
.weapon-icons {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--color-glass-border);
    border-radius: 8px;
    margin-bottom: 2rem;
    overflow-x: auto;
}

.weapon-icon {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 0.75rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 90px;
}

.weapon-icon img {
    width: 70px;
    height: 45px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.7);
    transition: all var(--transition-fast);
}

.weapon-icon-label {
    font-family: var(--font-display);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    color: var(--color-text-dim);
    text-transform: uppercase;
    transition: color var(--transition-fast);
}

.weapon-icon:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-glass-border);
}

.weapon-icon:hover img {
    filter: grayscale(50%) brightness(0.9);
}

.weapon-icon:hover .weapon-icon-label {
    color: var(--color-text);
}

.weapon-icon.active {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.weapon-icon.active img {
    filter: grayscale(0%) brightness(1);
}

.weapon-icon.active .weapon-icon-label {
    color: var(--color-primary);
}

/* Weapon Detail Area */
.weapon-detail {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--color-glass-border);
    border-radius: 12px;
    overflow: hidden;
}

.weapon-detail-content {
    display: flex;
    min-height: 400px;
}

/* Weapon Info (Left Side) */
.weapon-info {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--color-glass-border);
}

.weapon-category {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}
.weapon-category::before {
    content: '';
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
}

.weapon-name {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    letter-spacing: 0.1em;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.weapon-tagline {
    font-family: var(--font-display);
    font-size: 1rem;
    font-style: italic;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.weapon-desc {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-text-dim);
    margin-bottom: 2rem;
}

/* Weapon Stats */
/* Capability Pills */
.capability-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.info-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.9rem;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 20px;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: #c084fc;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.info-pill:hover {
    background: rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.5);
    transform: translateY(-1px);
}

/* Weapon Image (Right Side) */
.weapon-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(51, 153, 255, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.weapon-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(51, 153, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.weapon-detail-image {
    max-width: 90%;
    max-height: 300px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(51, 153, 255, 0.3));
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.weapon-detail:hover .weapon-detail-image {
    filter: drop-shadow(0 0 50px rgba(51, 153, 255, 0.5));
    transform: scale(1.05);
}

/* Responsive Arsenal */
@media (max-width: 968px) {
    .weapon-icons {
        justify-content: center;
        gap: 0.4rem;
        padding: 0.75rem;
    }

    .weapon-icon {
        min-width: 75px;
        padding: 0.5rem;
    }

    .weapon-icon img {
        width: 55px;
        height: 35px;
    }

    .weapon-detail-content {
        flex-direction: column;
        min-height: auto;
    }

    /* Image above text on tablet/mobile */
    .weapon-image-container {
        order: -1;
        padding: 2rem;
        min-height: 250px;
        border-bottom: 1px solid var(--color-glass-border);
    }

    .weapon-info {
        padding: 2rem;
        border-right: none;
        border-bottom: none;
    }

    .weapon-detail-image {
        max-height: 200px;
    }
}

@media (max-width: 480px) {
    .weapon-icons {
        justify-content: flex-start;
        gap: 0.3rem;
        padding: 0.5rem;
    }

    .weapon-icon {
        min-width: 60px;
        padding: 0.4rem;
    }

    .weapon-icon img {
        width: 45px;
        height: 30px;
    }

    .weapon-icon-label {
        font-size: 0.5rem;
    }

    .weapon-info {
        padding: 1.5rem;
    }

    .weapon-name {
        font-size: 1.5rem;
    }

    .weapon-tagline {
        font-size: 0.9rem;
    }

    .weapon-desc {
        font-size: 0.9rem;
    }

    .weapon-image-container {
        min-height: 180px;
        padding: 1.5rem;
    }

    .weapon-detail-image {
        max-height: 150px;
    }
}

/* ==========================================
   INCLUDED TITLES INTRO SECTION
   Banner section above MCC grid
   ========================================== */
.included-titles-intro {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    height: 400px;
    overflow: hidden;
    margin-top: 4rem;
    background: var(--color-bg-dark);
}

.included-titles-split {
    display: flex;
    height: 100%;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.included-titles-left {
    flex: 0 0 280px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 2;
    background: linear-gradient(90deg,
        var(--color-bg-dark) 0%,
        var(--color-bg-dark) 60%,
        transparent 100%);
}

.included-titles-character {
    height: 100%;
    width: auto;
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(10px 0 30px rgba(0, 0, 0, 0.8));
}

.included-titles-right {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.included-titles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.included-titles-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: brightness(0.5) saturate(1.2);
}

.included-titles-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        rgba(10, 10, 12, 1) 0%,
        rgba(10, 10, 12, 0.85) 15%,
        rgba(10, 10, 12, 0.5) 50%,
        rgba(10, 10, 12, 0.3) 80%,
        rgba(10, 10, 12, 0.4) 100%);
}

.included-titles-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem 3rem;
    max-width: 600px;
}

.included-titles-label {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.included-titles-label::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--color-primary);
}

.included-titles-heading {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    letter-spacing: 0.1em;
    color: var(--color-text);
    text-transform: uppercase;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.included-titles-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-dim);
    line-height: 1.7;
    max-width: 550px;
    margin-bottom: 2rem;
}

.included-titles-badges {
    display: flex;
    gap: 2.5rem;
}

.included-badge {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.included-badge .badge-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1;
    letter-spacing: 0.05em;
}

.included-badge .badge-label {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-text-dim);
    text-transform: uppercase;
    margin-top: 0.25rem;
}

/* Responsive Included Titles */
@media (max-width: 1200px) {
    .included-titles-left {
        flex: 0 0 220px;
    }
}

@media (max-width: 968px) {
    .included-titles-intro {
        height: auto;
        min-height: 350px;
    }

    .included-titles-split {
        flex-direction: row;
    }

    .included-titles-left {
        flex: 0 0 180px;
    }

    .included-titles-content {
        padding: 2rem 2rem;
    }

    .included-titles-overlay {
        background: linear-gradient(90deg,
            rgba(10, 10, 12, 1) 0%,
            rgba(10, 10, 12, 0.8) 20%,
            rgba(10, 10, 12, 0.5) 60%,
            rgba(10, 10, 12, 0.4) 100%);
    }

    .included-titles-badges {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .included-titles-intro {
        height: auto;
        min-height: auto;
    }

    .included-titles-split {
        flex-direction: column;
        position: relative;
    }

    /* Image section on top */
    .included-titles-left {
        position: relative;
        flex: none;
        width: 100%;
        height: 280px;
        background: linear-gradient(180deg,
            var(--color-bg-dark) 0%,
            transparent 100%);
        z-index: 2;
        order: -1;
    }

    .included-titles-character {
        height: 100%;
        opacity: 1;
        filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.8));
    }

    /* Text section below */
    .included-titles-right {
        width: 100%;
        height: auto;
        min-height: 300px;
    }

    .included-titles-bg-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .included-titles-content {
        padding: 2rem 1.5rem;
        max-width: 100%;
    }

    .included-titles-overlay {
        background: linear-gradient(180deg,
            rgba(10, 10, 12, 0.95) 0%,
            rgba(10, 10, 12, 0.85) 50%,
            rgba(10, 10, 12, 0.7) 100%);
    }
}

@media (max-width: 640px) {
    .included-titles-intro {
        margin-top: 3rem;
    }

    .included-titles-left {
        height: 240px;
    }

    .included-titles-content {
        padding: 1.5rem 1rem;
    }

    .included-titles-heading {
        font-size: 1.5rem;
    }

    .included-titles-desc {
        font-size: 0.9rem;
    }

    .included-titles-badges {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .included-badge .badge-number {
        font-size: 1.75rem;
    }

    .included-badge .badge-label {
        font-size: 0.6rem;
    }
}

@media (max-width: 480px) {
    .included-titles-left {
        height: 200px;
    }

    .included-titles-content {
        padding: 1.25rem 1rem;
    }

    .included-titles-label {
        font-size: 0.7rem;
    }

    .included-titles-heading {
        font-size: 1.25rem;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .included-titles-bg-image {
        transition: none;
    }
}

/* ==========================================
   MASTER CHIEF COLLECTION GRID SECTION
   5-column grid showcasing Halo games
   ========================================== */
.mcc-collection {
    width: 100%;
    max-width: 100%;
    padding: 4rem 0;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(0, 0, 0, 0.8) 10%,
        rgba(0, 0, 0, 0.9) 50%,
        rgba(0, 0, 0, 0.8) 90%,
        transparent 100%);
}

.mcc-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 2rem;
}

.mcc-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 900;
    letter-spacing: 0.15em;
    color: var(--color-text);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.mcc-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-dim);
    letter-spacing: 0.05em;
}

.mcc-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    padding: 0 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.mcc-game-item {
    display: block;
    text-decoration: none;
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(51, 153, 255, 0.25);
    background: var(--color-bg-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.mcc-game-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mcc-game-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5),
                0 0 20px rgba(51, 153, 255, 0.15);
    z-index: 10;
}

.mcc-game-item:hover::before {
    opacity: 1;
}

/* Featured game (ODST) */
.mcc-game-item.mcc-featured {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.15);
}

.mcc-game-item.mcc-featured::after {
    content: 'FEATURED';
    position: absolute;
    top: 10px;
    right: -30px;
    background: var(--color-primary);
    color: var(--color-bg-dark);
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0.3rem 2rem;
    transform: rotate(45deg);
    z-index: 3;
}

.mcc-game-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                filter 0.5s ease-in-out,
                opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(20%) brightness(0.85);
}

/* Gameplay background - shown on hover */
.mcc-gameplay-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.mcc-game-item:hover .mcc-game-cover {
    opacity: 0;
    filter: grayscale(0%) brightness(1);
}

.mcc-game-item:hover .mcc-gameplay-bg {
    opacity: 1;
}

/* Halo 2, 3, and ODST GIFs - use cover to fill container */
.mcc-game-item:nth-child(2) .mcc-gameplay-bg,
.mcc-game-item:nth-child(3) .mcc-gameplay-bg,
.mcc-game-item:nth-child(4) .mcc-gameplay-bg {
    background-size: cover;
    background-position: center center;
}

.mcc-game-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1rem;
    z-index: 2;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mcc-game-item:hover .mcc-game-info {
    transform: translateY(0);
}

.mcc-game-title {
    font-family: var(--font-display);
    font-size: clamp(0.65rem, 1vw, 0.85rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    line-height: 1.3;
}

.mcc-game-dev {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--color-text-dim);
    margin-bottom: 0.25rem;
}

.mcc-game-year {
    font-family: var(--font-display);
    font-size: 0.7rem;
    color: var(--color-primary);
    letter-spacing: 0.15em;
    font-weight: 600;
}

.mcc-cta {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.mcc-buy-btn {
    background: linear-gradient(180deg, #75af23 0%, #598b1b 100%);
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mcc-buy-btn:hover {
    background: linear-gradient(180deg, #8bc62e 0%, #6aa21f 100%);
    box-shadow: 0 10px 30px rgba(117, 175, 35, 0.4);
}

/* Responsive MCC Grid */
@media (max-width: 1200px) {
    .mcc-grid {
        gap: 0.75rem;
        padding: 0 1.5rem;
    }
}

@media (max-width: 968px) {
    .mcc-collection {
        padding: 3rem 0;
    }

    .mcc-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        padding: 0 1rem;
    }

    .mcc-game-item {
        flex: 0 0 auto;
        width: 200px;
        max-width: 200px;
    }

    .mcc-game-item:nth-child(4),
    .mcc-game-item:nth-child(5) {
        grid-column: unset;
    }

    .mcc-game-info {
        transform: translateY(0);
        background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 100%);
    }

    .mcc-game-item::before {
        opacity: 0;
    }

    /* Keep gameplay backgrounds available for touch-active state */
    .mcc-gameplay-bg {
        display: block;
        opacity: 0;
    }

    .mcc-game-item:hover .mcc-game-cover {
        opacity: 1;
    }

    /* Disable hover effects on tablet/mobile - touch devices don't have hover */
    /* Touch-active class is handled by JS and has its own styles */
    .mcc-game-item:hover {
        transform: none;
    }

    .mcc-game-item:hover::before {
        opacity: 0;
    }

    .mcc-game-item:hover .mcc-game-info {
        transform: translateY(100%);
    }

    /* Show info permanently on mobile for better UX without tap */
    .mcc-game-info {
        transform: translateY(0);
        background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.9) 100%);
        padding: 1rem 0.75rem;
    }

    .mcc-game-item::before {
        opacity: 1;
    }
}

@media (max-width: 640px) {
    .mcc-collection {
        padding: 2.5rem 0;
    }

    .mcc-header {
        margin-bottom: 2rem;
    }

    .mcc-title {
        font-size: 1.25rem;
        letter-spacing: 0.1em;
    }

    .mcc-subtitle {
        font-size: 0.9rem;
    }

    .mcc-grid {
        gap: 0.75rem;
        padding: 0 1rem;
    }

    .mcc-game-title {
        font-size: 0.7rem;
    }

    .mcc-game-dev {
        font-size: 0.65rem;
    }

    .mcc-game-year {
        font-size: 0.6rem;
    }

    .mcc-game-info {
        padding: 1rem 0.75rem;
    }
}

@media (max-width: 480px) {
    .mcc-grid {
        gap: 0.5rem;
        padding: 0 0.5rem;
    }

    .mcc-game-item {
        width: calc(50% - 0.5rem);
        max-width: 200px;
    }

    .mcc-game-item.mcc-featured::after {
        font-size: 0.55rem;
        padding: 0.25rem 1.5rem;
    }

    .mcc-cta {
        margin-top: 2rem;
    }
}

/* Touch-active state for mobile - shows video/GIF on tap */
.mcc-game-item.touch-active .mcc-game-cover {
    opacity: 0;
    filter: grayscale(0%) brightness(1);
}

.mcc-game-item.touch-active .mcc-gameplay-bg {
    opacity: 1;
    display: block;
}

.mcc-game-item.touch-active::before {
    opacity: 1;
}

.mcc-game-item.touch-active .mcc-game-info {
    transform: translateY(0);
}

.mcc-game-item.touch-active {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5),
                0 0 20px rgba(51, 153, 255, 0.15);
    z-index: 10;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .mcc-game-item,
    .mcc-game-cover,
    .mcc-game-info,
    .mcc-gameplay-bg {
        transition: none;
    }
}

/* Contact Section */
.contact-section {
    background: linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg-medium) 100%);
    padding: 100px 2rem;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-content {
    margin-top: 3rem;
}

.contact-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-text-dim);
    margin-bottom: 2.5rem;
}

.contact-cta {
    margin-top: 2rem;
}

/* Footer */
.footer {
    background: var(--color-bg-dark);
    border-top: 1px solid var(--color-glass-border);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo .logo-text {
    font-size: 1.5rem;
}

.footer-tagline {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--color-text-dim);
}

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

.footer-links a {
    font-size: 0.85rem;
    color: var(--color-text-dim);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.footer-legal {
    font-size: 0.75rem;
    color: var(--color-text-dim);
}

.footer-legal p {
    margin: 0.25rem 0 0;
}

.footer-legal p:last-child {
    margin-bottom: 0;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive - Tablet and Mobile */
@media (max-width: 1378px) {
    /* Hide desktop navigation bar on tablet and mobile */
    .nav {
        display: none;
    }

    /* Show mobile navigation on tablet and mobile */
    .mobile-nav {
        display: block;
    }
}

/* Mobile-specific adjustments (smaller screens) */
@media (max-width: 768px) {

    /* Show hero description but shorter on mobile */
    .hero-description {
        display: block;
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .nav-links {
        display: none;
    }

    .squad-member {
        flex: 0 0 min(320px, 85vw);
        padding: 1.5rem;
    }

    .gear-showcase {
        grid-template-columns: 1fr;
    }

    .story-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    /* Hero section mobile fixes */
    .hero-content {
        padding: 0 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    /* Reduce horizontal padding on secondary button to prevent text break */
    .btn-secondary {
        padding-left: 1rem;
        padding-right: 1rem;
        white-space: nowrap;
    }

    /* Scroll indicator hide on mobile */
    .scroll-indicator {
        display: none;
    }

    /* Section containers */
    .section-container {
        padding: 0 1rem;
    }

    /* Footer mobile */
    .footer {
        padding: 2rem 1rem;
    }

    /* Footer logo vertical stacking */
    .footer-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-links {
        gap: 1rem;
        flex-direction: column;
    }

    /* Ensure about-visual is visible on mobile - fix scroll disappearing issue */
    .about-visual {
        display: flex !important;
        min-height: 250px;
        height: auto;
        visibility: visible !important;
        opacity: 1 !important;
        transform: translateZ(0); /* Force hardware acceleration for stable rendering */
        -webkit-transform: translateZ(0);
        will-change: auto;
        /* Center the container */
        justify-content: center;
        align-items: center;
        width: 100%;
        margin: 0 auto;
    }

    .butterfly-image {
        max-width: 80%;
        padding: 0.5rem;
        /* Hardware acceleration for stable rendering */
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        margin: 0 auto;
    }

    /* Contact section mobile */
    .contact-section {
        padding: 60px 1.5rem;
    }

    .contact-intro {
        font-size: 1rem;
    }
}

/* Small mobile screens */
@media (max-width: 480px) {
    .hero-content {
        padding: 0 1rem;
    }

    .title-line-1 {
        font-size: 2rem;
    }

    .title-line-2,
    .title-line-3 {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .parallax-content {
        padding: 80px 0 60px;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .squad-member {
        flex: 0 0 min(300px, 90vw);
        padding: 1.25rem;
    }

    .member-image {
        height: 180px;
    }

    .squad-carousel {
        padding: 20px 1rem 40px;
        gap: 1rem;
    }
}

/* Glitch Effect - Chromatic Aberration Style */
.glitch-continuous {
    position: relative;
}

.glitch-continuous::before,
.glitch-continuous::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
}

.glitch-continuous::before {
    color: #ff3366;
    z-index: -1;
    animation: chromatic-drift-red 8s ease-in-out infinite;
}

.glitch-continuous::after {
    color: var(--color-secondary);
    z-index: -2;
    animation: chromatic-drift-cyan 8s ease-in-out infinite;
    animation-delay: -4s;
}

/* Speed up on hover with more intense effect */
.glitch-continuous:hover::before {
    animation: chromatic-hover-red 2s ease-in-out infinite;
}

.glitch-continuous:hover::after {
    animation: chromatic-hover-cyan 2s ease-in-out infinite;
}

/* Smooth chromatic aberration - subtle color separation that drifts */
@keyframes chromatic-drift-red {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10%, 90% {
        opacity: 0;
    }
    20% {
        transform: translate(-2px, 0);
        opacity: 0.35;
    }
    35% {
        transform: translate(-1px, 0);
        opacity: 0.25;
    }
    50% {
        transform: translate(-3px, 0);
        opacity: 0.4;
    }
    65% {
        transform: translate(-1px, 0);
        opacity: 0.25;
    }
    80% {
        transform: translate(-2px, 0);
        opacity: 0.35;
    }
}

@keyframes chromatic-drift-cyan {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10%, 90% {
        opacity: 0;
    }
    20% {
        transform: translate(2px, 0);
        opacity: 0.35;
    }
    35% {
        transform: translate(1px, 0);
        opacity: 0.25;
    }
    50% {
        transform: translate(3px, 0);
        opacity: 0.4;
    }
    65% {
        transform: translate(1px, 0);
        opacity: 0.25;
    }
    80% {
        transform: translate(2px, 0);
        opacity: 0.35;
    }
}

/* Hover effect - more visible chromatic split */
@keyframes chromatic-hover-red {
    0%, 100% {
        transform: translate(-2px, 0);
        opacity: 0.4;
    }
    25% {
        transform: translate(-4px, 0);
        opacity: 0.5;
    }
    50% {
        transform: translate(-2px, 0);
        opacity: 0.35;
    }
    75% {
        transform: translate(-3px, 0);
        opacity: 0.45;
    }
}

@keyframes chromatic-hover-cyan {
    0%, 100% {
        transform: translate(2px, 0);
        opacity: 0.4;
    }
    25% {
        transform: translate(4px, 0);
        opacity: 0.5;
    }
    50% {
        transform: translate(2px, 0);
        opacity: 0.35;
    }
    75% {
        transform: translate(3px, 0);
        opacity: 0.45;
    }
}

/* Legacy glitch class for backwards compatibility */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-fast-1 0.8s infinite linear alternate-reverse;
    color: var(--color-visr-red);
    z-index: -1;
}

.glitch::after {
    animation: glitch-fast-2 0.9s infinite linear alternate-reverse;
    color: var(--color-secondary);
    z-index: -2;
}

/* Loading Screen - Monarch Branding */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    text-align: center;
}

.loading-logo {
    margin-bottom: 2rem;
}

.loading-text-main {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 900;
    letter-spacing: 0.3em;
    color: var(--color-primary-light);
    display: block;
    text-shadow: 0 0 30px rgba(157, 78, 221, 0.5);
}

.loading-subtitle {
    font-family: var(--font-display);
    font-size: 0.8rem;
    letter-spacing: 0.4em;
    color: var(--color-text-dim);
    display: block;
    margin-top: 0.5rem;
}

.loading-bar {
    width: 240px;
    height: 4px;
    background: rgba(123, 47, 191, 0.15);
    margin: 0 auto 1rem;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.3);
}

.loading-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg,
        var(--color-primary-dark) 0%,
        var(--color-primary) 50%,
        var(--color-primary-light) 100%);
    box-shadow: 0 0 12px rgba(123, 47, 191, 0.7);
    border-radius: 2px;
    animation: loadingProgress 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes loadingProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

.loading-status {
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--color-secondary);
}

/* Additional Polish - Hex Grid Background */
.squad::before,
.gear::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ffd700' fill-opacity='0.02'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

/* Animated border for active sections */
.parallax-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    opacity: 0.3;
}

/* Enhanced card hover states */
.story-card:hover .card-icon,
.feature-card:hover .feature-icon svg {
    transform: scale(1.2);
    transition: transform var(--transition-medium);
}

.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.05), transparent);
    transition: left 0.5s ease;
}

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

/* Glow effect on section titles */
.section-title {
    text-shadow: 0 0 0 transparent;
    transition: text-shadow var(--transition-medium);
}

.section-header:hover .section-title {
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

/* Stat counter animation */
.stat-value {
    transition: transform var(--transition-fast);
}

.stat:hover .stat-value {
    transform: scale(1.1);
}

/* Enhanced weapon display with glow */
.weapon-display::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(51, 153, 255, 0.1) 0%, transparent 50%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.gear-item:hover .weapon-display::before {
    opacity: 1;
}

/* Pulsing glow on CTA */
.cta-content {
    position: relative;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary), var(--color-primary));
    background-size: 400% 400%;
    z-index: -1;
    filter: blur(10px);
    opacity: 0.3;
    animation: gradient-shift 5s ease infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Enhanced button effects - disabled sweep, using bubble instead */

/* Data stream effect on section numbers */
.section-number {
    position: relative;
}

.section-number::before {
    content: '//';
    position: absolute;
    left: -20px;
    color: var(--color-primary-dim);
    opacity: 0.5;
}

/* Tactical dots */
.section-line::before,
.section-line::after {
    content: '◆';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-primary);
    font-size: 0.5rem;
}

.section-line::before {
    left: -15px;
}

.section-line::after {
    right: -15px;
}

.section-line {
    position: relative;
}

/* Mobile hamburger menu (hidden by default) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-text);
    transition: all var(--transition-fast);
}

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

    .nav-cta {
        display: none;
    }

    .hero-bg {
        background-position: center, center, center, 35% center;
        background-size: cover, cover, cover, auto 100%;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .visr-corner {
        display: none;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .section-container {
        padding: 0 1rem;
    }

    .squad-member {
        flex: 0 0 280px;
        padding: 1.5rem 1.5rem 1rem 1.5rem;
    }

    .member-name {
        font-size: 1rem;
    }

    .member-desc {
        font-size: 0.85rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
}

/* Print styles */
@media print {
    .scanlines,
    .visr-overlay,
    .particles,
    .rain,
    .scroll-indicator {
        display: none !important;
    }

    .parallax-section {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

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

    .scroll-indicator,
    .particles,
    .rain {
        display: none;
    }
}

/* Selection styling */
::selection {
    background: var(--color-primary);
    color: var(--color-bg-dark);
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary-dim);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* ==========================================
   VALUES SECTION (Within About)
   ========================================== */
.values-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--color-glass-border);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.value-card {
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-medium);
    border-radius: 8px;
}

.value-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-5px);
}

.value-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1.5rem;
}

.value-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--color-primary);
}

.value-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--color-text-dim);
    line-height: 1.6;
}

/* About Stats */
.about-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding-top: 2rem;
}

@media (max-width: 640px) {
    .about-stats {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-primary);
    display: block;
    line-height: 1;
}

.stat-item .stat-label {
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--color-text-dim);
    margin-top: 0.5rem;
    display: block;
}

/* ==========================================
   PARTNER SECTION
   ========================================== */
.partner-section {
    background: var(--color-bg-dark);
    padding: 100px 0;
    position: relative;
}

.partner-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.partner-content {
    text-align: center;
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.partner-logo {
    text-align: center;
    min-width: 160px;
}

.partner-logo .logo-text {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    display: block;
}

.partner-logo .logo-subtitle {
    font-family: var(--font-display);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--color-text-dim);
}

.monarch-logo .logo-text {
    color: var(--color-primary-light);
}

.tronxr-logo .logo-text {
    color: var(--color-secondary);
}

.partner-plus {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 300;
    color: var(--color-text-dim);
}

.partner-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.tech-stack {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: 8px;
    min-width: 140px;
    transition: all var(--transition-medium);
}

.tech-item:hover {
    border-color: var(--color-primary);
    transform: translateY(-3px);
}

.tech-item svg {
    width: 32px;
    height: 32px;
    stroke: var(--color-secondary);
}

.tech-item span {
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--color-text-dim);
    text-transform: uppercase;
}

/* Section Label (used in partner section) */
.section-label {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--color-accent-primary);
    display: block;
    margin-bottom: 1rem;
}

/* ==========================================
   FUTURISTIC VISUAL ENHANCEMENTS
   Premium Visual Polish with Animations
   ========================================== */

/* === GLOW ANIMATION SYSTEM === */

/* Primary glow pulse animation */
@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(123, 47, 191, 0.3),
                    0 0 40px rgba(123, 47, 191, 0.1);
    }
    50% {
        box-shadow: 0 0 30px rgba(123, 47, 191, 0.5),
                    0 0 60px rgba(123, 47, 191, 0.2);
    }
}

/* Cyan secondary glow */
@keyframes cyanGlowPulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(87, 216, 87, 0.3),
                    0 0 30px rgba(87, 216, 87, 0.1);
    }
    50% {
        box-shadow: 0 0 25px rgba(87, 216, 87, 0.5),
                    0 0 50px rgba(87, 216, 87, 0.2);
    }
}

/* Holographic shimmer effect */
@keyframes holoShimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* === ENHANCED HERO SECTION === */

/* Hero holographic overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(123, 47, 191, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(87, 216, 87, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 100%, rgba(123, 47, 191, 0.2) 0%, transparent 30%);
    pointer-events: none;
    z-index: 2;
    animation: heroGlowShift 8s ease-in-out infinite;
}

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

/* Hero title enhanced glow */
.title-line-2 {
    text-shadow:
        0 0 20px rgba(157, 78, 221, 0.8),
        0 0 40px rgba(123, 47, 191, 0.5),
        0 0 60px rgba(123, 47, 191, 0.3);
}

.title-line-3 {
    opacity: 1;
    text-shadow:
        0 0 30px rgba(157, 78, 221, 0.8),
        0 0 60px rgba(123, 47, 191, 0.6),
        0 0 90px rgba(123, 47, 191, 0.4);
    animation: fadeInGlow 0.8s ease 0.4s forwards, titleGlow 3s ease-in-out 1.2s infinite;
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow:
            0 0 30px rgba(157, 78, 221, 0.8),
            0 0 60px rgba(123, 47, 191, 0.6);
    }
    50% {
        text-shadow:
            0 0 40px rgba(157, 78, 221, 1),
            0 0 80px rgba(123, 47, 191, 0.8);
    }
}

/* === ENHANCED PARTICLES === */
.particle {
    background: radial-gradient(circle, var(--color-primary-light) 0%, var(--color-primary) 50%, transparent 100%);
    box-shadow:
        0 0 10px rgba(157, 78, 221, 0.6),
        0 0 20px rgba(123, 47, 191, 0.4);
}

/* Star twinkle overlay */
.hero-particles::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(2px 2px at 10% 20%, rgba(87, 216, 87, 0.8), transparent),
        radial-gradient(2px 2px at 30% 60%, rgba(87, 216, 87, 0.6), transparent),
        radial-gradient(3px 3px at 50% 40%, rgba(157, 78, 221, 0.8), transparent),
        radial-gradient(2px 2px at 70% 80%, rgba(87, 216, 87, 0.7), transparent),
        radial-gradient(2px 2px at 90% 30%, rgba(157, 78, 221, 0.6), transparent);
    animation: starTwinkle 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes starTwinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

/* === ENHANCED BUTTONS === */

.btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(123, 47, 191, 0.1) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 15px 40px rgba(255, 255, 255, 0.4),
        0 5px 20px rgba(123, 47, 191, 0.3);
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-secondary {
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(87, 216, 87, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-secondary:hover {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
    box-shadow:
        0 0 30px rgba(87, 216, 87, 0.4),
        0 0 60px rgba(87, 216, 87, 0.2);
    transform: translateY(-3px);
}

.btn-secondary:hover::before {
    left: 100%;
}

/* CTA Button enhanced */
.btn-enlist {
    position: relative;
    overflow: hidden;
}

.btn-enlist::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary), var(--color-primary));
    background-size: 300% 300%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: gradientRotate 3s ease infinite;
}

.btn-enlist:hover::after {
    opacity: 1;
}

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

/* === ENHANCED CARDS AND CONTAINERS === */

.glass-card {
    position: relative;
    backdrop-filter: blur(15px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(123, 47, 191, 0.05) 0%, transparent 50%, rgba(87, 216, 87, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: inherit;
}

.glass-card:hover::before {
    opacity: 1;
}

.glass-card:hover {
    border-color: rgba(123, 47, 191, 0.4);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(123, 47, 191, 0.15);
}

/* Squad member enhanced */
.squad-member {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.squad-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), var(--color-secondary), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.squad-member:hover::before,
.squad-member.active::before {
    opacity: 1;
}

.squad-member:hover,
.squad-member.active {
    background: linear-gradient(180deg, rgba(123, 47, 191, 0.08) 0%, rgba(87, 216, 87, 0.02) 100%);
    border-color: rgba(123, 47, 191, 0.5);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(123, 47, 191, 0.2);
}

/* Value cards enhanced */
.value-card {
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(123, 47, 191, 0.1), transparent 30%);
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: rotate360 8s linear infinite paused;
}

.value-card:hover::before {
    opacity: 1;
    animation-play-state: running;
}

@keyframes rotate360 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Tech item enhanced */
.tech-item {
    position: relative;
    overflow: hidden;
}

.tech-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: width 0.4s ease;
}

.tech-item:hover::before {
    width: 80%;
}

.tech-item:hover {
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(87, 216, 87, 0.2);
}

/* === ENHANCED TICKER/CAROUSEL === */

.ticker-slide[data-position="active"] {
    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.6),
        0 0 50px rgba(123, 47, 191, 0.3);
}

.ticker-slide[data-position="active"]::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--color-primary), transparent, var(--color-secondary));
    z-index: -1;
    border-radius: 18px;
    opacity: 0.5;
}

/* Ticker indicators enhanced */
.ticker-indicator.active {
    background: var(--color-primary);
    box-shadow:
        0 0 15px rgba(123, 47, 191, 0.8),
        0 0 30px rgba(123, 47, 191, 0.4);
    animation: indicatorPulse 2s ease-in-out infinite;
}

@keyframes indicatorPulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(123, 47, 191, 0.8), 0 0 30px rgba(123, 47, 191, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 20px rgba(123, 47, 191, 1), 0 0 40px rgba(123, 47, 191, 0.6);
        transform: scale(1.2);
    }
}

/* === ENHANCED WEAPON/ARSENAL SECTION === */

.weapon-icon.active {
    background: linear-gradient(135deg, rgba(123, 47, 191, 0.2) 0%, rgba(87, 216, 87, 0.1) 100%);
    border-color: var(--color-primary);
    box-shadow:
        0 0 25px rgba(123, 47, 191, 0.4),
        0 0 50px rgba(123, 47, 191, 0.2);
}

.weapon-detail {
    position: relative;
    overflow: hidden;
}

.weapon-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(123, 47, 191, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 70%, rgba(87, 216, 87, 0.08) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.stat-fill {
    background: linear-gradient(90deg,
        var(--color-primary-dark) 0%,
        var(--color-primary) 50%,
        var(--color-secondary) 100%);
    box-shadow:
        0 0 10px rgba(87, 216, 87, 0.6),
        0 0 20px rgba(87, 216, 87, 0.3);
    position: relative;
}

.stat-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: statShine 2s ease-in-out infinite;
}

@keyframes statShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* === ENHANCED MCC/PROJECT GRID === */
/* NOTE: Do NOT add ::after to .mcc-game-item - it conflicts with the FEATURED ribbon badge */

.mcc-game-item:hover {
    border-color: rgba(123, 47, 191, 0.5);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(123, 47, 191, 0.3);
}

.mcc-game-item.mcc-featured {
    border-color: rgba(123, 47, 191, 0.4);
    animation: featuredGlow 4s ease-in-out infinite;
}

@keyframes featuredGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(123, 47, 191, 0.2), 0 0 40px rgba(123, 47, 191, 0.1);
    }
    50% {
        box-shadow: 0 0 30px rgba(123, 47, 191, 0.4), 0 0 60px rgba(123, 47, 191, 0.2);
    }
}

/* === ENHANCED LOADING SCREEN === */

.loading-screen {
    background:
        radial-gradient(ellipse at center, rgba(123, 47, 191, 0.15) 0%, transparent 50%),
        var(--color-bg-dark);
}

.loading-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(2px 2px at 20% 30%, rgba(123, 47, 191, 0.5), transparent),
        radial-gradient(2px 2px at 40% 70%, rgba(87, 216, 87, 0.4), transparent),
        radial-gradient(2px 2px at 60% 20%, rgba(123, 47, 191, 0.6), transparent),
        radial-gradient(2px 2px at 80% 60%, rgba(87, 216, 87, 0.5), transparent),
        radial-gradient(1px 1px at 10% 50%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 90% 40%, rgba(255, 255, 255, 0.4), transparent);
    animation: starField 20s linear infinite;
    pointer-events: none;
}

@keyframes starField {
    0% { transform: translateY(0); }
    100% { transform: translateY(-20px); }
}

.loading-text-main {
    animation: loadingTextPulse 0.8s ease-in-out infinite;
}

@keyframes loadingTextPulse {
    0%, 100% {
        text-shadow:
            0 0 20px rgba(157, 78, 221, 0.6),
            0 0 40px rgba(123, 47, 191, 0.4),
            0 0 60px rgba(87, 216, 87, 0.2);
    }
    50% {
        text-shadow:
            0 0 40px rgba(157, 78, 221, 1),
            0 0 80px rgba(123, 47, 191, 0.7),
            0 0 120px rgba(87, 216, 87, 0.4);
    }
}

.loading-bar {
    position: relative;
    overflow: hidden;
    width: 280px;
    height: 5px;
    background: linear-gradient(90deg,
        rgba(123, 47, 191, 0.1) 0%,
        rgba(123, 47, 191, 0.25) 50%,
        rgba(123, 47, 191, 0.1) 100%);
    border: 1px solid rgba(123, 47, 191, 0.3);
    border-radius: 3px;
    box-shadow:
        inset 0 0 10px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(123, 47, 191, 0.3);
}

.loading-progress {
    background: linear-gradient(90deg,
        var(--color-primary-dark) 0%,
        var(--color-primary) 40%,
        var(--color-primary-light) 70%,
        var(--color-secondary) 100%);
    animation:
        loadingProgress 1s cubic-bezier(0.4, 0, 0.2, 1) forwards,
        loadingPulse 0.6s ease-in-out infinite;
    box-shadow:
        0 0 8px rgba(123, 47, 191, 1),
        0 0 16px rgba(123, 47, 191, 0.7),
        0 0 24px rgba(87, 216, 87, 0.4);
    position: relative;
}

@keyframes loadingPulse {
    0%, 100% {
        box-shadow:
            0 0 8px rgba(123, 47, 191, 1),
            0 0 16px rgba(123, 47, 191, 0.7),
            0 0 24px rgba(87, 216, 87, 0.4);
    }
    50% {
        box-shadow:
            0 0 12px rgba(123, 47, 191, 1),
            0 0 24px rgba(123, 47, 191, 0.9),
            0 0 36px rgba(87, 216, 87, 0.6);
    }
}

.loading-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.8) 50%,
        transparent 100%);
    animation: loadingGlowSweep 0.5s ease-out infinite;
}

@keyframes loadingGlowSweep {
    0% { transform: translateX(-80px); }
    100% { transform: translateX(280px); }
}

/* === ENHANCED NAVIGATION === */

.nav.scrolled {
    background: rgba(17, 10, 33, 0.85);
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.4),
        0 1px 0 rgba(157, 78, 221, 0.25);
}

.nav-link {
    position: relative;
}

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

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

.nav-link.active {
    color: var(--color-primary-light);
    text-shadow: 0 0 10px rgba(123, 47, 191, 0.5);
}

.logo-text {
    transition: text-shadow 0.3s ease;
}

.logo:hover .logo-text {
    text-shadow:
        0 0 20px rgba(123, 47, 191, 0.5),
        0 0 40px rgba(123, 47, 191, 0.3);
}

/* === ENHANCED CONTACT SECTION === */

.contact-section {
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(123, 47, 191, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(87, 216, 87, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

/* === ENHANCED FOOTER === */

.footer {
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), var(--color-secondary), var(--color-primary), transparent);
}

.footer-links a {
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

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

/* === ENHANCED SCROLL INDICATOR === */

.scroll-indicator {
    position: relative;
}

.scroll-mouse {
    border-color: rgba(123, 47, 191, 0.5);
    box-shadow: 0 0 15px rgba(123, 47, 191, 0.2);
}

.scroll-wheel {
    background: linear-gradient(180deg, var(--color-primary), var(--color-secondary));
    box-shadow: 0 0 8px rgba(123, 47, 191, 0.6);
}

/* === ENHANCED SECTION HEADERS === */

.section-header {
    position: relative;
}

.section-number {
    position: relative;
    display: inline-block;
}

.section-number::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -30px;
    width: 20px;
    height: 1px;
    background: var(--color-primary);
    transform: translateY(-50%);
}

.section-title {
    position: relative;
    display: inline-block;
}

.section-line {
    background: linear-gradient(90deg,
        transparent,
        var(--color-primary) 30%,
        var(--color-secondary) 50%,
        var(--color-primary) 70%,
        transparent);
    box-shadow: 0 0 10px rgba(123, 47, 191, 0.4);
}

/* === ENHANCED GALLERY ITEMS === */

.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(123, 47, 191, 0.2), transparent);
    transition: left 0.6s ease;
}

.gallery-item:hover::after {
    left: 150%;
}

.gallery-item:hover {
    border-color: rgba(123, 47, 191, 0.6);
    box-shadow:
        0 0 25px rgba(123, 47, 191, 0.4),
        inset 0 0 20px rgba(123, 47, 191, 0.1);
}

/* === ENHANCED LIGHTBOX === */

.lightbox {
    background: rgba(5, 5, 8, 0.98);
    backdrop-filter: blur(10px);
}

.lightbox-image {
    box-shadow:
        0 0 100px rgba(123, 47, 191, 0.3),
        0 0 200px rgba(87, 216, 87, 0.15);
}

.lightbox-prev,
.lightbox-next {
    background: rgba(123, 47, 191, 0.2);
    border-color: rgba(123, 47, 191, 0.4);
    transition: all 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(123, 47, 191, 0.4);
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(123, 47, 191, 0.5);
}

/* === ENHANCED CAROUSEL DOTS === */

.carousel-dot {
    position: relative;
    overflow: hidden;
}

.carousel-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    opacity: 0;
}

.carousel-dot.active::before,
.carousel-dot:hover::before {
    width: 200%;
    height: 200%;
    opacity: 0.5;
}

.carousel-dot.active {
    box-shadow:
        0 0 10px rgba(123, 47, 191, 0.6),
        0 0 20px rgba(123, 47, 191, 0.3);
}

/* === TRAIT BADGES ENHANCED === */

.trait {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.trait::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(87, 216, 87, 0.2), transparent);
    transition: left 0.5s ease;
}

.trait:hover {
    background: rgba(87, 216, 87, 0.15);
    border-color: rgba(87, 216, 87, 0.6);
    box-shadow: 0 0 15px rgba(87, 216, 87, 0.3);
}

.trait:hover::before {
    left: 100%;
}

/* === PARTNER LOGOS ENHANCED === */

.partner-logo {
    transition: transform 0.3s ease;
}

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

.monarch-logo:hover .logo-text {
    text-shadow:
        0 0 20px rgba(157, 78, 221, 0.6),
        0 0 40px rgba(123, 47, 191, 0.4);
}

.tronxr-logo:hover .logo-text {
    text-shadow:
        0 0 20px rgba(87, 216, 87, 0.6),
        0 0 40px rgba(87, 216, 87, 0.4);
}

/* === MISSION BRIEFING ENHANCED === */

.mission-briefing {
    position: relative;
    overflow: hidden;
}

.mission-briefing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at top left, rgba(74, 158, 202, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.mission-feature {
    position: relative;
    overflow: hidden;
}

.mission-feature::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--color-primary), var(--color-secondary));
    transition: height 0.4s ease;
}

.mission-feature:hover::before {
    height: 100%;
}

/* === HOLOTABLE ENHANCED === */

.holotable-glow {
    background: radial-gradient(ellipse, rgba(123, 47, 191, 0.3) 0%, rgba(87, 216, 87, 0.15) 50%, transparent 70%);
}

.mission-image-container:hover .holotable-glow {
    animation: holoPulseEnhanced 2s ease-in-out infinite;
}

@keyframes holoPulseEnhanced {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* === PARTNER SECTION RESPONSIVE === */

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

    .partner-logo {
        min-width: auto;
    }

    .partner-plus {
        font-size: 1.5rem;
    }
}

/* === CIRCUIT LINES ANIMATION (PARTNER SECTION) === */
/* Set --disable-circuit-animation: 1 on :root or .partner-section to disable */

.partner-section {
    position: relative;
    overflow: hidden;
}

.partner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: calc(1 - var(--disable-circuit-animation, 0));
    background:
        /* Horizontal lines */
        linear-gradient(90deg, transparent 0%, transparent 49%, rgba(123, 47, 191, 0.03) 50%, transparent 51%, transparent 100%),
        linear-gradient(90deg, transparent 0%, transparent 24%, rgba(87, 216, 87, 0.02) 25%, transparent 26%, transparent 100%),
        linear-gradient(90deg, transparent 0%, transparent 74%, rgba(123, 47, 191, 0.02) 75%, transparent 76%, transparent 100%),
        /* Vertical lines */
        linear-gradient(0deg, transparent 0%, transparent 29%, rgba(87, 216, 87, 0.02) 30%, transparent 31%, transparent 100%),
        linear-gradient(0deg, transparent 0%, transparent 69%, rgba(123, 47, 191, 0.02) 70%, transparent 71%, transparent 100%);
}

/* Animated pulse traveling through circuit */
.partner-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: calc(1 - var(--disable-circuit-animation, 0));
    background:
        radial-gradient(circle,
            rgba(87, 216, 87, 0.12) 0%,
            rgba(123, 47, 191, 0.06) 30%,
            transparent 60%);
    animation: circuitPulse 4s ease-in-out infinite;
}

@keyframes circuitPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.6;
    }
}

/* Data stream effect on plus sign */
.partner-plus {
    position: relative;
}

.partner-plus::before,
.partner-plus::after {
    content: '+';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
}

.partner-plus::before {
    color: var(--color-primary);
    animation: dataPulsePurple 3s ease-in-out infinite;
    animation-delay: 0s;
}

.partner-plus::after {
    color: var(--color-secondary);
    animation: dataPulseCyan 3s ease-in-out infinite;
    animation-delay: 1.5s;
}

@keyframes dataPulsePurple {
    0%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.3);
    }
}

@keyframes dataPulseCyan {
    0%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(1.5);
    }
}

/* Scanning line effect */
.partner-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(87, 216, 87, 0.3) 20%,
        rgba(123, 47, 191, 0.5) 50%,
        rgba(87, 216, 87, 0.3) 80%,
        transparent 100%);
    opacity: calc(1 - var(--disable-circuit-animation, 0));
    animation: scanLine 6s linear infinite;
}

.partner-content {
    position: relative;
}

@keyframes scanLine {
    0% {
        top: 0%;
        opacity: 0;
    }
    5% {
        opacity: calc(0.6 * (1 - var(--disable-circuit-animation, 0)));
    }
    95% {
        opacity: calc(0.6 * (1 - var(--disable-circuit-animation, 0)));
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

/* === REDUCED MOTION PREFERENCE === */

@media (prefers-reduced-motion: reduce) {
    .partner-section::after,
    .partner-plus::before,
    .partner-plus::after,
    .partner-content::before {
        animation: none;
        opacity: 0;
    }

    .ticker-indicator.active,
    .loading-text-main,
    .loading-progress,
    .loading-progress::after,
    .loading-status,
    .holotable-glow,
    .hero-particles::after,
    .stat-fill::after,
    .mcc-game-item.mcc-featured,
    .value-card::before,
    .glitch-continuous::before,
    .glitch-continuous::after {
        animation: none;
    }

    .title-line-1,
    .title-line-2,
    .title-line-3 {
        animation: none;
        opacity: 1;
    }

    .btn-primary:hover,
    .btn-secondary:hover,
    .squad-member:hover,
    .glass-card:hover,
    .value-card:hover,
    .tech-item:hover,
    .mcc-game-item:hover {
        transform: none;
    }
}

/* ========================================
   SECTIONS FROM MONARCH-STUDIOS
   ======================================== */

.services-section {
    background: #0c0c14;
    position: relative;
    z-index: 10;
    overflow: visible;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 80px 20px 100px;
}

/* Main Glass Card */
.services-card {
    position: relative;
    width: 100%;
    max-width: 1100px;
    min-height: 520px;
    border-radius: 24px;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ambient Glow Background - Matches Reference */
.card-glow {
    position: absolute;
    inset: -60px;
    background:
        radial-gradient(ellipse 80% 60% at 10% 40%, rgba(147, 51, 234, 0.5) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 0% 50%, rgba(168, 85, 247, 0.4) 0%, transparent 40%),
        radial-gradient(ellipse 80% 60% at 90% 30%, rgba(251, 146, 60, 0.35) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 100% 60%, rgba(249, 115, 22, 0.3) 0%, transparent 40%),
        radial-gradient(ellipse 100% 80% at 50% 100%, rgba(236, 72, 153, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse 120% 60% at 50% 0%, rgba(139, 92, 246, 0.3) 0%, transparent 40%);
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
}

/* Inner card background with glassmorphism */
.services-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(30, 20, 50, 0.6) 0%,
        rgba(20, 15, 35, 0.8) 50%,
        rgba(25, 18, 40, 0.7) 100%
    );
    backdrop-filter: blur(60px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1;
}

/* Floating Service Nodes */
.floating-node {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}

.node-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.6);
}

.node-label {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.node-name {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
}

.node-stat {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
}

.node-dot {
    width: 6px;
    height: 6px;
    background: #a855f7;
    border-radius: 50%;
    box-shadow: 0 0 8px #a855f7;
}

/* Left side nodes */
.node-left-1 {
    left: -20px;
    top: 18%;
}

.node-left-2 {
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
}

.node-left-3 {
    left: -20px;
    bottom: 18%;
}

/* Right side nodes */
.node-right-1 {
    right: -20px;
    top: 15%;
}

.node-right-2 {
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
}

.node-right-3 {
    right: -20px;
    bottom: 20%;
}

.node-right-1 .node-dot,
.node-right-2 .node-dot,
.node-right-3 .node-dot {
    background: #fb923c;
    box-shadow: 0 0 8px #fb923c;
}

/* Connection Lines SVG */
.connection-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* Center Content */
.card-content {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 60px 40px;
    max-width: 600px;
}

.card-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    background: transparent;
    border: none;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: #a855f7;
    border-radius: 50%;
    box-shadow: 0 0 6px #a855f7;
}

.card-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 16px;
}

.card-subheading {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.25rem;
    margin-top: 0.5rem;
}

.card-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin-bottom: 32px;
}

.card-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.action-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.25s ease;
}

.action-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #ffffff;
    transition: all 0.25s ease;
}

.action-btn span {
    transition: transform 0.2s ease;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
}

.action-btn:hover span {
    transform: translateX(4px);
}

/* Decorative Elements */
.decor-line {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    z-index: 3;
}

.decor-vertical {
    width: 1px;
    height: 80px;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
}

.decor-diamond {
    display: none;
}

/* Partner Logos */
.services-partners {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 50px;
    padding: 0 20px;
}

.partner-logo {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

.partner-logo:hover {
    color: rgba(255, 255, 255, 0.5);
}

/* Services Section Responsive */
@media (max-width: 1024px) {
    .floating-node {
        display: none;
    }

    .connection-lines {
        display: none;
    }

    .services-card {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 40px 16px 30px;
        min-height: auto;
    }

    .services-card {
        min-height: 400px;
    }

    .card-content {
        padding: 40px 24px;
    }

    .card-title {
        font-size: 1.75rem;
    }

    .card-subheading {
        font-size: 1.25rem;
    }

    .card-actions {
        flex-direction: column;
        gap: 12px;
    }

    .services-partners {
        gap: 20px;
        margin-top: 30px;
    }

    .partner-logo {
        font-size: 0.7rem;
    }
}

/* Intro Block (moved from hero) */
.intro-block {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid var(--color-border);
}

.intro-description {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.intro-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* About Section */
.about-section {
    background: linear-gradient(180deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.about-content .lead-text {
    font-size: 1.25rem;
    color: var(--color-text-primary);
    line-height: 1.6;
    margin: 0 0 var(--space-lg) 0;
    text-align: left;
}

.about-content p {
    color: var(--color-text-secondary);
    line-height: 1.8;
    text-align: left;
}

.stat-card {
    padding: var(--space-lg);
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.stat-card:hover {
    border-color: var(--color-border-hover);
    transform: translateX(8px);
}

.stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-subtle);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    color: var(--color-accent-primary);
}

.stat-card h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.stat-card p {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
}

/* Vision Section */
.vision-section {
    background: var(--color-bg-secondary);
    position: relative;
    overflow: hidden;
}

.vision-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-3xl);
    align-items: center;
}

.vision-visual {
    position: relative;
    height: 400px;
}

.vision-graphic {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vision-line {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--color-accent-primary), transparent);
}

.vision-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg) 0;
}

.vision-dots span {
    width: 12px;
    height: 12px;
    background: var(--color-accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--color-accent-primary);
    animation: dotPulse 2s ease-in-out infinite;
}

.vision-dots span:nth-child(1) { animation-delay: 0s; }
.vision-dots span:nth-child(2) { animation-delay: 0.4s; }
.vision-dots span:nth-child(3) { animation-delay: 0.8s; }
.vision-dots span:nth-child(4) { animation-delay: 1.2s; }
.vision-dots span:nth-child(5) { animation-delay: 1.6s; }

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 1; }
}

.vision-content .lead-text {
    font-size: 1.25rem;
    color: var(--color-text-primary);
    line-height: 1.6;
    margin-bottom: var(--space-xl);
}

.vision-pillars {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.pillar {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.pillar:hover {
    border-color: var(--color-accent-primary);
    transform: translateX(8px);
}

.pillar-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pillar-content h4 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.pillar-content p {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
}

/* Games Showcase Section - Poster Style */
.games-showcase-section {
    background: linear-gradient(180deg, #0a0a0f 0%, #2d1616 50%, #0a0a0f 100%);
    padding: var(--space-4xl) var(--container-padding);
    position: relative;
    overflow: hidden;
}

/* Vertical curtain texture */
.games-showcase-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent 0px,
        rgba(139, 92, 246, 0.03) 1px,
        transparent 2px,
        transparent 40px
    );
    pointer-events: none;
    z-index: 1;
}

.games-showcase-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.games-showcase-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.games-showcase-section .section-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1rem;
}

/* Games Posters Grid */
.games-posters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-2xl);
    max-width: 1200px;
    margin: 0 auto;
}

.game-poster {
    position: relative;
    transition: transform var(--transition-base);
}

.game-poster:hover {
    transform: translateY(-8px);
}

.poster-frame {
    position: relative;
    aspect-ratio: 2/3;
    background: #000000;
    border: 8px solid #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.poster-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.poster-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2f 0%, #0a0a0f 100%);
}

.poster-placeholder svg {
    width: 120px;
    height: 120px;
    color: rgba(201, 162, 39, 0.3);
}

/* Poster Overlay */
.poster-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    min-height: 62%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.95) 42%, rgba(0, 0, 0, 0.78) 68%, rgba(0, 0, 0, 0.4) 88%, transparent 100%);
    padding: var(--space-2xl) var(--space-lg) var(--space-lg);
    transition: all var(--transition-base);
}

.poster-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 0.35rem 0.75rem;
    background: rgba(20, 16, 8, 0.85);
    border: 1px solid rgba(201, 162, 39, 0.55);
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    color: #f0c85a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
    backdrop-filter: blur(4px);
}

.poster-badge.development {
    background: rgba(124, 92, 231, 0.2);
    border-color: rgba(124, 92, 231, 0.4);
    color: #7c5ce7;
}

.poster-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: var(--space-sm);
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.poster-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.5;
    margin-bottom: var(--space-md);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}

.poster-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #c9a227 0%, #e5c04b 100%);
    color: #0a0a0f;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--transition-base);
}

.poster-btn:hover {
    background: linear-gradient(135deg, #e5c04b 0%, #c9a227 100%);
    transform: translateX(4px);
}

.poster-btn svg {
    width: 16px;
    height: 16px;
}

/* Coming Soon Card - No Button */
.game-poster.coming-soon .poster-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.9) 80%, transparent 100%);
}

/* Responsive */
@media (max-width: 1024px) {
    .games-posters {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: var(--space-xl);
    }
}

@media (max-width: 768px) {
    .games-showcase-section {
        padding: var(--space-3xl) var(--container-padding);
    }

    .games-showcase-section .section-header {
        margin-bottom: 2.5rem;
    }

    .games-posters {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .poster-title {
        font-size: 1.25rem;
    }

    .poster-description {
        font-size: 0.85rem;
    }

    .game-poster.coming-soon {
        display: none;
    }
}

/* XP Hub Section - Network/Circuit Style */
.xp-hub-section {
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1420 50%, #0c0c14 100%);
    padding: var(--space-4xl) var(--container-padding);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Animated circuit board background */
/* Circuit connection lines */
.circuit-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 1;
}

.circuit-lines line {
    filter: drop-shadow(0 0 4px rgba(201, 162, 39, 0.6));
}

.xp-hub-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Header */
.xp-header {
    text-align: center;
    margin-bottom: 4rem;
}

.xp-header .section-label {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.4);
    color: var(--color-accent-primary);
}

.xp-header .section-title {
    color: #ffffff;
}

.xp-header .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

/* Network Hub Container */
.xp-network-hub {
    position: relative;
    min-height: 600px;
    margin: 4rem 0;
}

/* Central Hub - Hexagon */
.xp-central-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.hub-hexagon {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: hubPulse 3s ease-in-out infinite;
}

.hub-hexagon svg {
    position: absolute;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px rgba(201, 162, 39, 0.4));
}

.hub-icon {
    position: relative;
    z-index: 2;
    width: 60px;
    height: 60px;
    color: #c9a227;
    margin-bottom: 0.5rem;
    animation: iconRotate 20s linear infinite;
}

.hub-label {
    position: relative;
    z-index: 2;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #c9a227;
    letter-spacing: 0.1em;
}

@keyframes hubPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

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

/* Floating Game Nodes with Labels */
.game-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 3;
    animation: gameNodeFloat 5s ease-in-out infinite;
}

.game-icon {
    width: 60px;
    height: 60px;
    background: rgba(201, 162, 39, 0.15);
    border: 2px solid rgba(201, 162, 39, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c9a227;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(201, 162, 39, 0.4);
}

.game-icon svg {
    width: 30px;
    height: 30px;
}

.game-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    background: rgba(10, 10, 15, 0.9);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    border: 1px solid rgba(201, 162, 39, 0.3);
    backdrop-filter: blur(10px);
}

.game-node-1 {
    top: 15%;
    left: 20%;
    animation-delay: 0s;
}

.game-node-2 {
    top: 20%;
    right: 18%;
    animation-delay: -1.5s;
}

.game-node-3 {
    bottom: 20%;
    left: 18%;
    animation-delay: -3s;
}

.game-node-4 {
    bottom: 15%;
    right: 20%;
    animation-delay: -4.5s;
}

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

/* Floating Data Cards */
.data-card {
    position: absolute;
    background: rgba(10, 10, 15, 0.85);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 12px;
    padding: 1.25rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 4;
    animation: cardFloat 6s ease-in-out infinite;
}

.card-level-progress {
    top: 10%;
    left: 8%;
    width: 260px;
    animation-delay: 0s;
}

.card-rewards {
    bottom: 15%;
    right: 8%;
    width: 280px;
    animation-delay: -3s;
}

.card-weekly-stats {
    top: 50%;
    left: 5%;
    width: 240px;
    animation-delay: -1.5s;
}

.card-streak {
    top: 35%;
    right: 6%;
    width: 220px;
    animation-delay: -4s;
}

.card-total-xp {
    bottom: 10%;
    left: 10%;
    width: 200px;
    animation-delay: -2s;
}

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

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.card-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-badge {
    font-size: 0.65rem;
    font-weight: 700;
    color: #c9a227;
    background: transparent;
    padding: 0.25rem 0;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.card-stats {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--font-display);
}

.stat-change {
    font-size: 0.875rem;
    font-weight: 600;
}

.stat-change.positive {
    color: #48bb78;
}

.mini-chart {
    width: 100%;
    height: 40px;
    margin-bottom: 0.75rem;
}

.mini-chart svg {
    width: 100%;
    height: 100%;
}

.card-values {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
}

.card-main {
    margin-bottom: 0.75rem;
}

.earnings-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #48bb78;
    font-family: var(--font-display);
}

.earnings-value .currency {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.mini-chart-line {
    width: 100%;
    height: 30px;
}

.mini-chart-line svg {
    width: 100%;
    height: 100%;
}

/* Level Progress Card */
.level-info {
    margin-bottom: 0.75rem;
}

.level-stats {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-display);
}

.xp-current {
    font-size: 1.75rem;
    font-weight: 700;
    color: #c9a227;
}

.xp-divider {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.4);
}

.xp-next {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.level-bar {
    width: 100%;
    height: 12px;
    background: rgba(10, 10, 15, 0.8);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(201, 162, 39, 0.3);
}

.level-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #c9a227 0%, #e5c04b 100%);
    box-shadow: 0 0 10px rgba(201, 162, 39, 0.5);
    transition: width 0.3s ease;
}

.card-footer-info {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(72, 187, 120, 0.2);
}

/* Rewards Card */
.rewards-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.reward-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(201, 162, 39, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(201, 162, 39, 0.2);
}

.reward-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 162, 39, 0.15);
    border-radius: 8px;
}

.reward-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.reward-count {
    font-size: 1.25rem;
    font-weight: 700;
    color: #c9a227;
    font-family: var(--font-display);
}

.reward-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Weekly Stats Card */
.weekly-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #c9a227;
    font-family: var(--font-display);
    margin-bottom: 0.25rem;
}

.stat-label {
    display: block;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Streak Card */
.streak-info {
    text-align: center;
}

.streak-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.streak-dot {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.2);
}

.streak-dot.filled {
    color: #c9a227;
}

.streak-text {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Total XP Card */
.total-xp-display {
    text-align: center;
}

.total-xp-value {
    font-size: 2rem;
    font-weight: 700;
    color: #c9a227;
    font-family: var(--font-display);
    margin-bottom: 0.5rem;
}

.total-xp-rank {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Content Below Hub */
.xp-details {
    margin-top: 6rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.xp-explanation {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.xp-explanation h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: #48bb78;
    margin-bottom: var(--space-lg);
}

.xp-explanation p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

.xp-clarification {
    background: rgba(72, 187, 120, 0.05);
    border: 1px solid rgba(72, 187, 120, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    backdrop-filter: blur(10px);
}

.xp-clarification h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: #48bb78;
    margin-bottom: var(--space-lg);
    text-align: center;
}

.xp-not-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.xp-not-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.xp-not-list li svg {
    width: 24px;
    height: 24px;
    color: #ef4444;
    flex-shrink: 0;
}

.xp-clarification-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    text-align: center;
    font-style: italic;
}

/* XP Clarification Below (under services card) */
.xp-clarification-below {
    position: relative;
    z-index: 20;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem 3rem;
    margin-top: 3rem;
    max-width: 700px;
    width: 100%;
}

.xp-clarification-below h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: #48bb78;
    margin-bottom: 1.25rem;
    text-align: center;
}

.xp-clarification-below .xp-not-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.xp-clarification-below .xp-not-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.xp-clarification-below .xp-not-list li svg {
    width: 20px;
    height: 20px;
    color: #22c55e;
    flex-shrink: 0;
}

.xp-clarification-below .xp-clarification-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    text-align: center;
    font-style: italic;
    margin: 0 0 1.5rem 0;
}

.xp-learn-more-wrapper {
    text-align: center;
}

.xp-learn-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(72, 187, 120, 0.15);
    border: 1px solid rgba(72, 187, 120, 0.4);
    border-radius: 50px;
    color: #48bb78;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
}

.xp-learn-more-btn:hover {
    background: rgba(72, 187, 120, 0.25);
    border-color: rgba(72, 187, 120, 0.6);
    transform: translateY(-2px);
}

/* Floating Data Cards */
.floating-data-card {
    position: absolute;
    background: rgba(10, 10, 15, 0.95);
    border: 2px solid rgba(201, 162, 39, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(20px);
    z-index: 10;
}

.data-card-vip-left {
    left: -180px;
    top: 8%;
    width: 320px;
    animation: cardFloatLeft 6s ease-in-out infinite;
}

.data-card-event-right {
    right: -200px;
    top: 32%;
    width: 380px;
    animation: cardFloatRight 6s ease-in-out infinite -3s;
}

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

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

.data-card-header {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.data-card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 0.75rem;
}

.data-card-xp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.xp-icon {
    font-size: 1rem;
}

.xp-amount {
    font-weight: 600;
    color: #c9a227;
    font-size: 1rem;
}

.data-card-image {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.data-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.data-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.data-card-actions:last-child {
    margin-bottom: 0;
}

.data-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.data-card-btn:hover {
    background: rgba(201, 162, 39, 0.1);
    border-color: rgba(201, 162, 39, 0.3);
    color: #c9a227;
}

.data-card-btn svg {
    width: 14px;
    height: 14px;
}

/* Event Card Styles */
.event-section {
    margin-bottom: 1.5rem;
}

.event-section:last-child {
    margin-bottom: 0;
}

.event-section-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.event-section-header h3 {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin: 0;
    flex: 1;
}

.capacity-total {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.event-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.event-item:last-child {
    border-bottom: none;
}

.event-date {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.event-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.event-time {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.attendee-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
}

.taken {
    color: rgba(255, 255, 255, 0.7);
}

.available {
    color: #48bb78;
}

.capacity-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.capacity-fill {
    height: 100%;
    background: linear-gradient(90deg, #48bb78 0%, #34d399 100%);
    border-radius: 4px;
}

.attendees-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.attendee {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* XP Features Card Styles */
.xp-features-card {
    padding: 0.5rem 0;
}

.xp-features-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
}

.xp-features-header h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.02em;
}

.xp-feature-blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
}

.xp-feature-block {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 0.875rem;
    background: rgba(201, 162, 39, 0.08);
    border: 1px solid rgba(201, 162, 39, 0.15);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.xp-feature-block:hover {
    background: rgba(201, 162, 39, 0.15);
    border-color: rgba(201, 162, 39, 0.3);
    transform: translateY(-1px);
}

.xp-feature-block svg {
    width: 16px;
    height: 16px;
    color: #c9a227;
    flex-shrink: 0;
}

.xp-feature-block span {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.3;
}

/* Responsive */
@media (max-width: 1440px) {
    .data-card-vip-left {
        left: -150px;
    }

    .data-card-event-right {
        right: -170px;
    }
}

@media (max-width: 1280px) {
    .data-card-vip-left {
        left: 20px;
    }

    .data-card-event-right {
        right: 20px;
    }
}

/* XP Mobile Image - Hidden on desktop */
.xp-mobile-image {
    display: none;
}

@media (max-width: 1024px) {
    .floating-data-card {
        display: none;
    }

    .services-card {
        flex-direction: column;
        align-items: center;
        padding-top: 2rem;
    }

    .xp-mobile-image {
        display: block;
        width: 100%;
        max-width: 300px;
        margin-bottom: 1rem;
        z-index: 5;
    }

    .xp-mobile-image img {
        width: 100%;
        height: auto;
        border-radius: 12px;
    }
}

/* XP Clarification Section */
.xp-clarification-section {
    padding: var(--space-4xl) var(--container-padding);
    background: #0a0a0f;
}

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

.xp-learn-more-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.15) 0%, rgba(124, 92, 231, 0.15) 100%);
    border: 1px solid rgba(201, 162, 39, 0.4);
    border-radius: 8px;
    color: #c9a227;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.xp-learn-more-btn:hover {
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.25) 0%, rgba(124, 92, 231, 0.25) 100%);
    border-color: rgba(201, 162, 39, 0.6);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1024px) {
    .xp-network-hub {
        min-height: 500px;
    }

    .game-icon {
        width: 50px;
        height: 50px;
    }

    .game-icon svg {
        width: 24px;
        height: 24px;
    }

    .game-label {
        font-size: 0.65rem;
        padding: 0.2rem 0.6rem;
    }

    .data-card {
        padding: 1rem;
    }

    .card-level-progress {
        width: 220px;
        left: 5%;
    }

    .card-rewards {
        width: 240px;
        right: 5%;
    }

    .xp-current {
        font-size: 1.5rem;
    }

    .reward-count {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .xp-hub-section {
        padding: var(--space-3xl) var(--container-padding);
    }

    .xp-header {
        margin-bottom: 2.5rem;
    }

    .xp-network-hub {
        min-height: 300px;
        margin: 2rem 0;
    }

    .xp-central-hub {
        position: relative;
        transform: none;
        top: auto;
        left: auto;
        display: flex;
        justify-content: center;
        margin: 2rem 0;
    }

    .hub-hexagon {
        width: 150px;
        height: 150px;
    }

    .hub-icon {
        width: 50px;
        height: 50px;
    }

    .game-node {
        display: none; /* Hide game nodes on mobile */
    }

    .data-card {
        display: none; /* Hide data cards on mobile */
    }

    .circuit-lines {
        display: none;
    }

    .xp-details {
        margin-top: 3rem;
    }

    .xp-explanation h3 {
        font-size: 1.5rem;
    }

    .xp-not-list {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
}

/* Dive Into Game Development Section - Gradient Mesh Style */
.dive-game-dev-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: var(--space-4xl) var(--container-padding);
}

/* Gradient Mesh Background */
.mesh-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a0b2e 0%, #2d1b4e 25%, #4a2b6f 50%, #d946a6 75%, #fbbf24 100%);
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.8) 0%, transparent 70%);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.6) 0%, transparent 70%);
    top: 20%;
    right: -15%;
    animation-delay: -7s;
}

.orb-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.5) 0%, transparent 70%);
    bottom: -10%;
    left: 30%;
    animation-delay: -14s;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

/* Circuit Lines for Dive Section */
.dive-circuit-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.dive-circuit-lines line {
    filter: drop-shadow(0 0 4px rgba(167, 139, 250, 0.6));
}

.dive-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.dive-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.dive-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: var(--space-lg);
    text-shadow: 0 0 40px rgba(167, 139, 250, 0.8);
}

.dive-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

.dive-description {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
}

/* Floating Nodes in Dive Section */
.dive-floating-nodes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.dive-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: diveNodeFloat 6s ease-in-out infinite;
}

.dive-node-icon {
    width: 70px;
    height: 70px;
    background: rgba(167, 139, 250, 0.2);
    border: 2px solid rgba(167, 139, 250, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a78bfa;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(167, 139, 250, 0.5);
}

.dive-node-icon svg {
    width: 35px;
    height: 35px;
}

.dive-node-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    background: rgba(29, 21, 51, 0.8);
    padding: 0.3rem 0.85rem;
    border-radius: 14px;
    border: 1px solid rgba(167, 139, 250, 0.4);
    backdrop-filter: blur(10px);
}

.dive-node-1 {
    top: 10%;
    left: 15%;
    animation-delay: 0s;
}

.dive-node-2 {
    top: 15%;
    right: 12%;
    animation-delay: -2s;
}

.dive-node-3 {
    bottom: 15%;
    left: 12%;
    animation-delay: -4s;
}

.dive-node-4 {
    bottom: 10%;
    right: 15%;
    animation-delay: -6s;
}

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

/* Responsive - Dive Section */
@media (max-width: 1024px) {
    .dive-node-icon {
        width: 60px;
        height: 60px;
    }

    .dive-node-icon svg {
        width: 30px;
        height: 30px;
    }

    .dive-node-label {
        font-size: 0.7rem;
        padding: 0.25rem 0.7rem;
    }
}

@media (max-width: 768px) {
    .dive-game-dev-section {
        padding: var(--space-3xl) var(--container-padding);
    }

    .dive-node {
        display: none;
    }

    .dive-circuit-lines {
        display: none;
    }

    .xp-clarification-section {
        padding: var(--space-3xl) var(--container-padding);
    }

    .xp-clarification-container {
        padding: var(--space-2xl);
    }

    .xp-not-list-full {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
}

/* Vision Mesh Section & Hero Mesh Section - Gradient Style */
.vision-mesh-section,
.hero-mesh-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0a0a0f;
    padding: var(--space-3xl) var(--container-padding);
}

/* Inner container with gradient and margins */
.vision-mesh-section::before,
.hero-mesh-section::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: 2rem;
    right: 2rem;
    bottom: 2rem;
    background: linear-gradient(135deg, #2d1b69 0%, #1a0e3d 20%, #4a1a5e 40%, #6b2878 60%, #a855f7 80%, #e879f9 100%);
    border-radius: 24px;
    z-index: 0;
}

/* Gradient Mesh Background */
.mesh-bg {
    position: absolute;
    top: 2rem;
    left: 2rem;
    right: 2rem;
    bottom: 2rem;
    border-radius: 24px;
    overflow: hidden;
    z-index: 1;
}

.mesh-gradient {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.8;
    animation: meshFloat 20s ease-in-out infinite;
}

.mesh-gradient-1 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.8) 0%, transparent 70%);
    top: -10%;
    left: -5%;
    animation-delay: 0s;
}

.mesh-gradient-2 {
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.7) 0%, transparent 70%);
    top: -15%;
    right: -10%;
    animation-delay: -5s;
}

.mesh-gradient-3 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(249, 168, 212, 0.6) 0%, transparent 70%);
    bottom: -5%;
    left: 20%;
    animation-delay: -10s;
}

.mesh-gradient-4 {
    width: 750px;
    height: 750px;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.5) 0%, transparent 70%);
    bottom: -10%;
    right: 10%;
    animation-delay: -15s;
}

@keyframes meshFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Connection Lines SVG */
.vision-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    opacity: 0.4;
}

/* Decorative Vertical Lines */
.mesh-bg::before,
.mesh-bg::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 200px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
    top: 15%;
    animation: lineFloat 8s ease-in-out infinite;
}

.mesh-bg::before {
    left: 30%;
    animation-delay: 0s;
}

.mesh-bg::after {
    right: 35%;
    animation-delay: -4s;
}

@keyframes lineFloat {
    0%, 100% {
        transform: translateY(0px);
        opacity: 0.3;
    }
    50% {
        transform: translateY(50px);
        opacity: 0.6;
    }
}

/* Floating Nodes */
.vision-node {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: nodeFloat 6s ease-in-out infinite;
}

.vision-node .node-dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
    animation: nodePulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

.vision-node .node-label {
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.vision-node .node-sublabel {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    margin-left: 0.25rem;
}

/* Node Positions - More Scattered */
.node-1 {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.node-2 {
    top: 18%;
    right: 15%;
    animation-delay: -1.5s;
}

.node-3 {
    bottom: 25%;
    left: 18%;
    animation-delay: -3s;
}

.node-4 {
    bottom: 22%;
    right: 18%;
    animation-delay: -4.5s;
}

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

@keyframes nodePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

/* Central Content */
.vision-mesh-content {
    position: relative;
    z-index: 4;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.vision-mesh-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
}

.vision-mesh-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 300;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.vision-mesh-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: var(--space-2xl);
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.vision-mesh-description {
    display: none; /* Hide description to match reference */
}

.vision-mesh-description p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* Hero Mesh - Text 3D Content Override */
.hero-mesh-section .text-3d-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-2xl);
}

.hero-mesh-section .text-3d-welcome {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.15em;
    margin-bottom: var(--space-xl);
    backdrop-filter: blur(10px);
}

.hero-mesh-section .floating-text-wrapper {
    margin-bottom: var(--space-lg);
}

.hero-mesh-section .text-3d-title {
    position: relative;
    font-family: var(--font-display);
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 0;
    line-height: 1;
}

.hero-mesh-section .text-3d-title .text-main {
    position: relative;
    z-index: 4;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-mesh-section .text-3d-title .text-shadow-1,
.hero-mesh-section .text-3d-title .text-shadow-2,
.hero-mesh-section .text-3d-title .text-shadow-3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-mesh-section .text-3d-title .text-shadow-1 {
    transform: translate(-3px, -3px);
    z-index: 1;
}

.hero-mesh-section .text-3d-title .text-shadow-2 {
    transform: translate(-6px, -6px);
    z-index: 2;
}

.hero-mesh-section .text-3d-title .text-shadow-3 {
    transform: translate(-9px, -9px);
    z-index: 3;
}

.hero-mesh-section .text-3d-subtitle {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.3em;
    margin-top: -0.5rem;
}

.hero-mesh-section .text-3d-tagline {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 2rem 0 1rem;
    font-weight: 300;
}

.hero-mesh-section .text-3d-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
    font-weight: 300;
}

.hero-mesh-section .text-3d-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-mesh-section .text-3d-stats .stat-item {
    text-align: center;
}

.hero-mesh-section .text-3d-stats .stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

.hero-mesh-section .text-3d-stats .stat-label {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.hero-mesh-section .text-3d-stats .stat-divider {
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.hero-mesh-section .scroll-indicator {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 2rem;
}

.hero-mesh-section .scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(10px);
        opacity: 0.3;
    }
}

/* Mesh CTAs */
.vision-mesh-cta {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.btn-mesh {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all var(--transition-base);
    cursor: pointer;
    text-decoration: none;
}

.btn-mesh-primary {
    padding: 1rem 2.25rem;
    background: rgba(255, 255, 255, 0.95);
    color: #2d1b69;
    border: none;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-mesh-primary:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

.btn-mesh-primary::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform var(--transition-base);
}

.btn-mesh-primary:hover::after {
    transform: translateX(4px);
}

.btn-mesh-secondary {
    padding: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    border: none;
    position: relative;
}

.btn-mesh-secondary::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.6);
    transition: width var(--transition-base);
}

.btn-mesh-secondary:hover::after {
    width: 100%;
}

/* Responsive */
@media (max-width: 1024px) {
    .vision-mesh-section::before,
    .hero-mesh-section::before {
        top: 1.5rem;
        left: 1.5rem;
        right: 1.5rem;
        bottom: 1.5rem;
    }

    .vision-mesh-section .mesh-bg,
    .hero-mesh-section .mesh-bg {
        top: 1.5rem;
        left: 1.5rem;
        right: 1.5rem;
        bottom: 1.5rem;
    }

    .vision-node {
        font-size: 0.85rem;
        padding: 0.75rem 1rem;
    }

    .node-1 {
        top: 10%;
        left: 5%;
    }

    .node-2 {
        top: 10%;
        right: 5%;
    }

    .node-3 {
        bottom: 15%;
        left: 5%;
    }

    .node-4 {
        bottom: 15%;
        right: 5%;
    }

    .vision-connections {
        opacity: 0.5;
    }
}

@media (max-width: 768px) {
    .vision-mesh-section,
    .hero-mesh-section {
        padding: var(--space-xl) var(--space-md);
    }

    .vision-mesh-section::before,
    .hero-mesh-section::before {
        top: 1rem;
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        border-radius: 16px;
    }

    .vision-mesh-section .mesh-bg,
    .hero-mesh-section .mesh-bg {
        top: 1rem;
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        border-radius: 16px;
    }

    .hero-mesh-stats {
        gap: var(--space-md);
    }

    .hero-mesh-stats .stat-number {
        font-size: 1.5rem;
    }

    .hero-mesh-stats .stat-divider {
        height: 30px;
    }

    .hero-mesh-section .text-3d-title {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }

    .hero-mesh-section .text-3d-subtitle {
        font-size: clamp(1rem, 2.5vw, 1.5rem);
    }

    .hero-mesh-section .text-3d-stats {
        gap: 1.5rem;
    }

    .hero-mesh-section .text-3d-stats .stat-number {
        font-size: 2rem;
    }

    .hero-mesh-section .text-3d-stats .stat-divider {
        height: 35px;
    }

    .vision-node {
        display: none; /* Hide nodes on mobile for cleaner look */
    }

    .vision-connections {
        display: none;
    }

    .vision-mesh-title {
        font-size: 2.5rem;
    }

    .vision-mesh-cta {
        flex-direction: column;
    }

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

/* Partnership Section */
.partnership-section {
    background: linear-gradient(180deg, #0a0a0f 0%, #1a1028 50%, #0a0a0f 100%);
    position: relative;
    overflow: hidden;
}

.partnership-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent 0px,
        rgba(123, 47, 191, 0.03) 1px,
        transparent 2px,
        transparent 40px
    );
    pointer-events: none;
    z-index: 0;
}

.partnership-section > * {
    position: relative;
    z-index: 1;
}

.partnership-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
}

.partner-card {
    flex: 1;
    max-width: 350px;
    padding: var(--space-xl);
    background: #12121a;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-base);
}

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

.partner-logo {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    border-radius: var(--radius-lg);
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
}

.partner-card.monarch .partner-logo {
    background: var(--gradient-primary);
    color: white;
}

.partner-card.tronxr .partner-logo {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.partner-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.partner-card > p {
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    margin-bottom: var(--space-lg);
}

.partner-strengths {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.partner-strengths li {
    padding: var(--space-xs) var(--space-sm);
    background: var(--color-bg-tertiary);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

.partnership-bridge {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0 var(--space-md);
}

.bridge-line {
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
}

.bridge-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: white;
}

.partnership-tagline {
    text-align: center;
}

.partnership-tagline p {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
}

.partnership-tagline .highlight {
    color: var(--color-text-primary);
    font-weight: 600;
}

/* Contact Section */
.contact-section {
    background: var(--color-bg-primary);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.contact-content p {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.contact-email {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-accent-primary);
    transition: all var(--transition-fast);
}

.contact-email:hover {
    color: var(--color-accent-secondary);
}

.contact-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-graphic {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.graphic-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    animation: contactPulse 4s ease-in-out infinite;
}

.graphic-circle:nth-child(1) {
    width: 100%;
    height: 100%;
    animation-delay: 0s;
}

.graphic-circle:nth-child(2) {
    width: 66%;
    height: 66%;
    animation-delay: 1.3s;
}

.graphic-circle:nth-child(3) {
    width: 33%;
    height: 33%;
    animation-delay: 2.6s;
}

@keyframes contactPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* Footer */
.footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: var(--space-3xl);
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: var(--space-md);
}

.footer-brand p {
    color: var(--color-text-tertiary);
    font-size: 0.9375rem;
}

.footer-links {
    display: flex;
    gap: var(--space-3xl);
}

.footer-column h4 {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--color-text-primary);
}

.footer-column a {
    display: block;
    font-size: 0.9375rem;
    color: var(--color-text-tertiary);
    margin-bottom: var(--space-sm);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.partnership-credit a {
    color: var(--color-accent-primary);
    font-weight: 500;
}

.partnership-credit a:hover {
    color: var(--color-accent-secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-grid,
    .vision-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .vision-visual {
        height: 200px;
        order: 2;
    }

    .partnership-showcase {
        flex-direction: column;
    }

    .partnership-bridge {
        transform: rotate(90deg);
        padding: var(--space-md) 0;
    }

    .partner-card {
        max-width: 100%;
        width: 100%;
    }

    .grid-lines {
        background-size: 40px 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

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

    .section {
        padding: var(--space-3xl) 0;
    }

    .footer-content {
        flex-direction: column;
        gap: var(--space-xl);
    }

    .footer-links {
        gap: var(--space-xl);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    .contact-graphic {
        width: 200px;
        height: 200px;
    }
}

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 100px;
}

/* Selection styling */
::selection {
    background: rgba(99, 102, 241, 0.3);
    color: white;
}

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

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

    html {
        scroll-behavior: auto;
    }
}

/* ============================================
   Builder.io Integration Styles
   ============================================ */

/* Announcement Banner */
.announcement-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    font-size: 0.875rem;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.announcement-banner + .nav {
    top: 44px;
}

.announcement-content {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.announcement-content a {
    color: white;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.announcement-content a:hover {
    opacity: 0.9;
}

.announcement-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.announcement-close:hover {
    opacity: 1;
}

/* Builder.io Preview Mode */
.builder-preview-mode [data-builder-content] {
    outline: 2px dashed rgba(99, 102, 241, 0.3);
    outline-offset: 2px;
    transition: outline-color var(--transition-fast);
}

.builder-preview-mode [data-builder-content]:hover {
    outline-color: var(--color-accent-primary);
}

/* Builder Section Container */
#builder-section {
    min-height: 0;
}

#builder-section:empty {
    display: none;
}

#builder-section > * {
    padding: var(--space-3xl) 0;
}

/* ============================================
   Cutting-Edge Effects
   ============================================ */

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--gradient-primary);
    z-index: 10000;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.scroll-progress-glow {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    height: 20px;
    background: radial-gradient(ellipse at right, rgba(99, 102, 241, 0.8), transparent);
    filter: blur(4px);
}

/* Text Reveal Animations */
.text-reveal {
    overflow: hidden;
}

.reveal-word {
    display: inline-block;
    overflow: hidden;
}

.reveal-word-inner {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.6s ease;
    transition-delay: calc(var(--word-index) * 0.05s);
}

.text-revealed .reveal-word-inner {
    transform: translateY(0);
    opacity: 1;
}

/* Morphing Blob Shapes */
.morphing-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    filter: blur(60px);
    opacity: 0.6;
    transition: transform 0.3s ease-out;
}

.blob-1 {
    width: 500px;
    height: 500px;
    top: 10%;
    right: -10%;
    animation: blobFloat1 20s ease-in-out infinite;
}

.blob-2 {
    width: 450px;
    height: 450px;
    bottom: 20%;
    left: -5%;
    animation: blobFloat2 25s ease-in-out infinite;
}

.blob-3 {
    width: 400px;
    height: 400px;
    top: 50%;
    left: 40%;
    animation: blobFloat3 22s ease-in-out infinite;
}

@keyframes blobFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-50px, 30px) scale(1.1); }
    66% { transform: translate(30px, -40px) scale(0.95); }
}

@keyframes blobFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -30px) scale(0.9); }
    66% { transform: translate(-30px, 50px) scale(1.05); }
}

@keyframes blobFloat3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    33% { transform: translate(calc(-50% + 60px), calc(-50% - 40px)) scale(1.15); }
    66% { transform: translate(calc(-50% - 40px), calc(-50% + 30px)) scale(0.9); }
}

/* Magnetic Button Hover Enhancement */
.btn, .nav-cta, .logo-icon {
    will-change: transform;
}

.btn:hover, .nav-cta:hover {
    cursor: pointer;
}

/* Card Glow Effect Enhancement */
.stat-card::before,
.pillar::before,
.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(99, 102, 241, 0.15),
        transparent 40%
    );
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: -1;
}

.stat-card:hover::before,
.pillar:hover::before,
.partner-card:hover::before {
    opacity: 1;
}

.stat-card,
.pillar,
.partner-card {
    position: relative;
    overflow: hidden;
}

/* Noise/Grain Overlay - subtle texture */
/* Noise overlay removed for cleaner gradients */

/* Enhanced Button States */
.btn-primary {
    position: relative;
    overflow: hidden;
}

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

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


/* Floating animation for decorative elements */
@keyframes floatGentle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Section divider glow lines */
.section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent-primary), transparent);
    opacity: 0.3;
}

.section {
    position: relative;
}

/* Responsive adjustments for effects */
@media (max-width: 768px) {
    .blob {
        opacity: 0.3;
    }

    .blob-1 {
        width: 300px;
        height: 300px;
    }

    .blob-2 {
        width: 250px;
        height: 250px;
    }

    .blob-3 {
        width: 200px;
        height: 200px;
    }

    .scroll-progress {
        height: 2px;
    }
}

/* ============================================
   Process Section - How We Work
   ============================================ */
.process-section {
    background: linear-gradient(180deg, #0c0c14 0%, #0a0a0f 100%);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
    position: relative;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 16.67%;
    right: 16.67%;
    height: 2px;
    background: linear-gradient(90deg,
        rgba(168, 85, 247, 0.5) 0%,
        rgba(236, 72, 153, 0.5) 50%,
        rgba(251, 146, 60, 0.5) 100%
    );
}

.process-step {
    position: relative;
    text-align: center;
    padding-top: 80px;
}

.step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
    background: #0c0c14;
    border: 2px solid rgba(168, 85, 247, 0.5);
    border-radius: 50%;
    z-index: 2;
    transition: all var(--transition-base);
}

.process-step:hover .step-number {
    border-color: #a855f7;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
}

.step-content p {
    font-size: 0.9rem;
    color: var(--color-text-tertiary);
    line-height: 1.6;
}

.step-content p a {
    color: #FFFFFF;
}

@media (max-width: 1024px) {
    .process-timeline {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-xl);
    }

    .process-timeline::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .process-timeline {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .process-step {
        display: flex;
        align-items: flex-start;
        gap: var(--space-md);
        padding-top: 0;
        text-align: left;
    }

    .step-number {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        flex-shrink: 0;
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
}

/* ============================================
   Experience Section - 3D Orb
   ============================================ */
.experience-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg,
        #0a0a0f 0%,
        #0a0c15 30%,
        #0d1525 60%,
        #0a1628 100%
    );
    overflow: hidden;
    padding: var(--space-4xl) 0;
}

/* Curved gradient floor */
.curved-gradient-floor {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    pointer-events: none;
    z-index: 1;
}

.floor-svg {
    width: 100%;
    height: 100%;
}

.experience-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 var(--container-padding);
}

.experience-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 500;
    font-style: italic;
    line-height: 1.2;
    color: var(--color-text-primary);
    margin-bottom: var(--space-3xl);
    letter-spacing: -0.01em;
}

.experience-title span {
    display: block;
}

/* Orb Container */
.orb-container {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto var(--space-xl);
}

.orb-glow {
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle at 50% 50%,
        rgba(59, 130, 246, 0.3) 0%,
        rgba(59, 130, 246, 0.15) 30%,
        rgba(37, 99, 235, 0.05) 50%,
        transparent 70%
    );
    filter: blur(30px);
    animation: orbPulse 4s ease-in-out infinite;
}

@keyframes orbPulse {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.wireframe-orb {
    position: relative;
    width: 100%;
    height: 100%;
    animation: orbRotate 20s linear infinite;
}

@keyframes orbRotate {
    0% {
        transform: rotateY(0deg) rotateX(10deg);
    }
    100% {
        transform: rotateY(360deg) rotateX(10deg);
    }
}

.orb-svg {
    width: 100%;
    height: 100%;
}

.orb-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: radial-gradient(circle,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(59, 130, 246, 0.1) 50%,
        transparent 70%
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    box-shadow:
        0 0 30px rgba(59, 130, 246, 0.4),
        0 0 60px rgba(59, 130, 246, 0.2);
}

.orb-center svg {
    margin-left: 3px;
}

/* Experience Button */
.experience-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.5rem;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-primary);
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
}

.experience-btn:hover {
    background: rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.experience-btn svg {
    color: #3b82f6;
}

/* Responsive */
@media (max-width: 768px) {
    .experience-section {
        min-height: 80vh;
        padding: var(--space-3xl) 0;
    }

    .experience-title {
        font-size: 1.75rem;
    }

    .orb-container {
        width: 200px;
        height: 200px;
    }
}

/* ============================================
   Contact Form Section
   ============================================ */
.careers-section {
    background-color: var(--color-bg-dark);
    position: relative;
    overflow: hidden;
}

/* Grid background */
.careers-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
}

.partnership-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.careers-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.careers-text .section-label {
    margin-bottom: 1rem;
}

.careers-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.careers-lead {
    font-size: 1.5rem;
    color: var(--gold-primary);
    margin-bottom: 1.5rem;
}

.careers-text > p:last-of-type {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.careers-roles {
    background: #12121a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.15), 0 0 100px rgba(139, 92, 246, 0.08);
}

.careers-roles h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gold-primary);
    margin-bottom: 1rem;
}

.careers-roles ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.careers-roles li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

.careers-roles li:last-child {
    border-bottom: none;
}

/* Careers CTA Button */
.careers-text .btn.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-full);
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: normal;
    box-shadow: var(--shadow-glow);
}

.careers-text .btn.btn-primary::before,
.careers-text .btn.btn-primary::after {
    display: none;
}

.careers-text .btn.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 60px rgba(99, 102, 241, 0.4);
}

/* ============================================
   COMMUNITY PARTNER
   ============================================ */
.community-partner {
    text-align: center;
    padding: 2rem;
    background: #12121a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.community-partner h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.75rem;
}

.community-partner p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================
   FOOTER SOCIAL
   ============================================ */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.6);
}

.social-link:hover {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
    color: #0c0c14;
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.footer-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.5rem;
}

/* ============================================
   VISION PILLARS - 4 Column Update
   ============================================ */
.vision-pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.vision-pillars .pillar {
    padding: 1.25rem;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 1024px) {
    .leadership-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .careers-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .xp-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .games-grid {
        grid-template-columns: 1fr;
    }

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

    .xp-not-list {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .vision-pillars {
        grid-template-columns: 1fr;
    }

    .expertise-list ul {
        grid-template-columns: 1fr;
    }

    .leader-highlight {
        padding: 1.5rem;
    }

    .leader-legacy {
        gap: 0.5rem;
    }

    .leader-legacy span {
        font-size: 0.65rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes float-subtle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.game-card.featured .game-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.5) 100%);
}

/* Hover glow for XP features */
.xp-feature:hover .xp-feature-icon {
    box-shadow: 0 0 20px rgba(201, 162, 39, 0.2);
}

/* Gold gradient text utility */
.text-gold-gradient {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-light) 50%, var(--gold-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.contact-form-section {
    position: relative;
    background: #050508;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: var(--space-4xl) 0;
}

/* Floating 3D Objects */
.floating-objects {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.float-obj {
    position: absolute;
    animation: floatObject 8s ease-in-out infinite;
}

.float-obj svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}

.obj-1 {
    top: 8%;
    left: 8%;
    width: 100px;
    height: 100px;
    animation-delay: 0s;
}

.obj-2 {
    top: 15%;
    right: 12%;
    width: 70px;
    height: 70px;
    animation-delay: -1s;
    animation-duration: 10s;
}

.obj-3 {
    top: 40%;
    left: 5%;
    width: 50px;
    height: 50px;
    animation-delay: -2s;
    animation-duration: 7s;
}

.obj-4 {
    bottom: 25%;
    right: 8%;
    width: 80px;
    height: 80px;
    animation-delay: -3s;
    animation-duration: 9s;
}

.obj-5 {
    bottom: 15%;
    left: 15%;
    width: 45px;
    height: 45px;
    animation-delay: -4s;
    animation-duration: 11s;
}

.obj-6 {
    top: 60%;
    right: 20%;
    width: 90px;
    height: 90px;
    animation-delay: -2.5s;
    animation-duration: 12s;
}

@keyframes floatObject {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(5deg);
    }
    50% {
        transform: translateY(-25px) rotate(-3deg);
    }
    75% {
        transform: translateY(-10px) rotate(2deg);
    }
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    padding-top: 30px;
    text-align: center;
}

.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
}

.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-primary);
}

.contact-form-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.contact-form-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-tertiary);
    margin-bottom: var(--space-2xl);
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    overflow: visible;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    overflow: visible;
}

.form-group {
    position: relative;
    overflow: visible;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.1rem 1.5rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    color: #ffffff;
    background: rgb(10, 10, 20);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    outline: none;
    transition: all var(--transition-base);
    position: relative;
    z-index: 2;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    border-radius: 24px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Input Glow Effect - Matching reference exactly */
.input-glow {
    position: absolute;
    inset: -2px;
    border-radius: 50px;
    opacity: 0;
    z-index: 1;
    transition: opacity var(--transition-base);
    pointer-events: none;
    /* Gradient border using background + mask */
    background: linear-gradient(90deg,
        #3b82f6 0%,
        #60a5fa 15%,
        #818cf8 30%,
        #a78bfa 50%,
        #c084fc 70%,
        #e879f9 85%,
        #f0abfc 100%
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 2px;
}

/* Outer soft glow */
.input-glow::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 55px;
    background: linear-gradient(90deg,
        rgba(59, 130, 246, 0.5) 0%,
        rgba(96, 165, 250, 0.4) 15%,
        rgba(129, 140, 248, 0.35) 30%,
        rgba(167, 139, 250, 0.4) 50%,
        rgba(192, 132, 252, 0.45) 70%,
        rgba(232, 121, 249, 0.4) 85%,
        rgba(240, 171, 252, 0.3) 100%
    );
    z-index: -1;
    filter: blur(15px);
}


.form-group textarea ~ .input-glow {
    border-radius: 26px;
}

.form-group textarea ~ .input-glow::after {
    border-radius: 32px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: transparent;
    background: rgb(10, 10, 20);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus ~ .input-glow,
.form-group textarea:focus ~ .input-glow {
    opacity: 1;
}

/* Autofill Styling - Prevent white background */
.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.form-group input:-webkit-autofill:active,
.form-group textarea:-webkit-autofill,
.form-group textarea:-webkit-autofill:hover,
.form-group textarea:-webkit-autofill:focus,
.form-group textarea:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px rgb(10, 10, 20) inset !important;
    -webkit-text-fill-color: #ffffff !important;
    caret-color: #ffffff !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Submit Button */
.form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    margin-top: var(--space-sm);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #7B2FBF 0%, #9D4EDD 50%, #C77DFF 100%);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.form-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #c084fc 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.4);
}

.form-submit:hover::before {
    opacity: 1;
}

.form-submit span,
.form-submit svg {
    position: relative;
    z-index: 1;
}

.form-submit svg {
    transition: transform var(--transition-base);
}

.form-submit:hover svg {
    transform: translate(3px, -3px);
}

/* Email Alternative */
.contact-email-alt {
    margin-top: var(--space-xl);
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.contact-email-alt a {
    color: var(--color-accent-primary);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.contact-email-alt a:hover {
    color: var(--color-accent-secondary);
}

.contact-emails {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-emails a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.contact-emails a:hover {
    color: #8b5cf6;
}

.contact-emails a span {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .contact-emails {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-form-section {
        padding: var(--space-3xl) 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-title {
        font-size: 2rem;
    }

    .obj-1, .obj-6 {
        display: none;
    }

    .obj-2 {
        top: 5%;
        right: 5%;
        width: 50px;
    }

    .obj-4 {
        bottom: 10%;
        right: 5%;
        width: 60px;
    }
}

/* Reduced motion - disable complex animations */
@media (prefers-reduced-motion: reduce) {
    .blob,
    .scroll-progress-glow,
    .reveal-word-inner,
    .float-obj {
        animation: none !important;
        transition: none !important;
    }

    .reveal-word-inner {
        transform: none;
        opacity: 1;
    }

    body::before {
        display: none;
    }

    .input-glow {
        animation: none !important;
    }
}

/* ========================================
   FOUNDATIONAL SECTION STYLES
   ======================================== */

/* Sections */
.section {
    padding: var(--space-4xl) 0;
}

.section-header {
    margin-bottom: var(--space-3xl);
}

.section-header.centered {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}
.section-label::before,
.section-label::after {
    content: '';
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent));
}
.section-label::after {
    background: linear-gradient(90deg, var(--color-accent), transparent);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-description {
    margin-top: var(--space-md);
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.section-subtitle {
    margin-top: var(--space-md);
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}


/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}


/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 60px rgba(99, 102, 241, 0.4);
}

.btn-primary svg {
    transition: transform 150ms ease;
}

.btn-primary:hover svg {
    transform: translateX(3px);
}

/* ========================================
   OUR VISION SECTION
   ======================================== */

.our-vision-section {
    padding: 6rem 0 5rem;
    background: var(--color-bg-dark);
    position: relative;
    overflow: hidden;
}

.our-vision-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(123, 47, 191, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.vision-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
    z-index: 1;
    text-align: center;
}

.vision-header {
    margin-bottom: var(--space-2xl);
}

.vision-label {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-primary-light);
    margin-bottom: var(--space-lg);
    opacity: 0.8;
}

.vision-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--color-text);
}

.vision-quote {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    font-family: var(--font-body);
    font-size: clamp(1.25rem, 2.5vw, 1.625rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.9;
    color: var(--color-text-secondary);
    position: relative;
    border: none;
    background: none;
    border-radius: 0;
}

.vision-quote::before,
.vision-quote::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary-light), transparent);
    margin: 0 auto;
    opacity: 0.4;
}

.vision-quote::before {
    margin-bottom: var(--space-xl);
}

.vision-quote::after {
    margin-top: var(--space-xl);
}

/* Vision Section Responsive */
@media (max-width: 768px) {
    .our-vision-section {
        padding: 4rem 0 3rem;
    }

    .vision-quote {
        font-size: 1.125rem;
        line-height: 1.8;
    }

    .vision-quote::before,
    .vision-quote::after {
        width: 40px;
    }
}

/* ========================================
   ABOUT US SECTION
   ======================================== */

.about-section {
    padding: var(--space-4xl) 0;
    background: var(--color-bg-dark);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

.about-section > .container {
    position: relative;
    z-index: 1;
}

.about-section .section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.about-section .section-label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent-primary);
    margin-bottom: 1rem;
}

.about-section .section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-text);
}

.about-content {
    display: grid;
    gap: 4rem;
}

.about-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    /* Prevent text overflow on mobile */
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    overflow: hidden;
}

.about-lead {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--color-text);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    /* Prevent text overflow on mobile - constrain to 100% of parent */
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
    position: relative;
}

.about-visual::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.butterfly-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    padding: 1rem;
    position: relative;
    z-index: 1;
    /* Ensure it never disappears on mobile scroll */
    visibility: visible !important;
    opacity: 1 !important;
    /* Hardware acceleration for stable rendering */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    /* Subtle glow effect to match the theme */
    filter: drop-shadow(0 0 8px rgba(123, 47, 191, 0.3));
}

.about-section .stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(20, 15, 35, 0.8);
    border-radius: 4px;
    border: 1px solid rgba(123, 47, 191, 0.3);
    position: relative;
    overflow: hidden;
}

.about-section .stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top left, rgba(123, 47, 191, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.about-section .stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary-light);
    line-height: 1;
    margin-bottom: 0.5rem;
    position: relative;
}

.about-section .stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
}

.about-values h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--color-text);
}

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

.value {
    padding: 1.5rem;
    background: rgba(10, 20, 35, 0.8);
    border-radius: 4px;
    border: 1px solid rgba(60, 150, 200, 0.3);
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.value::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top left, rgba(74, 158, 202, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.value:hover {
    border-color: #4a9eca;
    box-shadow: 0 0 20px rgba(74, 158, 202, 0.2);
}

.value h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #4a9eca;
    position: relative;
}

.value p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    position: relative;
}

/* About Section Responsive */
@media (max-width: 968px) {
    .about-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        flex-direction: row;
        justify-content: center;
    }

    .about-visual {
        min-height: 350px;
        order: -1;
        /* Ensure visibility on mobile/tablet scroll */
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        /* Better centering on tablet/mobile */
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .butterfly-image {
        max-width: 90%;
        /* Hardware acceleration for stable rendering */
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: var(--space-3xl) 0;
    }

    .about-text {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .about-text p {
        width: 100%;
        max-width: 100%;
    }

    .about-stats {
        flex-direction: column;
    }

    .about-section .stat {
        width: 100%;
    }

    .about-visual {
        min-height: 200px;
        /* Ensure visibility on mobile scroll */
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        /* Center the container on mobile */
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .butterfly-image {
        max-width: 85%;
        padding: 0.5rem;
        /* Hardware acceleration for stable rendering */
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        margin: 0 auto;
    }
}

/* ========================================
   ABOUT STATEMENT SECTION (Editorial Style)
   ======================================== */

.about-statement-section {
    background: var(--color-bg-dark);
    padding: 8rem 2rem;
    position: relative;
}

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

.about-statement-text {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.5;
    color: var(--color-text);
    margin: 0 0 2.5rem 0;
    letter-spacing: -0.01em;
}

.about-statement-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--color-text-dim);
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .about-statement-section {
        padding: 5rem 1.5rem;
    }

    .about-statement-text {
        font-size: 1.5rem;
    }
}

/* ========================================
   LEADERSHIP SECTION
   ======================================== */

.leadership-section {
    padding: var(--space-4xl) 0;
    background: linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg-medium) 100%);
    width: 100%;
}

.leadership-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

.leadership-section .section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.leadership-section .section-label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent-primary);
    margin-bottom: 1rem;
}

.leadership-section .section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.leadership-section .section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
}

.team-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    width: 100%;
    max-width: 100%;
}

.team-highlight {
    width: 100%;
}

.highlight-card {
    background: #12121a;
    padding: 2.5rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top left, rgba(123, 47, 191, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.highlight-badge {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.4rem 0.8rem;
    background: var(--color-primary);
    color: #ffffff;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    position: relative;
}

.highlight-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

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

.highlight-image svg {
    width: 80px;
    height: 80px;
    color: rgba(255, 255, 255, 0.3);
}

.highlight-card h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.highlight-role {
    font-size: 1rem;
    color: var(--color-primary-light);
    margin-bottom: 1.5rem;
    position: relative;
}

.highlight-bio {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
}

.team-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.team-text h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.team-text p {
    margin-bottom: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.team-expertise {
    background: #12121a;
    padding: 2rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.team-expertise::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top left, rgba(123, 47, 191, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.team-expertise h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--color-primary-light);
    position: relative;
}

.team-expertise ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    position: relative;
}

.team-expertise li {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    padding-left: 1rem;
    position: relative;
}

.team-expertise li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--color-primary);
    border-radius: 50%;
}

/* Leadership Section Responsive */
@media (max-width: 968px) {
    .team-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .leadership-section {
        padding: var(--space-3xl) 0;
    }

    .highlight-card {
        padding: 2rem;
    }

    .highlight-image {
        width: 100%;
        aspect-ratio: 1 / 1;
    }

    .team-expertise ul {
        grid-template-columns: 1fr;
    }
}


/* ==========================================
   DECK-ALIGNED SECTIONS (2026 repositioning)
   Reward-Native Gaming narrative
   ========================================== */

/* Shared responsive grid */
.deck-grid {
    display: grid;
    gap: var(--space-lg);
}
.deck-grid-3 { grid-template-columns: repeat(3, 1fr); }
.deck-grid-2 { grid-template-columns: repeat(2, 1fr); }

/* Shared card */
.deck-card {
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg);
    transition: border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}
.deck-card:hover {
    border-color: rgba(157, 78, 221, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(123, 47, 191, 0.15);
}
.deck-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--color-text);
}
.deck-card p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.65;
}
.deck-card.highlight {
    border-color: rgba(255, 184, 0, 0.4);
    background: linear-gradient(160deg, rgba(255, 184, 0, 0.06), var(--color-glass));
}
.deck-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(157, 78, 221, 0.12);
    border: 1px solid rgba(157, 78, 221, 0.3);
    margin-bottom: var(--space-md);
}
.deck-card-icon svg { width: 26px; height: 26px; stroke: var(--color-primary-light); }
.deck-card-num {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
    opacity: 0.9;
}

/* Solution accent */
.solution-card .deck-card-icon {
    background: rgba(87, 216, 87, 0.1);
    border-color: rgba(87, 216, 87, 0.3);
}
.solution-card .deck-card-icon svg { stroke: var(--color-secondary); }

/* Why Monarch pillars */
.why-section { position: relative; overflow: hidden; }
.why-particles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.why-section .container { position: relative; z-index: 1; }
.pillar-card {
    background: linear-gradient(160deg, rgba(123, 47, 191, 0.14), var(--color-glass));
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg);
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}
.pillar-card:hover { transform: translateY(-4px); border-color: rgba(157, 78, 221, 0.45); }
.pillar-eyebrow {
    display: block;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}
.pillar-body {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.65;
}

/* Market stats */
.market-grid { margin-bottom: var(--space-xl); }
.stat-block {
    text-align: center;
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl) var(--space-lg);
}
.stat-value {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-sm);
}
.stat-label {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}
.stat-source { font-size: 0.85rem; color: var(--color-text-dim); }
.market-callout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-align: center;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    background: rgba(255, 184, 0, 0.06);
    border: 1px solid rgba(255, 184, 0, 0.25);
}
.market-callout p {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2.2vw, 1.5rem);
    font-weight: 600;
    color: var(--color-text);
}
.market-callout-arrow { color: var(--color-accent); font-size: 1.6rem; font-weight: 700; }
.fineprint {
    margin-top: var(--space-md);
    text-align: center;
    font-size: 0.75rem;
    color: var(--color-text-dim);
    line-height: 1.5;
}

/* Business model / revenue */
.revenue-list {
    display: grid;
    gap: 0.9rem;
    max-width: 880px;
    margin: 0 auto;
}
.revenue-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 1.35rem 1.6rem;
    transition: border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}
.revenue-row:hover {
    transform: translateY(-2px);
    border-color: rgba(157, 78, 221, 0.4);
    background: rgba(157, 78, 221, 0.06);
}
.revenue-icon {
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: linear-gradient(160deg, rgba(157, 78, 221, 0.22), rgba(157, 78, 221, 0.07));
    border: 1px solid rgba(157, 78, 221, 0.22);
}
.revenue-icon svg { width: 24px; height: 24px; stroke: var(--color-primary-light); }
.revenue-icon.xp-badge {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1rem;
    color: var(--color-accent);
    background: linear-gradient(160deg, rgba(242, 201, 58, 0.2), rgba(242, 201, 58, 0.06));
    border-color: rgba(242, 201, 58, 0.3);
}
.revenue-text h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 0.2rem;
}
.revenue-text p { color: var(--color-text-secondary); font-size: 0.95rem; line-height: 1.55; }

/* Flywheel */
.flywheel {
    position: relative;
    width: 420px;
    height: 420px;
    max-width: 100%;
    margin: var(--space-xl) auto 0;
}

/* Static structural track */
.flywheel-ring {
    position: absolute;
    inset: 72px;
    border-radius: 50%;
    border: 1.5px solid rgba(157, 78, 221, 0.18);
}

/* Rotating gradient arc — conveys the spin + clockwise direction */
.flywheel-spin {
    position: absolute;
    inset: 66px;
    border-radius: 50%;
    background: conic-gradient(from 0deg,
        transparent 0 190deg,
        rgba(157, 78, 221, 0.85) 285deg,
        var(--color-accent) 350deg,
        transparent 360deg);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
            mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
    animation: flywheelSpin 9s linear infinite;
    will-change: transform;
}
@keyframes flywheelSpin { to { transform: rotate(360deg); } }
.flywheel:hover .flywheel-spin { animation-duration: 3.5s; }

.flywheel-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 138px;
    height: 138px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-text);
    background: radial-gradient(circle at 50% 40%, rgba(123, 47, 191, 0.45), rgba(18, 18, 26, 0.92));
    border: 1px solid rgba(157, 78, 221, 0.5);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03), 0 0 40px rgba(123, 47, 191, 0.35);
    animation: flywheelPulse 3.2s ease-in-out infinite;
    z-index: 2;
}
.flywheel-core-bfly {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 116px;
    height: auto;
    opacity: 0.48;
    transform: translate(-50%, -50%);
    transform-origin: center center;
    filter: drop-shadow(0 0 8px rgba(157, 78, 221, 0.55));
    animation: butterflyFlap 2.6s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}
@keyframes butterflyFlap {
    0%, 100% { transform: translate(-50%, -50%) scaleX(1); }
    50%      { transform: translate(-50%, -50%) scaleX(0.78); }
}
.flywheel-core-label {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    line-height: 1.15;
    color: #ffffff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.95), 0 0 16px rgba(10, 6, 20, 0.8);
    padding: 0 8px;
}
@keyframes flywheelPulse {
    0%, 100% { box-shadow: 0 0 0 1px rgba(255,255,255,0.03), 0 0 30px rgba(123, 47, 191, 0.30); }
    50%      { box-shadow: 0 0 0 1px rgba(255,255,255,0.05), 0 0 55px rgba(157, 78, 221, 0.55); }
}

.flywheel-node {
    position: absolute;
    width: 126px;
    height: 126px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0 16px;
    text-align: center;
    background: linear-gradient(160deg, rgba(123, 47, 191, 0.16), rgba(16, 16, 24, 0.92));
    border: 1px solid rgba(157, 78, 221, 0.32);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--color-text);
    z-index: 2;
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}
.flywheel-node:hover { transform: scale(1.06); border-color: rgba(157, 78, 221, 0.6); }
.flywheel-node-icon {
    font-size: 1.85rem;
    line-height: 1;
    color: var(--color-secondary);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}
.deck-card-icon i { font-size: 28px; color: var(--color-primary-light); line-height: 1; }
.solution-card .deck-card-icon i { color: var(--color-secondary); }
.revenue-icon i { font-size: 26px; color: var(--color-primary-light); line-height: 1; }
.node-top    { top: 0; left: 50%; margin-left: -63px; }
.node-right  { top: 50%; right: 0; margin-top: -63px; }
.node-bottom { bottom: 0; left: 50%; margin-left: -63px; }
.node-left   { top: 50%; left: 0; margin-top: -63px; }

@media (prefers-reduced-motion: reduce) {
    .flywheel-spin, .flywheel-core { animation: none; }
}

/* Traction */
.traction-card {
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}
.traction-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--color-accent);
}
.check-list { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }
.check-list li {
    position: relative;
    padding-left: 2rem;
    color: var(--color-text-secondary);
    font-size: 1rem;
    line-height: 1.5;
}
.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(51, 255, 102, 0.12);
    border: 1px solid rgba(51, 255, 102, 0.5);
}
.check-list li::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 7px;
    width: 8px;
    height: 5px;
    border-left: 2px solid var(--color-visr-green);
    border-bottom: 2px solid var(--color-visr-green);
    transform: rotate(-45deg);
}

/* Mission & Vision */
.mission-section { background: var(--color-bg-medium); }
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}
.mv-card {
    background: linear-gradient(160deg, rgba(123, 47, 191, 0.12), var(--color-glass));
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl) var(--space-xl);
}
.mv-text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--color-text);
    font-weight: 500;
}

/* Key Collaborations grid */
.collab-block { margin-top: var(--space-3xl); }
.collab-heading {
    text-align: center;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: var(--space-xl);
    color: var(--color-text);
}
.collab-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
}
.collab-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 72px;
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--color-text-secondary);
    transition: border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}
.collab-tile:hover {
    border-color: rgba(157, 78, 221, 0.5);
    color: var(--color-text);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 900px) {
    .deck-grid-3 { grid-template-columns: 1fr; }
    .collab-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .deck-grid-2, .market-grid, .traction-grid, .mv-grid { grid-template-columns: 1fr; }
    .flywheel { width: 330px; height: 330px; }
    .flywheel-ring { inset: 56px; }
    .flywheel-spin { inset: 50px; }
    .flywheel-core { width: 112px; height: 112px; }
    .flywheel-core-bfly { width: 92px; }
    .flywheel-core-label { font-size: 0.66rem; }
    .flywheel-node { width: 104px; height: 104px; font-size: 0.7rem; padding: 0 10px; }
    .node-top, .node-bottom { margin-left: -52px; }
    .node-right, .node-left { margin-top: -52px; }
    .node-top, .node-bottom { margin-left: -46px; }
    .node-right, .node-left { margin-top: -46px; }
    .revenue-row { gap: var(--space-md); }
}
@media (max-width: 480px) {
    .collab-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .deck-card, .pillar-card, .revenue-row, .collab-tile { transition: none; }
    .deck-card:hover, .pillar-card:hover, .revenue-row:hover, .collab-tile:hover { transform: none; }
}

/* ==========================================
   HERO BUTTERFLY (deck slide 1 logo, in flight)
   ========================================== */
.hero-butterfly {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    overflow: hidden;
}
.hero-butterfly img {
    width: min(760px, 84vw);
    height: auto;
    opacity: 0.16;
    filter: drop-shadow(0 0 45px rgba(157, 78, 221, 0.45));
    transform-origin: center center;
    animation: butterflyFly 6.5s ease-in-out infinite;
    will-change: transform;
}
@keyframes butterflyFly {
    0%, 100% { transform: translateY(6px) scaleX(1) scaleY(1); }
    50%      { transform: translateY(-14px) scaleX(0.88) scaleY(1.02); }
}
@media (max-width: 768px) {
    .hero-butterfly img { opacity: 0.1; width: 108vw; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-butterfly img { animation: none; }
}

/* ==========================================
   CONTACT AMBIENT — aurora orbs + drifting monarchs
   (replaces the old grey 3D shapes)
   ========================================== */
.floating-objects { overflow: hidden; }
.aurora-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.5;
    will-change: transform;
}
.orb-a {
    width: 460px; height: 460px; top: -120px; left: -80px;
    background: radial-gradient(circle, rgba(157, 78, 221, 0.55), transparent 68%);
    animation: orbA 20s ease-in-out infinite;
}
.orb-b {
    width: 380px; height: 380px; bottom: -120px; right: -60px;
    background: radial-gradient(circle, rgba(87, 216, 87, 0.30), transparent 68%);
    animation: orbB 26s ease-in-out infinite;
}
.orb-c {
    width: 320px; height: 320px; top: 34%; left: 56%;
    background: radial-gradient(circle, rgba(199, 125, 255, 0.38), transparent 70%);
    animation: orbC 30s ease-in-out infinite;
}
@keyframes orbA { 0%,100%{transform:translate(0,0)} 50%{transform:translate(50px,40px)} }
@keyframes orbB { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-40px,-30px)} }
@keyframes orbC { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(30px,-40px) scale(1.08)} }

.float-bfly { position: absolute; will-change: transform; }
.float-bfly img {
    display: block;
    width: 100%;
    height: auto;
    opacity: 0.12;
    filter: drop-shadow(0 0 14px rgba(157, 78, 221, 0.5));
    transform-origin: center center;
    animation: wingFlap 3s ease-in-out infinite;
}
@keyframes wingFlap { 0%,100%{transform:scaleX(1)} 50%{transform:scaleX(0.78)} }
.fb-1 { width: 150px; top: 9%;  left: 5%;  animation: bflyDriftA 24s ease-in-out infinite; }
.fb-2 { width: 96px;  top: 60%; left: 13%; animation: bflyDriftB 30s ease-in-out infinite; }
.fb-3 { width: 122px; top: 20%; right: 7%; animation: bflyDriftC 27s ease-in-out infinite; }
@keyframes bflyDriftA { 0%,100%{transform:translate(0,0) rotate(-4deg)} 50%{transform:translate(30px,-28px) rotate(4deg)} }
@keyframes bflyDriftB { 0%,100%{transform:translate(0,0) rotate(3deg)}  50%{transform:translate(-26px,-22px) rotate(-5deg)} }
@keyframes bflyDriftC { 0%,100%{transform:translate(0,0) rotate(2deg)}  50%{transform:translate(-24px,26px) rotate(-3deg)} }

@media (max-width: 768px) {
    .aurora-orb { filter: blur(50px); opacity: 0.4; }
    .fb-1 { width: 100px; } .fb-2 { display: none; } .fb-3 { width: 84px; }
}
@media (prefers-reduced-motion: reduce) {
    .aurora-orb, .float-bfly, .float-bfly img { animation: none; }
}
