:root {
    --bg: #0a0a14;
    --bg-card: #12121e;
    --text: #e8e8f0;
    --text-muted: #8888a0;
    --cyan: #4db8ff;
    --red: #ff5050;
    --gold: #ffcc00;
    --green: #4dff99;
    --border: rgba(255,255,255,0.08);
}

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

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

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

/* Hero */
.hero {
    text-align: center;
    padding: 80px 0 60px;
}

.hero .icon {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 4px;
    margin-bottom: 4px;
}

.hero .pong { color: var(--text); }
.hero .havoc { color: var(--red); font-size: 3.5rem; }

.hero .subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    letter-spacing: 3px;
    margin-top: 8px;
}

.hero .tagline {
    color: var(--cyan);
    font-size: 1.2rem;
    margin-top: 20px;
    font-weight: 600;
}

.app-store-badge {
    display: inline-block;
    margin-top: 24px;
}

.app-store-badge img {
    height: 54px;
}

/* Screenshots */
.screenshots {
    padding: 40px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.screenshots h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
    color: var(--text);
}

.screenshot-row {
    display: flex;
    gap: 16px;
    padding: 0 24px 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.screenshot-row img {
    height: 480px;
    border-radius: 16px;
    border: 1px solid var(--border);
    flex-shrink: 0;
}

/* Features */
.features {
    padding: 60px 0;
}

.features h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 40px;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
}

.feature-card .icon-badge {
    font-size: 2rem;
    margin-bottom: 12px;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--cyan);
}

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

/* Pro Section */
.pro-section {
    padding: 60px 0;
    text-align: center;
}

.pro-section h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.pro-section .price {
    color: var(--gold);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.pro-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    max-width: 720px;
    margin: 0 auto;
    text-align: left;
}

.pro-features .item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.pro-features .item .check {
    color: var(--green);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border);
    margin-top: 40px;
}

footer a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 16px;
    font-size: 0.9rem;
}

footer a:hover { color: var(--cyan); }

footer .copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 16px;
    opacity: 0.6;
}

/* Legal pages */
.legal {
    padding: 60px 24px;
    max-width: 720px;
}

.legal h1 {
    font-size: 2rem;
    margin-bottom: 8px;
}

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

.legal h2 {
    font-size: 1.3rem;
    margin: 28px 0 12px;
    color: var(--cyan);
}

.legal h3 {
    font-size: 1.1rem;
    margin: 20px 0 8px;
}

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

.legal ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

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

.back-link {
    display: inline-block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 24px;
    font-size: 0.9rem;
}

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

/* Responsive */
@media (max-width: 640px) {
    .hero h1 { font-size: 2rem; }
    .hero .havoc { font-size: 2.5rem; }
    .screenshot-row img { height: 360px; }
    .feature-grid { grid-template-columns: 1fr; }
}
