:root {
    --bg-page: #ffffff;
    --bg-surface: #f8f9fa;
    --bg-card: #ffffff;
    --border-color: #e9ecef;
    --border-hover: #ced4da;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #6b7280;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --tag-bg: #f3f4f6;
    --tag-border: #e5e7eb;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-code: 'JetBrains Mono', monospace;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    background-color: var(--bg-page);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}
.navbar {
    height: 64px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.logo {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 500;
}
.logo-bold {
    font-weight: 800;
    color: var(--text-primary);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.15s ease;
}
.nav-links a:hover {
    color: var(--text-primary);
}
.btn-github-nav {
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
}
.btn-github-nav:hover {
    background: #eef2f6;
}
.poster-hero {
    position: relative;
    width: 100%;
    max-height: 380px;
    background-color: #000000;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}
.poster-img {
    width: 100%;
    max-width: 1100px;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: top center;
}
.poster-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.75) 60%, var(--bg-page) 100%);
    pointer-events: none;
}
.intro-section {
    padding: 40px 0 32px;
}
.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.tag {
    display: inline-block;
    padding: 4px 10px;
    background-color: var(--tag-bg);
    border: 1px solid var(--tag-border);
    border-radius: 16px;
    font-size: 0.8rem;
    font-family: var(--font-code);
    color: var(--text-secondary);
    font-weight: 500;
}
.main-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.main-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 24px;
}
.action-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
}
.btn-primary {
    background: var(--text-primary);
    color: #ffffff;
    border: 1px solid var(--text-primary);
}
.btn-primary:hover {
    background: #000000;
}
.btn-secondary {
    background: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}
.btn-secondary:hover {
    border-color: var(--border-hover);
    background: #e9ecef;
}
.badges-hero {
    margin-top: 10px;
}
.section-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}
.game-embed-section {
    padding: 20px 0 36px;
}
.iframe-wrapper {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: 10px;
    display: inline-block;
    max-width: 100%;
    overflow-x: auto;
    transition: border-color 0.2s ease;
}
.iframe-wrapper:hover {
    border-color: var(--border-hover);
}
.iframe-wrapper iframe {
    display: block;
    max-width: 100%;
}
.features-section {
    padding: 20px 0 40px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    transition: all 0.2s ease;
}
.feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}
.feature-num {
    font-family: var(--font-code);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
}
.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.55;
}
.feature-card code {
    font-family: var(--font-code);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 1px 5px;
    border-radius: 4px;
    font-size: 0.85em;
}
.gallery-section {
    padding: 20px 0 40px;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 16px;
}
.gallery-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
}
.gallery-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}
.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}
.github-section {
    padding: 20px 0 40px;
}
.repo-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.repo-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}
.repo-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.repo-name {
    font-size: 1.15rem;
    font-family: var(--font-code);
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
}
.repo-name:hover {
    text-decoration: underline;
}
.repo-badge {
    font-size: 0.75rem;
    font-family: var(--font-code);
    font-weight: 600;
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 3px 8px;
    border-radius: 6px;
    color: var(--text-secondary);
}
.repo-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 18px;
}
.badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.badges-row img {
    height: 20px;
    display: block;
}
.links-section {
    padding: 20px 0 60px;
}
.author-block {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
}
.author-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.social-links-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 8px;
}
.social-link {
    display: block;
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 10px 14px;
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.15s ease;
}
.social-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateX(2px);
}
.footer {
    border-top: 1px solid var(--border-color);
    background: #ffffff;
    padding: 30px 0;
    text-align: center;
}
.footer-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .poster-hero {
        max-height: 220px;
    }
}
@media (max-width: 600px) {
    .main-title {
        font-size: 1.75rem;
    }
    .poster-hero {
        max-height: 160px;
    }
    .action-buttons {
        flex-direction: column;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .social-links-list {
        grid-template-columns: 1fr;
    }
}