/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #34a853;
    --primary-dark: #2b8a46;
    --secondary-color: #4285f4;
    --accent-color: #fbbc05;
    --dark-bg: #f4f8ff;
    --dark-secondary: #ffffff;
    --dark-tertiary: #e8f0fe;
    --text-primary: #243447;
    --text-secondary: #4a5f77;
    --text-muted: #6d829b;
    --text-on-accent: #ffffff;
    --gradient-primary: linear-gradient(135deg, #34a853 0%, #4285f4 100%);
    --gradient-secondary: linear-gradient(135deg, #4285f4 0%, #fbbc05 100%);
    --gradient-hero: linear-gradient(135deg, rgba(52, 168, 83, 0.15) 0%, rgba(66, 133, 244, 0.15) 100%);
    --glass: #ffffff;
    --glass-border: #d6e3f7;
    --shadow-sm: 0 2px 0 rgba(36, 52, 71, 0.1);
    --shadow-md: 0 4px 0 rgba(36, 52, 71, 0.12);
    --shadow-lg: 0 6px 0 rgba(36, 52, 71, 0.14);
    --shadow-xl: 0 8px 0 rgba(36, 52, 71, 0.15);
    --shadow-glow: none;
    --light-glow: none;
    --light-leak: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', 'Segoe UI', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: var(--light-leak);
    pointer-events: none;
    z-index: 0;
}

body::after { content: none; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(247, 242, 236, 0.82);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(252, 248, 243, 0.94);
    box-shadow: var(--shadow-md), var(--light-glow);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 12px;
    color: var(--text-on-accent);
    border: 2px solid #ffffff;
    box-shadow: var(--shadow-md);
}

.logo-icon-farm {
    border-radius: 12px;
}

.logo-text {
    font-family: 'Baloo 2', cursive;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
    background: none;
    -webkit-text-fill-color: var(--primary-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-nav {
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(109, 129, 144, 0.88) 0%, rgba(154, 138, 163, 0.85) 100%);
    color: var(--text-on-accent);
    text-decoration: none;
    border-radius: 14px;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #ffffff;
    box-shadow: var(--shadow-md);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 0 100px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

/* Light leak overlay - 光感 */
.hero-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    pointer-events: none;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: none;
    opacity: 0.12;
    animation: none;
    mix-blend-mode: normal;
}

.orb-1 {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(180, 210, 230, 0.65) 0%, rgba(180, 210, 230, 0.15) 45%, transparent 72%);
    top: -200px;
    left: -160px;
    animation-delay: 0s;
}

.orb-2 {
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(215, 195, 220, 0.55) 0%, rgba(215, 195, 220, 0.12) 50%, transparent 72%);
    bottom: -140px;
    right: -100px;
    animation-delay: 5s;
}

.orb-3 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(190, 218, 200, 0.5) 0%, transparent 68%);
    top: 52%;
    left: 52%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.08);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: none;
    opacity: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: #ffffff;
    backdrop-filter: none;
    border: 2px solid var(--glass-border);
    border-radius: 999px;
    font-size: 13px;
    letter-spacing: 0.02em;
    color: var(--primary-dark);
    margin-bottom: 36px;
    box-shadow: var(--shadow-sm);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero-title {
    font-family: 'Baloo 2', cursive;
    font-size: clamp(44px, 7vw, 72px);
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.title-line {
    display: block;
}

.title-line.highlight {
    font-style: normal;
    background: linear-gradient(120deg, #34a853 0%, #4285f4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: none;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.85;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 72px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-on-accent);
    border-radius: 14px;
    border: 2px solid #ffffff;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: #ffffff;
    backdrop-filter: none;
    color: var(--primary-dark);
    border: 2px solid var(--glass-border);
    border-radius: 14px;
}

.btn-secondary:hover {
    background: rgba(255, 252, 248, 0.85);
    border-color: rgba(90, 109, 122, 0.28);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.hero-stats {
    display: flex;
    gap: 56px;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 64px;
    border-top: 1px solid var(--glass-border);
}

.stat-box {
    text-align: center;
}

.stat-number {
    font-family: 'Baloo 2', cursive;
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-label-only {
    padding-top: 1.2em;
    margin-top: -0.5em;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 12px;
    z-index: 1;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

/* Games Section */
.games-section {
    padding: 140px 0;
    position: relative;
}

.games-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: radial-gradient(ellipse 85% 100% at 50% 0%, rgba(200, 218, 232, 0.35) 0%, transparent 72%);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-label {
    display: inline-block;
    padding: 8px 20px;
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.section-title {
    font-family: 'Baloo 2', cursive;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 600;
    margin-bottom: 16px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.games-showcase {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.featured-game {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
}

.game-media {
    position: relative;
    height: 500px;
    border-radius: 24px;
    overflow: hidden;
}

.game-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.featured-image-1 {
    background: linear-gradient(135deg, #a8d8a8 0%, #7ec8e3 100%);
    box-shadow: none;
}

.game-image-2 {
    background: linear-gradient(135deg, #ffd166 0%, #f9a03f 100%);
}

.game-image-3 {
    background: linear-gradient(135deg, #90caf9 0%, #5b9cf6 100%);
}

.game-image-4 {
    background: linear-gradient(135deg, #b39ddb 0%, #7e57c2 100%);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(244, 248, 255, 0.94) 78%);
    display: flex;
    align-items: flex-end;
    padding: 48px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-game:hover .game-overlay,
.game-card:hover .game-overlay {
    opacity: 1;
}

.game-info {
    max-width: 600px;
}

.game-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.game-badge.new {
    background: linear-gradient(135deg, rgba(90, 109, 122, 0.95), rgba(124, 112, 132, 0.9));
    color: var(--text-on-accent);
}

.game-badge.popular {
    background: var(--accent-color);
    color: var(--dark-bg);
}

.game-badge.coming-soon {
    background: var(--secondary-color);
    color: var(--text-on-accent);
}

.game-badge.award {
    background: linear-gradient(135deg, #8b979f 0%, #b49ead 55%, #8fa99a 100%);
    color: var(--text-on-accent);
}

.game-title-large {
    font-family: 'Baloo 2', cursive;
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 16px;
}

.game-description-large {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.game-meta {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.meta-tag {
    padding: 6px 12px;
    background: rgba(255, 252, 248, 0.55);
    border: 1px solid rgba(90, 109, 122, 0.12);
    border-radius: 8px;
    font-size: 12px;
    color: var(--text-secondary);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

/* 叠加：卡片错落光感 */
.game-card {
    background: var(--glass);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
}

/* 叠加：卡片轻微错落 */
@media (min-width: 768px) {
    .games-grid .game-card:nth-child(odd) { margin-top: 8px; }
    .games-grid .game-card:nth-child(even) { margin-top: 20px; }
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), 0 0 44px rgba(165, 192, 214, 0.25);
    border-color: rgba(90, 109, 122, 0.22);
}

.game-card .game-image {
    height: 240px;
}

.game-link {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.game-link:hover {
    background: var(--primary-dark);
    color: var(--text-on-accent);
    transform: translate(-50%, -50%) scale(1.1);
}

.game-content {
    padding: 24px;
}

.game-title {
    font-family: 'Baloo 2', cursive;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.game-genre {
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 12px;
}

.game-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* Studio Section - 透气 + 光感 */
.studio-section {
    padding: 140px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(232, 220, 210, 0.35) 40%, transparent 100%);
    position: relative;
}

.studio-section::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 0;
    width: 50%;
    height: 60%;
    background: radial-gradient(ellipse at right, rgba(200, 225, 210, 0.45) 0%, transparent 62%);
    pointer-events: none;
}

.studio-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 96px;
    align-items: center;
}

.studio-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.studio-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.value-item {
    text-align: center;
    padding: 24px;
    background: rgba(255, 252, 248, 0.6);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.value-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.value-item h4 {
    font-family: 'Baloo 2', cursive;
    font-size: 20px;
    margin-bottom: 8px;
}

.value-item p {
    color: var(--text-secondary);
    font-size: 14px;
}

.studio-visual {
    position: relative;
    height: 500px;
}

.studio-image-placeholder {
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 40% 30%, rgba(200, 220, 240, 0.55) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 60%, rgba(225, 210, 222, 0.4) 0%, transparent 55%),
        linear-gradient(135deg, #f2e8df 0%, #e8ddd4 100%);
    border-radius: 32px 28px 36px 26px / 26px 34px 30px 32px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.35), 0 12px 36px rgba(90, 109, 122, 0.1);
}

.floating-card {
    position: absolute;
    background: var(--glass);
    backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: floatCard 6s infinite ease-in-out;
    box-shadow: 0 0 32px rgba(255, 255, 255, 0.05);
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 15%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.card-icon {
    font-size: 32px;
}

.card-text {
    font-size: 14px;
    font-weight: 600;
}

/* Careers Section */
.careers-section {
    padding: 140px 0;
    position: relative;
}

.careers-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: radial-gradient(ellipse 70% 100% at 50% 100%, rgba(200, 218, 225, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.careers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-bottom: 56px;
}

.career-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 36px;
    transition: all 0.3s ease;
    box-shadow: 0 0 26px rgba(165, 192, 214, 0.1);
}

.career-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), 0 0 40px rgba(165, 192, 214, 0.2);
    border-color: rgba(90, 109, 122, 0.22);
}

.career-header {
    margin-bottom: 16px;
}

.career-title {
    font-family: 'Baloo 2', cursive;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.career-type {
    color: var(--primary-color);
    font-size: 14px;
}

.career-description {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.career-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.tag {
    padding: 6px 12px;
    background: rgba(200, 218, 232, 0.35);
    border: 1px solid rgba(90, 109, 122, 0.2);
    border-radius: 8px;
    font-size: 12px;
    color: var(--primary-dark);
}

.career-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.career-link:hover {
    color: var(--primary-dark);
}

.careers-cta {
    text-align: center;
    padding: 56px 48px;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-radius: 28px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.03);
}

.careers-cta p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 18px;
}

/* News Section */
.news-section {
    padding: 140px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(220, 230, 238, 0.4) 50%, transparent 100%);
    position: relative;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.news-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    box-shadow: 0 0 32px rgba(0, 0, 0, 0.08);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), 0 0 42px rgba(165, 192, 214, 0.2);
    border-color: rgba(90, 109, 122, 0.18);
}

.news-card.featured-news {
    grid-column: span 2;
}

.news-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.featured-news .news-image {
    height: 300px;
}

.news-image-1 {
    background:
        radial-gradient(ellipse at 30% 40%, rgba(210, 230, 242, 0.7), transparent 60%),
        linear-gradient(150deg, #f0e6dc 0%, #dccfc4 100%);
}

.news-image-2 {
    background:
        radial-gradient(circle at 80% 20%, rgba(190, 210, 230, 0.5), transparent 55%),
        linear-gradient(145deg, #d8e6ec 0%, #aabecb 100%);
}

.news-image-3 {
    background:
        radial-gradient(circle at 50% 80%, rgba(200, 220, 205, 0.45), transparent 60%),
        linear-gradient(145deg, #e8e8e4 0%, #c9d8ce 100%);
}

.news-content {
    padding: 32px;
}

.news-date {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
}

.news-title {
    font-family: 'Baloo 2', cursive;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.news-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.news-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.news-link:hover {
    color: var(--primary-dark);
}

/* Contact Section */
.contact-section {
    padding: 140px 0;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: radial-gradient(ellipse 80% 80% at 50% 0%, rgba(215, 210, 225, 0.4) 0%, transparent 60%);
    pointer-events: none;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 96px;
}

.contact-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 48px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--glass);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
    box-shadow: 0 0 18px rgba(165, 192, 214, 0.2);
}

.contact-item h4 {
    font-family: 'Baloo 2', cursive;
    font-size: 18px;
    margin-bottom: 8px;
}

.contact-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-item p a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item p a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.social-link {
    padding: 12px 24px;
    background: var(--glass);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(200, 218, 232, 0.35);
    color: var(--primary-dark);
    border-color: rgba(90, 109, 122, 0.25);
    box-shadow: 0 6px 20px rgba(90, 109, 122, 0.1);
}

.contact-form {
    background: var(--glass);
    backdrop-filter: blur(24px);
    padding: 48px;
    border-radius: 28px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 40px rgba(90, 109, 122, 0.08), inset 0 0 48px rgba(255, 252, 248, 0.4);
    border-radius: 32px 24px 36px 28px / 28px 34px 24px 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 252, 248, 0.75);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(90, 109, 122, 0.35);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 3px rgba(165, 192, 214, 0.35);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #ebe3db 0%, #f7f2ec 45%, #fdfaf7 100%);
    border-top: 1px solid var(--glass-border);
    padding: 96px 0 40px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(90, 109, 122, 0.2), transparent);
    opacity: 0.85;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 48px 56px;
    margin-bottom: 48px;
    align-items: start;
}

.footer-tagline {
    color: var(--text-secondary);
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.6;
    max-width: 320px;
}

.footer-title {
    font-family: 'Baloo 2', cursive;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    flex-wrap: wrap;
    gap: 24px;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: 24px;
}

.footer-social a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .studio-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px 32px;
    }

    .news-card.featured-news {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--dark-bg);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        padding: 32px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 16px;
    }

    .hamburger {
        display: flex;
    }

    .btn-nav {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        gap: 32px;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .studio-values {
        grid-template-columns: 1fr;
    }

    .careers-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-brand .footer-tagline {
        max-width: none;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .section-title {
        font-size: 32px;
    }

    .game-media {
        height: 400px;
    }

    .contact-form {
        padding: 32px 24px;
    }
}

/* Flat cartoon finish */
.gradient-orb {
    mix-blend-mode: normal;
}

.logo-text,
.hero-title,
.section-title,
.game-title-large,
.stat-number,
.news-title {
    font-family: 'Baloo 2', cursive;
    letter-spacing: 0.01em;
}
