/* Shared styles for the Cu-BOMB! website */
:root {
  --bg: #fbf8ff;
  --surface: #ffffff;
  --text: #1d1430;
  --muted: #5e5574;
  --border: #e7e0f2;
  --accent: #b02bd6;
  --accent-2: #ff8a1f;
  --hero-a: #8a1fa8;
  --hero-b: #3a0d5c;
  --gold: #ffd83a;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #120a1f;
    --surface: #1c1230;
    --text: #f3eefc;
    --muted: #b6abcc;
    --border: #33264d;
    --accent: #e27bff;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--accent); }
img { max-width: 100%; display: block; }

.wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header {
  background: linear-gradient(135deg, var(--hero-a), var(--hero-b));
  color: #fff;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 20px; }
.brand img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { color: #ffffffd9; text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }

/* Hero (home page) */
.hero {
  background: radial-gradient(120% 90% at 50% 0%, #b02bd6 0%, var(--hero-a) 35%, var(--hero-b) 100%);
  color: #fff;
  text-align: center;
  padding: 48px 0 56px;
}
.hero .logo {
  width: 220px; margin: 0 auto 8px; border-radius: 28px;
  -webkit-mask: radial-gradient(ellipse at center, #000 60%, transparent 71%);
          mask: radial-gradient(ellipse at center, #000 60%, transparent 71%);
}
.hero h1 { font-size: clamp(34px, 7vw, 56px); line-height: 1.05; margin: 8px 0 12px; font-weight: 900; }
.hero h1 span { color: var(--gold); }
.hero p { font-size: 19px; color: #ffffffe0; max-width: 560px; margin: 0 auto 26px; }
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 999px; font-weight: 800; text-decoration: none;
  background: linear-gradient(90deg, #ffd23a, var(--accent-2)); color: #3a1600;
  box-shadow: 0 10px 30px #0005;
}
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.shots img { border-radius: 18px; box-shadow: 0 18px 40px #0006; }
@media (max-width: 640px) { .shots { grid-template-columns: repeat(2, 1fr); } }

/* Content pages */
main { padding: 36px 0 56px; }
main h1 { font-size: 34px; line-height: 1.15; margin: 0 0 6px; }
main h2 { font-size: 22px; margin: 34px 0 8px; }
main h3 { font-size: 18px; margin: 22px 0 6px; }
.meta { color: var(--muted); margin: 0 0 24px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px 20px; margin: 16px 0;
}
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.features .card { margin: 0; }
.features h3 { margin-top: 0; }
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--muted); font-weight: 700; }
.table-scroll { overflow-x: auto; }
details { border-bottom: 1px solid var(--border); padding: 12px 0; }
summary { cursor: pointer; font-weight: 700; }
details p { margin: 8px 0 0; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; padding: 22px 0 30px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
