/* Hidden Capy Studios — shared theme. Carries the original site's look (ADR-0010
   static port): dark teal-blue background, gold accent, Comfortaa, neon hover —
   layered up with depth, soft glows, and motion that respects reduced-motion. */
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;500;700&display=swap');

:root {
  --bg: hsl(205 55% 24%);        /* dark teal-blue (base) */
  --bg-deep: hsl(212 48% 12%);   /* deeper navy for the gradient floor */
  --panel: hsl(216 24% 17%);     /* card */
  --panel-top: hsl(216 22% 21%); /* card gradient top */
  --text: hsl(210 16% 85%);      /* foreground */
  --heading: hsl(205 24% 94%);   /* near-white headings */
  --muted: hsl(212 14% 63%);
  --primary: hsl(195 70% 52%);   /* teal — interactive */
  --primary-top: hsl(193 72% 58%);
  --accent: hsl(46 90% 56%);     /* gold — highlight / neon */
  --ink: hsl(212 40% 12%);       /* text on primary/accent */
  --border: hsl(214 20% 30%);
  --border-lit: hsl(46 80% 56% / .55); /* gold edge on hover/focus */
  --radius: 14px;
  --shadow: 0 14px 34px -16px hsl(212 60% 5% / .75);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Comfortaa', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  line-height: 1.6;
  /* soft gold glow up top behind the hero, over a teal→navy gradient floor */
  background:
    radial-gradient(1100px 460px at 50% -8%, hsl(46 90% 56% / .10), transparent 62%),
    linear-gradient(165deg, var(--bg), var(--bg-deep));
  background-attachment: fixed;
}
.wrap { max-width: 840px; margin: 0 auto; padding: 4.5rem 1.5rem 3rem; }

/* --- hero ------------------------------------------------------------------ */
.hero { text-align: center; margin-bottom: 3rem; }
.hero .logo {
  width: 104px; height: auto; display: block; margin: 0 auto 1.1rem;
  filter: drop-shadow(0 0 22px hsl(46 90% 56% / .28));
}
.hero h1 {
  font-size: clamp(2rem, 6vw, 2.7rem); margin: 0 0 .5rem;
  color: var(--heading); letter-spacing: .4px;
}
.tagline { color: var(--muted); font-size: 1.15rem; margin: 0; }

/* --- cards ----------------------------------------------------------------- */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: linear-gradient(180deg, var(--panel-top), var(--panel));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--border-lit);
  box-shadow: var(--shadow);
}
.card h2 { margin: 0 0 .5rem; font-size: 1.2rem; color: var(--heading); }
.card p { color: var(--muted); margin: 0 0 1.15rem; }

/* --- buttons --------------------------------------------------------------- */
.btn {
  display: inline-block;
  background: linear-gradient(180deg, var(--primary-top), var(--primary));
  color: var(--ink);
  font-weight: 700;
  padding: .6rem 1.1rem;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 8px 18px -10px hsl(195 70% 42% / .9);
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.07); }
.btn:active { transform: translateY(0); }
.btn.ghost {
  background: transparent; color: var(--primary);
  border: 1px solid var(--border); box-shadow: none;
}
.btn.ghost[aria-disabled="true"] { opacity: .6; cursor: default; transform: none; filter: none; }

/* --- footer ---------------------------------------------------------------- */
.foot {
  text-align: center; margin-top: 3.5rem; padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}
.foot .links { display: flex; flex-wrap: wrap; gap: .35rem 1rem; justify-content: center; margin-bottom: .85rem; }
.foot .links a { color: var(--muted); font-size: .85rem; text-decoration: none; transition: color .15s ease; }
.foot .links a:hover { color: var(--text); }
.muted { color: var(--muted); }
a { color: var(--primary); }

/* Gold neon glow on hover — from the original site theme. */
.hover-neon { transition: color .2s, text-shadow .2s; }
.hover-neon:hover {
  color: var(--accent);
  text-shadow: 0 0 5px var(--accent), 0 0 12px var(--accent);
}

/* Visible keyboard focus (a11y). */
a:focus-visible, .btn:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

/* --- motion (opt-in; never for reduced-motion users) ----------------------- */
@media (prefers-reduced-motion: no-preference) {
  .hero, .card { animation: fade-up .5s ease both; }
  .card:nth-child(2) { animation-delay: .07s; }
  @keyframes fade-up {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: none; }
  }
}
