/* ===== Fonts ===== */
@font-face {
    font-family: 'Valko Capela';
    src: url('VALKOCAPELARegular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ===== CSS Variables ===== */
:root {
    /* Colors - Light Theme */
    --primary: #6366F1;
    --primary-dark: #4F46E5;
    --secondary: #8B5CF6;
    --accent: #EC4899;
    --success: #10B981;
    --warning: #F59E0B;

    /* Backgrounds */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F9FAFB;
    --bg-tertiary: #F3F4F6;

    /* Text */
    --text-primary: #111827;
    --text-secondary: #6B7280;
    --text-tertiary: #9CA3AF;

    /* Borders */
    --border-light: #E5E7EB;
    --border-medium: #D1D5DB;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    --gradient-secondary: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    --gradient-accent: linear-gradient(135deg, #EC4899 0%, #F59E0B 100%);
    --gradient-success: linear-gradient(135deg, #10B981 0%, #06B6D4 100%);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Space Grotesk', var(--font-primary);
    --font-logo: 'Valko Capela', var(--font-heading);

    /* Spacing */
    --container-padding: clamp(1rem, 5vw, 2rem);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* ===== 3D Background Scene ===== */
.bg-scene {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    animation: floatShape 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--gradient-primary);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
    filter: blur(80px);
}

.shape-2 {
    width: 350px;
    height: 350px;
    background: var(--gradient-secondary);
    bottom: -150px;
    left: -150px;
    animation-delay: 5s;
    filter: blur(70px);
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--gradient-accent);
    top: 40%;
    left: -100px;
    animation-delay: 10s;
    filter: blur(60px);
}

.shape-4 {
    width: 280px;
    height: 280px;
    background: var(--gradient-success);
    top: 20%;
    right: 10%;
    animation-delay: 15s;
    filter: blur(65px);
}

.mesh-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(at 20% 30%, rgba(99, 102, 241, 0.05) 0px, transparent 50%),
        radial-gradient(at 80% 70%, rgba(139, 92, 246, 0.05) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(236, 72, 153, 0.03) 0px, transparent 50%);
}

@keyframes floatShape {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(30px, -30px) rotate(90deg) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) rotate(180deg) scale(0.9);
    }
    75% {
        transform: translate(40px, 10px) rotate(270deg) scale(1.05);
    }
}

/* ===== Container ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
    z-index: 1;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.logo-3d {
    position: relative;
    transition: transform 0.3s ease;
}

.logo-3d:hover {
    transform: translateY(-2px) rotateY(10deg);
}

.logo-icon {
    display: block;
    filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.2));
}

.logo-text {
    font-family: var(--font-logo);
    font-size: 1.5rem;
    font-weight: 400;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

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

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

.cta-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #fce7f3 100%);
}

/* 3D Canvas */
#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Particle Waves */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.particle-wave {
    position: absolute;
    width: 200%;
    height: 200%;
    border-radius: 45%;
    opacity: 0.05;
}

.wave-1 {
    background: radial-gradient(circle, #6366F1 0%, transparent 70%);
    top: -50%;
    left: -50%;
    animation: wave-float 20s ease-in-out infinite;
}

.wave-2 {
    background: radial-gradient(circle, #8B5CF6 0%, transparent 70%);
    top: -30%;
    left: -30%;
    animation: wave-float 25s ease-in-out infinite reverse;
}

.wave-3 {
    background: radial-gradient(circle, #EC4899 0%, transparent 70%);
    top: -40%;
    left: -40%;
    animation: wave-float 30s ease-in-out infinite;
}

@keyframes wave-float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(5%, 10%) rotate(90deg);
    }
    50% {
        transform: translate(-5%, 5%) rotate(180deg);
    }
    75% {
        transform: translate(-10%, -5%) rotate(270deg);
    }
}

.hero-container {
    position: relative;
    z-index: 1;
    padding-top: 2rem;
    padding-bottom: 4rem;
    text-align: center;
}

/* Hero Center Content */
.hero-center {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.15);
    margin-bottom: 2rem;
}

.badge-pulse {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-glow-badge 2s infinite;
}

@keyframes pulse-glow-badge {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(99, 102, 241, 0);
    }
}

/* 3D Title */
.hero-title-3d {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.title-word {
    display: inline-block;
    position: relative;
    text-shadow:
        2px 2px 0 rgba(99, 102, 241, 0.1),
        4px 4px 0 rgba(99, 102, 241, 0.05),
        6px 6px 10px rgba(0, 0, 0, 0.05);
    animation: float-text 3s ease-in-out infinite;
}

.title-word:nth-child(1) {
    animation-delay: 0s;
}

.title-word:nth-child(2) {
    animation-delay: 0.2s;
}

.title-word:nth-child(3) {
    animation-delay: 0.4s;
}

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

.gradient-text-3d {
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #EC4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(2px 2px 4px rgba(99, 102, 241, 0.3));
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.brand-highlight {
    font-family: var(--font-logo);
    font-weight: 400;
    color: var(--primary);
    font-size: 1.35rem;
    white-space: nowrap;
}

/* Hero Description */
.hero-description-main {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero CTA Buttons */
.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    border-radius: 14px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: visible;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    color: white;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.btn-hero-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.5);
}

.btn-glow-effect {
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    border-radius: 16px;
    opacity: 0;
    filter: blur(20px);
    transition: opacity 0.4s ease;
    z-index: -1;
}

.btn-hero-primary:hover .btn-glow-effect {
    opacity: 0.6;
    animation: pulse-glow 2s infinite;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    border: 2px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.btn-hero-secondary:hover {
    background: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: rgba(99, 102, 241, 0.3);
}

/* Modern Stats */
.hero-stats-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    max-width: 700px;
    margin: 0 auto;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    border-radius: 12px;
    color: white;
    flex-shrink: 0;
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.stat-divider-modern {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, transparent, rgba(99, 102, 241, 0.2), transparent);
}

/* Floating Orbs */
.floating-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    animation: float-orb 15s ease-in-out infinite;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #8B5CF6, #EC4899);
    top: -50px;
    right: -50px;
    animation-delay: 2s;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #EC4899, #F472B6);
    bottom: 100px;
    left: 50px;
    animation-delay: 4s;
}

.orb-4 {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, #6366F1, #3B82F6);
    bottom: -100px;
    right: 100px;
    animation-delay: 1s;
}

.orb-5 {
    width: 220px;
    height: 220px;
    background: linear-gradient(135deg, #8B5CF6, #A78BFA);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 3s;
}

@keyframes float-orb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border-medium);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-light);
}

/* ===== Hero Animations ===== */
.animate-in {
    animation: slideInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

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

/* Glow Button */
.btn-glow {
    position: relative;
    overflow: visible;
}

.btn-glow::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: var(--gradient-primary);
    border-radius: 14px;
    opacity: 0;
    filter: blur(20px);
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-glow:hover::before {
    opacity: 0.6;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* ===== Floating 3D Shapes ===== */
.floating-3d-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.shape-3d {
    position: absolute;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.15);
    animation: float3D 6s ease-in-out infinite;
}

.shape-cube {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
    transform: rotate(15deg);
}

.shape-sphere {
    top: 40%;
    right: -5%;
    border-radius: 50%;
    animation-delay: 1s;
    width: 100px;
    height: 100px;
}

.shape-pyramid {
    bottom: 30%;
    right: 15%;
    animation-delay: 2s;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.shape-torus {
    top: 60%;
    right: 25%;
    animation-delay: 3s;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    border: 8px solid rgba(236, 72, 153, 0.2);
    background: transparent;
}

@keyframes float3D {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) translateX(10px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) translateX(-10px) rotate(-5deg);
    }
    75% {
        transform: translateY(-30px) translateX(5px) rotate(3deg);
    }
}

/* ===== Hero Visual (3D Phone Mockup) ===== */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.phone-mockup {
    position: relative;
    animation: float3D 6s ease-in-out infinite;
}

@keyframes float3D {
    0%, 100% {
        transform: translateY(0) rotateY(-5deg);
    }
    50% {
        transform: translateY(-20px) rotateY(5deg);
    }
}

.phone-frame {
    position: relative;
    width: 280px;
    height: 570px;
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow:
        0 50px 100px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 24px;
    background: #1F2937;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.game-preview {
    width: 100%;
    height: 100%;
}

/* ===== Game Slider ===== */
.game-slider {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.game-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.game-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot.active {
    background: white;
    width: 24px;
    border-radius: 4px;
}

.phone-shadow {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 40px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.2) 0%, transparent 70%);
    filter: blur(20px);
}

.float-element {
    position: absolute;
    animation: floatElement 8s ease-in-out infinite;
}

.el-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.el-2 {
    bottom: 20%;
    left: -5%;
    animation-delay: 2s;
}

.el-3 {
    top: 50%;
    right: -15%;
    animation-delay: 4s;
}

@keyframes floatElement {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(0) rotate(-5deg);
    }
    75% {
        transform: translateY(-10px) rotate(3deg);
    }
}

/* ===== Scroll Indicator ===== */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-tertiary);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--text-tertiary);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-tertiary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

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

/* ===== Games Section ===== */
.games-section {
    padding: 8rem 0;
    background: linear-gradient(to bottom, #f8fafc, #ffffff);
    position: relative;
}

.featured-game-showcase {
    display: grid;
    grid-template-columns: 480px 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
}

/* Game Phone Mockup */
.game-phone-mockup {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1500px;
}

.game-phone-mockup .phone-mockup {
    transform: scale(1.1);
    animation: float-phone 3s ease-in-out infinite;
}

@keyframes float-phone {
    0%, 100% {
        transform: scale(1.1) translateY(0);
    }
    50% {
        transform: scale(1.1) translateY(-15px);
    }
}

/* Game Showcase Content */
.game-showcase-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.game-info-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
}

.game-icon-large {
    flex-shrink: 0;
}

.game-title-group {
    flex: 1;
}

.game-title-large {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.game-category {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.game-badges {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.badge-featured,
.badge-new {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.badge-featured {
    background: linear-gradient(135deg, #FFF7ED, #FFEDD5);
    color: #EA580C;
    border: 1px solid #FDBA74;
}

.badge-new {
    background: linear-gradient(135deg, #FEF2F2, #FEE2E2);
    color: #DC2626;
    border: 1px solid #FCA5A5;
}

.game-description-large {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.game-features h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.features-list {
    list-style: none;
    display: grid;
    gap: 1rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--text-secondary);
}

.features-list svg {
    flex-shrink: 0;
}

.game-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.game-stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.game-stat-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-box-icon {
    font-size: 2rem;
}

.stat-box-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-box-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    text-align: center;
}

.game-cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-game {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-game-primary {
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    color: white;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

.btn-game-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(99, 102, 241, 0.4);
}

.btn-game-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border-medium);
}

.btn-game-secondary:hover {
    background: var(--bg-tertiary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

/* ===== Section Common Styles ===== */
section {
    position: relative;
    padding: 6rem 0;
}

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

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Games Section ===== */
.games-section {
    background: var(--bg-secondary);
}

.featured-game {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 3rem;
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-xl);
    margin-bottom: 4rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-game:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-2xl);
}

.game-image {
    position: relative;
}

.game-icon {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: translateZ(0);
    transition: transform 0.3s ease;
}

.featured-game:hover .game-icon {
    transform: scale(1.02) rotateY(5deg);
}

.game-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.game-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
    border: 1px solid #FDBA74;
    border-radius: 100px;
    width: fit-content;
    font-size: 0.875rem;
    font-weight: 600;
    color: #EA580C;
}

.game-badge svg {
    fill: #EA580C;
}

.game-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.game-category {
    font-size: 1rem;
    color: var(--text-tertiary);
    margin-top: -1rem;
}

.game-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.game-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.feature-item svg {
    flex-shrink: 0;
    stroke: var(--success);
}

.game-meta {
    display: flex;
    gap: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.game-actions {
    display: flex;
    gap: 1rem;
}

/* ===== Upcoming Games ===== */
.upcoming-games {
    margin-top: 4rem;
}

.upcoming-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.upcoming-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.upcoming-card {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.upcoming-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.upcoming-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 20px;
    color: var(--text-tertiary);
}

.upcoming-card h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.upcoming-card p {
    color: var(--text-tertiary);
}

/* ===== About Section ===== */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-story {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.main-story {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.story-content h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.story-content h3:first-child {
    margin-top: 0;
}

.story-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.story-content .brand-name {
    font-family: var(--font-logo);
    font-weight: 400;
    color: var(--primary);
}

.story-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-light);
}

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

.story-stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.story-stat-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.stat-box {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ===== Brands Section ===== */
.brands-section {
    background: var(--bg-secondary);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.brand-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.brand-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.brand-card.active {
    border: 2px solid var(--primary);
}

.brand-card.active::before {
    opacity: 1;
}

.brand-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

.brand-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

.brand-card h3 {
    font-family: var(--font-logo);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.brand-tagline {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.brand-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.brand-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border-radius: 100px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.brand-link:hover {
    gap: 0.75rem;
}

/* ===== Contact Section ===== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-top: -0.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
}

.contact-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin-bottom: 0.25rem;
}

.contact-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--bg-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* ===== Contact Form ===== */
.contact-form {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-xl);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font-primary);
    color: var(--text-primary);
    transition: all 0.3s ease;
    background: var(--bg-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.full-width {
    width: 100%;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    gap: 1rem;
}

.footer-logo {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

.footer-logo-text {
    font-family: var(--font-logo);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.footer-tagline {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

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

.footer-column a {
    display: block;
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

/* ===== Notification ===== */
#notification-container {
    position: fixed;
    top: 100px;
    right: 2rem;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.notification {
    background: white;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 300px;
    animation: slideIn 0.3s ease;
}

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

.notification.success {
    border-left: 4px solid var(--success);
}

.notification.error {
    border-left: 4px solid #EF4444;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero-title-3d {
        font-size: clamp(2.5rem, 7vw, 4rem);
    }

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

    .stat-divider-modern {
        width: 100%;
        height: 1px;
    }

    .floating-orbs {
        display: none;
    }

    .featured-game-showcase {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .game-phone-mockup {
        order: -1;
    }

    .game-phone-mockup .phone-mockup {
        transform: scale(1);
    }

    .game-info-header {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .game-badges {
        flex-direction: row;
    }

    .game-stats-grid {
        grid-template-columns: 1fr;
    }

    .game-cta-buttons {
        justify-content: center;
    }

    .featured-game {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .cta-btn {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }

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

    .game-actions {
        flex-direction: column;
    }

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

    .story-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 640px) {
    section {
        padding: 4rem 0;
    }

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

    .hero-title-3d {
        font-size: clamp(2rem, 9vw, 3rem);
        gap: 0.5rem;
    }

    .hero-description-main {
        font-size: 1rem;
    }

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

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

    .hero-stats-modern {
        padding: 1.5rem;
    }

    .stat-card {
        flex-direction: column;
        text-align: center;
    }

    .game-phone-mockup .phone-mockup {
        transform: scale(0.85);
    }

    .phone-frame {
        width: 240px;
        height: 480px;
    }

    .game-title-large {
        font-size: 2rem;
    }

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

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

    .featured-game,
    .main-story,
    .contact-form {
        padding: 2rem;
    }

    .brand-card {
        padding: 2rem;
    }

    .story-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .story-stat-number {
        font-size: 2rem;
    }
}

/* ===== Smooth Animations ===== */
[data-parallax] {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== Print Styles ===== */
@media print {
    .navbar,
    .scroll-indicator,
    .hero-visual,
    .float-element,
    #notification-container {
        display: none;
    }
}
