:root {
    --primary-color: #ff6b35;
    --secondary-color: #f7931e;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --text-light: #ffffff;
    --text-muted: #888888;
    --accent: #00d4ff;
    --card-bg: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 107, 53, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 107, 53, 0.15);
}

.navbar.scrolled {
    padding: 0.75rem 0;
}

.navbar.scrolled .nav-logo {
    font-size: 1.25rem;
}

.navbar.scrolled .nav-link {
    font-size: 0.95rem;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.nav-logo:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 30px rgba(255, 107, 53, 0.7);
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.cta-button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 3px 0;
    transition: 0.3s;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, transparent 40%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
    z-index: 10;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(10, 10, 10, 0.2) 20%,
        rgba(10, 10, 10, 0.5) 50%,
        var(--darker-bg) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    clip-path: inset(0);
}

/* Completely static background */
.hero-bg-image {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url('assets/images/LoadingScreen_Swamp_Green2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.7) saturate(1.2) contrast(1.05);
}

/* Static scanlines for performance */
.hero-bg-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 3px,
            rgba(255, 107, 53, 0.08) 3px,
            rgba(255, 107, 53, 0.08) 4px
        );
    pointer-events: none;
    z-index: 10;
}

.hero-bg-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        /* Dynamic light beams */
        linear-gradient(115deg, transparent 40%, rgba(255, 107, 53, 0.03) 50%, transparent 60%),
        /* Floating fog layers */
        radial-gradient(ellipse 600px 200px at 50% 100%, rgba(0, 255, 150, 0.12), transparent),
        radial-gradient(ellipse 800px 300px at 0% 50%, rgba(255, 107, 53, 0.1), transparent),
        radial-gradient(ellipse 600px 250px at 100% 30%, rgba(255, 200, 50, 0.08), transparent),
        /* Main gradient */
        linear-gradient(
            180deg,
            rgba(10, 10, 10, 0) 0%,
            rgba(10, 10, 10, 0.1) 30%,
            rgba(10, 10, 10, 0.3) 60%,
            rgba(10, 10, 10, 0.5) 85%,
            rgba(10, 10, 10, 0.7) 100%
        );
    /* No animation - completely static */
}

/* Floating particles */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 5;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 140, 0, 0.7);
    border-radius: 50%;
    filter: blur(0.5px);
    animation: float-up 35s infinite linear;
}

.particle:nth-child(odd) {
    background: rgba(255, 100, 20, 0.6);
    animation-duration: 40s;
}

.particle:nth-child(3n) {
    background: rgba(200, 80, 0, 0.6);
    animation-duration: 45s;
}

.particle:nth-child(5n) {
    background: rgba(180, 60, 0, 0.5);
    animation-duration: 38s;
}

.particle:nth-child(7n) {
    background: rgba(255, 120, 30, 0.6);
    animation-duration: 42s;
}

@keyframes float-up {
    from {
        transform: translateY(110vh) translateX(0);
        opacity: 0;
    }
    5% {
        opacity: 0.8;
    }
    95% {
        opacity: 0.8;
    }
    to {
        transform: translateY(-10vh) translateX(30px);
        opacity: 0;
    }
}

.hero-content {
    text-align: center;
    z-index: 20;
    padding: 0 2rem;
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    gap: 1.5rem;
}

.hero-logo {
    width: 420px;
    max-width: 80vw;
    height: auto;
    margin-bottom: 0;
    margin-top: -3rem;
    animation: fadeInDown 1s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.7))
            drop-shadow(0 0 40px rgba(255, 107, 53, 0.4));
    position: relative;
    will-change: transform;
}

@keyframes pulse {
    0%, 100% { transform: scale(1) translateZ(0); }
    50% { transform: scale(1.05) translateZ(0); }
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.glitch {
    position: relative;
    text-shadow: 0 0 30px rgba(255, 107, 53, 0.5);
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glitch::before {
    animation: glitch-1 0.5s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    transform: translate(-2px);
}

.glitch::after {
    animation: glitch-2 0.5s infinite;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
    transform: translate(2px);
}

@keyframes glitch-1 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(2px, -2px); }
    40% { transform: translate(2px, 2px); }
    60% { transform: translate(-2px, -2px); }
    80% { transform: translate(-2px, 2px); }
}

.studio-credit {
    font-family: 'Orbitron', monospace;
    font-size: 0.95rem;
    color: var(--secondary-color);
    margin-top: -0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: none;
    text-shadow: 0 0 20px rgba(247, 147, 30, 0.5),
                 0 0 40px rgba(255, 107, 53, 0.3),
                 0 2px 10px rgba(0, 0, 0, 0.8);
    animation: fadeIn 1s ease 0.1s both;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
    margin-top: -0.5rem;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7),
                 0 0 20px rgba(255, 107, 53, 0.2);
    letter-spacing: 0.5px;
    animation: fadeIn 1.2s ease 0.3s both;
}

/* Tech corner accents */
.hero-content::before,
.hero-content::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    border: 2px solid var(--primary-color);
    opacity: 0.3;
}

.hero-content::before {
    top: -25px;
    left: -25px;
    border-right: none;
    border-bottom: none;
}

.hero-content::after {
    bottom: -25px;
    right: -25px;
    border-left: none;
    border-top: none;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.5s ease 0.6s both;
}

.btn {
    position: relative;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 30px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4),
                0 0 50px rgba(255, 107, 53, 0.2);
    transform: scale(1.05);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary:hover {
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.6),
                0 0 60px rgba(255, 107, 53, 0.3);
    transform: scale(1.08) translateY(-3px);
}

.btn-secondary:hover {
    background: var(--primary-color);
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn:hover .btn-glow {
    left: 100%;
}

.hero-video-container {
    margin: 0;
    animation: fadeInUp 1.5s ease 0.4s both;
    width: 100%;
    max-width: 640px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5),
                0 0 40px rgba(255, 107, 53, 0.15);
    border: 1px solid rgba(255, 107, 53, 0.3);
    background: #000;
    transition: all 0.4s ease;
    cursor: pointer;
}

/* Custom play button as a separate element */
.custom-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.custom-play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.custom-play-button.hidden {
    display: none;
}

.play-icon {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
}

.custom-play-button:hover .play-icon {
    filter: drop-shadow(0 6px 30px rgba(255, 107, 53, 0.6));
}

.video-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6),
                0 0 60px rgba(255, 107, 53, 0.25);
    border-color: rgba(255, 107, 53, 0.5);
}

.video-wrapper iframe,
#youtube-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.scroll-indicator {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: fadeIn 2s ease 1s both;
    text-decoration: none;
    color: inherit;
}

a.scroll-indicator:hover {
    text-decoration: none;
}

.scroll-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    animation: bounce 2s infinite;
}

.scroll-arrow span {
    display: block;
    width: 18px;
    height: 18px;
    border-right: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    transform: rotate(45deg);
    box-shadow: 2px 2px 12px rgba(255, 107, 53, 0.5);
}

.scroll-arrow span:nth-child(1) {
    animation: arrow-pulse 2s infinite;
    animation-delay: 0s;
    opacity: 0.3;
}

.scroll-arrow span:nth-child(2) {
    animation: arrow-pulse 2s infinite;
    animation-delay: 0.2s;
    opacity: 0.6;
}

.scroll-arrow span:nth-child(3) {
    animation: arrow-pulse 2s infinite;
    animation-delay: 0.4s;
    opacity: 1;
}

@keyframes arrow-pulse {
    0% {
        opacity: 0.2;
        transform: rotate(45deg) translateY(0);
    }
    50% {
        opacity: 1;
        transform: rotate(45deg) translateY(3px);
    }
    100% {
        opacity: 0.2;
        transform: rotate(45deg) translateY(0);
    }
}

.scroll-text {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.5rem;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7),
                 0 0 20px rgba(255, 107, 53, 0.3);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-8px); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0 1rem;
    word-wrap: break-word;
    text-shadow: 0 2px 20px rgba(255, 107, 53, 0.3),
                 0 4px 40px rgba(247, 147, 30, 0.2);
    letter-spacing: 2px;
    position: relative;
}

.section-title::before,
.section-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.section-title::before {
    left: -120px;
}

.section-title::after {
    right: -120px;
}

.features {
    padding: 4rem 0 4rem;
    background: var(--darker-bg);
    overflow: hidden;
    position: relative;
}

.features::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(180deg,
                transparent 0%,
                var(--dark-bg) 100%);
    pointer-events: none;
}

.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
    margin-bottom: 3rem;
    padding: 0;
}

.feature-block.reverse .feature-image {
    order: 2;
}

.feature-block.reverse .feature-content {
    order: 1;
    text-align: right;
    padding-right: 0.5rem;
    padding-left: 0;
}

.feature-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(247, 147, 30, 0.1));
    min-height: 250px;
    aspect-ratio: 16 / 9;
}

/* Removed loading text - was appearing over images */

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
    background: var(--darker-bg);
}

.placeholder-image {
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(247, 147, 30, 0.05));
    color: var(--primary-color);
    font-size: 1.2rem;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    border: 1px dashed rgba(255, 107, 53, 0.3);
}

.placeholder-image::after {
    content: '[Image Required]';
    display: block;
    font-size: 0.8rem;
    opacity: 0.5;
    margin-top: 0.5rem;
    position: absolute;
    bottom: 1rem;
}

.feature-image:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(255, 107, 53, 0.3);
}

.feature-image:hover img {
    transform: scale(1);
}

.feature-content {
    padding: 0;
}

.feature-block:not(.reverse) .feature-content {
    padding-left: 0.5rem;
}

.feature-content h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    margin-top: 0;
    font-weight: 700;
    text-transform: capitalize;
    position: relative;
    display: inline-block;
}

.feature-content h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.feature-block.reverse .feature-content h3::after {
    left: auto;
    right: 0;
}

.feature-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.feature-content .highlight {
    color: var(--secondary-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .feature-block,
    .feature-block.reverse {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
        margin-bottom: 2rem;
    }

    .feature-block.reverse .feature-image {
        order: 1;
    }

    .feature-block.reverse .feature-content {
        order: 2;
        text-align: left;
        padding-right: 0;
        padding-left: 0;
    }

    .feature-block:not(.reverse) .feature-content {
        padding-left: 0;
    }

    .feature-content {
        padding: 0;
    }

    .feature-content h3 {
        font-size: 1.75rem;
    }

    .feature-content h3::after {
        left: 0 !important;
        right: auto !important;
    }

    .feature-block.reverse .feature-content h3::after {
        left: 0 !important;
        right: auto !important;
    }

    .feature-image {
        min-height: auto;
        aspect-ratio: 16 / 9;
        width: 100%;
    }

    .feature-image img {
        object-fit: cover;
        object-position: center;
    }
}

.gameplay {
    padding: 4rem 0;
    background: var(--darker-bg);
}

.gameplay-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.gameplay-main {
    position: relative;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    margin-bottom: 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--border-color);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gameplay-gif-section {
    margin: 2rem 0;
}

.gameplay-gif {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--border-color);
}

.gameplay-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    font-family: 'Orbitron', monospace;
}

.stat-label {
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.gameplay-description h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.gameplay-description p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.gameplay-features {
    list-style: none;
}

.gameplay-features li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-muted);
}

.gameplay-features li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.team {
    padding: 4rem 0 4rem;
    background: var(--darker-bg);
    position: relative;
}

.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(180deg,
                var(--darker-bg) 0%,
                transparent 100%);
    pointer-events: none;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.member-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.member-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 107, 53, 0.1) 50%,
        transparent 70%
    );
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    opacity: 0;
}

.member-card.hovering {
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.15);
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.04);
    animation: glitch-effect 0.3s ease;
}

.member-card.hovering::before {
    opacity: 1;
    animation: shimmer-only 1.5s ease;
}

@keyframes shimmer-only {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
        opacity: 0;
    }
}

@keyframes glitch-effect {
    0%, 100% { transform: translateY(0) skewY(0deg); }
    20% { transform: translateY(-2px) skewY(2deg); }
    40% { transform: translateY(2px) skewY(-2deg); }
    60% { transform: translateY(-1px) skewY(1deg); }
    80% { transform: translateY(1px) skewY(-1deg); }
}


.member-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.3);
    background: white;
    padding: 10px;
}

.member-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-family: 'Orbitron', monospace;
}

.member-role {
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.member-bio {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.member-skills {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.skill-tag {
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid var(--border-color);
}

.studio-info {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    word-wrap: break-word;
}

.studio-info h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-family: 'Orbitron', monospace;
    word-break: break-word;
}

.screenshots {
    padding: 4rem 0 4rem;
    background: var(--dark-bg);
    position: relative;
}

.screenshots::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(180deg,
                var(--dark-bg) 0%,
                transparent 100%);
    pointer-events: none;
}

.screenshots::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(180deg,
                transparent 0%,
                var(--darker-bg) 100%);
    pointer-events: none;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.screenshot-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    aspect-ratio: 16 / 9;
    background: var(--darker-bg);
    border: 2px solid rgba(255, 107, 53, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.screenshot-item:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.3),
                0 0 60px rgba(255, 107, 53, 0.15);
}

.screenshot-item:hover img {
    transform: scale(1);
    filter: brightness(1.1);
}

.screenshot-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(255, 107, 53, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.screenshot-item:hover::before {
    opacity: 1;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 70vh;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: var(--text-light);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2001;
}

.lightbox-close:hover {
    color: var(--primary-color);
    transform: scale(1.2);
}

.lightbox-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.lightbox-prev,
.lightbox-next {
    color: var(--text-light);
    font-size: 60px;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
    pointer-events: auto;
    padding: 0 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--primary-color);
    transform: scale(1.2);
}

.lightbox-thumbnails {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    max-width: 90%;
    overflow-x: auto;
}

.lightbox-thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    border-radius: 5px;
}

.lightbox-thumbnail:hover {
    opacity: 1;
    transform: scale(1.1);
}

.lightbox-thumbnail.active {
    opacity: 1;
    border-color: var(--primary-color);
}

.footer-hero {
    position: relative;
    height: 300px;
    overflow: hidden;
    margin-top: 0;
}

.footer-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom,
                #050505 0%,
                rgba(5, 5, 5, 1) 25%,
                rgba(5, 5, 5, 0.95) 40%,
                rgba(5, 5, 5, 0.85) 55%,
                rgba(5, 5, 5, 0.65) 70%,
                rgba(5, 5, 5, 0.35) 85%,
                transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.footer-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.footer-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center calc(100% + 50px);
    filter: brightness(1) saturate(1.1);
}

.footer-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
                rgba(13, 13, 15, 0.2) 0%,
                rgba(13, 13, 15, 0.3) 50%,
                rgba(13, 13, 15, 0.5) 100%);
}

.footer-hero-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    text-align: center;
    padding: 2rem;
}

.footer-hero-content h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    color: var(--text-light);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8),
                 0 0 40px rgba(255, 107, 53, 0.3);
    margin: 0;
}

.footer {
    padding: 3rem 0 1rem;
    background: var(--darker-bg);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: 'Orbitron', monospace;
}

.footer-section p,
.footer-section a {
    color: var(--text-muted);
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1.2rem;
}

.social-links a {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(247, 147, 30, 0.1));
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    border: 2px solid rgba(255, 107, 53, 0.4);
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.9);
}

.social-links a::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;
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4),
                0 0 30px rgba(255, 107, 53, 0.2);
}

.social-links a:hover::before {
    left: 100%;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .section-title::before {
        left: -80px;
        width: 60px;
    }
    .section-title::after {
        right: -80px;
        width: 60px;
    }
}

@media (max-width: 768px) {
    .footer-hero-content h2 {
        font-size: 1.8rem;
    }
    .footer-hero {
        height: 250px;
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .footer-section {
        text-align: center;
        margin: 0 auto;
        width: 100%;
    }
    .footer-section p,
    .footer-section h3,
    .footer-section h4 {
        margin-left: 0;
        margin-right: 0;
    }
    .social-links {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-logo {
        width: 320px;
    }
    .hero-video-container {
        max-width: 85vw;
        margin-bottom: 1rem;
    }
    .hero-buttons {
        margin-top: 0.5rem;
    }

    .gameplay-showcase {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .screenshot-grid {
        grid-template-columns: 1fr;
    }

    .studio-info h3 {
        font-size: 1.5rem;
    }

    .studio-info {
        padding: 1.5rem 1rem;
    }

    .section-title {
        font-size: 2rem;
        overflow: visible;
    }
    .section-title::before,
    .section-title::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.75rem;
        padding: 0 0.5rem;
        letter-spacing: 1px;
    }
}

/* Height-based responsive adjustments */
@media (max-height: 850px) {
    .hero-content {
        gap: 0.8rem;
    }
    .hero-logo {
        width: 350px;
        margin-top: -2rem;
    }
    .hero-video-container {
        max-width: 550px;
    }
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    .btn {
        padding: 0.7rem 1.8rem;
        font-size: 0.95rem;
    }
}

@media (max-height: 750px) {
    .hero-content {
        gap: 0.5rem;
    }
    .hero-logo {
        width: 300px;
        margin-top: -1rem;
    }
    .hero-video-container {
        max-width: 450px;
    }
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
    .scroll-indicator {
        bottom: 1rem;
    }
    .scroll-arrow span {
        width: 12px;
        height: 12px;
    }
}

@media (max-height: 700px) {
    .scroll-indicator {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
}
@media (max-height: 650px) {
    .hero-logo {
        width: 250px;
        margin-top: 0;
    }
    .hero-video-container {
        max-width: 380px;
    }
    .hero-subtitle {
        display: none;
    }
}
