:root {
    --color-primary: #1a1a2e;
    --color-secondary: #16213e;
    --color-accent: #c9a227;
    --color-accent-dark: #a68519;
    --color-text: #e8e8e8;
    --color-text-muted: #a0a0a0;
    --color-surface: #0f0f1a;
    --color-surface-light: #252540;
    --color-border: #3a3a5c;
    --color-success: #4a9d5b;
    --color-gold: #d4af37;

    --font-display: 'Crimson Pro', 'Noto Serif SC', Georgia, serif;
    --font-body: 'Noto Sans SC', 'Noto Sans DE', -apple-system, BlinkMacSystemFont, sans-serif;

    --shadow-sm: 0 2px 4px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 20px rgba(201, 162, 39, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--color-primary);
    color: var(--color-text);
    line-height: 1.7;
    min-height: 100vh;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-gold);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    padding: 0 2rem;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text);
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-icon {
    font-size: 1.75rem;
    color: var(--color-accent);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--color-text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-accent);
}

.language-selector select {
    background: var(--color-surface);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 2rem 60px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-text);
    letter-spacing: 0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-primary);
}

.btn-primary:hover {
    background: var(--color-gold);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

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

.btn-secondary:hover {
    background: var(--color-surface-light);
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    opacity: 0.1;
}

.gear {
    position: absolute;
    border: 2px solid var(--color-accent);
    border-radius: 50%;
}

.gear-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -100px;
    animation: rotate 30s linear infinite;
}

.gear-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    right: -50px;
    animation: rotate 20s linear infinite reverse;
}

.gear-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 20%;
    animation: rotate 25s linear infinite;
}

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

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

.section-title {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.games-section {
    padding: 80px 2rem;
    background: var(--color-surface);
}

.games-grid {
    max-width: 1000px;
    margin: 0 auto;
}

.game-card {
    background: var(--color-surface-light);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
}

.game-featured {
    position: relative;
}

.game-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--color-accent);
    color: var(--color-primary);
    padding: 0.375rem 0.875rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 10;
}

.game-cover {
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.berlin-mists {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1f3d 50%, #1a1a2e 100%);
}

.game-cover-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.game-era {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-accent);
    text-shadow: 0 0 30px rgba(201, 162, 39, 0.5);
}

.game-location {
    font-size: 1.5rem;
    color: var(--color-text-muted);
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.game-info {
    padding: 2rem;
}

.game-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.game-title-en {
    color: var(--color-text-muted);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.game-description {
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.game-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.game-meta span {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.game-genre {
    background: var(--color-surface);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    border: 1px solid var(--color-border);
}

.game-price-info {
    margin-bottom: 1.25rem;
}

.price-free {
    color: var(--color-success);
    font-weight: 600;
}

.btn-game {
    background: var(--color-accent);
    color: var(--color-primary);
    padding: 0.75rem 1.5rem;
}

.btn-game:hover {
    background: var(--color-gold);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.coming-soon {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    border: 1px dashed var(--color-border);
    border-radius: 8px;
    color: var(--color-text-muted);
}

.features-section {
    padding: 80px 2rem;
    background: var(--color-primary);
}

.features-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--color-surface);
    padding: 1.75rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-accent);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.about-section {
    padding: 80px 2rem;
    background: var(--color-surface);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--color-text-muted);
}

.about-content p:first-of-type {
    font-size: 1.15rem;
    color: var(--color-text);
}

.contact-section {
    padding: 80px 2rem;
    background: var(--color-primary);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto 2rem;
    text-align: center;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-item a {
    color: var(--color-accent);
}

.legal-notice {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    max-width: 600px;
    margin: 0 auto;
}

.legal-notice p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.legal-notice a {
    color: var(--color-text-muted);
}

.legal-notice a:hover {
    color: var(--color-accent);
}

.site-footer {
    background: var(--color-surface);
    padding: 1.5rem 2rem;
    text-align: center;
    border-top: 1px solid var(--color-border);
}

.site-footer p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .game-meta {
        gap: 0.75rem;
    }

    .game-cover {
        height: 200px;
    }
}

.legal-page {
    padding: 120px 2rem 80px;
    min-height: 100vh;
    background: var(--color-primary);
}

.legal-page .container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-page h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.legal-page .last-updated {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.legal-page section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}

.legal-page section:last-child {
    border-bottom: none;
}

.legal-page h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-accent);
}

.legal-page h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 1rem 0 0.5rem;
}

.legal-page p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-page ul, .legal-page ol {
    color: var(--color-text-muted);
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-page li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.legal-page a {
    color: var(--color-accent);
}

.legal-page a:hover {
    color: var(--color-gold);
}
