:root {
    /* Colors */
    --primary-purple: #6C2BD9;
    --electric-cyan: #00D4FF;
    --neon-pink: #FF006E;
    --deep-space: #0A0A0B;
    --space-gray: #1A1A1D;
    --dark-purple: #2D1B69;
    --bright-cyan: #00F5FF;
    --soft-pink: #FF69B4;
    --glass-white: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-strong: rgba(255, 255, 255, 0.15);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-purple), var(--electric-cyan));
    --gradient-secondary: linear-gradient(135deg, var(--neon-pink), var(--electric-cyan));
    --gradient-dark: linear-gradient(135deg, var(--deep-space), var(--space-gray));
    --gradient-hero: linear-gradient(135deg, #0A0A0B 0%, #1A1A1D 50%, #2D1B69 100%);
    --gradient-glow: radial-gradient(circle, var(--electric-cyan) 0%, transparent 70%);
    --gradient-orb: radial-gradient(circle, var(--neon-pink) 0%, var(--primary-purple) 50%, transparent 100%);

    /* Typography */
    --font-primary: 'Orbitron', monospace;
    --font-secondary: 'Inter', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;

    /* Spacing */
    --section-padding: 120px 0;
    --container-padding: 0 2rem;
    --container-max-width: 1400px;

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-elastic: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* Shadows */
    --shadow-glow: 0 0 30px rgba(108, 43, 217, 0.3);
    --shadow-neon: 0 0 20px var(--electric-cyan);
    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-deep: 0 20px 60px rgba(0, 0, 0, 0.5);

    /* Blur */
    --blur-glass: blur(10px);
    --blur-strong: blur(20px);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-secondary);
    background: var(--deep-space);
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--deep-space) 0%, var(--dark-purple) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    position: relative;
}

.preloader-logo {
    position: relative;
    margin-bottom: 2rem;
}

.logo-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: var(--gradient-glow);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse 2s ease-in-out infinite;
}

.loading-text {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 2rem;
    display: flex;
    gap: 0.1em;
    justify-content: center;
}

.loading-letter {
    display: inline-block;
    animation: letterFloat 2s ease-in-out infinite;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loading-letter:nth-child(1) { animation-delay: 0s; }
.loading-letter:nth-child(2) { animation-delay: 0.1s; }
.loading-letter:nth-child(3) { animation-delay: 0.2s; }
.loading-letter:nth-child(4) { animation-delay: 0.3s; }
.loading-letter:nth-child(5) { animation-delay: 0.4s; }
.loading-letter:nth-child(6) { animation-delay: 0.5s; }
.loading-letter:nth-child(7) { animation-delay: 0.6s; }
.loading-letter:nth-child(8) { animation-delay: 0.7s; }
.loading-letter:nth-child(9) { animation-delay: 0.8s; }
.loading-letter:nth-child(10) { animation-delay: 0.9s; }
.loading-letter:nth-child(11) { animation-delay: 1s; }

.loading-bar {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto 1rem;
    position: relative;
}

.loading-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
    width: 0%;
    animation: loadingProgress 3s ease-out forwards;
    position: relative;
}

.loading-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 1.5s ease-in-out infinite;
}

.loading-percentage {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: var(--electric-cyan);
    margin-top: 1rem;
}

/* Custom Cursor */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: var(--electric-cyan);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.1s ease;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid var(--electric-cyan);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.cursor.hover {
    transform: scale(1.5);
}

.cursor-follower.hover {
    transform: scale(1.5);
    opacity: 1;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: rgba(10, 10, 11, 0.1);
    backdrop-filter: var(--blur-glass);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav.scrolled {
    background: rgba(10, 10, 11, 0.95);
    backdrop-filter: var(--blur-strong);
    box-shadow: var(--shadow-glass);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #ffffff;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.nav-logo:hover {
    transform: translateY(-2px);
}

.logo-icon {
    position: relative;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-particles-nav {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--gradient-glow);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse 2s ease-in-out infinite;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: var(--transition-smooth);
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
}

.btn-nav {
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-nav:hover::before {
    left: 100%;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--gradient-hero);
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(10, 10, 11, 0.8) 0%,
        rgba(45, 27, 105, 0.6) 50%,
        rgba(10, 10, 11, 0.8) 100%);
    z-index: 2;
}

.hero-particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--gradient-orb);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 1s;
}

.floating-element:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 2s;
}

.floating-element:nth-child(4) {
    top: 40%;
    right: 30%;
    animation-delay: 3s;
}

.floating-element:nth-child(5) {
    bottom: 20%;
    right: 10%;
    animation-delay: 4s;
}

.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    max-width: 1000px;
    padding: 0 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: var(--blur-glass);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--electric-cyan);
}

.badge-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
    animation: shimmer 2s ease-in-out infinite;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    perspective: 1000px;
}

.title-line {
    display: block;
    overflow: hidden;
}

.title-word {
    display: inline-block;
    margin-right: 0.3em;
}

.title-letter {
    display: inline-block;
    transition: var(--transition-elastic);
    background: linear-gradient(135deg, #ffffff 0%, var(--electric-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform-origin: center;
    will-change: transform;
}

.title-line.highlight .title-letter {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Title hover animation now handled by JavaScript */

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.highlight-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: var(--blur-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    transition: var(--transition-smooth);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 1.5rem;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: var(--blur-glass);
}

.btn-steam {
    background: linear-gradient(135deg, #1b2838 0%, #2a475e 100%);
    color: #ffffff;
    border: 2px solid #66c0f4;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn:hover .btn-glow {
    opacity: 1;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-deep);
}

.btn-primary:hover {
    box-shadow: 0 10px 40px rgba(108, 43, 217, 0.4);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--electric-cyan);
}

.btn-steam:hover {
    box-shadow: 0 10px 40px rgba(102, 192, 244, 0.3);
    border-color: #ffffff;
}

.btn-price {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.btn-icon {
    font-size: 1.2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--electric-cyan);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.scroll-indicator:hover {
    transform: translateY(-5px);
}

.scroll-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-arrow {
    position: relative;
    width: 2px;
    height: 40px;
    background: var(--electric-cyan);
    border-radius: 1px;
}

.scroll-line {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--electric-cyan));
    animation: scrollLine 2s ease-in-out infinite;
}

.scroll-dot {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: var(--electric-cyan);
    border-radius: 50%;
    animation: scrollDot 2s ease-in-out infinite;
}

.morphing-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.morph-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: morphFloat 8s ease-in-out infinite;
}

.morph-1 {
    width: 300px;
    height: 300px;
    background: var(--gradient-primary);
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.morph-2 {
    width: 200px;
    height: 200px;
    background: var(--gradient-secondary);
    bottom: 20%;
    right: -5%;
    animation-delay: 2s;
}

.morph-3 {
    width: 400px;
    height: 400px;
    background: var(--gradient-orb);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 4s;
}

/* Section Styles */
.section-title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--electric-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
    line-height: 1.6;
}

.section-header {
    margin-bottom: 4rem;
}

/* Features Section */
.features {
    position: relative;
    padding: var(--section-padding);
    background: var(--space-gray);
    overflow: hidden;
}

.features-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Parallax Background Images for every 2nd section */
.parallax-bg-image {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 120%;
    height: 140%;
    z-index: 0;
    overflow: hidden;
    will-change: transform;
}

.parallax-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    filter: blur(8px);
    transition: transform 0.1s ease-out;
    transform: scale(1.1);
}

.features-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%2300D4FF" opacity="0.3"/></svg>') repeat;
    animation: particleMove 20s linear infinite;
}

.gradient-orbs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.orb {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: orbFloat 10s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--gradient-primary);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--gradient-secondary);
    bottom: -150px;
    right: -150px;
    animation-delay: 3s;
}

.orb-3 {
    width: 500px;
    height: 500px;
    background: var(--gradient-orb);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 6s;
}

.features .container {
    position: relative;
    z-index: 2;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-card {
    position: relative;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: var(--blur-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: var(--transition-smooth);
    overflow: hidden;
    cursor: pointer;
}

.glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-glass);
}

.feature-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--electric-cyan);
    box-shadow: var(--shadow-deep);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    border-radius: 20px;
}

.feature-card:hover .card-glow {
    opacity: 0.1;
}

.feature-card .feature-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: var(--blur-glass);
}

.icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.2;
    border-radius: 20px;
    transition: var(--transition-smooth);
}

.feature-card:hover .icon-bg {
    opacity: 0.4;
    transform: scale(1.1);
}

.feature-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.feature-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.25rem 0.75rem;
    background: rgba(0, 212, 255, 0.2);
    color: var(--electric-cyan);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

/* Gameplay Section */
.gameplay {
    position: relative;
    padding: var(--section-padding);
    background: var(--deep-space);
    overflow-x: hidden; /* Prevent horizontal scrollbar */
    overflow-y: hidden; /* Keep vertical overflow hidden for backgrounds */
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.gameplay-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.gameplay-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gameplay-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(10, 10, 11, 0.9) 0%,
        rgba(26, 26, 29, 0.8) 100%);
}

.gameplay .container {
    position: relative;
    z-index: 2;
    overflow: hidden; /* Prevent content from extending beyond container */
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

.gameplay-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    color: #ffffff;
    position: relative;
    z-index: 10;
    overflow: hidden; /* Prevent content from extending beyond grid bounds */
}

.gameplay-text {
    color: #ffffff;
    position: relative;
    z-index: 10;
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    overflow: hidden; /* Prevent content from extending beyond bounds */
}

.gameplay-modes {
    margin: 2rem 0;
    overflow: hidden; /* Prevent mode items from being clipped */
}

.mode-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative; /* Ensure proper stacking */
    overflow: hidden; /* Prevent content overflow */
    width: 100%;
    box-sizing: border-box; /* Include padding and border in width calculation */
}

.mode-item:hover,
.mode-item.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--electric-cyan);
    transform: translateY(-2px); /* Use vertical transform instead of horizontal */
    z-index: 20; /* Bring to front when transformed */
    /* Use box-shadow for border to prevent clipping */
    box-shadow:
        0 0 0 2px var(--electric-cyan), /* Thicker border effect */
        0 4px 20px rgba(0, 212, 255, 0.4), /* Glow effect */
        0 0 30px rgba(0, 212, 255, 0.3); /* Extended glow */
}

/* Add pseudo-element for extended border effect */
.mode-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid transparent;
    border-radius: 17px;
    transition: var(--transition-smooth);
    pointer-events: none;
    z-index: -1;
}

.mode-item:hover::before,
.mode-item.active::before {
    border-color: var(--electric-cyan);
    box-shadow:
        0 0 20px rgba(0, 212, 255, 0.5),
        inset 0 0 20px rgba(0, 212, 255, 0.1);
}

.mode-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 15px;
}

.mode-content h3 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.mode-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.gameplay-visual {
    position: relative;
}

.visual-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: var(--blur-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.visual-frame {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.mode-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.mode-image.active {
    opacity: 1;
}

.visual-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.effect-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--electric-cyan);
    border-radius: 50%;
    animation: particleFloat 3s ease-in-out infinite;
}

.effect-particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.effect-particle:nth-child(2) {
    top: 60%;
    right: 30%;
    animation-delay: 1s;
}

.effect-particle:nth-child(3) {
    bottom: 30%;
    left: 70%;
    animation-delay: 2s;
}

/* Gameplay Enhancements */
.mode-features {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.feature-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(0, 212, 255, 0.2);
    color: var(--electric-cyan);
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.gameplay-details {
    margin: 3rem 0;
}

.gameplay-details h3 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 2rem;
    text-align: center;
}

/* Gameplay Trailers Section - Right Side */
.gameplay-trailers {
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.trailers-header h3 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1.4;
}

.trailer-main {
    margin-bottom: 1.5rem;
}

.trailer-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    margin-bottom: 1rem;
}

.trailer-card:hover {
    transform: translateY(-3px);
    border-color: var(--electric-cyan);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

.trailer-card.featured {
    border-width: 2px;
    border-color: var(--electric-cyan);
}

.trailer-card.secondary {
    border-color: rgba(255, 255, 255, 0.2);
}

.trailer-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.trailer-card.secondary .trailer-thumbnail {
    padding-bottom: 56.25%; /* Keep 16:9 for secondary too */
}

.trailer-thumbnail iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

.trailer-info {
    padding: 1rem;
}

.trailer-card.secondary .trailer-info {
    padding: 0.8rem;
}

.trailer-info h4 {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.trailer-card.secondary .trailer-info h4 {
    font-size: 0.9rem;
}

.trailer-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
}

.trailer-card.secondary .trailer-info p {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
}

.trailer-tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.trailer-tags .tag {
    background: linear-gradient(135deg, var(--electric-cyan), var(--neon-purple));
    color: #ffffff;
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 500;
}

.trailers-grid {
    display: grid;
    gap: 1rem;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.detail-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.detail-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.detail-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.detail-item h4 {
    font-family: var(--font-primary);
    color: var(--electric-cyan);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.detail-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Gallery Section */
.gallery {
    position: relative;
    padding: var(--section-padding);
    background: var(--space-gray);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.gallery .container {
    position: relative;
    z-index: 10;
    color: #ffffff;
}

.gallery-showcase {
    margin-bottom: 4rem;
}

.showcase-main {
    margin-bottom: 2rem;
}

.main-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: var(--blur-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.main-image-container:hover .main-image {
    transform: scale(1.05);
}

.image-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem;
    color: #ffffff;
}

.image-info h3 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.image-info p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.image-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.image-tags .tag {
    padding: 0.25rem 0.75rem;
    background: rgba(108, 43, 217, 0.3);
    border: 1px solid rgba(108, 43, 217, 0.5);
    border-radius: 15px;
    font-size: 0.8rem;
    color: #ffffff;
}

.showcase-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.thumbnail {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.thumbnail:hover {
    transform: translateY(-5px);
    border-color: var(--electric-cyan);
}

.thumbnail.active {
    border-color: var(--electric-cyan);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.thumbnail img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

.gallery-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.stat-card .stat-number {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    color: var(--electric-cyan);
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
}

.gallery-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(108, 43, 217, 0.8) 0%,
        rgba(0, 212, 255, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content {
    text-align: center;
    color: #ffffff;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-content {
    transform: translateY(0);
}

.gallery-content h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.gallery-content p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.gallery-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid #ffffff;
    color: #ffffff;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-weight: 600;
}

.gallery-btn:hover {
    background: #ffffff;
    color: var(--deep-space);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    border-color: var(--electric-cyan);
    color: #ffffff;
}

/* Steam Section */
.steam {
    position: relative;
    padding: var(--section-padding);
    background: var(--deep-space);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.steam .container {
    position: relative;
    z-index: 10;
    color: #ffffff;
}

.steam-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    gap: 2rem;
    flex-wrap: wrap;
}

.steam-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-icon {
    font-size: 2.5rem;
    color: var(--electric-cyan);
}

.badge-title {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.badge-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.steam-price-card {
    background: linear-gradient(135deg, #1b2838 0%, #2a475e 100%);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid #66c0f4;
    min-width: 300px;
}

.price-header h3 {
    font-family: var(--font-primary);
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.price-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stars {
    color: #ffa500;
    font-size: 1.1rem;
}

.rating-text {
    color: #66c0f4;
    font-size: 0.9rem;
}

.price-main {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.price-current {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    color: #beee11;
}

.price-original {
    font-size: 1.2rem;
    color: #8f98a0;
    text-decoration: line-through;
}

.price-discount {
    background: #4c6b22;
    color: #beee11;
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
}

.price-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.feature-badge {
    background: rgba(102, 192, 244, 0.2);
    color: #66c0f4;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(102, 192, 244, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.features-grid .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.features-grid .feature-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

.features-grid .feature-icon {
    font-size: 1.8rem;
    margin-top: 0.2rem;
}

.feature-text h4 {
    font-family: var(--font-primary);
    color: var(--electric-cyan);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.feature-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.4;
}

.btn-wishlist {
    background: linear-gradient(135deg, #c75450 0%, #8b0000 100%);
    color: #ffffff;
    border: 2px solid #ff6b6b;
}

.btn-wishlist:hover {
    box-shadow: 0 10px 40px rgba(199, 84, 80, 0.3);
    border-color: #ffffff;
}

.steam-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.steam-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(108, 43, 217, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
}

.steam-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: var(--gradient-glow);
    border-radius: 50%;
    opacity: 0.1;
    animation: pulse 4s ease-in-out infinite;
}

.steam .container {
    position: relative;
    z-index: 2;
}

.steam-widget-container {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

.steam-widget {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.steam-widget iframe {
    border-radius: 10px;
    max-width: 100%;
}

.steam-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.steam-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.steam-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: var(--transition-smooth);
}

.steam-stats .stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.steam-stats .stat-icon {
    font-size: 2rem;
}

.steam-stats .stat-content {
    flex: 1;
}

.steam-stats .stat-number {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--electric-cyan);
    margin-bottom: 0.25rem;
}

.steam-stats .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.steam-features h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.steam-features ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.75rem;
}

.steam-features li {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.steam-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.system-requirements {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.system-requirements h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-align: center;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.req-column h4 {
    font-family: var(--font-primary);
    color: var(--electric-cyan);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.req-column ul {
    list-style: none;
}

.req-column li {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.req-column li strong {
    color: #ffffff;
}

/* Footer */
.footer {
    position: relative;
    background: var(--deep-space);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.footer-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(108, 43, 217, 0.05) 0%, transparent 50%);
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    position: relative;
}

.logo-particles-footer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--gradient-glow);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse 2s ease-in-out infinite;
}

.footer-logo .logo-text {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: 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: 50px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h3 {
    font-family: var(--font-primary);
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-column a:hover {
    color: var(--electric-cyan);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.footer-legal a:hover {
    color: var(--electric-cyan);
}

/* Modals */
.lightbox,
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: default !important;
}

.lightbox.active,
.video-modal.active {
    opacity: 1;
    visibility: visible;
    display: flex;
}

/* Ensure all elements inside lightbox have normal cursor */
.lightbox *,
.video-modal * {
    cursor: default !important;
}

/* Override for interactive elements */
.lightbox button,
.lightbox a,
.video-modal button,
.video-modal a {
    cursor: pointer !important;
}

/* Hide custom cursor elements when lightbox is active */
.lightbox.active ~ .cursor,
.lightbox.active ~ .cursor-follower,
.lightbox.active ~ .custom-cursor {
    display: none !important;
}

/* Force normal cursor on body when lightbox is active */
body:has(.lightbox.active) {
    cursor: default !important;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: var(--blur-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
}

.video-modal-content {
    position: relative;
    width: 90vw;
    max-width: 1400px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: var(--blur-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    padding: 2rem;
}

.lightbox-close,
.video-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10001;
    transition: var(--transition-smooth);
}

.lightbox-close:hover,
.video-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: default !important;
}

.video-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
}

.video-container video,
.video-container iframe {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    border: none;
}

.lightbox-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: #ffffff;
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.lightbox-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--electric-cyan);
}

.lightbox-description {
    margin-bottom: 1rem;
    opacity: 0.9;
    line-height: 1.5;
}

.lightbox-counter {
    font-size: 0.9rem;
    opacity: 0.7;
    font-weight: 500;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10002;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.lightbox-nav:disabled:hover {
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

/* Responsive lightbox */
@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
        max-height: 95%;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .lightbox-prev {
        left: 1rem;
    }

    .lightbox-next {
        right: 1rem;
    }

    .lightbox-caption {
        padding: 1rem;
    }

    .lightbox-title {
        font-size: 1.2rem;
    }
}

/* Legal Document Modals */
.legal-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.legal-modal.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.legal-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    pointer-events: auto;
}

.legal-modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 90%;
    margin: auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    pointer-events: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.legal-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.legal-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.legal-modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
    cursor: default !important;
    scroll-behavior: smooth;
}

.legal-modal-body * {
    cursor: default !important;
}

.legal-modal-body h1 {
    color: var(--electric-cyan);
    margin-bottom: 1rem;
    font-family: var(--font-primary);
}

.legal-modal-body h2 {
    color: #ffffff;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-family: var(--font-primary);
}

.legal-modal-body p,
.legal-modal-body li {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.legal-modal-body ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-modal-body em {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

/* Responsive legal modals */
@media (max-width: 768px) {
    .legal-modal-content {
        width: 95%;
        max-height: 95%;
    }

    .legal-modal-body {
        padding: 1.5rem;
    }

    .legal-modal-close {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
}

/* Animations */
@keyframes letterFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes loadingProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}

@keyframes letterDance {
    0%, 100% { transform: translateY(0) rotateZ(0deg); }
    25% { transform: translateY(-10px) rotateZ(5deg); }
    50% { transform: translateY(-5px) rotateZ(-5deg); }
    75% { transform: translateY(-15px) rotateZ(3deg); }
}

@keyframes scrollLine {
    0% { transform: scaleY(0); }
    50% { transform: scaleY(1); }
    100% { transform: scaleY(0); }
}

@keyframes scrollDot {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes morphFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    33% { transform: translateY(-30px) scale(1.1); }
    66% { transform: translateY(15px) scale(0.9); }
}

@keyframes particleMove {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-100px) translateY(-100px); }
}

@keyframes orbFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 1; }
    50% { transform: translateY(-20px) scale(1.2); opacity: 0.7; }
}

/* Debug styles for visibility */
.gameplay .container,
.gallery .container,
.steam .container {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(0, 212, 255, 0.3) !important;
    border-radius: 15px !important;
    padding: 2rem !important;
}

.section-title,
.section-subtitle {
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5) !important;
}

/* Ensure AOS elements are visible */
[data-aos] {
    opacity: 1 !important;
    transform: none !important;
}

/* Make sure all text is visible */
.gameplay h2, .gameplay h3, .gameplay h4, .gameplay p,
.gallery h2, .gallery h3, .gallery h4, .gallery p,
.steam h2, .steam h3, .steam h4, .steam p {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* Ensure images are visible */
.gameplay img, .gallery img, .steam img {
    opacity: 1 !important;
    display: block !important;
}

/* Make buttons visible */
.btn {
    opacity: 1 !important;
    display: inline-block !important;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: clamp(2.5rem, 6vw, 6rem);
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .steam-widget-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .steam-widget iframe {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 11, 0.95);
        backdrop-filter: var(--blur-strong);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transition: top 0.3s ease;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        top: 100%;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .gameplay-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Responsive Trailers */
    .gameplay-trailers {
        margin-top: 2rem;
        padding: 1rem;
    }

    .trailers-header h3 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .trailer-thumbnail {
        padding-bottom: 56.25%; /* Maintain 16:9 aspect ratio */
    }

    .trailer-card.secondary .trailer-thumbnail {
        padding-bottom: 56.25%; /* Maintain 16:9 aspect ratio */
    }

    .trailer-info {
        padding: 0.8rem;
    }

    .trailer-card.secondary .trailer-info {
        padding: 0.6rem;
    }

    .trailer-info h4 {
        font-size: 0.9rem;
    }

    .trailer-card.secondary .trailer-info h4 {
        font-size: 0.8rem;
    }

    .trailer-info p {
        font-size: 0.75rem;
    }

    .trailer-card.secondary .trailer-info p {
        font-size: 0.7rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .requirements-grid {
        grid-template-columns: 1fr;
    }

    .steam-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(2rem, 8vw, 4rem);
    }

    .section-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 2rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    .loading-text {
        font-size: 2rem;
    }

    .loading-bar {
        width: 250px;
    }
}

/* Smooth Scroll */
.smooth-scroll {
    scroll-behavior: smooth;
}

/* YouTube GDPR Consent Overlay */
.youtube-consent-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
}

.youtube-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
}

.youtube-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.youtube-consent-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.youtube-consent-wrapper:hover .youtube-consent-overlay {
    background: rgba(0, 0, 0, 0.85);
}

.youtube-play-button {
    transition: transform 0.3s ease;
}

.youtube-consent-wrapper:hover .youtube-play-button {
    transform: scale(1.1);
}

.youtube-play-button svg {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.youtube-consent-text {
    text-align: center;
    color: #ffffff;
    max-width: 450px;
}

.youtube-consent-text strong {
    font-size: 1.2rem;
    color: var(--electric-cyan);
    display: block;
    margin-bottom: 0.5rem;
}

.youtube-consent-text p {
    margin: 0;
    line-height: 1.5;
}

/* YouTube Accept Button */
.youtube-accept-btn {
    background: linear-gradient(135deg, var(--electric-cyan), var(--neon-pink));
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
    margin-bottom: 1rem;
}

.youtube-accept-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 255, 0.5);
    background: linear-gradient(135deg, var(--neon-pink), var(--electric-cyan));
}

.youtube-accept-btn:active {
    transform: translateY(0);
}

.youtube-accept-btn .btn-icon {
    font-size: 1rem;
    display: inline-block;
}

.consent-notice {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

.consent-notice a {
    color: var(--electric-cyan);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.consent-notice a:hover {
    color: var(--neon-pink);
}

/* YouTube iframe (loaded after consent) */
.youtube-consent-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

/* Hide overlay when video is loaded */
.youtube-consent-wrapper.loaded .youtube-consent-overlay {
    display: none;
}

.youtube-consent-wrapper.loaded .youtube-thumbnail img {
    display: none;
}

/* Responsive adjustments for YouTube consent */
@media (max-width: 768px) {
    .youtube-consent-text strong {
        font-size: 1rem;
    }

    .youtube-consent-text {
        max-width: 300px;
    }

    .consent-notice {
        font-size: 0.75rem;
    }

    .youtube-play-button svg {
        width: 48px;
        height: 36px;
    }

    .youtube-accept-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
        gap: 0.5rem;
    }
}




