/* Reset and Base Styles */
:root {
    --gameon-orange: #ff5722;
    --gameon-orange-light: #ff8a65;
    --gameon-orange-dark: #d84315;
    --gameon-orange-50: rgba(255, 87, 34, 0.05);
    --gameon-orange-100: rgba(255, 87, 34, 0.1);
    --gameon-orange-200: rgba(255, 87, 34, 0.2);
    --gameon-orange-300: rgba(255, 87, 34, 0.3);
    --gameon-orange-500: rgba(255, 87, 34, 0.5);
    --gameon-gradient: linear-gradient(135deg, #ff5722, #ff8a65);
    --gameon-gradient-reverse: linear-gradient(135deg, #ff8a65, #ff5722);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2rem;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.brand-banner {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.brand-banner:hover {
    transform: scale(1.05);
}

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

.nav-link, .filter-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.nav-link::before, .filter-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.nav-link:hover::before, .filter-toggle:hover::before {
    left: 100%;
}

.nav-link:hover, .filter-toggle:hover {
    background: var(--gameon-orange-100);
    border-color: var(--gameon-orange-200);
    color: var(--gameon-orange);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--gameon-orange-200);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: #64748b;
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid #e2e8f0;
    padding: 2rem;
    display: none;
    flex-direction: column;
    gap: 1rem;
    z-index: 999;
}

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

.mobile-nav-link, .mobile-filter-toggle {
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    text-align: left;
    padding: 1rem 0;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    background: var(--gameon-orange-50);
    color: var(--gameon-orange);
    padding-left: 1rem;
}

.mobile-filter-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    background: #f1f5f9;
    border: 2px solid #e2e8f0;
    padding: 1rem;
    margin-top: 1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    padding-top: 120px;
    background: 
        linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 25%, rgba(6, 182, 212, 0.1) 50%, rgba(168, 85, 247, 0.1) 75%, rgba(99, 102, 241, 0.1) 100%),
        radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.05) 0%, transparent 70%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    color: #1e293b;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(6, 182, 212, 0.06) 0%, transparent 50%),
        conic-gradient(from 0deg at 50% 50%, rgba(99, 102, 241, 0.03) 0deg, rgba(6, 182, 212, 0.03) 120deg, rgba(139, 92, 246, 0.03) 240deg, rgba(99, 102, 241, 0.03) 360deg);
    animation: heroFloat 30s ease-in-out infinite;
    filter: blur(0.5px);
}

@keyframes heroFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1); 
        opacity: 0.6;
    }
    33% { 
        transform: translateY(-15px) rotate(0.5deg) scale(1.02); 
        opacity: 0.8;
    }
    66% { 
        transform: translateY(-10px) rotate(-0.5deg) scale(0.98); 
        opacity: 0.7;
    }
}

/* Floating Background Animation */
.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

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

.floating-shape.shape-1 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.floating-shape.shape-2 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #06b6d4, #0ea5e9);
    top: 70%;
    right: 20%;
    animation-delay: 5s;
    animation-duration: 30s;
}

.floating-shape.shape-3 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    top: 30%;
    right: 10%;
    animation-delay: 10s;
    animation-duration: 20s;
}

.floating-shape.shape-4 {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #10b981, #06b6d4);
    bottom: 20%;
    left: 20%;
    animation-delay: 15s;
    animation-duration: 35s;
}

.floating-shape.shape-5 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    top: 50%;
    left: 5%;
    animation-delay: 8s;
    animation-duration: 28s;
}

.floating-shape.shape-6 {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #7c3aed, #3b82f6);
    bottom: 10%;
    right: 30%;
    animation-delay: 12s;
    animation-duration: 22s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0.1;
    }
    33% {
        transform: translateY(-30px) translateX(20px) rotate(120deg);
        opacity: 0.2;
    }
    66% {
        transform: translateY(-15px) translateX(-15px) rotate(240deg);
        opacity: 0.15;
    }
}

@keyframes pulseGlow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.3); 
    }
    50% { 
        box-shadow: 0 0 40px rgba(99, 102, 241, 0.6); 
    }
}

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    animation: fadeInUp 1s ease-out;
    color: #1e293b;
}

.hero-subtitle {
    display: block;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--gameon-orange);
    font-weight: 200;
    letter-spacing: -0.01em;
}

.hero-description {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 3rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    animation: fadeInUp 1s ease-out 0.3s both;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.product-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 3rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(99, 102, 241, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    cursor: pointer;
    user-select: none;
}

.product-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.product-badge:hover::before {
    left: 100%;
}

.product-badge:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 16px 48px rgba(99, 102, 241, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.product-badge:active {
    transform: translateY(-2px) scale(1.01);
    transition: all 0.1s ease;
}

.badge-icon {
    font-size: 1.5rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.badge-icon svg {
    width: 20px;
    height: 20px;
    color: #1e293b;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: all 0.3s ease;
}

.product-badge:hover .badge-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.product-badge:hover .badge-icon svg {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    color: #1e293b;
}

.story-launch-btn {
    background: var(--gameon-gradient);
    color: white;
    border: none;
    padding: 1.5rem 3rem;
    border-radius: 3rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 16px 40px var(--gameon-orange-300),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: fadeInUp 1s ease-out 0.9s both;
}

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

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

.story-launch-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 24px 60px var(--gameon-orange-500),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: buttonPulse 2s infinite;
}

.story-launch-btn svg {
    transition: all 0.3s ease;
}

.story-launch-btn:hover svg {
    transform: scale(1.2);
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.3));
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 
            0 24px 60px var(--gameon-orange-300),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 
            0 24px 60px var(--gameon-orange-500),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }
}

/* Roadmap Navigation Buttons */
.roadmap-btn {
    background: rgba(255, 255, 255, 0.9);
    color: #1e293b;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 2rem;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: fadeInUp 1s ease-out 0.9s both;
    margin: 0 0.5rem;
}

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

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

.connect-btn {
    border-color: var(--gameon-orange-200);
}

.connect-btn:hover {
    background: var(--gameon-gradient);
    color: white;
    border-color: var(--gameon-orange-300);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px var(--gameon-orange-300);
}

.operate-btn {
    border-color: rgba(34, 197, 94, 0.3);
}

.operate-btn:hover {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    border-color: rgba(34, 197, 94, 0.6);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(34, 197, 94, 0.3);
}

.roadmap-btn svg {
    transition: all 0.3s ease;
}

.roadmap-btn:hover svg {
    transform: scale(1.1);
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.3));
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* Timeline Section */
.timeline-section {
    padding: 8rem 0;
    background: 
        linear-gradient(135deg, rgba(248, 250, 252, 0.8) 0%, rgba(255, 255, 255, 0.9) 100%),
        radial-gradient(circle at 30% 70%, var(--gameon-orange-50) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 138, 101, 0.05) 0%, transparent 50%);
    position: relative;
}

.timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 49%, rgba(255, 87, 34, 0.02) 50%, transparent 51%),
        linear-gradient(-45deg, transparent 49%, rgba(255, 138, 101, 0.02) 50%, transparent 51%);
    background-size: 60px 60px;
    opacity: 0.5;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gameon-gradient);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-phase {
    position: relative;
    margin-bottom: 4rem;
    cursor: pointer;
}

.timeline-phase:nth-child(even) {
    text-align: right;
}

.timeline-phase:nth-child(even) .phase-content {
    margin-left: auto;
    margin-right: 3rem;
}

.timeline-phase:nth-child(odd) .phase-content {
    margin-right: auto;
    margin-left: 3rem;
}

.phase-marker {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    border: 3px solid white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.phase-marker.connect {
    background: var(--gameon-orange);
}

.phase-marker.operate {
    background: var(--gameon-orange-light);
}

.phase-content {
    width: 45%;
    padding: 2rem;
}

.phase-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 
        0 8px 32px rgba(99, 102, 241, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.phase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #6366f1 0%, #06b6d4 100%);
    transition: width 0.4s ease;
}

.connect-phase .phase-card::before {
    background: linear-gradient(180deg, #6366f1 0%, #8b5cf6 100%);
}

.operate-phase .phase-card::before {
    background: linear-gradient(180deg, #06b6d4 0%, #0ea5e9 100%);
}

.phase-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(99, 102, 241, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.9);
}

.phase-card:hover::before {
    width: 8px;
}

.phase-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.phase-timeframe {
    font-size: 0.875rem;
    color: var(--gameon-orange);
    font-weight: 600;
    margin-bottom: 1rem;
}

.phase-description {
    color: #64748b;
    font-size: 0.95rem;
}

/* Roadmaps Section */
.roadmaps-section {
    padding: 8rem 0;
    background: 
        linear-gradient(180deg, #ffffff 0%, rgba(248, 250, 252, 0.8) 100%),
        radial-gradient(circle at 20% 80%, var(--gameon-orange-50) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 138, 101, 0.03) 0%, transparent 50%);
    position: relative;
}

.roadmaps-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25px 25px, rgba(255, 87, 34, 0.03) 2px, transparent 0),
        radial-gradient(circle at 75px 75px, rgba(255, 138, 101, 0.03) 2px, transparent 0);
    background-size: 100px 100px;
    background-position: 0 0, 50px 50px;
}

.roadmap-container {
    margin-bottom: 5rem;
    padding: 4rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 20px 60px var(--gameon-orange-100),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
}

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

.product-icon {
    width: 64px;
    height: 64px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.product-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.product-icon:hover::before {
    transform: translateX(100%);
}

.product-icon:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.product-icon svg {
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.product-icon:hover svg {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.product-icon.connect {
    background: var(--gameon-gradient);
    box-shadow: 0 10px 25px var(--gameon-orange-300);
}

.product-icon.connect:hover {
    background: var(--gameon-gradient-reverse);
    box-shadow: 0 15px 35px var(--gameon-orange-500);
}

.product-icon.operate {
    background: linear-gradient(135deg, var(--gameon-orange-dark), var(--gameon-orange), var(--gameon-orange-light));
    box-shadow: 0 10px 25px var(--gameon-orange-300);
}

.product-icon.operate:hover {
    background: linear-gradient(135deg, var(--gameon-orange), var(--gameon-orange-light), var(--gameon-orange-dark));
    box-shadow: 0 15px 35px var(--gameon-orange-500);
}

.roadmap-title h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.roadmap-title p {
    color: #64748b;
    font-size: 1rem;
}

.roadmap-phases {
    display: grid;
    gap: 2rem;
}

.roadmap-phase {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px) saturate(180%);
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 
        0 8px 32px var(--gameon-orange-100),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.roadmap-phase::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--gameon-orange-100), transparent);
    transition: left 0.6s;
}

.roadmap-phase:hover::before {
    left: 100%;
}

.roadmap-phase:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 
        0 16px 48px var(--gameon-orange-200),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.95);
}

.phase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.phase-features {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.feature-item {
    padding: 1.5rem;
    background: rgba(248, 250, 252, 0.7);
    backdrop-filter: blur(8px);
    border-radius: 1rem;
    border: 1px solid var(--gameon-orange-100);
    font-size: 0.9rem;
    color: #475569;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #6366f1 0%, #06b6d4 100%);
    transition: width 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(8px);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
}

.feature-item:hover::before {
    width: 8px;
}

/* Story Mode Styles - Ultra Modern & Sleek */
.story-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    color: white;
    overflow: hidden;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.story-overlay.active {
    display: block;
    animation: storyOverlayEnter 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dynamic Background Layers */
.story-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.9;
    transition: all 1.2s ease-in-out;
}

.story-bg-primary {
    background: radial-gradient(circle at 20% 80%, var(--gameon-orange) 0%, var(--gameon-orange-dark) 50%, #1a1a2e 100%);
    animation: gradientShift 8s ease-in-out infinite alternate;
}

.story-bg-secondary {
    background: linear-gradient(45deg, 
        transparent 0%, 
        var(--gameon-orange-100) 25%, 
        rgba(255, 138, 101, 0.15) 50%, 
        var(--gameon-orange-200) 75%, 
        transparent 100%);
    animation: gradientFloat 6s ease-in-out infinite alternate-reverse;
}

/* Floating Particles */
.story-bg-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.6;
}

.story-bg-particles::before,
.story-bg-particles::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: particleFloat 4s linear infinite;
}

.story-bg-particles::before {
    top: 20%;
    left: 10%;
    animation-delay: -1s;
    box-shadow: 
        100px 200px 0 rgba(255, 255, 255, 0.6),
        200px 100px 0 var(--gameon-orange-300),
        300px 300px 0 rgba(255, 138, 101, 0.7),
        400px 50px 0 rgba(255, 255, 255, 0.5),
        500px 250px 0 var(--gameon-orange-200);
}

.story-bg-particles::after {
    top: 60%;
    left: 70%;
    animation-delay: -2s;
    box-shadow: 
        -100px -200px 0 rgba(255, 255, 255, 0.4),
        -200px -100px 0 var(--gameon-orange-300),
        -300px -300px 0 rgba(255, 138, 101, 0.5),
        -400px -50px 0 rgba(255, 255, 255, 0.7),
        -500px -250px 0 var(--gameon-orange-200);
}

/* Floating Shapes */
.story-floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    animation: floatShape 12s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 70%;
    right: 10%;
    animation-delay: -3s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    top: 40%;
    left: 80%;
    animation-delay: -6s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: -9s;
}

/* Close Button */
.story-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    backdrop-filter: blur(20px);
}

.story-close:hover {
    background: var(--gameon-orange-200);
    border-color: var(--gameon-orange);
    transform: scale(1.15) rotate(90deg);
    box-shadow: 
        0 0 30px var(--gameon-orange-300),
        0 0 60px var(--gameon-orange-200);
}

/* Story Container */
.story-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    perspective: 1000px;
}

.story-container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 40%, var(--gameon-orange-100) 0%, transparent 70%),
        radial-gradient(circle at 70% 60%, rgba(255, 138, 101, 0.1) 0%, transparent 70%);
    animation: parallaxFloat 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes parallaxFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
    }
    25% {
        transform: translateY(-20px) translateX(10px) scale(1.05);
    }
    50% {
        transform: translateY(0px) translateX(-10px) scale(0.95);
    }
    75% {
        transform: translateY(15px) translateX(5px) scale(1.02);
    }
}

.story-content {
    flex: 1;
    padding: 5rem 2rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
    transform-style: preserve-3d;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.story-content.transitioning {
    transform: translateZ(-50px) rotateY(5deg);
    opacity: 0.7;
    filter: blur(2px);
}

/* Story Header */
.story-header {
    margin-bottom: 3rem;
    animation: slideUpFade 0.8s ease-out;
}

.story-phase-indicator {
    display: inline-block;
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.8);
}

.story-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 4px 8px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(255, 255, 255, 0.2);
    line-height: 1.1;
}

.story-timeframe {
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: 400;
    margin-bottom: 0;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 4px 8px rgba(0, 0, 0, 0.4);
}

/* Story Narrative */
.story-narrative-container {
    margin-bottom: 4rem;
    animation: slideUpFade 0.8s ease-out 0.2s both;
}

.story-narrative {
    font-size: 1.375rem;
    line-height: 1.8;
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.9),
        0 4px 8px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(25px) saturate(120%);
    padding: 2.5rem;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.story-narrative::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gameon-gradient);
    border-radius: inherit;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.5s ease;
}

.story-narrative:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 30px var(--gameon-orange-200);
}

.story-narrative:hover::before {
    opacity: 0.3;
}

/* Story Features */
.story-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    animation: storyMorphIn 1s ease-out 0.4s both;
}

.story-feature {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(30px) saturate(120%);
    padding: 2.5rem;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.story-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        var(--gameon-orange-100), 
        transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.story-feature::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gameon-gradient);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.story-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #06b6d4, #10b981);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.story-feature:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-12px) scale(1.03);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.6),
        0 0 40px var(--gameon-orange-200),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: var(--gameon-orange);
}

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

.story-feature:hover::after {
    opacity: 1;
}

.story-feature:hover .story-feature-title {
    color: var(--gameon-orange-light);
    transform: translateY(-2px);
}

.story-feature:hover .story-feature-description {
    transform: translateY(-1px);
}

.story-feature.featured {
    animation: cinematicGlow 3s ease-in-out infinite;
}

.story-feature:hover::before {
    opacity: 1;
}

.story-feature-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 4px 8px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.story-feature-description {
    color: #ffffff;
    line-height: 1.7;
    font-weight: 400;
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.8),
        0 2px 4px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

/* Progress Section */
.story-progress-section {
    margin-bottom: 3rem;
    animation: slideUpFade 0.8s ease-out 0.6s both;
}

.story-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.story-progress-fill {
    height: 100%;
    background: var(--gameon-gradient);
    border-radius: 3px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px var(--gameon-orange-500);
}

.story-progress-text {
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 500;
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.8),
        0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Navigation */
.story-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    bottom: 0;
    z-index: 20;
}

.story-nav-btn {
    position: relative;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    overflow: hidden;
    min-width: 140px;
    justify-content: center;
}

.nav-btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gameon-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.story-nav-btn:hover .nav-btn-bg {
    opacity: 1;
}

.story-nav-btn:hover {
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.story-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.story-nav-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Story Indicators */
.story-indicators {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.story-indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.story-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--gameon-gradient);
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.story-indicator.active {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.3);
}

.story-indicator.active::before {
    width: 100%;
    height: 100%;
    box-shadow: 0 0 25px var(--gameon-orange-300);
}

.story-indicator:hover:not(.active) {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

/* Animations */
@keyframes storyOverlayEnter {
    from {
        opacity: 0;
        transform: scale(1.1);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

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

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.5;
    }
}

@keyframes floatShape {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-15px) rotate(120deg);
    }
    66% {
        transform: translateY(10px) rotate(240deg);
    }
}

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

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes storyMorphIn {
    from {
        opacity: 0;
        transform: translateY(60px) rotateX(15deg) scale(0.9);
        filter: blur(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0deg) scale(1);
        filter: blur(0);
    }
}

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

@keyframes cinematicGlow {
    0%, 100% {
        box-shadow: 
            0 0 20px var(--gameon-orange-200),
            0 0 40px var(--gameon-orange-100),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 
            0 0 30px var(--gameon-orange-300),
            0 0 60px var(--gameon-orange-200),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
}

/* Filter States */
.filter-connect .operate-roadmap,
.filter-connect .operate-phase {
    display: none;
}

.filter-operate .connect-roadmap,
.filter-operate .connect-phase {
    display: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0.75rem 1rem;
        height: 60px;
    }
    
    .brand-banner {
        height: 40px;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .mobile-menu {
        top: 60px;
    }
    
    .hero {
        padding: 2rem 1rem;
        padding-top: 140px;
        min-height: 90vh;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .roadmap-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        margin: 0;
        width: 100%;
        max-width: 280px;
    }
    
    .timeline-line {
        left: 2rem;
    }
    
    .timeline-phase {
        margin-bottom: 3rem;
    }
    
    .timeline-phase:nth-child(even) {
        text-align: left;
    }
    
    .timeline-phase:nth-child(even) .phase-content,
    .timeline-phase:nth-child(odd) .phase-content {
        width: calc(100% - 4rem);
        margin-left: 4rem;
        margin-right: 0;
    }
    
    .phase-marker {
        left: 2rem;
    }
    
    .roadmap-container {
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }
    
    .roadmap-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    /* Mobile Story Mode Optimizations */
    .story-content {
        padding: 3rem 1.5rem 1rem;
        max-width: 100%;
    }
    
    .story-phase-indicator {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
        margin-bottom: 1rem;
    }
    
    .story-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
        line-height: 1.1;
        margin-bottom: 0.75rem;
    }
    
    .story-timeframe {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
    }
    
    .story-narrative {
        font-size: 1.125rem;
        line-height: 1.7;
        padding: 1.5rem;
        border-radius: 1.25rem;
        margin-bottom: 2rem;
    }
    
    .story-features {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-bottom: 2rem;
    }
    
    .story-feature {
        padding: 1.5rem;
        border-radius: 1rem;
    }
    
    .story-feature-title {
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
    }
    
    .story-feature-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .story-progress-section {
        margin-bottom: 2rem;
    }
    
    .story-progress-bar {
        height: 8px;
        margin-bottom: 0.75rem;
    }
    
    .story-progress-text {
        font-size: 0.8rem;
    }
    
    /* Navigation styles handled by main clean CSS above */
    
    .story-nav-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
        min-width: 100px;
        gap: 0.5rem;
        border-radius: 40px;
    }
    
    .story-indicators {
        gap: 0.5rem;
        max-width: 120px;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .story-indicators::-webkit-scrollbar {
        display: none;
    }
    
    .story-indicator {
        width: 10px;
        height: 10px;
        flex-shrink: 0;
    }
    
    .story-close {
        top: 1rem;
        right: 1rem;
        width: 44px;
        height: 44px;
        backdrop-filter: blur(30px);
        background: rgba(0, 0, 0, 0.6);
        border: 2px solid rgba(255, 255, 255, 0.3);
    }
    
    /* Mobile Touch Interactions */
    .story-feature {
        transition: all 0.2s ease;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    
    .story-feature:active {
        transform: scale(0.98);
        background: rgba(255, 255, 255, 0.15);
    }
    
    .story-nav-btn:active {
        transform: scale(0.95);
    }
    
    .story-indicator:active {
        transform: scale(1.4);
    }
    
    /* Hide floating shapes on mobile for performance */
    .story-floating-shapes {
        display: none;
    }
    
    /* Optimize particles for mobile */
    .story-bg-particles {
        opacity: 0.3;
    }
    
    .story-bg-particles::before,
    .story-bg-particles::after {
        animation-duration: 6s;
    }
    
    /* Mobile-specific Story Animations */
    .story-content {
        animation: mobileSlideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .story-header {
        animation: mobileHeaderFade 0.8s ease-out 0.2s both;
    }
    
    .story-narrative-container {
        animation: mobileContentSlide 0.8s ease-out 0.4s both;
    }
    
    .story-features {
        animation: mobileFeatureStagger 0.8s ease-out 0.6s both;
    }
    
    .story-feature:nth-child(1) { animation-delay: 0.1s; }
    .story-feature:nth-child(2) { animation-delay: 0.2s; }
    .story-feature:nth-child(3) { animation-delay: 0.3s; }
    .story-feature:nth-child(4) { animation-delay: 0.4s; }
    
    /* Smooth page transitions */
    .story-overlay.active .story-content {
        animation: mobileStoryEnter 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
}

/* Mobile Animation Keyframes */
@keyframes mobileSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes mobileHeaderFade {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

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

@keyframes mobileStoryEnter {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(100px);
    }
    60% {
        opacity: 0.8;
        transform: scale(1.02) translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0.75rem;
        height: 60px;
    }
    
    .mobile-menu {
        top: 60px;
        padding: 1rem;
    }
    
    .brand-text {
        font-size: 1.25rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .timeline-phase:nth-child(even) .phase-content,
    .timeline-phase:nth-child(odd) .phase-content {
        width: calc(100% - 3rem);
        margin-left: 3rem;
    }
    
    .phase-marker {
        left: 1.5rem;
    }
    
    .timeline-line {
        left: 1.5rem;
    }
    
    /* Ultra-small mobile optimizations for story mode */
    .story-content {
        padding: 2rem 1rem 1rem;
    }
    
    .story-title {
        font-size: clamp(1.75rem, 9vw, 2.5rem);
        margin-bottom: 0.5rem;
    }
    
    .story-timeframe {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .story-narrative {
        font-size: 1rem;
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .story-feature {
        padding: 1.25rem;
    }
    
    .story-feature-title {
        font-size: 1rem;
    }
    
    .story-feature-description {
        font-size: 0.875rem;
    }
    
    .story-navigation {
        padding: 1rem;
    }
    
    .story-nav-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.8rem;
        min-width: 80px;
    }
    
    .story-close {
        width: 40px;
        height: 40px;
        top: 0.75rem;
        right: 0.75rem;
    }
    
    /* Add visual hint for swipe gestures */
    .story-overlay::after {
        content: 'Swipe left/right to navigate';
        position: fixed;
        bottom: 140px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, 0.7);
        color: rgba(255, 255, 255, 0.8);
        padding: 0.5rem 1rem;
        border-radius: 20px;
        font-size: 0.75rem;
        z-index: 100;
        opacity: 0;
        animation: swipeHintFade 4s ease-in-out 1s;
    }
}

@keyframes swipeHintFade {
    0%, 90% { opacity: 0; }
    20%, 70% { opacity: 1; }
}

/* ========================================
   STORY MODE V3 - MOBILE-FIRST REBUILD
   ======================================== */

/* Story Overlay - Mobile-optimized container */
.story-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.95) 0%, 
        rgba(0, 0, 0, 0.9) 50%, 
        rgba(26, 26, 26, 0.95) 100%);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.story-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Close Button - Fixed to viewport */
.story-close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    backdrop-filter: blur(10px);
}

.story-close:hover {
    background: var(--gameon-orange);
    border-color: var(--gameon-orange);
    transform: scale(1.1);
}

/* Story Content Area - Scrollable middle section */
.story-content-area {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 2rem 2rem 120px 2rem; /* Extra bottom padding to clear footer */
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    /* Ensure content area can scroll */
    height: calc(100vh - 100px); /* Account for footer height */
    touch-action: pan-y; /* Allow vertical scrolling */
}

/* Story Footer - Fixed to viewport bottom */
.story-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(30px);
    padding: 1.5rem 2rem;
    z-index: 10001;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
}

/* Progress Container */
.story-progress-container {
    margin-bottom: 3rem;
    text-align: center;
}

.story-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.story-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gameon-orange), var(--gameon-orange-light));
    border-radius: 3px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px var(--gameon-orange);
}

.story-progress-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Main Content */
.story-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    padding: 2rem 0;
    min-height: 100vh; /* Ensure content is tall enough to scroll */
}

.story-phase {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.story-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.story-timeframe {
    font-size: 1.2rem;
    color: var(--gameon-orange-light);
    font-weight: 600;
    margin-bottom: 2rem;
}

.story-narrative {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Story Image Container */
.story-image-container {
    margin: 3rem 0;
    text-align: center;
}

.story-image-wrapper {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.story-image-wrapper:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.story-image {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-height: 500px;
    object-fit: contain;
}

.story-image-caption {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Features Section */
.story-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem; /* Extra space for footer clearance */
}

.story-feature {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    text-align: left;
}

.story-feature:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.story-feature.featured {
    background: rgba(255, 130, 37, 0.2);
    border-color: var(--gameon-orange);
    box-shadow: 0 0 20px rgba(255, 130, 37, 0.3);
}

.story-feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
}

.story-feature-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

/* Navigation - Inside fixed footer */
.story-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    gap: 1rem;
}

.story-nav-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    min-width: 120px;
    justify-content: center;
}

.story-nav-btn:hover {
    background: var(--gameon-orange);
    border-color: var(--gameon-orange);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 130, 37, 0.4);
}

.story-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.story-nav-btn:disabled:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: none;
}

/* Story Dots */
.story-dots {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

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

.story-dot.active {
    background: var(--gameon-orange);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--gameon-orange);
}

.story-dot:hover {
    background: var(--gameon-orange-light);
    transform: scale(1.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .story-container {
        padding: 1rem 1rem 140px 1rem;
    }
    
    .story-close {
        top: 1rem;
        right: 1rem;
        width: 44px;
        height: 44px;
    }
    
    .story-content {
        padding: 1rem 0;
    }
    
    .story-title {
        font-size: clamp(1.5rem, 8vw, 2.5rem);
    }
    
    .story-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .story-navigation {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }
    
    .story-nav-btn {
        flex: 1;
        min-width: 100px;
        max-width: 140px;
    }
    
    .story-dots {
        order: -1;
        width: 100%;
        justify-content: center;
        margin-bottom: 0.5rem;
    }
    
    .story-narrative {
        padding: 1.5rem;
        font-size: 1rem;
    }
    
    .story-content-area {
        padding-bottom: 160px; /* Extra padding on mobile for footer clearance */
    }
    
    .story-features {
        margin-bottom: 2rem; /* Reduced for mobile */
    }
    
    .story-image-wrapper {
        padding: 1rem;
    }
    
    .story-image {
        max-height: 300px; /* Smaller on mobile */
    }
    
    .story-image-container {
        margin: 2rem 0; /* Reduced margin on mobile */
    }
}
/* Coming Soon Styles */
.coming-soon-container {
    padding: 4rem 2rem;
    text-align: center;
}

.coming-soon-content {
    max-width: 400px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    box-shadow: 
        0 8px 32px rgba(34, 197, 94, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.coming-soon-icon {
    color: var(--gameon-orange);
    margin-bottom: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

.coming-soon-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.coming-soon-content p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

@media (max-width: 768px) {
    .coming-soon-container {
        padding: 2rem 1rem;
    }
    
    .coming-soon-content {
        padding: 2rem 1.5rem;
    }
}
