/* ============================================
   VERYTHING HANDCRAFTED - Main Stylesheet
   Retro Pixel Game Aesthetic
   Inspired by classic 16-bit era
   ============================================ */

/* ---- CSS Variables ---- */
:root {
    /* Colors - Fresh Bright Palette */
    /* Primary - Warm Coral */
    --color-primary: #FF6B6B;
    --color-primary-dark: #EE5A5A;
    --color-primary-light: #FF8A8A;
    
    /* Secondary - Mint Teal */
    --color-secondary: #4ECDC4;
    --color-secondary-dark: #3DBDB5;
    
    /* Accent - Fresh Lime */
    --color-accent: #95E66C;
    --color-accent-dark: #7BC85A;
    
    /* Background - Light Gray */
    --color-bg: #F8F9FA;
    --color-surface: #FFFFFF;
    --color-surface-alt: #F0F2F5;
    --color-surface-hover: #E8EBF0;
    --color-border: #E1E4E8;
    --color-border-light: #F0F2F5;
    
    /* Text - Dark */
    --color-text: #1A1A1A;
    --color-text-muted: #4A4A4A;
    --color-text-dim: #8A8A8A;
    
    /* Accent colors for highlights */
    --color-retro-red: #FF6B6B;
    --color-retro-blue: #74B9FF;
    --color-retro-purple: #A29BFE;
    --color-retro-yellow: #FFEAA7;
    
    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', -apple-system, sans-serif;
    --font-mono: 'Courier Prime', monospace;
    
    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-2xl: 64px;
    --space-3xl: 96px;
    --space-4xl: 128px;
    
    /* Layout */
    --container: 1100px;
    --radius: 2px;
    --radius-md: 4px;
    --radius-lg: 8px;
    
    /* Shadows - pixelated style */
    --shadow-sm: 0 4px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 6px 0 rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 8px 0 rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 20px rgba(245, 166, 35, 0.3);
    
    /* Transitions */
    --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 150ms;
    --duration-base: 300ms;
    --duration-slow: 500ms;
}

/* ---- Reset ---- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-text);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
    color: var(--color-text-muted);
    line-height: 1.8;
}

em {
    font-style: italic;
    color: var(--color-primary);
}

/* ---- Layout ---- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section {
    padding: var(--space-3xl) 0;
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--color-border));
}

.section-header {
    margin-bottom: var(--space-xl);
    text-align: center;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.section-label::before,
.section-label::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--color-primary);
    opacity: 0.5;
}

/* ---- Navigation ---- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: var(--space-md) 0;
    transition: background var(--duration-base) var(--ease-out),
                backdrop var(--duration-base) var(--ease-out),
                box-shadow var(--duration-base) var(--ease-out);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.brand-mark {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, var(--color-primary-light) 0%, var(--color-primary) 50%, var(--color-primary-dark) 100%);
    color: var(--color-bg);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,0.3);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    transition: transform var(--duration-fast) var(--ease-bounce),
                box-shadow var(--duration-fast) var(--ease-out);
}

.nav-brand:hover .brand-mark {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-md);
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
    transition: color var(--duration-fast) var(--ease-out);
}

.nav-brand:hover .brand-text {
    color: var(--color-text);
}

.nav-links {
    display: flex;
    gap: var(--space-lg);
}

.nav-links a {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
    position: relative;
    padding: var(--space-xs) 0;
    transition: color var(--duration-fast) var(--ease-out);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-primary);
    transition: width var(--duration-base) var(--ease-out);
}

.nav-links a:hover {
    color: var(--color-text);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: var(--space-xs);
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: transform var(--duration-fast) var(--ease-out),
                opacity var(--duration-fast) var(--ease-out);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ---- Hero ---- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: var(--space-4xl) var(--space-md);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
}

.hero-lines {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(90deg, var(--color-border) 1px, transparent 1px),
        linear-gradient(var(--color-border) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.1;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(ellipse, rgba(78, 205, 196, 0.12) 0%, rgba(255, 107, 107, 0.06) 40%, transparent 70%);
    pointer-events: none;
    max-width: 100vw;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-dim);
    margin-bottom: var(--space-lg);
    padding: var(--space-xs) var(--space-md);
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-surface);
}

.hero-eyebrow::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: var(--radius);
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 8px var(--color-accent);
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
        box-shadow: 0 0 8px var(--color-accent);
    }
    50% { 
        opacity: 0.6; 
        transform: scale(0.85);
        box-shadow: 0 0 4px var(--color-accent);
    }
}

.hero-title {
    margin-bottom: var(--space-md);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-title em {
    display: block;
    font-size: 0.85em;
    background: linear-gradient(135deg, var(--color-retro-yellow) 0%, var(--color-primary) 50%, var(--color-retro-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.15rem;
    max-width: 560px;
    margin: 0 auto var(--space-xl);
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-text-dim);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: float 3s ease-in-out infinite;
}

/* ---- Mouse Glow Effect ---- */
.mouse-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    max-width: 80vw;
    max-height: 80vw;
    background: radial-gradient(circle, rgba(196, 167, 125, 0.08) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%);
    z-index: 0;
    transition: opacity 0.3s ease;
}

/* ---- Scroll Progress ---- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    width: 0;
    z-index: 1000;
    transition: width 0.1s linear;
}

/* ---- Form Success ---- */
.form-success {
    text-align: center;
    padding: var(--space-xl);
}

.form-success svg {
    margin: 0 auto var(--space-md);
    color: var(--color-accent);
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.form-success p {
    font-size: 1rem;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 14px 28px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: var(--radius-md);
    transition: all var(--duration-base) var(--ease-out);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--duration-fast) var(--ease-out);
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: linear-gradient(180deg, var(--color-primary-light) 0%, var(--color-primary) 50%, var(--color-primary-dark) 100%);
    color: var(--color-bg);
    box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,0.2);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), var(--shadow-glow), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-primary:active {
    transform: translateY(2px);
    box-shadow: none;
}

.btn-ghost {
    background: transparent;
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
}

.btn-ghost:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(196, 167, 125, 0.05);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    box-shadow: 4px 4px 0 var(--color-primary-dark);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-bg);
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--color-primary-dark);
}

.btn-outline:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--color-primary-dark);
}

.btn-block {
    width: 100%;
}

/* ---- About Section ---- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.about-lead h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    line-height: 1.4;
}

.about-lead::before {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    margin-bottom: var(--space-md);
    border-radius: 2px;
}

.about-decoration {
    margin-top: var(--space-xl);
    color: var(--color-primary);
    opacity: 0.5;
}

.about-text p {
    margin-bottom: var(--space-md);
    position: relative;
    padding-left: var(--space-md);
}

.about-text p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 3px;
    height: 3px;
    background: var(--color-accent);
    border-radius: 50%;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* ---- Featured Game ---- */
.featured {
    background: var(--color-surface);
    position: relative;
}

.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.featured-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.featured-media {
    position: relative;
}

.featured-image {
    aspect-ratio: 16/10;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--color-surface);
}

.featured-image::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(196, 167, 125, 0.2);
    border-radius: var(--radius-lg);
    z-index: 1;
    pointer-events: none;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--duration-slow) var(--ease-out);
}

.featured-image:hover img {
    transform: scale(1.02);
}

.featured-image svg,
.featured-image source {
    width: 100%;
    height: 100%;
    display: block;
}

.featured-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    background: var(--color-bg);
    color: var(--color-primary);
    padding: 6px 14px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-lg);
    background: linear-gradient(to top, rgba(26, 24, 20, 0.95) 0%, rgba(26, 24, 20, 0.7) 50%, transparent 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.featured-overlay span {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-accent);
    letter-spacing: 0.05em;
}

.platforms {
    display: flex;
    gap: var(--space-xs);
}

.platforms span {
    background: var(--color-surface);
    padding: 4px 12px;
    font-size: 0.75rem;
    border-radius: var(--radius);
    color: var(--color-text-muted);
    font-family: var(--font-mono);
}

.featured-content {
    padding: var(--space-lg) 0;
}

.featured-type {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-secondary);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin: var(--space-sm) 0 var(--space-md);
}

.featured-desc {
    margin-bottom: var(--space-lg);
    font-size: 1.05rem;
    line-height: 1.9;
}

.featured-features {
    margin-bottom: var(--space-lg);
    display: grid;
    gap: var(--space-sm);
}

.featured-features li {
    display: flex;
    align-items: center;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.featured-features li span {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding-left: var(--space-lg);
    position: relative;
}

.featured-features li span::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: rgba(123, 158, 135, 0.15);
    border-radius: 50%;
}

.featured-features li span::after {
    content: '✓';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: var(--color-accent);
}

/* ---- Games Grid ---- */
.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.game-card {
    position: relative;
    transition: transform var(--duration-base) var(--ease-out);
}

.game-card:hover {
    transform: translateY(-8px);
}

.game-card-vertical {
    grid-row: span 2;
}

.game-card-vertical .game-media {
    height: 100%;
}

.game-media {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-sm);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--duration-base) var(--ease-out);
}

.game-card:hover .game-media {
    box-shadow: var(--shadow-lg);
}

.game-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--duration-slow) var(--ease-out);
}

.game-card:hover .game-media img {
    transform: scale(1.05);
}

.game-media svg,
.game-media source {
    width: 100%;
    height: 100%;
    display: block;
}

.game-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 24, 20, 0.95) 0%, rgba(26, 24, 20, 0.6) 50%, transparent 100%);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity var(--duration-base) var(--ease-out);
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.game-year {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-text-dim);
    background: var(--color-bg);
    padding: 4px 10px;
    border-radius: var(--radius);
}

.game-overlay p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

.game-info {
    padding: 0 var(--space-xs);
}

.game-platform {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-text-dim);
    letter-spacing: 0.05em;
}

.game-info h3 {
    font-size: 1.2rem;
    margin: var(--space-xs) 0;
    transition: color var(--duration-fast) var(--ease-out);
}

.game-card:hover .game-info h3 {
    color: var(--color-primary);
}

.game-genre {
    font-size: 0.85rem;
    color: var(--color-accent);
}

/* ---- Process ---- */
.process {
    background: var(--color-surface);
    position: relative;
}

.process::before,
.process::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.process::before { top: 0; }
.process::after { bottom: 0; }

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.process-step {
    position: relative;
    padding-top: var(--space-xl);
    padding: var(--space-xl) var(--space-md);
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    transition: transform var(--duration-base) var(--ease-out),
                box-shadow var(--duration-base) var(--ease-out);
}

.process-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.process-num {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--color-border);
    line-height: 1;
    opacity: 0.5;
}

.process-step h3 {
    font-size: 1.05rem;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.process-step p {
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ---- Team ---- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.team-card {
    text-align: center;
    padding: var(--space-lg);
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    transition: transform var(--duration-base) var(--ease-out),
                box-shadow var(--duration-base) var(--ease-out);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.team-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--space-md);
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-border);
    transition: border-color var(--duration-base) var(--ease-out),
                transform var(--duration-base) var(--ease-out);
}

.team-card:hover .team-avatar {
    border-color: var(--color-primary);
    transform: scale(1.05);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.team-card h3 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.team-role {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-secondary);
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}

.team-bio {
    font-size: 0.85rem;
    margin-bottom: var(--space-sm);
    line-height: 1.6;
}

.team-links {
    display: flex;
    justify-content: center;
    gap: var(--space-xs);
}

.team-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-text-muted);
    transition: all var(--duration-fast) var(--ease-out);
}

.team-links a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-bg);
    transform: translateY(-2px);
}

/* ---- Press ---- */
.press {
    background: var(--color-surface);
}

.press-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.press-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.press-quote {
    background: var(--color-bg);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border-left: 3px solid var(--color-primary);
    position: relative;
    transition: transform var(--duration-base) var(--ease-out),
                box-shadow var(--duration-base) var(--ease-out);
}

.press-quote:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.press-quote::before {
    content: '"';
    position: absolute;
    top: var(--space-sm);
    right: var(--space-md);
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--color-border);
    opacity: 0.3;
    line-height: 1;
}

.press-quote p {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.press-quote cite {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-text-dim);
    font-style: normal;
    letter-spacing: 0.05em;
}

.press-logos {
    text-align: center;
}

.press-logos > span {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-dim);
    margin-bottom: var(--space-md);
}

.logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.press-logo {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-text-dim);
    opacity: 0.5;
    transition: opacity var(--duration-fast) var(--ease-out),
                color var(--duration-fast) var(--ease-out);
}

.press-logo:hover {
    opacity: 1;
    color: var(--color-text);
}

/* ---- Contact ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.contact-info h2 {
    margin-bottom: var(--space-md);
}

.contact-info > p {
    margin-bottom: var(--space-xl);
    font-size: 1.05rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-item {
    position: relative;
    padding-left: var(--space-lg);
}

.contact-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--color-border);
}

.contact-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.95rem;
}

.contact-item a {
    color: var(--color-text);
    transition: color var(--duration-fast) var(--ease-out);
}

.contact-item a:hover {
    color: var(--color-primary);
}

.contact-form {
    background: var(--color-surface);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-form::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: var(--space-xs);
    color: var(--color-text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    transition: border-color var(--duration-fast) var(--ease-out),
                box-shadow var(--duration-fast) var(--ease-out);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(196, 167, 125, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-dim);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23A69F94' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

/* ---- Footer ---- */
.footer {
    background: var(--color-surface);
    padding: var(--space-2xl) 0 var(--space-lg);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: var(--space-2xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--space-lg);
}

.footer-brand {
    max-width: 300px;
}

.footer-brand p {
    font-size: 0.9rem;
    margin-top: var(--space-sm);
    line-height: 1.7;
}

.footer-nav {
    display: flex;
    gap: var(--space-2xl);
}

.footer-col h4 {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
    font-weight: 400;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer-col a {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    transition: color var(--duration-fast) var(--ease-out);
}

.footer-col a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.85rem;
}

.footer-tagline {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-text-dim);
}

/* ---- Animations ---- */
.animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--duration-slow) var(--ease-out),
                transform var(--duration-slow) var(--ease-out);
}

.animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation */
.animate:nth-child(2) { transition-delay: 100ms; }
.animate:nth-child(3) { transition-delay: 200ms; }
.animate:nth-child(4) { transition-delay: 300ms; }
.animate:nth-child(5) { transition-delay: 400ms; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .game-card-vertical {
        grid-row: auto;
    }
    
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .press-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --space-3xl: 48px;
        --space-4xl: 64px;
        --space-2xl: 32px;
    }
    
    /* 确保容器有固定左右边距 */
    .container {
        padding: 0 16px;
    }
    
    /* Hero 区域优化 */
    .hero {
        min-height: auto;
        padding: 120px 16px 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-desc {
        font-size: 1rem;
        margin-bottom: var(--space-lg);
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-scroll {
        display: none;
    }
    
    /* Section 间距优化 */
    .section {
        padding: var(--space-xl) 0;
    }
    
    .section-header {
        margin-bottom: var(--space-lg);
    }
    
    .section-label {
        font-size: 0.7rem;
        letter-spacing: 0.15em;
    }
    
    .section-label::before,
    .section-label::after {
        width: 20px;
    }
    
    /* About 区域 */
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .about-lead h2 {
        font-size: 1.5rem;
    }
    
    .about-lead::before {
        width: 40px;
        height: 2px;
    }
    
    .about-text p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    /* Featured 区域优化 */
    .featured-card {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .featured-media {
        width: 100%;
    }
    
    .featured-image {
        width: 100%;
        aspect-ratio: 4/3;
        min-height: 200px;
    }
    
    .featured-image img {
        object-position: center;
    }
    
    .featured-badge {
        top: var(--space-sm);
        left: var(--space-sm);
        font-size: 0.7rem;
        padding: 4px 8px;
    }
    
    .featured-content {
        padding: 0;
    }
    
    .featured-content h3 {
        font-size: 1.5rem;
    }
    
    .featured-type {
        font-size: 0.85rem;
    }
    
    .featured-desc {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .featured-features {
        gap: var(--space-sm);
    }
    
    .featured-features li span {
        font-size: 0.9rem;
    }
    
    .featured-features li::before {
        width: 6px;
        height: 6px;
        margin-right: 8px;
    }
    
    .featured-overlay {
        padding: var(--space-md);
    }
    
    .featured-overlay span {
        font-size: 0.7rem;
    }
    
    .platforms {
        gap: var(--space-xs);
    }
    
    .platforms span {
        font-size: 0.65rem;
        padding: 2px 6px;
    }
    
    /* Games Grid */
    .games-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .game-card-vertical {
        grid-row: auto;
    }
    
    .game-card-vertical .game-media {
        height: auto;
        aspect-ratio: 16/10;
    }
    
    .game-media {
        aspect-ratio: 16/10;
    }
    
    .game-media img {
        object-position: center;
    }
    
    /* Process 区域 */
    .process-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .process-step {
        padding: var(--space-md);
    }
    
    .process-num {
        font-size: 2rem;
    }
    
    .process-step h3 {
        font-size: 1rem;
    }
    
    .process-step p {
        font-size: 0.9rem;
    }
    
    /* Team 区域 */
    .team-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .team-card {
        padding: var(--space-md);
    }
    
    .team-avatar {
        width: 80px;
        height: 80px;
    }
    
    /* Press 区域 */
    .press-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .press-quote {
        padding: var(--space-md);
    }
    
    .press-quote p {
        font-size: 1rem;
    }
    
    .logo-row {
        gap: var(--space-lg);
    }
    
    /* Contact 区域 */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .contact-info h2 {
        font-size: 1.75rem;
    }
    
    .contact-info > p {
        font-size: 0.95rem;
    }
    
    .contact-form {
        padding: var(--space-lg);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-top {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-nav {
        flex-wrap: wrap;
        gap: var(--space-md);
    }
    
    .footer-col {
        min-width: 120px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }
    
    /* Navigation */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: var(--space-lg);
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--duration-base) var(--ease-out),
                    visibility var(--duration-base) var(--ease-out);
    }
    
    .nav-links.active {
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links a {
        font-size: 1.25rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    /* 隐藏鼠标跟随效果 */
    .mouse-glow {
        display: none;
    }
}

/* ---- Selection ---- */
::selection {
    background: var(--color-primary);
    color: var(--color-bg);
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-border-light);
}

/* ---- Focus States ---- */
*:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ---- Smooth Page Load ---- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }
