/* === Manado Scuba theme: dark base + glass light elements (v3) === */

/* Self-hosted Space Grotesk would go here. Until those .woff2 files are
   added under /static/fonts/, --font-display falls back to system fonts. */

:root {
  /* backgrounds */
  --bg-base-top: #082140;
  --bg-base-mid: #0d2d50;
  --bg-base-bot: #103660;
  --bg-section: #0a2645;
  --bg-footer: #051428;

  /* glass */
  --glass-bg: rgba(255, 255, 255, 0.07);
  --glass-bg-hover: rgba(255, 255, 255, 0.11);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-shadow: 0 4px 18px rgba(0, 15, 35, 0.30);

  /* accents */
  --accent-sky: #5fc9f3;
  --accent-foam: #87dcf5;
  --accent-light: #b8ecff;

  /* text */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.78);
  --text-muted: rgba(255, 255, 255, 0.55);
  --text-on-accent: #082140;

  /* hud corners */
  --hud-corner: rgba(95, 201, 243, 0.55);

  /* spacing */
  --space-1: 8px;  --space-2: 16px;
  --space-3: 20px; --space-4: 28px;
  --space-6: 36px; --space-8: 48px;
  --space-12: 64px;

  /* radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 100px;

  /* fonts */
  --font-sans: -apple-system, "PingFang SC", "Microsoft YaHei",
               "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: "Space Grotesk", -apple-system, "PingFang SC", sans-serif;
}

html { color-scheme: dark; }

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background:
    radial-gradient(ellipse at top right, rgba(95,201,243,0.12) 0%, transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(184,236,255,0.06) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-base-top) 0%, var(--bg-base-mid) 50%, var(--bg-base-bot) 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(32px, 5vw, 56px); }
h2 { font-size: clamp(24px, 3.5vw, 38px); }
h3 { font-size: clamp(20px, 2.5vw, 26px); }
p { font-size: 16px; line-height: 1.7; color: var(--text-secondary); }
a:hover { color: var(--accent-light); }
