/* Modern Design System - Professional & Gamified */
:root {
    /* Primary Colors - Warm & Professional Palette */
    --primary-purple: #7c3aed;
    --primary-purple-dark: #5b21b6;
    --primary-purple-light: #8b5cf6;
    --primary-emerald: #059669;
    --primary-emerald-light: #10b981;
    --primary-slate: #475569;
    --primary-slate-dark: #334155;
    --accent-orange: #f97316;
    --accent-amber: #d97706;
    
    /* Gaming Colors */
    --neon-blue: #00f3ff;
    --neon-purple: #a855f7;
    --neon-green: #10b981;
    --cyber-pink: #ec4899;
    --electric-yellow: #fbbf24;
    
    /* Neutral Colors */
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    
    /* Semantic Colors */
    --white: #ffffff;
    --black: #000000;
    --surface: #ffffff;
    --surface-variant: #f8fafc;
    --background: #ffffff;
    --background-alt: #f8fafc;
    
    /* Text Colors */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-tertiary: #9ca3af;
    --text-inverse: #ffffff;
    --text-on-primary: #ffffff;
    
    /* Border & Divider */
    --border-light: #f3f4f6;
    --border-medium: #e5e7eb;
    --border-strong: #d1d5db;
    --divider: #f3f4f6;
    
    /* Shadows - Material Design inspired */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  
  /* Gaming Shadows & Glows */
  --glow-purple: 0 0 20px rgba(124, 58, 237, 0.4);
  --glow-blue: 0 0 20px rgba(0, 243, 255, 0.4);
  --glow-green: 0 0 20px rgba(16, 185, 129, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
  --shadow-outline: 0 0 0 3px rgba(156, 163, 175, 0.1);    /* Typography - Google Fonts System */
    --font-family-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    --font-family-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    --font-family-mono: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    
    /* Font Sizes - Type Scale */
    --text-xs: 0.75rem;     /* 12px */
    --text-sm: 0.875rem;    /* 14px */
    --text-base: 1rem;      /* 16px */
    --text-lg: 1.125rem;    /* 18px */
    --text-xl: 1.25rem;     /* 20px */
    --text-2xl: 1.5rem;     /* 24px */
    --text-3xl: 1.875rem;   /* 30px */
    --text-4xl: 2.25rem;    /* 36px */
    --text-5xl: 3rem;       /* 48px */
    --text-6xl: 3.75rem;    /* 60px */
    
    /* Line Heights */
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;
    
    /* Font Weights */
    --font-light: 300;
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;
    
    /* Spacing Scale */
    --space-1: 0.25rem;   /* 4px */
    --space-2: 0.5rem;    /* 8px */
    --space-3: 0.75rem;   /* 12px */
    --space-4: 1rem;      /* 16px */
    --space-5: 1.25rem;   /* 20px */
    --space-6: 1.5rem;    /* 24px */
    --space-8: 2rem;      /* 32px */
    --space-10: 2.5rem;   /* 40px */
    --space-12: 3rem;     /* 48px */
    --space-16: 4rem;     /* 64px */
    --space-20: 5rem;     /* 80px */
    --space-24: 6rem;     /* 96px */
    --space-32: 8rem;     /* 128px */
    
    /* Border Radius */
    --radius-sm: 0.25rem;   /* 4px */
    --radius-md: 0.375rem;  /* 6px */
    --radius-lg: 0.5rem;    /* 8px */
    --radius-xl: 0.75rem;   /* 12px */
    --radius-2xl: 1rem;     /* 16px */
    --radius-3xl: 1.5rem;   /* 24px */
    --radius-full: 9999px;
    
    /* Container Sizes */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-2xl: 1536px;
    
    /* Transitions */
    --transition-all: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-colors: color 150ms cubic-bezier(0.4, 0, 0.2, 1), background-color 150ms cubic-bezier(0.4, 0, 0.2, 1), border-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-opacity: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-shadow: box-shadow 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-transform: transform 150ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Z-index Scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family-sans);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: var(--text-primary);
    background-color: var(--background);
    overflow-x: hidden;
    font-weight: var(--font-normal);
}

/* Container System */
.container {
    width: 100%;
    max-width: var(--container-xl);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-4);
    padding-right: var(--space-4);
}

@media (min-width: 640px) {
    .container {
        padding-left: var(--space-6);
        padding-right: var(--space-6);
    }
}

@media (min-width: 1024px) {
    .container {
        padding-left: var(--space-8);
        padding-right: var(--space-8);
    }
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-display);
    font-weight: var(--font-semibold);
    line-height: var(--leading-tight);
    color: var(--text-primary);
    margin: 0;
}

h1 { font-size: var(--text-4xl); font-weight: var(--font-bold); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
    margin: 0;
    line-height: var(--leading-relaxed);
}

a {
    color: var(--gray-900);
    text-decoration: none;
    transition: var(--transition-colors);
}

a:hover {
    color: var(--gray-700);
}

button {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

img, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Modern Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    z-index: var(--z-fixed);
    transition: var(--transition-all);
    height: 72px;
}

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

.nav-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-6);
    max-width: var(--container-xl);
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    transition: var(--transition-opacity);
}

.nav-brand:hover {
    opacity: 0.8;
}

.nav-logo {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-md);
}

.nav-title {
    font-family: var(--font-family-display);
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    letter-spacing: -0.025em;
}

.nav-menu {
    display: flex;
    gap: var(--space-8);
    list-style: none;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: var(--font-medium);
    font-size: var(--text-sm);
    position: relative;
    transition: var(--transition-colors);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    letter-spacing: 0.025em;
}

.nav-link:hover {
    color: var(--text-primary);
    background-color: var(--gray-50);
}

.nav-link.active {
    color: var(--gray-900);
    background-color: rgba(38, 38, 38, 0.08);
    font-weight: var(--font-semibold);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: var(--space-1);
    padding: var(--space-2);
    border-radius: var(--radius-md);
    transition: var(--transition-colors);
}

.nav-toggle:hover {
    background-color: var(--gray-50);
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-all);
    border-radius: 1px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-12);
        text-align: center;
    }
    
    .hero-title {
        font-size: clamp(var(--text-3xl), 8vw, var(--text-5xl));
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 var(--space-4);
    }
    
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border-light);
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        gap: 0;
        padding: var(--space-4) 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-all);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        padding: var(--space-3) var(--space-6);
        width: 100%;
        text-align: center;
        border-radius: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding-top: 72px;
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: clamp(var(--text-2xl), 8vw, var(--text-4xl));
        margin-bottom: var(--space-4);
    }
    
    .hero-description {
        font-size: var(--text-lg);
        margin-bottom: var(--space-6);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: var(--space-3);
    }
    
    .btn-lg {
        width: 100%;
        max-width: 280px;
    }
    
    .section-title {
        font-size: var(--text-2xl);
    }
    
    .section-subtitle {
        font-size: var(--text-base);
    }
    
    .contact-email {
        font-size: var(--text-xl);
    }
}

/* Enhanced Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: 
        radial-gradient(ellipse at top, rgba(99, 102, 241, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(147, 51, 234, 0.02) 0%, transparent 50%),
        linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
    padding-top: 72px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(124, 58, 237, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(5, 150, 105, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(217, 119, 6, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%237c3aed' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;  
    width: 100%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-20);
    align-items: center;
    min-height: 60vh;
}

.hero-text {
    max-width: 100%;
}

.hero-title {
    font-family: var(--font-family-display);
    font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
    font-weight: var(--font-extrabold);
    line-height: var(--leading-tight);
    color: var(--text-primary);
    margin-bottom: var(--space-6);
    letter-spacing: -0.025em;
}

.hero-title-highlight {
    color: var(--gray-900);
    position: relative;
}

.hero-description {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-8);
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    align-items: center;
}

/* Modern Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-family-sans);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: var(--transition-all);
    cursor: pointer;
    border: none;
    position: relative;
    letter-spacing: 0.025em;
    min-height: 44px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    color: #ffffff !important;
    border: 1px solid var(--gray-900);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-primary *,
.btn-primary span {
    color: #ffffff !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-700) 100%);
    border-color: var(--gray-800);
    transform: translateY(-3px);
    box-shadow: 0 6px 14px -2px rgba(0, 0, 0, 0.15), 0 4px 6px -1px rgba(0, 0, 0, 0.08);
    color: #ffffff !important;
}

.btn-primary:hover *,
.btn-primary:hover span {
    color: #ffffff !important;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
    background-color: var(--gray-50);
    border-color: var(--gray-300);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
    min-height: 48px;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-image-placeholder {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-50) 100%);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.hero-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(26, 115, 232, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(147, 52, 230, 0.1) 0%, transparent 40%);
}

.hero-placeholder-content {
    text-align: center;
    color: var(--text-tertiary);
    z-index: 1;
    position: relative;
}

.hero-placeholder-icon {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-4);
    opacity: 0.6;
}

.hero-placeholder-text {
    font-size: var(--text-lg);
    font-weight: var(--font-medium);
    margin-bottom: var(--space-2);
}

.hero-placeholder-subtitle {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Hero Logo Styles */
.hero-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    max-width: 400px;
    padding: var(--space-8);
}

.hero-logo {
    width: 100%;
    height: auto;
    max-width: 300px;
    opacity: 0.9;
    transition: var(--transition-all);
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.1));
}

.hero-logo:hover {
    opacity: 1;
    transform: scale(1.02);
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.15));
}

@keyframes heroLogoFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.4; }
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
    z-index: 2;
}

.scroll-indicator {
    width: 2px;
    height: 30px;
    background: var(--text-light);
    margin: 0.5rem auto 0;
    border-radius: 2px;
    position: relative;
    opacity: 0.7;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-light);
    border-radius: 2px;
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Section Styles */
section {
    padding: var(--section-padding);
}

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

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

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

/* Enhanced About Section */
.about {
    background: linear-gradient(180deg, var(--surface-variant) 0%, var(--gray-50) 100%);
    padding: var(--space-32) 0;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(5, 150, 105, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(124, 58, 237, 0.02) 0%, transparent 40%);
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-8);
    max-width: 1000px;
    margin: 0 auto;
}

.about-card {
    background: var(--surface);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    text-align: center;
    border: 1px solid var(--border-light);
    transition: var(--transition-all);
}

.about-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-medium);
}

.about-icon {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-4);
    display: block;
    opacity: 0.8;
}

.about-card h3 {
    font-family: var(--font-family-display);
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-3);
    letter-spacing: -0.025em;
}

.about-card p {
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    font-size: var(--text-sm);
}

/* Enhanced Games Section */
.games {
    background: linear-gradient(180deg, var(--background) 0%, var(--surface-variant) 100%);
    padding: var(--space-32) 0;
    position: relative;
}

.games::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%237c3aed' fill-opacity='0.01'%3E%3Cpath d='M20 20c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10zm10 0c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10z'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-16);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    letter-spacing: -0.025em;
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    max-width: 600px;
    margin: 0 auto;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto 0;
}

/* 当屏幕宽度较小时，确保单列显示 */
@media (max-width: 900px) {
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    .games-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .game-content {
        padding: 1rem;
    }
    
    .game-links {
        padding: 0.75rem 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .game-link {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 400px) {
    .games-grid {
        gap: 1rem;
        margin: 1rem auto 0;
    }
}

.game-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.game-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 30px rgba(124, 58, 237, 0.2);
    border-color: rgba(124, 58, 237, 0.3);
}

.game-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.coming-soon-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: var(--space-8);
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-700) 100%);
    color: var(--text-inverse);
    position: relative;
}

.coming-soon-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.coming-soon-icon {
    font-size: var(--text-5xl);
    margin-bottom: var(--space-4);
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.coming-soon-placeholder h3 {
    font-family: var(--font-family-display);
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-2);
    color: var(--text-inverse);
    position: relative;
    z-index: 1;
}

.coming-soon-placeholder p {
    font-size: var(--text-sm);
    opacity: 0.9;
    font-weight: var(--font-medium);
    position: relative;
    z-index: 1;
}

.game-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(10px);
    z-index: 3;
}

.game-status.status-released {
    background: rgba(16, 185, 129, 0.9);
    color: white;
}

.game-status.status-beta {
    background: rgba(124, 58, 237, 0.9);
    color: white;
}

.game-status.status-coming-soon {
    background: rgba(245, 158, 11, 0.9);
    color: white;
}

.game-status.status-in-development {
    background: rgba(239, 68, 68, 0.9);
    color: white;
}

.game-info {
    padding: var(--space-8);
    background: linear-gradient(180deg, var(--surface) 0%, var(--gray-50) 100%);
}

.game-info h4 {
    font-family: var(--font-family-display);
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    letter-spacing: -0.025em;
}

.game-info p {
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-6);
    font-size: var(--text-base);
}

.game-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-6);
    flex-wrap: wrap;
    gap: var(--space-4);
}

.game-tags {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.game-tag {
    background-color: var(--gray-100);
    color: var(--gray-700);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    transition: var(--transition-all);
    letter-spacing: 0.025em;
    text-transform: uppercase;
    border: 1px solid var(--gray-200);
}

.game-tag:hover {
    background-color: var(--gray-200);
    color: var(--gray-800);
    transform: translateY(-1px);
    border-color: var(--gray-300);
}

/* Professional Platform Buttons */
.game-actions {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-6);
    flex-wrap: wrap;
}

.platform-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    text-decoration: none;
    border-radius: var(--radius-xl);
    font-weight: var(--font-semibold);
    font-size: var(--text-sm);
    transition: var(--transition-all);
    border: 1px solid transparent;
    min-height: 44px;
    position: relative;
    overflow: hidden;
    text-transform: none;
}

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

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

/* Force black background for store buttons */
a.platform-button.app-store,
a.platform-button.app-store span {
    background: #171717 !important;
    background-color: #171717 !important;
    color: #ffffff !important;
    box-shadow: var(--shadow-md);
}

a.platform-button.app-store * {
    color: #ffffff !important;
}

a.platform-button.app-store:hover,
a.platform-button.app-store:hover * {
    background: #262626 !important;
    background-color: #262626 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

a.platform-button.google-play,
a.platform-button.google-play span {
    background: #171717 !important;
    background-color: #171717 !important;
    color: #ffffff !important;
    box-shadow: var(--shadow-md);
}

a.platform-button.google-play * {
    color: #ffffff !important;
}

a.platform-button.google-play:hover,
a.platform-button.google-play:hover * {
    background: #262626 !important;
    background-color: #262626 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

a.platform-button.website,
a.platform-button.website span {
    background: #171717 !important;
    background-color: #171717 !important;
    color: #ffffff !important;
    box-shadow: var(--shadow-md);
}

a.platform-button.website * {
    color: #ffffff !important;
}

a.platform-button.website:hover,
a.platform-button.website:hover * {
    background: #262626 !important;
    background-color: #262626 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.platform-button.coming-soon {
    background: var(--gray-900) !important;
    color: white !important;
    cursor: default;
    box-shadow: var(--shadow-md);
    text-transform: none;
    letter-spacing: 0.025em;
    text-decoration: none;
    opacity: 0.7;
}

.platform-button.coming-soon:hover {
    transform: none;
    background: var(--gray-900) !important;
    color: white !important;
    opacity: 0.7;
}

.platform-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.game-links {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-6);
}

.game-link {
    flex: 1;
    text-align: center;
    padding: var(--space-2) var(--space-4);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: var(--font-medium);
    font-size: var(--text-sm);
    transition: var(--transition-all);
    border: 1px solid var(--border-medium);
    color: var(--text-secondary);
}

.game-link:hover {
    background-color: var(--gray-50);
    color: var(--text-primary);
    border-color: var(--border-strong);
}

.game-link.primary {
    background: var(--primary-color);
    color: #ffffff;
}

.game-link.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.game-link.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.game-link.secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
}

/* Enhanced Contact Section */
.contact {
    background: 
        linear-gradient(135deg, rgba(99, 102, 241, 0.02) 0%, rgba(147, 51, 234, 0.01) 50%, transparent 100%),
        linear-gradient(180deg, var(--gray-50) 0%, var(--background) 100%);
    padding: var(--space-32) 0;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(99, 102, 241, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 70% 60%, rgba(147, 51, 234, 0.06) 0%, transparent 25%),
        radial-gradient(circle at 50% 80%, rgba(217, 119, 6, 0.04) 0%, transparent 25%);
    animation: contactFloat 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes contactFloat {
    0%, 100% { transform: translate(0px, 0px) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(1deg); }
    66% { transform: translate(-20px, 20px) rotate(-1deg); }
}

.contact-header {
    text-align: center;
    margin-bottom: var(--space-16);
    position: relative;
    z-index: 2;
}

.contact-title {
    font-family: var(--font-family-display);
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    letter-spacing: -0.02em;
    line-height: var(--leading-tight);
}

.contact-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
    line-height: var(--leading-relaxed);
}

.contact-simple {
    display: flex;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-email-card {
    background: 
        linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--space-16);
    border-radius: var(--radius-3xl);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 20px 40px -12px rgba(0, 0, 0, 0.08),
        0 8px 16px -8px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.6);
    max-width: 480px;
    width: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.contact-email-card::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 ease;
}

.contact-email-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 32px 64px -12px rgba(0, 0, 0, 0.12),
        0 16px 32px -8px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.8);
}

.contact-email-card:hover::before {
    left: 100%;
}

.contact-email {
    font-family: var(--font-family-display);
    font-size: var(--text-2xl);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-8);
    letter-spacing: -0.02em;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
}

.contact-email::before {
    content: '';
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--gray-700) 0%, var(--gray-600) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='currentColor'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M21.75 6.75v10.5a2.25 2.25 0 01-2.25 2.25h-15a2.25 2.25 0 01-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25m19.5 0v.243a2.25 2.25 0 01-1.07 1.916l-7.5 4.615a2.25 2.25 0 01-2.36 0L3.32 8.91a2.25 2.25 0 01-1.07-1.916V6.75' /%3e%3c/svg%3e") center/16px no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='currentColor'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M21.75 6.75v10.5a2.25 2.25 0 01-2.25 2.25h-15a2.25 2.25 0 01-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25m19.5 0v.243a2.25 2.25 0 01-1.07 1.916l-7.5 4.615a2.25 2.25 0 01-2.36 0L3.32 8.91a2.25 2.25 0 01-1.07-1.916V6.75' /%3e%3c/svg%3e") center/16px no-repeat;
}

.contact-email-card .btn {
    margin-top: var(--space-4);
    min-width: 160px;
    position: relative;
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
}

.contact-email-card .btn::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: currentColor;
    mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='currentColor'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M13.5 4.5L21 12m0 0l-7.5 7.5M21 12H3' /%3e%3c/svg%3e") center/contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='currentColor'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M13.5 4.5L21 12m0 0l-7.5 7.5M21 12H3' /%3e%3c/svg%3e") center/contain no-repeat;
    transition: transform 0.3s ease;
}

.contact-email-card .btn:hover::after {
    transform: translateY(-50%) translateX(4px);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    color: #ffffff;
    padding: 3rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.footer-logo {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

.footer-title {
    font-family: var(--font-family-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --section-padding: 4rem 0;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        box-shadow: var(--shadow-medium);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-content .container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-logo-container {
        width: 200px;
        height: 200px;
    }
    
    .hero-logo {
        width: 180px;
        height: 180px;
    }
    
    .hero-logo-glow {
        width: 200px;
        height: 200px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    /* games-grid 已在更上方的媒体查询中定义 */
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .nav-container {
        padding: 0 0.75rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .about-card,
    .contact-card {
        padding: 2rem 1.5rem;
    }
    
    .game-info {
        padding: 1.5rem;
    }
    
    /* games-grid 已在更上方的媒体查询中定义 */
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }

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

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

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

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.6s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s ease-out;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Fun animations for gaming vibe! 🎮 */
@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0, -15px, 0);
    }
    70% {
        transform: translate3d(0, -7px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

@keyframes wiggle {
    0%, 7% {
        transform: rotateZ(0);
    }
    15% {
        transform: rotateZ(-15deg);
    }
    20% {
        transform: rotateZ(10deg);
    }
    25% {
        transform: rotateZ(-10deg);
    }
    30% {
        transform: rotateZ(6deg);
    }
    35% {
        transform: rotateZ(-4deg);
    }
    40%, 100% {
        transform: rotateZ(0);
    }
}

@keyframes rainbow {
    0% { filter: hue-rotate(0deg); }
    25% { filter: hue-rotate(90deg); }
    50% { filter: hue-rotate(180deg); }
    75% { filter: hue-rotate(270deg); }
    100% { filter: hue-rotate(360deg); }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px var(--accent-color), 0 0 10px var(--accent-color), 0 0 15px var(--accent-color);
    }
    50% {
        box-shadow: 0 0 10px var(--accent-color), 0 0 20px var(--accent-color), 0 0 30px var(--accent-color);
    }
}

/* Fun hover effects */
.btn:hover {
    animation: bounce 0.6s ease-in-out;
}

.about-icon:hover {
    animation: wiggle 1s ease-in-out;
    cursor: pointer;
}

.nav-logo:hover {
    animation: bounce 0.8s ease-in-out;
}

.hero-logo:hover {
    animation: rainbow 2s ease-in-out infinite;
}

/* Game card fun effects */
.game-card:hover .game-image {
    animation: glow 2s ease-in-out infinite;
}

/* Contact card bounce */
.contact-card:hover {
    animation: bounce 0.5s ease-in-out;
}

/* Add some sparkle to buttons */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 70%);
    transition: all 0.6s;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

/* Fun scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg-alt);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, var(--primary-dark), var(--accent-color));
}

/* =============================================
   PROFESSIONAL ENHANCEMENTS - 专业级增强
   ============================================= */

/* 增强的导航链接效果 */
.nav-link {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
}

.nav-link:hover {
    background-color: rgba(0, 0, 0, 0.04);
    transform: translateY(-1px);
}

.nav-link.active {
    background-color: rgba(0, 0, 0, 0.06);
    font-weight: var(--font-semibold);
}

/* 增强的卡片阴影系统 */
.game-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

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

/* 增强的按钮微交互 */
.platform-button {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    color: #ffffff !important;
}

/* 强制所有平台按钮的文字为白色 */
.platform-button *,
.platform-button span,
.platform-button::before,
.platform-button::after {
    color: #ffffff !important;
}

.platform-button::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;
}

.platform-button:hover::before {
    left: 100%;
}

/* 文字选择优化 */
::selection {
    background-color: rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
}

/* 焦点状态优化 */
.btn:focus-visible,
.platform-button:focus-visible,
.nav-link:focus-visible {
    outline: 2px solid rgba(0, 0, 0, 0.2);
    outline-offset: 2px;
}

/* 滚动行为优化 */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
    
    .game-card,
    .btn,
    .platform-button,
    .nav-link {
        transform-origin: center;
    }
}

/* 增强的状态指示器 */
.game-status-badge {
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-status-badge:hover {
    transform: scale(1.05);
}

/* 增强的文字层次 */
.hero-title {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.section-title {
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gray-900), var(--gray-700));
    border-radius: 2px;
}

/* 增强的加载状态 */
.game-image img {
    transition: all 0.3s ease;
}

.game-image img:not([src]) {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

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

/* 专业的About卡片设计 */
.about-icon-wrapper {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-4);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-icon-bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-50) 100%);
    border-radius: var(--radius-2xl);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-icon-bg::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    transform: translate(-50%, -50%);
    background: var(--gray-900);
    border-radius: var(--radius-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-card:hover .about-icon-bg {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-700) 100%);
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.about-card:hover .about-icon-bg::before {
    background: var(--white);
    transform: translate(-50%, -50%) scale(1.1);
}

.about-card h3 {
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-3);
    letter-spacing: -0.01em;
}

.about-card p {
    font-size: var(--text-base);
    line-height: 1.65;
    color: var(--text-secondary);
    font-weight: var(--font-normal);
}

/* Updated at 2025年 9月29日 星期一 17时30分58秒 CST */

/* ========== GAMIFICATION ENHANCEMENTS ========== */

/* Gaming Animation Keyframes */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(124, 58, 237, 0.4); }
    50% { box-shadow: 0 0 30px rgba(124, 58, 237, 0.8); }
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}



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

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes scaleIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* Mouse Follower */
.mouse-follower {
    position: fixed;
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-blue));
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease-out;
    opacity: 0.7;
    box-shadow: var(--glow-purple);
}

/* Particle Canvas */
.particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.floating-shape {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-blue));
    border-radius: 20px;
    top: 20%;
    left: 10%;
    animation-delay: -1s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    background: var(--cyber-pink);
    border-radius: 50%;
    top: 60%;
    right: 15%;
    animation-delay: -3s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    background: var(--electric-yellow);
    border-radius: 30%;
    top: 40%;
    left: 70%;
    animation-delay: -2s;
}

.shape-4 {
    width: 40px;
    height: 40px;
    background: var(--neon-green);
    border-radius: 50%;
    top: 80%;
    left: 30%;
    animation-delay: -4s;
}

/* Gaming Button Styles */
.btn-game-style {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.btn-game-style: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;
}

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

.btn-game-style:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
}

/* Glitch Text Effect */
.glitch-text {
    position: relative;
    display: inline-block;
}

.glitch-text:hover {
    animation: glitch 0.5s ease-in-out;
}



/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 1s ease-out 1s both;
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-purple);
    line-height: 1;
    white-space: nowrap;
}



.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    display: block;
}

/* Animated Logo */
.animated-logo {
    position: relative;
}

.pulsing-logo {
    animation: pulse 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.pulsing-logo:hover {
    transform: scale(1.1);
    filter: drop-shadow(var(--glow-purple));
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, var(--primary-purple) 0%, transparent 70%);
    opacity: 0.3;
    animation: pulse 2s ease-in-out infinite;
    z-index: -1;
}

.logo-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    z-index: -1;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid var(--primary-purple);
    border-radius: 50%;
    opacity: 0.2;
}

.ring-1 {
    width: 100%;
    height: 100%;
    animation: rotate 20s linear infinite;
}

.ring-2 {
    width: 130%;
    height: 130%;
    animation: rotate 30s linear infinite reverse;
}

.ring-3 {
    width: 160%;
    height: 160%;
    animation: rotate 40s linear infinite;
}

/* Fade in animations */
.fade-in-up {
    animation: fadeInUp 1s ease-out 0.5s both;
}

/* Hero Background Enhancement */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
}

/* Game Card Enhancements */
.game-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(124, 58, 237, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

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

.game-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 30px rgba(124, 58, 237, 0.2);
}

/* Ripple Effect */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.3);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
    width: 20px;
    height: 20px;
    margin-left: -10px;
    margin-top: -10px;
}

/* Enhanced Navigation */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-purple), var(--neon-blue));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.nav-link:hover {
    color: var(--primary-purple);
    transform: translateY(-2px);
}

/* Progress Indicators */
.progress-bar {
    width: 100%;
    height: 4px;
    background: var(--gray-200);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-purple), var(--neon-blue));
    border-radius: 2px;
    transition: width 2s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progress-shine 2s infinite;
}

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

/* Scroll Animations */
.animate-in {
    animation: scaleIn 0.6s ease-out;
}

/* Status Badges */
.game-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}

.status-released {
    background: var(--neon-green);
    color: white;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.status-beta {
    background: var(--electric-yellow);
    color: var(--gray-900);
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
}

.status-alpha {
    background: var(--accent-orange);
    color: white;
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.4);
}

.status-coming-soon {
    background: var(--cyber-pink);
    color: white;
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.4);
}

.status-in-development {
    background: var(--neon-blue);
    color: white;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.4);
}

/* Responsive adjustments for gaming elements */
@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .floating-shape {
        display: none;
    }
    
    .mouse-follower {
        display: none;
    }
    

    
    .game-card:hover {
        transform: translateY(-5px);
    }
    
    .hero-stats {
        margin-top: 1.5rem;
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        padding: 1rem 0.5rem;
    }
    
    .btn-game-style:hover {
        transform: none;
    }
}

/* Enhanced Navigation Styles */
.nav-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-purple), var(--neon-blue));
    transition: width 0.3s ease;
    z-index: 10;
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
}

.nav-xp {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
    padding: 0.25rem 0.75rem;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(124, 58, 237, 0.3);
    transition: all 0.3s ease;
}

.nav-xp:hover {
    background: rgba(124, 58, 237, 0.2);
    transform: scale(1.05);
}

.xp-label {
    font-size: 1rem;
}

.xp-value {
    color: var(--primary-purple);
    font-weight: 700;
}

.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.1), transparent);
    transition: left 0.5s ease;
}

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

.nav-link:hover {
    background: rgba(124, 58, 237, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

.nav-link.active {
    background: var(--primary-purple);
    color: white;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.nav-link.active .nav-icon {
    animation: pulse 2s infinite;
}

.nav-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.nav-link:hover .nav-icon {
    transform: scale(1.2);
}

.nav-text {
    font-weight: 500;
}

/* Gaming Toggle Button */
.gaming-toggle {
    position: relative;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.gaming-toggle:hover {
    background: rgba(124, 58, 237, 0.2);
    transform: scale(1.05);
}

.gaming-toggle.active {
    background: var(--primary-purple);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
}

.gaming-toggle span {
    background: var(--primary-purple);
    transition: all 0.3s ease;
}

.gaming-toggle.active span {
    background: white;
}

.toggle-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--primary-purple) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
    z-index: -1;
}

.gaming-toggle:hover .toggle-glow {
    opacity: 0.3;
}

/* Navigation Notification Badges */
.nav-notification {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 18px;
    height: 18px;
    background: var(--cyber-pink);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.5);
}

/* Responsive Navigation Enhancements */
@media (max-width: 768px) {
    .nav-xp {
        display: none;
    }
    
    .nav-menu {
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(124, 58, 237, 0.3);
    }
    
    .nav-link {
        justify-content: center;
        padding: 1rem;
        margin: 0.5rem;
        border-radius: 12px;
    }
    
    .nav-link:hover {
        transform: none;
        background: var(--primary-purple);
        color: white;
    }
}

/* Enhanced Games Section */


/* Games Loading */
.games-loading {
    text-align: center;
    padding: 4rem 2rem;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(124, 58, 237, 0.1);
    border-left: 4px solid var(--primary-purple);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.games-loading p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Enhanced Game Cards */





.game-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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



/* Game Links - Bottom Section */
.game-links {
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: auto;
}

.game-link {
    padding: 0.5rem 1rem;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid transparent;
    white-space: nowrap;
    min-height: 36px;
}

.game-link.btn-primary {
    background: var(--primary-purple);
    color: white;
    border-color: var(--primary-purple);
}

.game-link.btn-secondary {
    background: var(--primary-purple);
    color: white;
    border-color: var(--primary-purple);
}

.game-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

.game-link.btn-primary:hover {
    background: var(--neon-blue);
    border-color: var(--neon-blue);
    box-shadow: 0 4px 15px rgba(0, 243, 255, 0.4);
}

.game-link.btn-secondary:hover {
    background: var(--neon-blue);
    border-color: var(--neon-blue);
    box-shadow: 0 4px 15px rgba(0, 243, 255, 0.4);
}

.game-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.game-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

.game-description {
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    font-size: 0.9rem;
    flex: 1;
}

.game-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 0;
}

.game-tag {
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary-purple);
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.game-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin: 0;
    gap: 1rem;
    flex-wrap: wrap;
}

.game-platforms,
.game-date {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.game-tag:hover {
    background: var(--primary-purple);
    color: white;
    transform: scale(1.05);
}

.game-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.game-platforms {
    font-weight: 500;
}

.game-date {
    background: rgba(124, 58, 237, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    font-weight: 600;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.no-results-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

/* Filter Animation */
.game-card.filter-hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

/* Responsive Games Section */
@media (max-width: 768px) {
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .game-card:hover {
        transform: translateY(-8px);
    }
    
    .game-links {
        padding: 0.75rem;
        gap: 0.5rem;
        flex-direction: column;
    }
    
    .game-link {
        padding: 0.75rem 1.5rem;
        width: 100%;
        justify-content: center;
        font-size: 0.8rem;
    }
}

/* Studio Dashboard Styles */
.studio-dashboard {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(0, 243, 255, 0.05));
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid rgba(124, 58, 237, 0.2);
    backdrop-filter: blur(10px);
}

.dashboard-header {
    text-align: center;
    margin-bottom: 2rem;
}

.dashboard-header h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.studio-level {
    color: var(--primary-purple);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(124, 58, 237, 0.3);
}

.xp-bar {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 12px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 6px;
    margin: 0 auto;
    overflow: hidden;
}

.xp-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-purple), var(--neon-blue));
    border-radius: 6px;
    transition: width 2s ease;
    position: relative;
}

.xp-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progress-shine 2s infinite;
}

.xp-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Achievement Cards */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.achievement-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.1), transparent);
    transition: left 0.5s ease;
}

.achievement-card:hover::before {
    left: 100%;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.2);
    border-color: var(--primary-purple);
}

.achievement-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.achievement-info {
    margin-bottom: 1rem;
}

.achievement-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
}

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

.achievement-progress {
    display: flex;
    justify-content: center;
}

.progress-circle {
    width: 50px;
    height: 50px;
}

.progress-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

/* Skills Section */
.skills-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.skills-title {
    text-align: center;
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

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

.skill-category h4 {
    color: var(--primary-purple);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.skill-bars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.skill-name {
    min-width: 80px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.skill-progress {
    flex: 1;
    height: 8px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-purple), var(--neon-blue));
    border-radius: 4px;
    transition: width 2s ease;
    position: relative;
}

.skill-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progress-shine 3s infinite;
}

.skill-percentage {
    min-width: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-purple);
    text-align: right;
}

/* Enhanced About Cards */
.enhanced-card {
    position: relative;
}

.enhanced-card .about-icon {
    font-size: 2rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.card-progress {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(124, 58, 237, 0.1);
}

.progress-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    display: block;
    text-align: center;
}

/* Responsive Dashboard */
@media (max-width: 768px) {
    .studio-dashboard {
        padding: 1.5rem;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .achievement-card {
        padding: 1rem;
    }
    
    .achievement-icon {
        font-size: 2rem;
    }
    
    .achievement-number {
        font-size: 1.5rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .skill-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .skill-name {
        min-width: auto;
    }
    
    .skill-progress {
        width: 100%;
    }
}

/* Gamified Contact Section */
.contact {
    position: relative;
    overflow: hidden;
}

/* Social Orbs */
.social-orbs {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-orb {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: float 3s ease-in-out infinite;
}

.social-orb:nth-child(2) {
    animation-delay: -1s;
}

.social-orb:nth-child(3) {
    animation-delay: -2s;
}

.twitter-orb {
    background: linear-gradient(135deg, rgba(29, 161, 242, 0.8), rgba(29, 161, 242, 0.4));
    box-shadow: 0 8px 25px rgba(29, 161, 242, 0.3);
}

.discord-orb {
    background: linear-gradient(135deg, rgba(114, 137, 218, 0.8), rgba(114, 137, 218, 0.4));
    box-shadow: 0 8px 25px rgba(114, 137, 218, 0.3);
}

.youtube-orb {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.8), rgba(255, 0, 0, 0.4));
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3);
}

.social-orb:hover {
    transform: scale(1.2);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.orb-icon {
    font-size: 1.5rem;
    z-index: 2;
}

.orb-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.orb-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: rgba(0, 0, 0, 0.9);
}

.social-orb:hover .orb-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Contact Console */
.contact-console {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(124, 58, 237, 0.3);
    backdrop-filter: blur(20px);
}

.console-header {
    background: linear-gradient(90deg, var(--primary-purple), var(--neon-blue));
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.console-lights {
    display: flex;
    gap: 0.5rem;
}

.light {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: blink 2s infinite;
}

.light.red {
    background: #ff5f57;
    animation-delay: 0s;
}

.light.yellow {
    background: #ffbd2e;
    animation-delay: 0.5s;
}

.light.green {
    background: #28ca42;
    animation-delay: 1s;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

.console-header h3 {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.console-screen {
    padding: 2rem;
    min-height: 400px;
    background: rgba(0, 0, 0, 0.4);
}

.terminal-line {
    font-family: 'Courier New', monospace;
    color: var(--neon-green);
    font-size: 1rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.prompt {
    color: var(--neon-blue);
    font-weight: 600;
}

.terminal-text {
    color: var(--electric-yellow);
}



/* Contact Options */
.contact-options {
    display: grid;
    gap: 2rem;
}

.contact-option {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-option:hover::before {
    left: 100%;
}

.contact-option:hover {
    transform: translateY(-5px);
    border-color: var(--primary-purple);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.2);
}

.option-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.option-content h4 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.option-content p {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.option-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.stat {
    background: rgba(124, 58, 237, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: rgba(124, 58, 237, 1);
    font-weight: 600;
    border: 1px solid rgba(124, 58, 237, 0.3);
}

.option-button {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--primary-purple), var(--neon-blue));
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.option-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
}

.button-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.option-button:hover .button-effect {
    left: 100%;
}

/* Social Buttons */
.social-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.twitter-btn {
    background: rgba(29, 161, 242, 0.2);
    color: #1da1f2;
    border: 1px solid rgba(29, 161, 242, 0.3);
}

.discord-btn {
    background: rgba(114, 137, 218, 0.2);
    color: #7289da;
    border: 1px solid rgba(114, 137, 218, 0.3);
}

.youtube-btn {
    background: rgba(255, 0, 0, 0.2);
    color: #ff0000;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.social-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.social-btn:hover .social-effect {
    left: 100%;
}

/* Collaboration Tags */
.collaboration-types {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.collab-tag {
    background: rgba(16, 185, 129, 0.1);
    color: var(--neon-green);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Email Success Animation */
.email-success {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    border-radius: 20px;
}

.email-success.show {
    opacity: 1;
    visibility: visible;
}

.success-animation {
    text-align: center;
    color: white;
    position: relative;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 1s ease-out;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

.success-particles {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--electric-yellow);
    border-radius: 50%;
    animation: explode 2s ease-out;
}

.particle:nth-child(1) { animation-delay: 0s; }
.particle:nth-child(2) { animation-delay: 0.2s; }
.particle:nth-child(3) { animation-delay: 0.4s; }
.particle:nth-child(4) { animation-delay: 0.6s; }
.particle:nth-child(5) { animation-delay: 0.8s; }

@keyframes explode {
    0% {
        transform: translate(0, 0) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(var(--random-x, 100px), var(--random-y, 100px)) scale(1);
        opacity: 0;
    }
}

/* Responsive Contact */
@media (max-width: 768px) {
    .social-orbs {
        right: 1rem;
        gap: 0.5rem;
    }
    
    .social-orb {
        width: 50px;
        height: 50px;
    }
    
    .orb-icon {
        font-size: 1.2rem;
    }
    
    .console-screen {
        padding: 1.5rem;
    }
    
    .contact-option {
        padding: 1.5rem;
    }
    
    .option-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .social-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .collaboration-types {
        gap: 0.25rem;
    }
    
    .collab-tag {
        font-size: 0.7rem;
    }
}



/* Sound Toggle Button */
.sound-toggle {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-purple), var(--neon-blue));
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sound-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(124, 58, 237, 0.4);
}

.sound-toggle:active {
    transform: scale(0.95);
}



/* Enhanced Visual Feedback */
.interactive-element {
    position: relative;
    overflow: hidden;
}

.interactive-element::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    border-radius: 50%;
    pointer-events: none;
}

.interactive-element:active::after {
    width: 200px;
    height: 200px;
}

/* Pulse Animation for Notifications */
@keyframes notification-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(124, 58, 237, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(124, 58, 237, 0);
    }
}

.notification-pulse {
    animation: notification-pulse 2s infinite;
}

/* Glitch Effect for Errors */
@keyframes glitch-error {
    0%, 100% { transform: translate(0); }
    10% { transform: translate(-2px, -2px); }
    20% { transform: translate(2px, -2px); }
    30% { transform: translate(-2px, 2px); }
    40% { transform: translate(2px, 2px); }
    50% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, -2px); }
    70% { transform: translate(-2px, 2px); }
    80% { transform: translate(2px, 2px); }
    90% { transform: translate(-2px, -2px); }
}

.error-glitch {
    animation: glitch-error 0.5s ease-in-out;
}

/* Success Bounce */
@keyframes success-bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.success-bounce {
    animation: success-bounce 1s ease-out;
}

/* Mobile Optimizations for Effects */
@media (max-width: 768px) {
    .sound-toggle {
        bottom: 1rem;
        left: 1rem;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}
