/* ============================================
   HENGAME - NEOBRUTALIST LANDING PAGE
   Simple & Clean Design
   ============================================ */

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

:root {
    --black: #000000;
    --white: #FFFFFF;
    --beige: #F5F5DC;
    --magenta: #FF006E;
    --orange: #FF6B35;
    --blue: #3A86FF;
    --green: #06FFA5;
    --purple: #9D4EDD;
    --coral: #FF6B6B;
    --yellow: #FFF01F;
    
    --border: 4px;
    --shadow: 6px;
    --radius: 0;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--beige);
    color: var(--black);
    line-height: 1.5;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
    background: var(--white);
    border-bottom: var(--border) solid var(--black);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    display: inline-block;
    text-decoration: none;
    line-height: 0;
}

.logo-img {
    display: block;
    height: 36px;
    width: auto;
}

.lang-link {
    color: var(--black);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.lang-link:hover {
    color: var(--magenta);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border: var(--border) solid var(--black);
    cursor: pointer;
    transition: transform 0.1s, box-shadow 0.1s;
    box-shadow: var(--shadow) var(--shadow) 0 var(--black);
}

.btn:hover {
    transform: translate(2px, 2px);
    box-shadow: 4px 4px 0 var(--black);
}

.btn:active {
    transform: translate(4px, 4px);
    box-shadow: 2px 2px 0 var(--black);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.875rem;
    box-shadow: 4px 4px 0 var(--black);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-black {
    background: var(--black);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--black);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    padding: 80px 0 100px;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.highlight {
    color: var(--magenta);
}

.hero-description {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 32px;
    color: #333;
}

.platform-note {
    margin-top: 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #666;
}

/* ============================================
   GAMES SECTION
   ============================================ */

.games-section {
    padding: 60px 0 80px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.game-card {
    position: relative;
    background: var(--white);
    border: var(--border) solid var(--black);
    border-top: 8px solid var(--card-color, var(--black));
    box-shadow: var(--shadow) var(--shadow) 0 var(--black);
    padding: 24px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.game-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 var(--black);
}

.game-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--yellow);
    border: 2px solid var(--black);
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.game-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.game-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.game-desc {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #444;
    margin-bottom: 16px;
    line-height: 1.5;
}

.game-meta {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #666;
    padding-top: 12px;
    border-top: 2px solid var(--beige);
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features-section {
    padding: 60px 0;
    background: var(--white);
    border-top: var(--border) solid var(--black);
    border-bottom: var(--border) solid var(--black);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.feature h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.feature p {
    font-size: 0.875rem;
    font-weight: 500;
    color: #666;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    padding: 80px 0;
    background: var(--magenta);
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.cta-content p {
    font-size: 1.125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--black);
    color: var(--white);
    padding: 32px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.footer-logo {
    display: block;
    height: 28px;
    width: auto;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-copy {
    font-size: 0.8125rem;
    color: #666;
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #333;
}

/* ============================================
   LEGAL PAGES
   ============================================ */

.legal-page {
    min-height: 100vh;
    background: var(--beige);
}

.legal-main {
    padding: 48px 0 80px;
}

.legal-card {
    background: var(--white);
    border: var(--border) solid var(--black);
    box-shadow: var(--shadow) var(--shadow) 0 var(--black);
    padding: 40px;
}

.legal-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.legal-updated {
    display: inline-block;
    background: var(--beige);
    border: 2px solid var(--black);
    padding: 6px 12px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 32px;
}

.legal-card h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 32px 0 12px;
}

.legal-card p {
    font-weight: 500;
    margin-bottom: 16px;
    line-height: 1.6;
}

.legal-card ul {
    margin: 0 0 16px 24px;
}

.legal-card li {
    font-weight: 500;
    margin-bottom: 8px;
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--black);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.875rem;
}

.legal-back:hover {
    color: var(--magenta);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .nav-content {
        gap: 12px;
    }

    .nav-actions {
        gap: 12px;
    }

    .hero {
        padding: 60px 0 80px;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .games-section {
        padding: 48px 0 64px;
    }
    
    .features-section {
        padding: 48px 0;
    }
    
    .cta-section {
        padding: 64px 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .legal-card {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .nav-content {
        align-items: flex-start;
    }

    .nav-actions {
        flex-direction: column;
        align-items: flex-end;
    }

    .btn-large {
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    .game-card {
        padding: 20px;
    }
    
    .feature {
        flex-direction: column;
        gap: 8px;
    }
}
