/* VS Protocol - Design System */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a25;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6a6a7a;
    --accent-cyan: #00F5FF;
    --accent-purple: #8B5CF6;
    --accent-pink: #EC4899;
    --accent-green: #10B981;
    --gradient-primary: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    --gradient-glow: linear-gradient(135deg, rgba(0, 245, 255, 0.3), rgba(139, 92, 246, 0.3));
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    --font-ui: 'Inter', sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-glow: 0 0 40px rgba(0, 245, 255, 0.2);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Preloader */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse 1.5s infinite;
}

.preloader-bar {
    width: 200px;
    height: 2px;
    background: var(--bg-tertiary);
    margin: 2rem auto;
    border-radius: 1px;
    overflow: hidden;
}

.preloader-progress {
    height: 100%;
    background: var(--gradient-primary);
    animation: loading 1.5s ease-out forwards;
}

.preloader-text {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.2em;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes loading {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

/* Cursor Glow */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    background: transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-protocol {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
}

.logo-image {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    letter-spacing: 0.1em;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-link {
    color: var(--text-secondary);
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.social-link:hover {
    color: var(--accent-cyan);
}

/* Buttons */
.btn {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
    letter-spacing: 0.05em;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 245, 255, 0.05);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 0.9rem;
}

.btn-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
}

.btn:hover .btn-glow {
    animation: btnGlow 0.6s;
}

@keyframes btnGlow {
    100% {
        transform: translateX(100%);
    }
}

/* Nav Toggle (Mobile) */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(10, 10, 15, 0.1) 0%, rgba(10, 10, 15, 0.6) 60%, rgba(10, 10, 15, 0.85) 100%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 2rem;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-green);
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }

    50% {
        opacity: 0.8;
        box-shadow: 0 0 0 8px transparent;
    }
}

.badge-text {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow:
        0 0 30px rgba(0, 245, 255, 0.5),
        0 0 60px rgba(0, 245, 255, 0.3),
        0 4px 20px rgba(0, 0, 0, 0.9);
}

.title-line {
    display: block;
}

.title-word {
    display: inline-block;
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin: 0 0.25rem;
}

.title-accent .title-word {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.glitch {
    animation: glitch 3s infinite;
}

@keyframes glitch {

    0%,
    90%,
    100% {
        transform: translate(0);
    }

    92% {
        transform: translate(-2px, 2px);
    }

    94% {
        transform: translate(2px, -2px);
    }

    96% {
        transform: translate(-2px, -2px);
    }

    98% {
        transform: translate(2px, 2px);
    }
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    padding: 1rem 1.5rem;
    background: rgba(10, 10, 15, 0.5);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-subtitle strong {
    color: var(--text-primary);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    padding: 1.5rem 2rem;
    background: rgba(10, 10, 15, 0.5);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-family: var(--font-ui);
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    display: block;
    margin-top: 0.25rem;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--glass-border);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.scroll-text {
    font-family: var(--font-ui);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-cyan), transparent);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {

    0%,
    100% {
        opacity: 0;
        transform: scaleY(0);
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* Hero Corners */
.hero-corner {
    position: absolute;
    width: 60px;
    height: 60px;
    z-index: 2;
}

.hero-corner::before,
.hero-corner::after {
    content: '';
    position: absolute;
    background: var(--accent-cyan);
    opacity: 0.3;
}

.hero-corner-tl {
    top: 2rem;
    left: 2rem;
}

.hero-corner-tl::before {
    top: 0;
    left: 0;
    width: 30px;
    height: 1px;
}

.hero-corner-tl::after {
    top: 0;
    left: 0;
    width: 1px;
    height: 30px;
}

.hero-corner-tr {
    top: 2rem;
    right: 2rem;
}

.hero-corner-tr::before {
    top: 0;
    right: 0;
    width: 30px;
    height: 1px;
}

.hero-corner-tr::after {
    top: 0;
    right: 0;
    width: 1px;
    height: 30px;
}

.hero-corner-bl {
    bottom: 2rem;
    left: 2rem;
}

.hero-corner-bl::before {
    bottom: 0;
    left: 0;
    width: 30px;
    height: 1px;
}

.hero-corner-bl::after {
    bottom: 0;
    left: 0;
    width: 1px;
    height: 30px;
}

.hero-corner-br {
    bottom: 2rem;
    right: 2rem;
}

.hero-corner-br::before {
    bottom: 0;
    right: 0;
    width: 30px;
    height: 1px;
}

.hero-corner-br::after {
    bottom: 0;
    right: 0;
    width: 1px;
    height: 30px;
}

/* Section Styles */
.section {
    position: relative;
    padding: 6rem 2rem;
    overflow: hidden;
}

.section-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.grid-lines {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--glass-border) 1px, transparent 1px), linear-gradient(90deg, var(--glass-border) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.3;
}

.gradient-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}

.gradient-orb-1 {
    top: -200px;
    right: -200px;
    background: var(--accent-purple);
}

.gradient-orb-2 {
    bottom: -200px;
    left: -200px;
    background: var(--accent-cyan);
}

.gradient-orb-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--accent-purple);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header.center {
    text-align: center;
}

.section-tag {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    color: var(--accent-cyan);
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: 1rem;
    max-width: 600px;
}

.section-header.center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.about-lead strong {
    color: var(--text-primary);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.pillar-card {
    padding: 1.5rem;
    border-radius: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.pillar-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.pillar-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
    color: var(--accent-cyan);
}

.pillar-icon svg {
    width: 100%;
    height: 100%;
}

.pillar-card h3 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.pillar-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.about-visual {
    position: relative;
}

.visual-frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
}

.frame-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--accent-cyan);
}

.frame-corner-tl {
    top: -5px;
    left: -5px;
    border-right: none;
    border-bottom: none;
}

.frame-corner-tr {
    top: -5px;
    right: -5px;
    border-left: none;
    border-bottom: none;
}

.frame-corner-bl {
    bottom: -5px;
    left: -5px;
    border-right: none;
    border-top: none;
}

.frame-corner-br {
    bottom: -5px;
    right: -5px;
    border-left: none;
    border-top: none;
}

.frame-glow {
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 60px rgba(0, 245, 255, 0.1);
    pointer-events: none;
}

/* Game Modes */
.modes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.mode-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.mode-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-cyan);
}

.mode-card.featured {
    border-color: var(--accent-purple);
}

.mode-card.featured:hover {
    border-color: var(--accent-cyan);
}

.mode-featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-family: var(--font-ui);
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--bg-primary);
    letter-spacing: 0.1em;
}

.mode-card-content {
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.mode-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.mode-icon {
    width: 48px;
    height: 48px;
    color: var(--accent-cyan);
}

.mode-icon svg {
    width: 100%;
    height: 100%;
}

.mode-players {
    font-family: var(--font-ui);
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.mode-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.mode-type {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    color: var(--accent-purple);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.mode-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.mode-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.2);
    font-family: var(--font-ui);
    font-size: 0.65rem;
    color: var(--accent-cyan);
    letter-spacing: 0.05em;
}

.mode-footer {
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
}

.mode-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-ui);
    font-size: 0.7rem;
    color: var(--text-muted);
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-green);
    animation: badgePulse 2s infinite;
}

.mode-card-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: var(--transition);
    background: radial-gradient(circle at center, rgba(0, 245, 255, 0.1) 0%, transparent 70%);
}

.mode-card:hover .mode-card-glow {
    opacity: 1;
}

/* Game Loop */
.game-loop {
    padding: 3rem;
    border-radius: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

.loop-title {
    font-family: var(--font-display);
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.loop-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.loop-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
}

.step-number {
    font-family: var(--font-display);
    font-size: 0.7rem;
    color: var(--accent-purple);
}

.step-icon {
    width: 40px;
    height: 40px;
    color: var(--accent-cyan);
}

.step-icon svg {
    width: 100%;
    height: 100%;
}

.step-label {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

.loop-connector {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
}

.step-final .step-icon {
    color: var(--accent-green);
}

/* Gallery */
.gallery {
    padding: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.9) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.gallery-caption {
    font-family: var(--font-display);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

/* Arsenal Section */
.arsenal {
    background: var(--bg-secondary);
}

.arsenal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.weapon-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.weapon-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-glow);
}

.weapon-card.featured {
    border-color: var(--accent-purple);
}

.weapon-video {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.weapon-info {
    padding: 1.5rem;
}

.weapon-info h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.weapon-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.weapon-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-family: var(--font-ui);
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--bg-primary);
    letter-spacing: 0.1em;
}

/* Gameplay Showcase */
.gameplay {
    padding: 4rem 2rem;
}

.gameplay-container {
    max-width: 1200px;
    margin: 0 auto;
}

.gameplay-video-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.gameplay-video {
    width: 100%;
    height: auto;
    display: block;
}

.video-overlay-corners {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.corner {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent-cyan);
}

.corner-tl {
    top: 1rem;
    left: 1rem;
    border-right: none;
    border-bottom: none;
}

.corner-tr {
    top: 1rem;
    right: 1rem;
    border-left: none;
    border-bottom: none;
}

.corner-bl {
    bottom: 1rem;
    left: 1rem;
    border-right: none;
    border-top: none;
}

.corner-br {
    bottom: 1rem;
    right: 1rem;
    border-left: none;
    border-top: none;
}

/* Features Gallery */
.features-gallery {
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
}

.feature-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 300px;
}

.feature-item.large {
    grid-row: span 2;
}

.feature-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feature-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.95) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition);
}

.feature-item:hover .feature-overlay {
    opacity: 1;
}

.feature-content h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.feature-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Wallpaper Showcase */
.wallpaper-showcase {
    position: relative;
    margin-top: 2rem;
    border-radius: 12px;
    overflow: hidden;
}

.wallpaper-image {
    width: 100%;
    height: auto;
    display: block;
}

.wallpaper-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.9) 0%, transparent 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.wallpaper-showcase:hover .wallpaper-overlay {
    opacity: 1;
}


/* Economy */
.economy-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.economy-flow {
    padding: 2rem;
    border-radius: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

.flow-title {
    font-family: var(--font-display);
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.flow-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
}

.flow-icon {
    font-size: 2rem;
}

.flow-step span {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.flow-arrow {
    font-size: 1.5rem;
    color: var(--accent-cyan);
}

.economy-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.economy-card {
    padding: 2rem;
    border-radius: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.economy-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-4px);
}

.economy-card.featured {
    border-color: var(--accent-purple);
    background: rgba(139, 92, 246, 0.05);
}

.economy-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.card-icon {
    font-size: 1.5rem;
}

.economy-card h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.economy-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.economy-list li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding-left: 1.25rem;
    position: relative;
}

.economy-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
}

/* Chains */
.chains-section {
    margin-top: 4rem;
    text-align: center;
}

.chains-title {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
}

.chains-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.chain-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    position: relative;
}

.chain-item:hover {
    border-color: var(--accent-cyan);
}

.chain-item.active {
    border-color: var(--accent-green);
}

.chain-logo {
    font-size: 2rem;
}

.chain-item span {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.chain-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-green);
    color: var(--bg-primary);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: var(--font-ui);
    font-size: 0.55rem;
    font-weight: 600;
}

/* Anti-Cheat */
.anticheat {
    background: var(--bg-secondary);
}

.anticheat-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.anticheat-visual {
    display: flex;
    justify-content: center;
}

.shield-animation {
    position: relative;
    width: 200px;
    height: 200px;
}

.shield-svg {
    width: 100%;
    height: 100%;
}

.shield-path {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: drawShield 2s ease forwards;
}

.shield-check {
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    animation: drawCheck 1s ease forwards 1.5s;
}

@keyframes drawShield {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes drawCheck {
    to {
        stroke-dashoffset: 0;
    }
}

.shield-rings {
    position: absolute;
    inset: -20px;
}

.ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid var(--accent-cyan);
    opacity: 0;
}

.ring-1 {
    animation: ringPulse 3s infinite 0s;
}

.ring-2 {
    animation: ringPulse 3s infinite 1s;
}

.ring-3 {
    animation: ringPulse 3s infinite 2s;
}

@keyframes ringPulse {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.anticheat-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 1.5rem 0 2rem;
}

.anticheat-desc strong {
    color: var(--text-primary);
}

.anticheat-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.ac-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 8px;
    background: var(--glass-bg);
}

.ac-feature svg {
    width: 20px;
    height: 20px;
    color: var(--accent-cyan);
    flex-shrink: 0;
}

.ac-feature span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Roadmap */
.roadmap-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--glass-border);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 3rem;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.8rem;
    color: var(--text-muted);
    z-index: 1;
}

.timeline-item.completed .timeline-marker {
    border-color: var(--accent-green);
    background: rgba(16, 185, 129, 0.1);
}

.timeline-item.completed .timeline-marker svg {
    width: 20px;
    height: 20px;
    color: var(--accent-green);
}

.timeline-item.launch .timeline-marker {
    border-color: var(--accent-cyan);
    background: rgba(0, 245, 255, 0.1);
}

.timeline-item.launch .timeline-marker svg {
    width: 20px;
    height: 20px;
    color: var(--accent-cyan);
}

.timeline-content {
    padding: 1.5rem;
    border-radius: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

.timeline-date {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    color: var(--accent-purple);
    letter-spacing: 0.1em;
}

.timeline-content h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin: 0.5rem 0;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.timeline-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-family: var(--font-ui);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    background: var(--glass-bg);
    color: var(--text-muted);
}

.timeline-badge.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
}

.timeline-badge.launch-badge {
    background: var(--gradient-primary);
    color: var(--bg-primary);
}

/* Community */
.community-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.community-card {
    padding: 2rem;
    border-radius: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    text-align: center;
}

.community-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-4px);
}

.community-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.5rem;
    color: var(--accent-cyan);
}

.community-icon svg {
    width: 100%;
    height: 100%;
}

.community-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.community-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.community-link {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    color: var(--accent-cyan);
    text-decoration: none;
    transition: var(--transition);
}

.community-link:hover {
    color: var(--text-primary);
}

/* Partners */
.partners {
    padding: 4rem 2rem;
    background: var(--bg-secondary);
}

.partners-header {
    text-align: center;
    margin-bottom: 2rem;
}

.partners-header h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    margin-top: 0.5rem;
}

.partners-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
    transition: var(--transition);
}

.partner-item:hover {
    opacity: 1;
}

.partner-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.partner-item span {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

/* CTA */
.cta {
    position: relative;
    padding: 8rem 2rem;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(10, 10, 15, 0.95), rgba(10, 10, 15, 0.8));
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-form {
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    gap: 0.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.form-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    font-family: var(--font-ui);
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-cyan);
}

.cta-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.cta-socials span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.social-btn:hover {
    border-color: var(--accent-cyan);
}

.social-btn svg {
    color: var(--accent-cyan);
}

.social-btn span {
    font-family: var(--font-ui);
    font-size: 0.85rem;
}

/* Footer */
.footer {
    padding: 4rem 2rem 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.footer-col a {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.footer-legal a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--accent-cyan);
}

.footer-separator {
    color: var(--text-muted);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    text-align: center;
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.disclaimer {
    font-size: 0.7rem;
    color: var(--text-muted);
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 1024px) {

    .about-grid,
    .anticheat-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-visual {
        order: -1;
    }

    .modes-grid,
    .economy-cards,
    .community-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Email Modal Styles */
.email-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.email-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 500px;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 3rem 2rem;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.email-modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--glass-bg);
    color: var(--text-primary);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.modal-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-form .form-input {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-ui);
    font-size: 1rem;
    transition: var(--transition);
}

.modal-form .form-input:focus {
    outline: none;
    border-color: var(--accent-cyan);
    background: rgba(0, 245, 255, 0.05);
}

.modal-form .form-input::placeholder {
    color: var(--text-muted);
}

.modal-form .btn {
    width: 100%;
    justify-content: center;
}

.modal-form .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-family: var(--font-ui);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    text-align: center;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s, transform 0.3s;
}

.form-message.success,
.form-message.error {
    opacity: 1;
    transform: translateY(0);
}

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--accent-green);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #EF4444;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg-secondary);
        padding: 1rem;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .anticheat-features {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .chains-grid {
        flex-direction: column;
        align-items: center;
    }

    .form-group {
        flex-direction: column;
    }

    .stat-divider {
        display: none;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .modal-content {
        padding: 2rem 1.5rem;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 4rem 1rem;
    }

    .hero-content {
        padding: 1rem;
    }

    .loop-steps {
        flex-direction: column;
    }

    .loop-connector {
        width: 2px;
        height: 20px;
    }

    .modal-content {
        width: 95%;
        padding: 2rem 1rem;
    }
}

/ *   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =           M O B I L E   R E S P O N S I V E   S T Y L E S           = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =   * /         / *   M o b i l e - f i r s t   a p p r o a c h   -   t h e s e   o v e r r i d e   d e s k t o p   s t y l e s   f o r   s m a l l e r   s c r e e n s   * /         / *   L a r g e   t a b l e t s   a n d   b e l o w   ( 1 0 2 4 p x )   * /     @ m e d i a   ( m a x - w i d t h :   1 0 2 4 p x )    {
                 . c o n t a i n e r    {
                             p a d d i n g :    0   2 r e m ;
                     
    }

                             . s e c t i o n    {
                             p a d d i n g :    4 r e m   0 ;
                     
    }

                             / *   H e r o   a d j u s t m e n t s   * /             . h e r o    {
                             m i n - h e i g h t :    8 0 v h ;
                     
    }

                             . h e r o - t i t l e    {
                             f o n t - s i z e :    c l a m p ( 2 . 5 r e m ,    8 v w ,    4 r e m ) ;
                     
    }

                             . h e r o - s u b t i t l e    {
                             f o n t - s i z e :    1 . 1 r e m ;
                     
    }

                             . h e r o - s t a t s    {
                             g a p :    2 r e m ;
                     
    }

                             / *   G a m e   m o d e s   g r i d   * /             . m o d e s - g r i d    {
                             g r i d - t e m p l a t e - c o l u m n s :    1 f r ;
                             g a p :    2 r e m ;
                     
    }

                             . m o d e - c a r d . f e a t u r e d    {
                             o r d e r :    - 1 ;
           / *   P u t   f e a t u r e d   f i r s t   o n   m o b i l e   * /             
    }

         
}

         / *   T a b l e t s   a n d   b e l o w   ( 7 6 8 p x )   * /     @ m e d i a   ( m a x - w i d t h :   7 6 8 p x )    {
                 . c o n t a i n e r    {
                             p a d d i n g :    0   1 . 5 r e m ;
                     
    }

                             . s e c t i o n    {
                             p a d d i n g :    3 r e m   0 ;
                     
    }

                             / *   T y p o g r a p h y   s c a l i n g   * /             . s e c t i o n - t i t l e    {
                             f o n t - s i z e :    c l a m p ( 1 . 8 r e m ,    6 v w ,    2 . 5 r e m ) ;
                     
    }

                             / *   N a v i g a t i o n   * /             . n a v b a r    {
                             p a d d i n g :    1 r e m   0 ;
                     
    }

                             . n a v - m e n u    {
                             d i s p l a y :    n o n e ;
           / *   U s e   m o b i l e   m e n u   * /             
    }

                             . n a v - t o g g l e    {
                             d i s p l a y :    f l e x ;
                     
    }

                             . n a v - a c t i o n s    {
                             g a p :    0 . 5 r e m ;
                     
    }

                             . n a v - c t a    {
                             p a d d i n g :    0 . 6 r e m   1 . 2 r e m ;
                             f o n t - s i z e :    0 . 8 5 r e m ;
                     
    }

                             / *   H e r o   * /             . h e r o    {
                             m i n - h e i g h t :    7 0 v h ;
                             p a d d i n g :    6 r e m   0   3 r e m ;
                     
    }

                             . h e r o - t i t l e    {
                             f o n t - s i z e :    c l a m p ( 2 r e m ,    1 0 v w ,    3 r e m ) ;
                             l i n e - h e i g h t :    1 . 1 ;
                     
    }

                             . h e r o - s u b t i t l e    {
                             f o n t - s i z e :    1 r e m ;
                     
    }

                             . h e r o - s t a t s    {
                             f l e x - d i r e c t i o n :    c o l u m n ;
                             g a p :    1 . 5 r e m ;
                     
    }

                             . s t a t - v a l u e    {
                             f o n t - s i z e :    2 . 5 r e m ;
                     
    }

                             . h e r o - b u t t o n s    {
                             f l e x - d i r e c t i o n :    c o l u m n ;
                             w i d t h :    1 0 0 % ;
                     
    }

                             . b t n - l a r g e    {
                             w i d t h :    1 0 0 % ;
                             j u s t i f y - c o n t e n t :    c e n t e r ;
                     
    }

                             / *   A b o u t   s e c t i o n   * /             . a b o u t - g r i d    {
                             g r i d - t e m p l a t e - c o l u m n s :    1 f r ;
                             g a p :    2 r e m ;
                     
    }

                             . a b o u t - v i s u a l    {
                             o r d e r :    - 1 ;
           / *   I m a g e   f i r s t   o n   m o b i l e   * /             
    }

                             / *   G a m e   m o d e s   * /             . m o d e s - g r i d    {
                             g r i d - t e m p l a t e - c o l u m n s :    1 f r ;
                             g a p :    1 . 5 r e m ;
                     
    }

                             . m o d e - c a r d - c o n t e n t    {
                             p a d d i n g :    1 . 5 r e m ;
                     
    }

                             . m o d e - t i t l e    {
                             f o n t - s i z e :    1 . 8 r e m ;
                     
    }

                             . m o d e - d e s c r i p t i o n    {
                             f o n t - s i z e :    0 . 9 5 r e m ;
                     
    }

                             / *   A r s e n a l   * /             . a r s e n a l - g r i d    {
                             g r i d - t e m p l a t e - c o l u m n s :    1 f r ;
                             g a p :    1 r e m ;
                     
    }

                             / *   F e a t u r e s   * /             . f e a t u r e s - g r i d    {
                             g r i d - t e m p l a t e - c o l u m n s :    1 f r ;
                             g a p :    1 r e m ;
                     
    }

                             . f e a t u r e - i t e m . l a r g e    {
                             g r i d - c o l u m n :    a u t o ;
                     
    }

                             / *   G a l l e r y   * /             . g a l l e r y - g r i d    {
                             g r i d - t e m p l a t e - c o l u m n s :    1 f r ;
                             g a p :    1 r e m ;
                     
    }

                             . g a l l e r y - i t e m . l a r g e    {
                             g r i d - c o l u m n :    a u t o ;
                     
    }

                             / *   E c o n o m y   c a r d s   * /             . e c o n o m y - c a r d s    {
                             g r i d - t e m p l a t e - c o l u m n s :    1 f r ;
                             g a p :    1 . 5 r e m ;
                     
    }

                             / *   C h a i n s   * /             . c h a i n s - g r i d    {
                             g r i d - t e m p l a t e - c o l u m n s :    r e p e a t ( 2 ,    1 f r ) ;
                             g a p :    1 r e m ;
                     
    }

                             . c h a i n - i t e m    {
                             p a d d i n g :    1 r e m ;
                     
    }

                             . c h a i n - l o g o   s v g    {
                             w i d t h :    2 8 p x ;
                             h e i g h t :    2 8 p x ;
                     
    }

                             / *   R o a d m a p   * /             . t i m e l i n e - i t e m    {
                             p a d d i n g - l e f t :    2 . 5 r e m ;
                     
    }

                             . t i m e l i n e - m a r k e r    {
                             w i d t h :    4 0 p x ;
                             h e i g h t :    4 0 p x ;
                             l e f t :    - 2 0 p x ;
                     
    }

                             / *   C o m m u n i t y   g r i d   * /             . c o m m u n i t y - g r i d    {
                             g r i d - t e m p l a t e - c o l u m n s :    1 f r ;
                             g a p :    1 . 5 r e m ;
                     
    }

                             / *   P a r t n e r s   * /             . p a r t n e r s - g r i d    {
                             g r i d - t e m p l a t e - c o l u m n s :    r e p e a t ( 2 ,    1 f r ) ;
                             g a p :    1 r e m ;
                     
    }

                             / *   F o o t e r   * /             . f o o t e r - c o n t e n t    {
                             f l e x - d i r e c t i o n :    c o l u m n ;
                             g a p :    2 r e m ;
                     
    }

                             . f o o t e r - l i n k s    {
                             g r i d - t e m p l a t e - c o l u m n s :    r e p e a t ( 2 ,    1 f r ) ;
                             g a p :    2 r e m ;
                     
    }

                             . f o o t e r - b o t t o m    {
                             f l e x - d i r e c t i o n :    c o l u m n ;
                             g a p :    1 r e m ;
                             t e x t - a l i g n :    c e n t e r ;
                     
    }

         
}

         / *   M o b i l e   p h o n e s   ( 4 8 0 p x )   * /     @ m e d i a   ( m a x - w i d t h :   4 8 0 p x )    {
                 . c o n t a i n e r    {
                             p a d d i n g :    0   1 r e m ;
                     
    }

                             . s e c t i o n    {
                             p a d d i n g :    2 . 5 r e m   0 ;
                     
    }

                             / *   T y p o g r a p h y   * /             . s e c t i o n - t i t l e    {
                             f o n t - s i z e :    c l a m p ( 1 . 5 r e m ,    8 v w ,    2 r e m ) ;
                     
    }

                             . s e c t i o n - t a g    {
                             f o n t - s i z e :    0 . 7 r e m ;
                     
    }

                             / *   N a v i g a t i o n   * /             . n a v - l o g o    {
                             f o n t - s i z e :    1 . 2 r e m ;
                     
    }

                             . l o g o - p r o t o c o l    {
                             f o n t - s i z e :    0 . 6 r e m ;
                     
    }

                             . n a v - a c t i o n s   a : n o t ( . n a v - c t a )    {
                             d i s p l a y :    n o n e ;
           / *   H i d e   s o c i a l   l i n k s   o n   v e r y   s m a l l   s c r e e n s   * /             
    }

                             / *   H e r o   * /             . h e r o    {
                             m i n - h e i g h t :    6 0 v h ;
                             p a d d i n g :    5 r e m   0   2 r e m ;
                     
    }

                             . h e r o - b a d g e    {
                             p a d d i n g :    0 . 4 r e m   1 r e m ;
                             f o n t - s i z e :    0 . 6 5 r e m ;
                     
    }

                             . h e r o - t i t l e    {
                             f o n t - s i z e :    c l a m p ( 1 . 8 r e m ,    1 2 v w ,    2 . 5 r e m ) ;
                     
    }

                             . h e r o - s u b t i t l e    {
                             f o n t - s i z e :    0 . 9 r e m ;
                     
    }

                             . s t a t - v a l u e    {
                             f o n t - s i z e :    2 r e m ;
                     
    }

                             . s t a t - l a b e l    {
                             f o n t - s i z e :    0 . 6 5 r e m ;
                     
    }

                             / *   B u t t o n s   * /             . b t n    {
                             p a d d i n g :    0 . 8 r e m   1 . 5 r e m ;
                             f o n t - s i z e :    0 . 8 5 r e m ;
                     
    }

                             / *   M o d e   c a r d s   * /             . m o d e - f e a t u r e d - b a d g e    {
                             f o n t - s i z e :    0 . 6 5 r e m ;
                             p a d d i n g :    0 . 3 r e m   0 . 8 r e m ;
                     
    }

                             . m o d e - t i t l e    {
                             f o n t - s i z e :    1 . 5 r e m ;
                     
    }

                             . m o d e - t y p e    {
                             f o n t - s i z e :    0 . 7 r e m ;
                     
    }

                             . f e a t u r e - t a g    {
                             f o n t - s i z e :    0 . 6 5 r e m ;
                             p a d d i n g :    0 . 3 r e m   0 . 8 r e m ;
                     
    }

                             / *   E c o n o m y   * /             . e c o n o m y - f l o w    {
                             f l e x - d i r e c t i o n :    c o l u m n ;
                             g a p :    1 r e m ;
                     
    }

                             . f l o w - a r r o w    {
                             t r a n s f o r m :    r o t a t e ( 9 0 d e g ) ;
                     
    }

                             / *   C h a i n s   -   s t a c k   v e r t i c a l l y   o n   v e r y   s m a l l   s c r e e n s   * /             . c h a i n s - g r i d    {
                             g r i d - t e m p l a t e - c o l u m n s :    1 f r ;
                     
    }

                             / *   F o o t e r   * /             . f o o t e r - l i n k s    {
                             g r i d - t e m p l a t e - c o l u m n s :    1 f r ;
                             g a p :    1 . 5 r e m ;
                     
    }

                             . f o o t e r - c o l   h 4    {
                             f o n t - s i z e :    0 . 9 r e m ;
                     
    }

                             . f o o t e r - c o l   a    {
                             f o n t - s i z e :    0 . 8 5 r e m ;
                     
    }

                             / *   M o d a l   a d j u s t m e n t s   * /             . e m a i l - m o d a l   . m o d a l - c o n t e n t    {
                             w i d t h :    9 0 % ;
                             p a d d i n g :    1 . 5 r e m ;
                     
    }

                             . m o d a l - t i t l e    {
                             f o n t - s i z e :    1 . 5 r e m ;
                     
    }

         
}

         / *   V e r y   s m a l l   s c r e e n s   ( 3 2 0 p x )   * /     @ m e d i a   ( m a x - w i d t h :   3 2 0 p x )    {
                 . c o n t a i n e r    {
                             p a d d i n g :    0   0 . 7 5 r e m ;
                     
    }

                             . h e r o - t i t l e    {
                             f o n t - s i z e :    1 . 5 r e m ;
                     
    }

                             . s e c t i o n - t i t l e    {
                             f o n t - s i z e :    1 . 3 r e m ;
                     
    }

                             . b t n    {
                             p a d d i n g :    0 . 7 r e m   1 . 2 r e m ;
                             f o n t - s i z e :    0 . 8 r e m ;
                     
    }

         
}

         / *   L a n d s c a p e   m o b i l e   f i x   * /     @ m e d i a   ( m a x - h e i g h t :   5 0 0 p x )   a n d   ( o r i e n t a t i o n :   l a n d s c a p e )    {
                 . h e r o    {
                             m i n - h e i g h t :    1 0 0 v h ;
                     
    }

                             . h e r o - s t a t s    {
                             d i s p l a y :    n o n e ;
           / *   H i d e   s t a t s   i n   l a n d s c a p e   t o   s a v e   s p a c e   * /             
    }

         
}

         / *   P r i n t   s t y l e s   * /     @ m e d i a   p r i n t    {

                 . n a v b a r ,
                 . h e r o - v i d e o ,
                 . p r e l o a d e r ,
                 . c u r s o r - g l o w ,
                 v i d e o    {
                             d i s p l a y :    n o n e ;
                     
    }

         
}

     
/* ==================================
   MOBILE RESPONSIVE STYLES
   ================================== */

/* Mobile-first approach - these override desktop styles for smaller screens */

/* Large tablets and below (1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .section {
        padding: 4rem 0;
    }

    /* Hero adjustments */
    .hero {
        min-height: 80vh;
    }

    .hero-title {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    /* Game modes grid */
    .modes-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .mode-card.featured {
        order: -1;
        /* Put featured first on mobile */
    }
}

/* Tablets and below (768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .section {
        padding: 3rem 0;
    }

    /* Typography scaling */
    .section-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    /* Navigation */
    .navbar {
        padding: 1rem 0;
    }

    .nav-menu {
        display: none;
        /* Use mobile menu */
    }

    .nav-toggle {
        display: flex;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .nav-cta {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    /* Hero */
    .hero {
        min-height: 70vh;
        padding: 6rem 0 3rem;
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 3rem);
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-value {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-large {
        width: 100%;
        justify-content: center;
    }

    /* About section */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-visual {
        order: -1;
        /* Image first on mobile */
    }

    /* Game modes */
    .modes-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .mode-card-content {
        padding: 1.5rem;
    }

    .mode-title {
        font-size: 1.8rem;
    }

    .mode-description {
        font-size: 0.95rem;
    }

    /* Arsenal */
    .arsenal-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-item.large {
        grid-column: auto;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .gallery-item.large {
        grid-column: auto;
    }

    /* Economy cards */
    .economy-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Chains */
    .chains-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .chain-item {
        padding: 1rem;
    }

    .chain-logo svg {
        width: 28px;
        height: 28px;
    }

    /* Roadmap */
    .timeline-item {
        padding-left: 2.5rem;
    }

    .timeline-marker {
        width: 40px;
        height: 40px;
        left: -20px;
    }

    /* Community grid */
    .community-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Partners */
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Mobile phones (480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 2.5rem 0;
    }

    /* Typography */
    .section-title {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }

    .section-tag {
        font-size: 0.7rem;
    }

    /* Navigation */
    .nav-logo {
        font-size: 1.2rem;
    }

    .logo-protocol {
        font-size: 0.6rem;
    }

    .nav-actions a:not(.nav-cta) {
        display: none;
        /* Hide social links on very small screens */
    }

    /* Hero */
    .hero {
        min-height: 60vh;
        padding: 5rem 0 2rem;
    }

    .hero-badge {
        padding: 0.4rem 1rem;
        font-size: 0.65rem;
    }

    .hero-title {
        font-size: clamp(1.8rem, 12vw, 2.5rem);
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .stat-value {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    /* Buttons */
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
    }

    /* Mode cards */
    .mode-featured-badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.8rem;
    }

    .mode-title {
        font-size: 1.5rem;
    }

    .mode-type {
        font-size: 0.7rem;
    }

    .feature-tag {
        font-size: 0.65rem;
        padding: 0.3rem 0.8rem;
    }

    /* Economy */
    .economy-flow {
        flex-direction: column;
        gap: 1rem;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

    /* Chains - stack vertically on very small screens */
    .chains-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-col h4 {
        font-size: 0.9rem;
    }

    .footer-col a {
        font-size: 0.85rem;
    }

    /* Modal adjustments */
    .email-modal .modal-content {
        width: 90%;
        padding: 1.5rem;
    }

    .modal-title {
        font-size: 1.5rem;
    }
}

/* Very small screens (320px) */
@media (max-width: 320px) {
    .container {
        padding: 0 0.75rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
    }
}

/* Landscape mobile fix */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
    }

    .hero-stats {
        display: none;
        /* Hide stats in landscape to save space */
    }
}

/* Print styles */
@media print {

    .navbar,
    .hero-video,
    .preloader,
    .cursor-glow,
    video {
        display: none;
    }
}