/* ============================================
   ALIEN POKER CLUB - Landing Page Styles
   ============================================ */

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a24;
    --bg-navy: #0f1a2e;
    --bg-navy-light: #152240;
    --text-primary: #e0e0e0;
    --text-secondary: #8899aa;
    --text-silver: #c0c8d4;
    --accent-green: #00ff88;
    --accent-green-dim: #00cc6a;
    --accent-blue: #4488cc;
    --accent-blue-bright: #5599dd;
    --accent-felt: #1a5c3a;
    --border-color: #1e3050;
    --border-blue: #243a5c;
    --glow-green: 0 0 20px rgba(0, 255, 136, 0.3);
    --glow-blue: 0 0 20px rgba(68, 136, 204, 0.3);
    /* Black faded outer glow for text set straight on a picture (the
       features and pricing backdrops): a tight dark core so letter edges
       hold, widening into a soft halo that quiets the stars behind. */
    --glow-text-dark:
        0 0 2px rgba(0, 0, 0, 0.95),
        0 0 6px rgba(0, 0, 0, 0.9),
        0 0 14px rgba(0, 0, 0, 0.8),
        0 0 28px rgba(0, 0, 0, 0.6);
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Consolas', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    background-image:
        radial-gradient(ellipse at top, rgba(0, 255, 136, 0.06) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 50%, rgba(15, 40, 80, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(20, 60, 100, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at bottom, rgba(0, 100, 255, 0.05) 0%, transparent 50%);
}

a {
    color: var(--accent-green);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-green-dim);
}

/* === GLOBAL OVERLAYS === */

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.8; }
}

.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.1) 0px,
        rgba(0, 0, 0, 0.1) 1px,
        transparent 1px,
        transparent 3px
    );
    opacity: 0.3;
}

/* === NAVIGATION === */

.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 16px 24px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.top-nav.nav-scrolled {
    background: rgba(12, 20, 35, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(68, 136, 204, 0.15);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-green);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
}

.nav-logo:hover {
    color: var(--accent-green);
}

.nav-logo-img {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.4));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    font-size: 13px;
    color: var(--text-secondary);
    letter-spacing: 1px;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-btn-cta {
    background: var(--accent-green);
    color: var(--bg-primary) !important;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 12px !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.nav-btn-cta:hover {
    background: var(--accent-green-dim);
    color: var(--bg-primary) !important;
    box-shadow: var(--glow-green);
}

/* Guest entry from the nav: same route as the hero's Play Now
   (api/auth/guest-start.php), outlined so Create Account stays the primary. */
.nav-btn-guest {
    color: var(--accent-green) !important;
    border: 1px solid var(--accent-green);
    padding: 7px 14px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 12px !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.nav-btn-guest:hover {
    background: rgba(0, 255, 136, 0.1);
    box-shadow: var(--glow-green);
}

/* === SECTION LAYOUT === */

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 24px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-inner.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 4px;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-secondary);
}

.section-title .ascii-bracket {
    color: var(--accent-green);
    opacity: 0.6;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 16px;
    margin-top: -44px;
    margin-bottom: 50px;
}

/* === SECTION CONNECTOR === */

.section-connector {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--border-blue), var(--accent-blue), var(--border-blue));
    margin: 0 auto;
    position: relative;
}

.section-connector::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent-blue-bright);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-blue);
}

/* === BUTTONS === */

.btn-primary {
    display: inline-block;
    background: var(--accent-green);
    color: var(--bg-primary);
    border: none;
    border-radius: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: var(--accent-green-dim);
    color: var(--bg-primary);
    box-shadow: var(--glow-green);
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--accent-green);
    border: 1px solid var(--accent-green);
    border-radius: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: rgba(0, 255, 136, 0.1);
    box-shadow: var(--glow-green);
    color: var(--accent-green);
    transform: translateY(-1px);
}

/* === HERO === */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    text-align: left;
    padding: 0 60px 60px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    will-change: transform, opacity;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    /* Less dimmed (owner 2026-10-01): was opacity 0.45 + brightness 0.9 +
       heavy overlays. The text now carries --glow-text-dark instead, so the
       picture no longer has to be darkened to keep it readable. */
    opacity: 0.85;
}

/* Gradient overlay - a little heavier at bottom/left where text lives; the
   bottom still runs to near-solid so the hero meets the page without a seam. */
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(10, 10, 15, 0.55) 0%, rgba(10, 10, 15, 0.15) 50%, rgba(10, 10, 15, 0) 100%),
        linear-gradient(to bottom, rgba(10, 10, 15, 0) 0%, rgba(10, 10, 15, 0.15) 60%, rgba(10, 10, 15, 0.95) 100%);
}

/* Black faded outer glow on every line of text set on the picture. */
.hero-tagline,
.hero-pitch,
.hero-cta-note,
.hero-terminal {
    text-shadow: var(--glow-text-dark);
}

/* Phone: the text column sits right over the bright centre of the chip, so
   the picture keeps more of its old dimming here than on a wide screen. */
@media (max-width: 600px) {
    .hero-bg::after {
        background:
            linear-gradient(rgba(10, 10, 15, 0.45), rgba(10, 10, 15, 0.45)),
            linear-gradient(to bottom, rgba(10, 10, 15, 0) 0%, rgba(10, 10, 15, 0.15) 60%, rgba(10, 10, 15, 0.95) 100%);
    }
}

.hero-logo {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 0 30px rgba(0, 255, 136, 0.5));
    animation: glow 2s ease-in-out infinite alternate;
    flex-shrink: 0;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.4)); }
    to { filter: drop-shadow(0 0 40px rgba(0, 255, 136, 0.7)); }
}

.hero-brand {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.hero-brand-text {
    display: flex;
    flex-direction: column;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--accent-green);
    /* Black glow under the green one: the dark edge holds the letters on a
       bright picture, the green halo keeps the neon look. */
    text-shadow: var(--glow-text-dark), 0 0 30px rgba(0, 255, 136, 0.5);
    letter-spacing: 4px;
    line-height: 1.1;
}

.hero-tagline {
    font-size: 16px;
    color: var(--text-silver);
    font-family: var(--font-mono);
    letter-spacing: 1px;
    margin-top: 6px;
}

.hero-pitch {
    max-width: 520px;
    margin-bottom: 28px;
    line-height: 1.7;
    font-size: 15px;
    color: var(--text-silver);
}

.hero-pitch-accent {
    color: var(--accent-green);
    font-weight: 600;
    font-size: 17px;
    margin-top: 10px;
    text-shadow: var(--glow-text-dark), 0 0 20px rgba(0, 255, 136, 0.3);
}

.hero-bottom {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Install on my device: phones and tablets only (owner 2026-09-30, "d -
   sure"). A desktop visitor is better served by the two buttons above; the
   game page's left panel offers the install there. */
.hero-install {
    display: none;
    align-self: flex-start;
    cursor: pointer;
    font: inherit;
}

@media (max-width: 900px) {
    .hero-install {
        display: inline-block;
    }
}

/* The guest offer, stated where a cold visitor decides whether to click. The
   minute count is #guestMinutes and comes from api/billing/pricing.php. */
.hero-cta-note {
    margin: 0;
    max-width: 46ch;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-secondary);
}

.hero-terminal {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-secondary);
    opacity: 0.75;
    letter-spacing: 1px;
}

.terminal-prompt {
    color: var(--accent-green);
    opacity: 0.6;
}

.terminal-cursor {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-fade {
    animation: fadeIn 1s ease-out;
    position: relative;
    z-index: 2;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === PROBLEM SECTION === */

.problem {
    background: var(--bg-navy);
    background-image: radial-gradient(ellipse at center, rgba(20, 50, 90, 0.3) 0%, transparent 70%);
    position: relative;
    z-index: 1;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.problem-card {
    background: rgba(15, 26, 46, 0.6);
    border: 1px solid var(--border-blue);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.problem-card:hover {
    border-color: rgba(68, 136, 204, 0.3);
    box-shadow: 0 0 20px rgba(68, 136, 204, 0.08);
}

.problem-icon {
    font-family: var(--font-mono);
    font-size: 28px;
    color: var(--accent-green);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.problem-card:nth-child(1) .problem-icon {
    color: #ff6b6b;
}

.problem-card:nth-child(2) .problem-icon {
    color: var(--accent-blue-bright);
}

.problem-card:nth-child(3) .problem-icon {
    color: var(--accent-green);
}

.problem-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-silver);
}

.problem-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* === FEATURES SECTION === */

.features {
    position: relative;
    z-index: 1;
    /* Clips the fixed picture below to this section's box. clip-path does
       NOT make a containing block for position:fixed (transform and filter
       would), so the picture stays pinned to the window while the clip
       follows the section. */
    clip-path: inset(0);
}

/*
 * The astronaut at his laptop (owner 2026-10-01): a still backdrop the tall
 * section scrolls over. Not background-attachment: fixed - iOS Safari ignores
 * it - but a position:fixed layer clipped by the section above, which pins
 * on every browser. x = 22% keeps him (left side of the picture) in view.
 */
.features::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(rgba(10, 10, 15, 0.6), rgba(10, 10, 15, 0.6)),
        url('images/features-astronaut.jpg?v=2026-10-01') 22% center / cover no-repeat;
}

/* Phone: the window is a narrow upright slice of a wide picture, so the text
   sits right over him - darker, and nudged so his helmet stays in frame. */
@media (max-width: 600px) {
    .features::before {
        background:
            linear-gradient(rgba(10, 10, 15, 0.7), rgba(10, 10, 15, 0.7)),
            url('images/features-astronaut.jpg?v=2026-10-01') 20% center / cover no-repeat;
    }
}

/* Section-relative fades at the top and bottom edges, so the still picture
   does not start and stop on a hard line. A mask on the fixed layer cannot
   do this - its mask would follow the window, not the section. */
.features::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(to bottom,
        var(--bg-primary) 0,
        transparent 160px,
        transparent calc(100% - 160px),
        var(--bg-primary) 100%);
}

.features .section-title,
.features .feature-content h3,
.features .feature-content p {
    text-shadow: var(--glow-text-dark);
}

.features .feature-content p {
    color: var(--text-silver);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 60px;
}

.feature-item:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-number {
    font-family: var(--font-mono);
    font-size: 64px;
    font-weight: 700;
    color: var(--accent-green);
    /* Solid since the section gained its picture (owner 2026-10-01: "they
       need to be more opaque to read") - at the old 0.12 they vanished into
       the backdrop. The glow keeps them off the stars. */
    opacity: 0.9;
    text-shadow: var(--glow-text-dark);
    line-height: 1;
    flex-shrink: 0;
    width: 80px;
}

.feature-item:nth-child(even) .feature-number {
    color: var(--accent-blue-bright);
}

.feature-content {
    flex: 1;
}

.feature-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-silver);
}

.feature-content p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.feature-image {
    flex: 1;
    max-width: 420px;
}

.feature-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border: 1px solid var(--border-blue);
    border-radius: 8px;
    background: #0c1520;
}

/* === SCREENSHOTS SECTION === */

.screenshots {
    background: var(--bg-navy);
    background-image: radial-gradient(ellipse at top, rgba(20, 50, 90, 0.25) 0%, transparent 60%);
    position: relative;
    z-index: 1;
}

.screenshot-gallery {
    max-width: 800px;
    margin: 0 auto;
}

.screenshot-frame {
    border: 1px solid var(--border-blue);
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-navy);
}

.frame-header {
    background: var(--bg-navy-light);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid var(--border-blue);
}

.frame-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.frame-dot:nth-child(1) { background: #ff5f57; }
.frame-dot:nth-child(2) { background: #febc2e; }
.frame-dot:nth-child(3) { background: #28c840; }

.frame-title {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-secondary);
    margin-left: 8px;
}

.frame-body {
    position: relative;
}

.frame-body img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: #0c1520;
}

.screenshot-thumbnails {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.screenshot-thumb .frame-header {
    padding: 6px 10px;
}

.screenshot-thumb .frame-dot {
    width: 7px;
    height: 7px;
}

.screenshot-thumb .frame-title {
    font-size: 9px;
}

/* === PRICING SECTION === */

.pricing {
    position: relative;
    z-index: 1;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 700px;
    margin: 0 auto;
    align-items: start;
}

.pricing-card {
    background: var(--bg-navy);
    border: 1px solid var(--border-blue);
    border-radius: 12px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
}

.pricing-featured {
    border-color: rgba(0, 255, 136, 0.3);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.08), 0 0 60px rgba(68, 136, 204, 0.06);
    transform: scale(1.03);
    background: linear-gradient(170deg, var(--bg-navy-light), var(--bg-navy));
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-green);
    color: var(--bg-primary);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 4px 16px;
    border-radius: 4px;
}

.pricing-tier {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.pricing-price {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.pricing-featured .pricing-price {
    color: var(--accent-green);
}

/*
 * A price that carries its own period ("$25/year") - the exact string the
 * server reports for Config 'stripe.premium_price_display'. It occupies the
 * slot that .pricing-price + .pricing-period share on the other card, so it
 * takes their combined bottom margin and steps the size down to fit a longer
 * string on a narrow card.
 */
.pricing-price-inline {
    font-size: 40px;
    margin-bottom: 36px;
    overflow-wrap: anywhere;
}

.pricing-period {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
}

.pricing-features li {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 8px 0;
    border-bottom: 1px solid rgba(30, 48, 80, 0.5);
    font-family: var(--font-mono);
    font-size: 13px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features .check {
    color: var(--accent-green);
    margin-right: 8px;
    font-weight: 700;
}

.pricing-features .limit {
    color: var(--text-secondary);
    margin-right: 8px;
}

.pricing-card .btn-primary,
.pricing-card .btn-secondary {
    width: 100%;
    text-align: center;
}

.pricing-note {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 12px;
    font-family: var(--font-mono);
}

.pricing-honesty {
    text-align: center;
    margin-top: 50px;
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/*
 * The astronaut (owner 2026-10-01: "astronaut right and the 2 panes left").
 * A pseudo-element rather than the section's own background so it can be
 * MASKED: it fades out at the top and bottom instead of into a colour, because
 * the body background is a set of gradients and a colour fade leaves a seam
 * (same reasoning as contact.html). z-index -1 keeps it under the content -
 * .pricing is position:relative + z-index:1, so this stays inside the section.
 *
 * x = 74% is the astronaut's own position in the picture. A percentage
 * background-position puts that point of the image on the same point of the
 * section, so he sits at ~3/4 across at every width while the left ~55% holds
 * the content, wherever the cover crop lands.
 */
.pricing::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(to right,
            rgba(10, 10, 15, 0.88) 0%,
            rgba(10, 10, 15, 0.7) 38%,
            rgba(10, 10, 15, 0.25) 56%,
            rgba(10, 10, 15, 0) 70%),
        url('images/pricing-astronaut.jpg?v=2026-10-01') 74% center / cover no-repeat;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
}

.pricing-content {
    max-width: 620px;
}

.pricing .pricing-card {
    background: rgba(15, 26, 46, 0.82);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.pricing .pricing-featured {
    background: linear-gradient(170deg, rgba(21, 34, 64, 0.88), rgba(15, 26, 46, 0.88));
}

.pricing .section-title,
.pricing .section-subtitle,
.pricing-honesty {
    text-shadow: var(--glow-text-dark);
}

/* Narrow: the picture becomes a banner above the title, cropped on the
   astronaut, and the cards go back to the centre on the plain background. */
@media (max-width: 900px) {
    .pricing::before {
        position: relative;
        inset: auto;
        display: block;
        z-index: 0;
        height: clamp(180px, 42vw, 320px);
        background: url('images/pricing-astronaut.jpg?v=2026-10-01') 74% 35% / cover no-repeat;
        -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 15%, #000 75%, transparent 100%);
        mask-image: linear-gradient(to bottom, transparent 0, #000 15%, #000 75%, transparent 100%);
    }

    .pricing .section-inner {
        padding-top: 24px;
    }

    .pricing-content {
        max-width: none;
    }
}

/* Phone: cover alone shrinks him to a speck in the corner, so the banner is
   cut tighter - zoomed past the box and centred on him. */
@media (max-width: 600px) {
    .pricing::before {
        height: clamp(200px, 56vw, 300px);
        background-size: 170% auto;
        background-position: 80% 30%;
    }
}

/* === PROMISE SECTION === */

.promise {
    background: var(--bg-navy);
    background-image: radial-gradient(ellipse at bottom, rgba(20, 50, 90, 0.25) 0%, transparent 60%);
    position: relative;
    z-index: 1;
}

.promise-content {
    max-width: 700px;
    margin: 0 auto;
}

.promise-ascii-box {
    margin-bottom: 50px;
}

.promise-ascii-box pre {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--accent-green);
    opacity: 0.7;
    text-align: center;
    line-height: 1.6;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
    overflow-x: auto;
}

.promise-points {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.promise-item h3 {
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 600;
    color: var(--accent-green);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.promise-item p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    padding-left: 20px;
}

/* === FOOTER === */

.site-footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border-blue);
    padding: 50px 24px;
    text-align: center;
    background: var(--bg-primary);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo {
    width: 36px;
    height: 36px;
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.3));
}

.footer-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--accent-green);
    letter-spacing: 2px;
}

.footer-by {
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0.6;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent-green);
}

/* Honest small print: platform support + "this is not gambling". */
.footer-note {
    max-width: 620px;
    margin: 0 auto 20px;
    font-size: 12px;
    line-height: 1.7;
    color: var(--text-secondary);
    opacity: 0.7;
}

.footer-note p + p {
    margin-top: 8px;
}

.footer-copyright {
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0.5;
}

/* === RESPONSIVE === */

/* Tablet */
@media (max-width: 900px) {
    .section-inner {
        padding: 70px 24px;
    }

    .hero {
        padding: 0 32px 48px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-tagline {
        font-size: 14px;
    }

    .hero-logo {
        width: 60px;
        height: 60px;
    }

    .problem-grid {
        grid-template-columns: 1fr 1fr;
    }

    .problem-grid .problem-card:last-child {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .feature-item {
        gap: 30px;
    }

    .feature-number {
        font-size: 48px;
        width: 60px;
    }

    .feature-image {
        max-width: 300px;
    }

    .nav-links .nav-link-anchor,
    .nav-links .nav-btn-guest {
        display: none;
    }

    .pricing-featured {
        transform: scale(1);
    }
}

/* Mobile */
@media (max-width: 600px) {
    .section-inner {
        padding: 50px 16px;
    }

    .section-title {
        margin-bottom: 40px;
        font-size: 12px;
        letter-spacing: 3px;
    }

    .hero {
        padding: 0 20px 36px;
        min-height: 100vh;
    }

    .hero-brand {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .hero-logo {
        width: 50px;
        height: 50px;
    }

    .hero-title {
        font-size: 26px;
        letter-spacing: 2px;
    }

    .hero-tagline {
        font-size: 12px;
    }

    .hero-pitch {
        font-size: 14px;
    }

    .hero-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .hero-terminal {
        font-size: 11px;
    }

    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        padding: 12px 24px;
        font-size: 13px;
    }

    .problem-grid {
        grid-template-columns: 1fr;
    }

    .problem-grid .problem-card:last-child {
        max-width: none;
    }

    .feature-item,
    .feature-item:nth-child(even) {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .feature-number {
        font-size: 40px;
        width: auto;
    }

    .feature-image {
        max-width: 100%;
        width: 100%;
    }

    .screenshot-thumbnails {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 16px auto 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
    }

    .pricing-featured {
        order: -1;
        transform: scale(1);
    }

    .promise-ascii-box {
        display: none;
    }

    .promise-mobile-quote {
        display: block;
        font-family: var(--font-mono);
        font-size: 14px;
        color: var(--accent-green);
        opacity: 0.7;
        text-align: center;
        line-height: 1.8;
        margin-bottom: 40px;
        padding: 24px;
        border: 1px solid rgba(68, 136, 204, 0.2);
        border-radius: 8px;
    }

    .footer-brand {
        flex-direction: column;
        gap: 8px;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}

/* Hide mobile-only elements on desktop */
.promise-mobile-quote {
    display: none;
}
