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

:root {
    --accent: #E25F13;
    --accent-hover: #F0722A;
    --bg: #0a0a0a;
    --bg-alt: #111111;
    --text: #e8e8e8;
    --text-muted: #888;
    --border: #222;
    --radius: 8px;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

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

/* Brand lockup */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--text);
}

.logo img {
    width: 56px;
    height: 56px;
    display: block;
}

.logo .wordmark {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1;
    color: #fff;
}

/* Hero */
.hero {
    padding: 100px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}

.hero .logo {
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Games */
.games {
    padding: 80px 0 96px;
    background: var(--bg-alt);
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: -0.01em;
}

.app-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.app-card {
    width: 240px;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    padding: 28px 24px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    text-align: center;
}

.app-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    border-color: #444;
}

.app-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
}

.app-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text);
}

.app-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.app-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
}

.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    background: var(--accent);
    color: #fff;
    transition: background 0.2s, transform 0.1s;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

/* Secondary platform links sit in a row under the primary button */
.btn-secondary-row {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-fb,
.btn-ig {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 12px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-muted);
    border: 1px solid var(--border);
    transition: border-color 0.2s, color 0.2s;
}

.btn-fb:hover,
.btn-ig:hover {
    border-color: #555;
    color: var(--text);
}

/* Footer */
footer {
    padding: 48px 0;
    border-top: 1px solid var(--border);
}

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

.footer-logo img {
    width: 32px;
    height: 32px;
    display: block;
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

/* Legal pages */
.legal-page {
    padding: 60px 0 80px;
}

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

.legal-header {
    text-align: center;
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.legal-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.legal-header .last-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.legal-content h2 {
    font-size: 1.4rem;
    text-align: left;
    margin-top: 40px;
    margin-bottom: 16px;
}

.legal-content p {
    margin-bottom: 16px;
    color: var(--text);
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-content li ul {
    margin-top: 8px;
    margin-bottom: 0;
}

.legal-content li {
    margin-bottom: 8px;
    color: var(--text);
}

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

.legal-content address {
    font-style: normal;
    color: var(--text);
    margin-bottom: 16px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 32px;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--text);
}

.back-link svg {
    width: 20px;
    height: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0;
    }

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

    .subtitle {
        font-size: 1.05rem;
    }

    .logo img {
        width: 44px;
        height: 44px;
    }

    .logo .wordmark {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .app-card {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        gap: 12px;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .legal-header h1 {
        font-size: 2rem;
    }
}
