/* ==========================================
   CSS VARIABLES & THEME
   ========================================== */

:root {
    /* Primary Colors */
    --primary-bg: #0f0f23;
    --secondary-bg: #1a1a3a;
    --tertiary-bg: #2d2d5f;
    --accent-color: #64ffda;
    --accent-secondary: #00bcd4;
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b8b8d1;
    --text-muted: #888;
    --text-accent: #64ffda;
    
    /* Interactive States */
    --hover-bg: rgba(100, 255, 218, 0.1);
    --active-bg: linear-gradient(135deg, #64ffda 0%, #00bcd4 100%);
    --border-color: rgba(100, 255, 218, 0.2);
    --border-active: rgba(100, 255, 218, 0.5);
    
    /* Spacing */
    --nav-height: 70px;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 20px;
    
    /* Shadows */
    --shadow-sm: 0 4px 15px rgba(100, 255, 218, 0.1);
    --shadow-md: 0 8px 25px rgba(100, 255, 218, 0.2);
    --shadow-lg: 0 20px 60px rgba(100, 255, 218, 0.15);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Orbitron', monospace;
    
    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark theme adjustments */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-bg: #0a0a1a;
        --secondary-bg: #141430;
        --tertiary-bg: #252550;
    }
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--primary-bg);
    overflow-x: hidden;
    padding-top: var(--nav-height);
}

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

/* ==========================================
   NAVIGATION BASE STYLES
   ========================================== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition-normal);
    height: var(--nav-height);
}

.navbar.scrolled {
    background: rgba(15, 15, 35, 0.98);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--border-active);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

.logo-icon {
    position: relative;
    width: 50px;
    height: 50px;
    cursor: pointer;
}

.logo-hexagon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #64ffda 0%, #00bcd4 50%, #0097a7 100%);
    border-radius: 12px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 15px rgba(100, 255, 218, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.logo-hexagon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #64ffda, #00bcd4, #64ffda);
    border-radius: 14px;
    z-index: -1;
    animation: rotateBorder 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo-icon:hover .logo-hexagon::before {
    opacity: 1;
}

.logo-inner {
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 35, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.logo-symbol {
    font-family: 'Orbitron', monospace;
    font-size: 16px;
    font-weight: 900;
    color: #0f0f23;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.2);
    letter-spacing: -1px;
}

.logo-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle, rgba(100, 255, 218, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -2;
    animation: pulse 2s ease-in-out infinite alternate;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo-icon:hover .logo-glow {
    opacity: 1;
}

/* Particle effect container */
.logo-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: #64ffda;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 
        10px 10px 0 -2px #64ffda,
        -10px -10px 0 -2px #00bcd4,
        10px -10px 0 -2px #64ffda,
        -10px 10px 0 -2px #00bcd4,
        20px 0 0 -3px #64ffda,
        -20px 0 0 -3px #00bcd4,
        0 20px 0 -3px #64ffda,
        0 -20px 0 -3px #00bcd4;
}

.logo-icon:hover::after {
    opacity: 0.6;
    animation: sparkle 1.5s ease-in-out infinite;
}

.brand-text-container {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-text {
    font-family: 'Orbitron', monospace;
    font-size: 24px;
    font-weight: 700;
    color: #64ffda;
    text-shadow: 
        0 0 10px rgba(100, 255, 218, 0.5),
        0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.nav-brand:hover .brand-text {
    text-shadow: 
        0 0 20px rgba(100, 255, 218, 0.8),
        0 0 30px rgba(100, 255, 218, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.3);
}

.brand-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: #00bcd4;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    margin-top: -2px;
}

/* Logo Animations */
@keyframes rotateBorder {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.05);
        opacity: 0.6;
    }
}

@keyframes sparkle {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
}

@keyframes shimmer {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Interactive hover effects */
.logo-hexagon:hover {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 
        0 8px 25px rgba(100, 255, 218, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.logo-hexagon:active {
    transform: rotate(5deg) scale(1.05);
    transition: transform 0.1s ease;
}

/* Enhanced color transitions */
.logo-hexagon {
    background-size: 200% 200%;
    animation: colorShift 6s ease-in-out infinite;
}

@keyframes colorShift {
    0%, 100% {
        background: linear-gradient(135deg, #64ffda 0%, #00bcd4 50%, #0097a7 100%);
    }
    33% {
        background: linear-gradient(135deg, #00bcd4 0%, #0097a7 50%, #64ffda 100%);
    }
    66% {
        background: linear-gradient(135deg, #0097a7 0%, #64ffda 50%, #00bcd4 100%);
    }
}

/* Logo click effect */
.logo-icon.clicked {
    animation: logoClick 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes logoClick {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2) rotate(5deg);
    }
    100% {
        transform: scale(1);
    }
}

/* Progressive enhancement for better performance */
@media (prefers-reduced-motion: no-preference) {
    .logo-hexagon {
        animation: colorShift 6s ease-in-out infinite;
    }
    
    .logo-glow {
        animation: pulse 2s ease-in-out infinite alternate;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(15, 15, 35, 0.98);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 8px 16px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.2s ease;
}

.dropdown-link:hover {
    color: #64ffda;
    background: rgba(100, 255, 218, 0.1);
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #64ffda;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #64ffda, #00bcd4);
    transition: width 0.3s ease;
}

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

.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-btn.play-web {
    background: linear-gradient(135deg, #00bcd4, #64ffda);
    color: #0f0f23;
}

.nav-btn.play-web:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.3);
}

.nav-btn.download-desktop {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-btn.download-desktop:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #64ffda;
    color: #64ffda;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-actions {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .logo-icon {
        width: 45px;
        height: 45px;
    }
    
    .logo-hexagon {
        width: 45px;
        height: 45px;
    }
    
    .logo-symbol {
        font-size: 14px;
    }
    
    .brand-text {
        font-size: 20px;
    }
    
    .brand-tagline {
        font-size: 9px;
    }
    
    .logo-container {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .brand-tagline {
        display: none;
    }
    
    .brand-text {
        font-size: 18px;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
    }
    
    .logo-hexagon {
        width: 40px;
        height: 40px;
    }
    
    .logo-symbol {
        font-size: 12px;
    }
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3a 50%, #2d2d5f 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(100, 255, 218, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    z-index: 2;
    position: relative;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.2), rgba(0, 188, 212, 0.2));
    border: 1px solid rgba(100, 255, 218, 0.3);
    border-radius: 50px;
    padding: 8px 16px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #64ffda;
}

.hero-title {
    margin-bottom: 24px;
}

.main-title {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: #64ffda;
    text-shadow: 0 0 20px rgba(100, 255, 218, 0.4);
    margin-bottom: 8px;
}

.sub-title {
    display: block;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 300;
    color: #ffffff;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.2rem;
    color: #b8b8d1;
    margin-bottom: 40px;
    line-height: 1.7;
}

/* Platform Selection Cards */
.platform-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.platform-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(100, 255, 218, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.platform-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(100, 255, 218, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.platform-card.desktop-card {
    border-left: 3px solid #64ffda;
}

.platform-card.web-card {
    border-left: 3px solid #00bcd4;
}

.platform-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 16px;
}

.platform-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.platform-header h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.recommended-badge {
    background: linear-gradient(135deg, #64ffda, #00bcd4);
    color: #0f0f23;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.instant-badge {
    background: linear-gradient(135deg, #ff9800, #ff5722);
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.platform-features {
    list-style: none;
    margin: 16px 0;
}

.platform-features li {
    color: #b8b8d1;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.platform-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.primary-btn {
    background: linear-gradient(135deg, #64ffda, #00bcd4);
    color: #0f0f23;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(100, 255, 218, 0.4);
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #64ffda;
    color: #64ffda;
}

/* Quick Stats */
.quick-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
}

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

.stat-number {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: #64ffda;
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.3);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #b8b8d1;
    margin-top: 4px;
}

/* Secondary Actions */
.secondary-actions {
    display: flex;
    gap: 16px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: transparent;
    color: #64ffda;
    border: 1px solid rgba(100, 255, 218, 0.3);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.action-btn:hover {
    background: rgba(100, 255, 218, 0.1);
    border-color: #64ffda;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease-out;
}

.game-showcase {
    position: relative;
    max-width: 500px;
    width: 100%;
}

.showcase-screen {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.showcase-image {
    width: 100%;
    height: auto;
    display: block;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.showcase-screen:hover .play-overlay {
    opacity: 1;
}

.play-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #64ffda, #00bcd4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f0f23;
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
}

.overlay-text {
    text-align: center;
    color: #ffffff;
}

.overlay-title {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.overlay-subtitle {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
}

.showcase-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(ellipse at center, rgba(100, 255, 218, 0.2) 0%, transparent 70%);
    border-radius: 50px;
    z-index: -1;
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

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

.stat-number {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: #64ffda;
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.3);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #b8b8d1;
    margin-top: 4px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(45deg, #64ffda, #00bcd4);
    color: #0f0f23;
    box-shadow: 0 4px 15px rgba(100, 255, 218, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(100, 255, 218, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #64ffda;
    border: 2px solid #64ffda;
}

.btn-secondary:hover {
    background: #64ffda;
    color: #0f0f23;
    transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
    animation: slideInRight 1s ease-out;
}

.game-preview {
    position: relative;
    perspective: 1000px;
}

.preview-screen {
    background: linear-gradient(145deg, #1a1a3a, #2d2d5f);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.preview-screen:hover {
    transform: rotateY(-10deg) rotateX(2deg);
}

.screen-content {
    background: #0f0f23;
    border-radius: 12px;
    padding: 16px;
    position: relative;
    min-height: 300px;
}

.game-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.board-hex {
    aspect-ratio: 1;
    background: linear-gradient(45deg, #64ffda, #00bcd4);
    border-radius: 8px;
    animation: hexPulse 2s ease-in-out infinite;
}

.board-hex:nth-child(even) {
    animation-delay: 0.3s;
}

.board-hex:nth-child(3n) {
    animation-delay: 0.6s;
}

.ui-overlay {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
}

.resource-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.resource {
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid rgba(100, 255, 218, 0.3);
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 0.9rem;
    color: #64ffda;
}

.score-display {
    background: linear-gradient(45deg, #64ffda, #00bcd4);
    color: #0f0f23;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    text-align: center;
    font-family: 'Orbitron', monospace;
}

/* Hero Background Effects */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(100, 255, 218, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 188, 212, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(100, 255, 218, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particles::before,
.particles::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: #64ffda;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    box-shadow: 
        10px 20px 0 #64ffda,
        20px 40px 0 #00bcd4,
        30px 10px 0 #64ffda,
        40px 60px 0 #00bcd4;
}

.particles::after {
    animation-delay: 3s;
    transform: translateX(50px);
}

/* Platform Comparison Section */
.platform-compare {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a3a 0%, #0f0f23 50%, #1a1a3a 100%);
    position: relative;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #64ffda;
    margin-bottom: 16px;
    text-shadow: 0 0 15px rgba(100, 255, 218, 0.3);
}

.section-subtitle {
    font-size: 1.2rem;
    color: #b8b8d1;
    max-width: 600px;
    margin: 0 auto;
}

.comparison-table {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.comparison-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: rgba(100, 255, 218, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-column {
    padding: 24px;
    font-weight: 600;
    color: #ffffff;
    font-size: 1.1rem;
}

.platform-column {
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.platform-icon {
    font-size: 2rem;
}

.platform-name {
    font-weight: 600;
    color: #ffffff;
    font-size: 1.1rem;
}

.platform-tag {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.platform-tag.recommended {
    background: linear-gradient(135deg, #64ffda, #00bcd4);
    color: #0f0f23;
}

.platform-tag.instant {
    background: linear-gradient(135deg, #ff9800, #ff5722);
    color: #ffffff;
}

.comparison-rows {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.comparison-row {
    display: contents;
}

.comparison-row:nth-child(even) .feature-name,
.comparison-row:nth-child(even) .feature-value {
    background: rgba(255, 255, 255, 0.02);
}

.feature-name {
    padding: 16px 24px;
    font-weight: 500;
    color: #ffffff;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-value {
    padding: 16px 24px;
    text-align: center;
    color: #b8b8d1;
    font-weight: 500;
}

.feature-value.desktop {
    color: #64ffda;
}

.feature-value.web {
    color: #00bcd4;
}

.comparison-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.comparison-btn {
    padding: 20px 32px;
    border: none;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.comparison-btn.desktop-btn {
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.1), rgba(0, 188, 212, 0.1));
}

.comparison-btn.desktop-btn:hover {
    background: linear-gradient(135deg, #64ffda, #00bcd4);
    color: #0f0f23;
    transform: translateY(-2px);
}

.comparison-btn.web-btn:hover {
    background: rgba(0, 188, 212, 0.2);
    color: #00bcd4;
    transform: translateY(-2px);
}

/* Video Section */
.video-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a3a 0%, #0f0f23 100%);
    position: relative;
}

.section-title {
    text-align: center;
    font-family: 'Orbitron', monospace;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #64ffda;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(100, 255, 218, 0.3);
}

.section-description {
    text-align: center;
    font-size: 1.2rem;
    color: #b8b8d1;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    margin-bottom: 40px;
    background: linear-gradient(145deg, #1a1a3a, #2d2d5f);
    padding: 20px;
}

.gameplay-video {
    width: 100%;
    height: auto;
    border-radius: 12px;
    background: #000;
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.video-wrapper:hover .video-overlay {
    opacity: 0.8;
}

.play-button {
    cursor: pointer;
    transition: transform 0.3s ease;
    pointer-events: all;
}

.play-button:hover {
    transform: scale(1.1);
}

.video-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.video-stat {
    background: linear-gradient(145deg, #1a1a3a, #2d2d5f);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.video-stat:hover {
    transform: translateY(-5px);
    border-color: rgba(100, 255, 218, 0.4);
}

.stat-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 8px;
}

.stat-text {
    color: #64ffda;
    font-weight: 600;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3a 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: linear-gradient(145deg, #1a1a3a, #2d2d5f);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(100, 255, 218, 0.05), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.feature-card:hover::before {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(100, 255, 218, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    color: #64ffda;
    margin-bottom: 16px;
}

.feature-description {
    color: #b8b8d1;
    line-height: 1.6;
}

/* Download Section */
.download-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a3a 0%, #0f0f23 100%);
    text-align: center;
}

.download-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 40px 0 60px;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 30px;
    background: linear-gradient(145deg, #1a1a3a, #2d2d5f);
    border: 2px solid rgba(100, 255, 218, 0.3);
    border-radius: 12px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
    min-width: 250px;
}

.download-btn:hover {
    transform: translateY(-5px);
    border-color: #64ffda;
    box-shadow: 0 15px 30px rgba(100, 255, 218, 0.2);
}

.steam-btn {
    background: linear-gradient(145deg, #1b2838, #2a475e);
    border-color: #66c0f4;
}

.steam-btn:hover {
    border-color: #66c0f4;
    box-shadow: 0 15px 30px rgba(102, 192, 244, 0.2);
}

.platform-icon {
    width: 32px;
    height: 32px;
}

.btn-content {
    text-align: left;
}

.btn-text {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
}

.btn-subtext {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 2px;
}

.system-requirements {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.system-requirements h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    color: #64ffda;
    margin-bottom: 30px;
    text-align: center;
}

.requirements-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.req-column h4 {
    color: #64ffda;
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.req-column ul {
    list-style: none;
}

.req-column li {
    color: #b8b8d1;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.req-column li::before {
    content: '•';
    color: #64ffda;
    position: absolute;
    left: 0;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 100%);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(100, 255, 218, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #64ffda;
    margin-bottom: 20px;
    font-family: 'Orbitron', monospace;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo-img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.footer-logo-text {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    color: #64ffda;
}

.footer-description {
    color: #b8b8d1;
    margin-bottom: 20px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 8px;
    color: #64ffda;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(100, 255, 218, 0.2);
    border-color: #64ffda;
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b8b8d1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #64ffda;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(100, 255, 218, 0.1);
    color: #b8b8d1;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

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

/* Responsive Design */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(15, 15, 35, 0.95);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 30px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 16px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .download-btn {
        width: 100%;
        max-width: 300px;
    }
}/* Video Preview Styles */
.video-preview {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.video-preview:hover {
    transform: scale(1.02);
}

.preview-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease;
}

.video-preview:hover .preview-thumbnail {
    filter: brightness(1.1);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease;
}

.video-preview:hover .play-overlay {
    background: rgba(0, 0, 0, 0.2);
}

.play-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    text-align: center;
    margin-bottom: 20px;
}

.play-icon {
    font-size: 4rem;
    margin-bottom: 10px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.play-text {
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.record-overlay {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 215, 0, 0.9);
    color: #000;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
}

/* Download Section Styles */
.download {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
}

.download-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.download-platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.platform-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

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

.platform-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.platform-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.platform-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #7c8df5 0%, #8b5ab8 100%);
}

.download-info {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-icon {
    font-size: 1.2rem;
}

/* Additional Games Section */
.additional-games {
    padding: 80px 0;
    background: #f8f9fa;
}

.games-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.game-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.game-thumbnail {
    margin-bottom: 20px;
}

.game-icon {
    font-size: 3rem;
    display: block;
}

.game-info h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.game-info p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.play-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Enhanced Video Controls */
.video-controls {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 10px;
}

.control-btn {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.control-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}

/* Responsive Design Improvements */
@media (max-width: 768px) {
    .play-icon {
        font-size: 3rem;
    }
    
    .play-text {
        font-size: 1rem;
    }
    
    .record-overlay {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .download-platforms {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .platform-card {
        padding: 30px 20px;
    }
    
    .download-info {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .games-preview {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Responsive Design for New Components */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .platform-selection {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .comparison-header,
    .comparison-rows {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        overflow-x: auto;
    }
    
    .comparison-actions {
        grid-template-columns: 1fr;
    }
    
    .quick-stats {
        justify-content: center;
        gap: 20px;
    }
    
    .secondary-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 90vh;
    }
    
    .hero-container {
        padding: 120px 20px 40px;
        gap: 30px;
    }
    
    .platform-card {
        padding: 20px;
    }
    
    .platform-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .quick-stats {
        gap: 16px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .comparison-table {
        margin: 0 -20px;
        border-radius: 0;
    }
    
    .navbar.mobile-open .nav-menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 15, 35, 0.98);
        backdrop-filter: blur(15px);
        padding: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        gap: 16px;
    }
    
    .navbar.mobile-open .nav-actions {
        display: flex;
        position: absolute;
        top: calc(100% + 60px);
        left: 20px;
        right: 20px;
        background: rgba(15, 15, 35, 0.98);
        backdrop-filter: blur(15px);
        padding: 20px;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        gap: 12px;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

/* Animations and Transitions */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

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

/* Animation classes */
.animate-in {
    animation: fadeInUp 0.8s ease-out;
}

.platform-card.animate-in {
    animation: fadeInUp 0.8s ease-out;
}

.platform-card:nth-child(2).animate-in {
    animation-delay: 0.2s;
}

/* Loading states */
.platform-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.platform-btn.loading .btn-icon {
    animation: pulse 1s infinite;
}

/* Performance optimizations */
.hero::before,
.platform-card::before,
.showcase-glow {
    will-change: opacity;
}

.platform-card,
.platform-btn,
.action-btn,
.nav-btn {
    will-change: transform;
}

/* Portfolio Section Styles */
.portfolio-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3a 50%, #2d2d5f 100%);
    position: relative;
}

.portfolio-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(100, 255, 218, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 188, 212, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.portfolio-stats-bar {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 40px 0 60px;
    padding: 30px;
    background: rgba(100, 255, 218, 0.05);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

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

.portfolio-stat .stat-number {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: #64ffda;
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.3);
}

.portfolio-stat .stat-label {
    display: block;
    color: #b8b8d1;
    font-size: 0.9rem;
    margin-top: 8px;
}

.games-grid-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.game-tile {
    background: linear-gradient(145deg, #1a1a3a, #2d2d5f);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.game-tile:hover {
    transform: translateY(-8px);
    border-color: rgba(100, 255, 218, 0.5);
    box-shadow: 0 20px 60px rgba(100, 255, 218, 0.15);
}

.game-tile.featured {
    grid-column: span 2;
    background: linear-gradient(145deg, #2d2d5f, #1a1a3a);
    border: 2px solid rgba(100, 255, 218, 0.4);
}

.tile-header {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #64ffda 0%, #00bcd4 100%);
}

.tile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-tile:hover .tile-image {
    transform: scale(1.1);
}

.tile-image.placeholder-dark {
    background: linear-gradient(135deg, #2d2d5f 0%, #1a1a3a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #64ffda;
}

.tile-image.placeholder-blue {
    background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.tile-image.placeholder-cyan {
    background: linear-gradient(135deg, #00acc1 0%, #00838f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.tile-image.placeholder-orange {
    background: linear-gradient(135deg, #f57c00 0%, #ef6c00 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.tile-image.placeholder-purple {
    background: linear-gradient(135deg, #8e24aa 0%, #7b1fa2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.tile-image.placeholder-red {
    background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.tile-image.placeholder-gray {
    background: linear-gradient(135deg, #616161 0%, #424242 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.tile-image.placeholder-green {
    background: linear-gradient(135deg, #43a047 0%, #2e7d32 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.tile-image.placeholder-pink {
    background: linear-gradient(135deg, #ec407a 0%, #d81b60 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.tile-image.placeholder-yellow {
    background: linear-gradient(135deg, #fdd835 0%, #f9a825 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #0f0f23;
}

.tile-image.placeholder-teal {
    background: linear-gradient(135deg, #26a69a 0%, #00897b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.tile-image.placeholder-gradient {
    background: linear-gradient(135deg, #64ffda 0%, #00bcd4 50%, #1e88e5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 700;
    color: #0f0f23;
}

.tile-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(15, 15, 35, 0.9);
    color: #64ffda;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 255, 218, 0.3);
}

.tile-badge.world-record {
    background: linear-gradient(45deg, #ff9800, #ffc107);
    color: #0f0f23;
    border: 1px solid rgba(255, 152, 0, 0.5);
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

.tile-content {
    padding: 24px;
}

.tile-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    color: #64ffda;
    margin-bottom: 8px;
}

.tile-genre {
    color: #b8b8d1;
    font-size: 0.9rem;
    margin-bottom: 12px;
    opacity: 0.8;
}

.tile-description {
    color: #b8b8d1;
    line-height: 1.5;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.tile-stats {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.tile-stat {
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid rgba(100, 255, 218, 0.3);
    color: #64ffda;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tile-cta {
    margin-top: 16px;
    color: #64ffda;
    font-weight: 600;
    font-size: 0.95rem;
}

.game-tile.more-games {
    background: linear-gradient(145deg, #2d2d5f, #3d3d7f);
    border: 2px dashed rgba(100, 255, 218, 0.4);
}

.portfolio-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
}

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

.portfolio-btn.primary {
    background: linear-gradient(45deg, #64ffda, #00bcd4);
    color: #0f0f23;
    box-shadow: 0 8px 25px rgba(100, 255, 218, 0.2);
}

.portfolio-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(100, 255, 218, 0.4);
}

.portfolio-btn.secondary {
    background: transparent;
    color: #64ffda;
    border: 2px solid #64ffda;
}

.portfolio-btn.secondary:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateY(-2px);
}

/* ==========================================
   UNIFIED NAVIGATION SYSTEM
   ========================================== */

/* Enhanced Brand Logo */
.brand-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-hexagon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #64ffda 0%, #00bcd4 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 15px rgba(100, 255, 218, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-hexagon:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(100, 255, 218, 0.5);
}

.logo-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.logo-symbol {
    font-family: 'Orbitron', monospace;
    font-size: 18px;
    font-weight: 900;
    color: #0f0f23;
    text-shadow: none;
}

.logo-glow {
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, #64ffda 0%, #00bcd4 100%);
    border-radius: 16px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.logo-icon:hover .logo-glow {
    opacity: 0.3;
    animation: pulse 2s infinite;
}

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

.brand-text-container {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-text {
    font-family: 'Orbitron', monospace;
    font-size: 22px;
    font-weight: 700;
    color: #64ffda;
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.3);
    line-height: 1;
}

.brand-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: #b8b8d1;
    opacity: 0.8;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Page Tab Navigation */
.page-tabs {
    display: flex;
    background: rgba(26, 26, 58, 0.8);
    border-radius: 12px;
    padding: 4px;
    gap: 4px;
    border: 1px solid rgba(100, 255, 218, 0.1);
    backdrop-filter: blur(10px);
}

.tab-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    min-width: 120px;
    justify-content: center;
}

.tab-link:not(.active) {
    color: #b8b8d1;
}

.tab-link:not(.active):hover {
    color: #64ffda;
    background: rgba(100, 255, 218, 0.1);
    transform: translateY(-1px);
}

.tab-link.active {
    background: linear-gradient(135deg, #64ffda 0%, #00bcd4 100%);
    color: #0f0f23;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(100, 255, 218, 0.3);
}

.tab-icon {
    font-size: 16px;
}

.tab-text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
}

/* Navigation Actions */
.nav-actions {
    display: flex;
    gap: 8px;
}

.nav-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    text-decoration: none;
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid rgba(100, 255, 218, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-action-btn:hover {
    background: rgba(100, 255, 218, 0.2);
    border-color: rgba(100, 255, 218, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(100, 255, 218, 0.2);
}

.action-icon {
    font-size: 18px;
    color: #64ffda;
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid rgba(100, 255, 218, 0.2);
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(100, 255, 218, 0.2);
    transform: translateY(-1px);
}

.hamburger-line {
    width: 22px;
    height: 2px;
    background: #64ffda;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 35, 0.98);
    backdrop-filter: blur(20px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 30px;
    max-width: 400px;
    margin: 0 auto;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(100, 255, 218, 0.2);
}

.mobile-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon.small .logo-hexagon {
    width: 40px;
    height: 40px;
}

.logo-icon.small .logo-symbol {
    font-size: 14px;
}

.mobile-brand-text {
    font-family: 'Orbitron', monospace;
    font-size: 18px;
    font-weight: 700;
    color: #64ffda;
}

.mobile-close {
    background: none;
    border: none;
    color: #b8b8d1;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.mobile-close:hover {
    color: #64ffda;
    background: rgba(100, 255, 218, 0.1);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 12px;
    text-decoration: none;
    color: #b8b8d1;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.mobile-nav-link:hover {
    color: #64ffda;
    background: rgba(100, 255, 218, 0.1);
    border-color: rgba(100, 255, 218, 0.2);
    transform: translateX(8px);
}

.mobile-nav-link.active {
    color: #0f0f23;
    background: linear-gradient(135deg, #64ffda 0%, #00bcd4 100%);
    font-weight: 600;
}

.mobile-icon {
    font-size: 20px;
    width: 28px;
    text-align: center;
}

.mobile-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
}

.mobile-nav-divider {
    height: 1px;
    background: rgba(100, 255, 218, 0.2);
    margin: 16px 0;
}

/* Genre Tabs for Games Page */
.genre-tabs-container {
    background: rgba(15, 15, 35, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
    padding: 20px 0;
    position: sticky;
    top: 70px;
    z-index: 100;
}

.genre-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.genre-tabs::-webkit-scrollbar {
    display: none;
}

.genre-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    background: rgba(26, 26, 58, 0.6);
    border: 1px solid rgba(100, 255, 218, 0.2);
    color: #b8b8d1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    min-width: fit-content;
}

.genre-tab:hover {
    background: rgba(100, 255, 218, 0.1);
    border-color: rgba(100, 255, 218, 0.3);
    color: #64ffda;
    transform: translateY(-2px);
}

.genre-tab.active {
    background: linear-gradient(135deg, #64ffda 0%, #00bcd4 100%);
    color: #0f0f23;
    border-color: transparent;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(100, 255, 218, 0.3);
}

.genre-icon {
    font-size: 16px;
}

.genre-name {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

/* Tablet Styles */
@media (max-width: 1024px) {
    .page-tabs {
        display: none;
    }
    
    .nav-actions {
        gap: 6px;
    }
    
    .nav-action-btn {
        width: 40px;
        height: 40px;
    }
    
    .games-grid-preview {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .game-tile.featured {
        grid-column: span 1;
    }
    
    .portfolio-stats-bar {
        gap: 40px;
        margin: 30px 0 50px;
        padding: 25px;
    }
    
    .genre-tabs {
        padding: 4px;
        gap: 4px;
    }
    
    .genre-tab {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .genre-icon {
        font-size: 14px;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Navigation */
    .nav-container {
        padding: 0 16px;
    }
    
    .page-tabs {
        display: none;
    }
    
    .nav-actions {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Logo adjustments for mobile */
    .logo-hexagon {
        width: 42px;
        height: 42px;
    }
    
    .logo-symbol {
        font-size: 16px;
    }
    
    .brand-text {
        font-size: 18px;
    }
    
    .brand-subtitle {
        font-size: 10px;
    }
    
    /* Genre tabs mobile */
    .genre-tabs-container {
        padding: 16px 0;
        top: 70px;
    }
    
    .genre-tabs {
        padding: 8px 16px;
        gap: 8px;
    }
    
    .genre-tab {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .genre-icon {
        font-size: 14px;
    }
    
    /* Portfolio sections */
    .portfolio-section {
        padding: 80px 0;
    }
    
    .games-grid-preview {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 40px 0;
    }
    
    .portfolio-stats-bar {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        margin: 20px 0 40px;
    }
    
    .portfolio-actions {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .portfolio-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    /* Game cards mobile */
    .games-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 40px 0;
    }
    
    .game-card {
        margin-bottom: 20px;
    }
    
    .game-header {
        height: 200px;
    }
    
    .game-content {
        padding: 20px;
    }
    
    .game-stats {
        flex-direction: column;
        gap: 12px;
    }
    
    .game-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .game-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 12px;
        height: 60px;
    }
    
    .navbar {
        height: 60px;
    }
    
    body {
        padding-top: 60px;
    }
    
    .genre-tabs-container {
        top: 60px;
        padding: 12px 0;
    }
    
    .logo-hexagon {
        width: 38px;
        height: 38px;
    }
    
    .logo-symbol {
        font-size: 14px;
    }
    
    .brand-text {
        font-size: 16px;
    }
    
    .brand-subtitle {
        display: none;
    }
    
    .mobile-nav-content {
        padding: 20px;
    }
    
    .mobile-nav-header {
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .portfolio-stats-bar {
        padding: 20px;
        margin: 16px 0 30px;
    }
    
    .portfolio-stat .stat-number {
        font-size: 1.8rem;
    }
}

/* High DPI Display Support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
    .logo-hexagon {
        box-shadow: 0 4px 20px rgba(100, 255, 218, 0.4);
    }
    
    .tab-link.active {
        box-shadow: 0 6px 20px rgba(100, 255, 218, 0.4);
    }
}

/* Landscape Phone Optimization */
@media (max-height: 500px) and (orientation: landscape) {
    .mobile-nav-overlay {
        overflow-y: auto;
    }
    
    .mobile-nav-content {
        padding: 16px;
    }
    
    .mobile-nav-header {
        margin-bottom: 20px;
    }
    
    .mobile-nav-link {
        padding: 12px 16px;
    }
}

/* Smooth scroll offset for fixed header */
html {
    scroll-padding-top: 80px;
}

/* Enhanced accessibility and performance */
.game-tile, .portfolio-btn, .nav-link {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-tile:focus-visible, .portfolio-btn:focus-visible, .nav-link:focus-visible {
    outline: 2px solid #64ffda;
    outline-offset: 2px;
}

/* Loading states */
.game-tile {
    will-change: transform;
}

.game-tile.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Intersection observer animations */
.portfolio-section .game-tile {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.portfolio-section .game-tile:nth-child(1) { animation-delay: 0.1s; }
.portfolio-section .game-tile:nth-child(2) { animation-delay: 0.2s; }
.portfolio-section .game-tile:nth-child(3) { animation-delay: 0.3s; }
.portfolio-section .game-tile:nth-child(4) { animation-delay: 0.4s; }
.portfolio-section .game-tile:nth-child(5) { animation-delay: 0.5s; }
.portfolio-section .game-tile:nth-child(6) { animation-delay: 0.6s; }
.portfolio-section .game-tile:nth-child(7) { animation-delay: 0.7s; }
.portfolio-section .game-tile:nth-child(8) { animation-delay: 0.8s; }
.portfolio-section .game-tile:nth-child(9) { animation-delay: 0.9s; }

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

/* Button hover improvements */
.portfolio-btn:hover, .game-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* Mobile touch improvements */
@media (hover: none) and (pointer: coarse) {
    .game-tile:hover {
        transform: none;
    }
    
    .game-tile:active {
        transform: scale(0.98);
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .game-tile {
        border: 2px solid var(--accent-color);
    }
    
    .tile-badge {
        background: var(--primary-bg);
        border: 2px solid var(--accent-color);
    }
}

/* ==========================================
   UNIFORM PAGE STYLING
   ========================================== */

/* Ensure all pages have consistent sections */
.section-container, .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-accent);
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.3);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Page-specific content areas */
.page-content {
    min-height: calc(100vh - var(--nav-height));
    padding: 40px 0;
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
    cursor: wait;
}

/* Smooth page transitions */
body {
    transition: opacity 0.3s ease;
}

/* Print styles */
@media print {
    .navbar,
    .mobile-nav-overlay,
    .genre-tabs-container,
    .nav-actions,
    .mobile-menu-toggle {
        display: none !important;
    }
    
    body {
        padding-top: 0;
        background: white;
        color: black;
    }
    
    .section-title {
        color: black;
        text-shadow: none;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-container,
    .hero-visual {
        animation: none;
    }
}