/* Jackie's Dive — ported from the Claude Design composition "Jackies Dive.dc.html".
   Dark garage-dive aesthetic with a cyan neon sign that lights when the bar is open. */

@import url("https://fonts.googleapis.com/css2?family=Whisper&family=Space+Grotesk:wght@400;500;600&display=swap");

:root {
  --bg: #0a0c0e;
  --ink: #e7ecef;
  --cyan: #36d3ef;
  --cyan-lt: #bff4ff;
  --link: #6fdcef;
  --muted: #8a939a;
  --muted-2: #6b757d;
  --faint: #565f66;
  --line: #2a3137;
  --input-bg: #101418;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

body {
  background: radial-gradient(120% 90% at 50% 8%, #14181d 0%, #0a0c0e 60%, #07080a 100%);
  color: var(--ink);
  font-family: "Space Grotesk", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

@keyframes neonFlicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; }
  20%, 24%, 55% { opacity: .72; }
}
@keyframes deadBuzz {
  0%, 97%, 100% { opacity: 1; }
  98% { opacity: .78; }
}

/* ---------- header ---------- */
header.bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
}
.bar a { text-decoration: none; }
.brandmark {
  color: var(--muted-2);
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.btn-ghost {
  border: 1px solid var(--line);
  color: #c3ccd2;
  font: inherit;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: 2px;
  cursor: pointer;
  background: none;
  transition: border-color .2s, color .2s;
}
.btn-ghost:hover { border-color: #3f8fa3; color: var(--ink); }

/* ---------- home / sign ---------- */
main {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 80px;
  text-align: center;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: #525b62;
  margin-bottom: 46px;
}

.sign-stage { position: relative; }

.ambient {
  position: absolute;
  left: 50%; top: 50%;                 /* centered on the sign text itself, not the viewport */
  transform: translate(-50%, -50%);
  width: min(780px, 92vw);
  height: 300px;
  border-radius: 50%;
  /* taper fully to zero alpha + a soft blur so the glow melts into the black
     with no visible edge */
  background: radial-gradient(ellipse at center,
    rgba(54, 211, 239, .22) 0%,
    rgba(54, 211, 239, .11) 30%,
    rgba(54, 211, 239, .035) 55%,
    rgba(54, 211, 239, 0) 74%);
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity .6s;
}

.sign {
  position: relative;
  z-index: 1;                          /* text sits above its glow */
  font-family: "Whisper", cursive;
  font-size: clamp(58px, 12vw, 120px);
  line-height: 1;
  letter-spacing: .01em;
  user-select: none;
  transition: all .5s ease;
  padding: 14px 8px;
}

.status-line { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 14px; transition: opacity .45s ease; }

/* Hide the sign/status until /status resolves, so it fades in already-correct instead of
   flashing "Closed" then jumping to "Open". The flag is set by a head script, so a no-JS
   visitor never gets it and just sees the static default. */
.js-loading .sign,
.js-loading .status-line,
.js-loading .cta { opacity: 0; }
.status-row { display: flex; align-items: center; gap: 10px; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.status-word { font-size: 15px; letter-spacing: .28em; text-transform: uppercase; }
.blurb { max-width: 340px; font-size: 15px; line-height: 1.55; color: var(--muted); }

.cta {
  margin-top: 44px;
  font: inherit;
  font-size: 14px;
  letter-spacing: .06em;
  padding: 14px 26px;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  border: 1px solid var(--line);
  background: transparent;
  color: #c3ccd2;
  transition: all .25s;
}

/* ---------- open/closed state (set via data-open on .wrap) ---------- */
[data-open="true"]  .ambient { opacity: 1; }
[data-open="false"] .ambient { opacity: 0; }

[data-open="true"] .sign {
  color: var(--cyan-lt);
  -webkit-text-stroke: 1px var(--cyan-lt);
  animation: neonFlicker 6s infinite;
  text-shadow: 0 0 6px #d6fbff, 0 0 14px var(--cyan), 0 0 30px var(--cyan),
               0 0 60px rgba(54,211,239,.7), 0 0 110px rgba(54,211,239,.45);
}
[data-open="false"] .sign {
  color: #262c31;
  -webkit-text-stroke: 1px #262c31;
  animation: deadBuzz 7s infinite;
  text-shadow: 0 0 1px rgba(120,135,145,.25), 0 1px 0 rgba(0,0,0,.6);
}

[data-open="true"]  .dot { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
[data-open="false"] .dot { background: #3a4248; }
[data-open="true"]  .status-word { color: #7fe6f7; }
[data-open="false"] .status-word { color: #69727a; }

[data-open="false"] .cta {
  background: rgba(54,211,239,.08);
  border-color: rgba(54,211,239,.5);
  color: #9fe9f6;
}

/* ---------- script logo (signup + success) ---------- */
.script {
  font-family: "Whisper", cursive;
  color: var(--cyan);
  -webkit-text-stroke: 0.6px var(--cyan);
  text-shadow: 0 0 14px rgba(54,211,239,.45);
  line-height: 1;
}

/* ---------- signup form ---------- */
.form-main { justify-content: center; text-align: left; }
.panel { width: 100%; max-width: 420px; }
.script.lead { font-size: 40px; margin-bottom: 10px; }
.panel h1 { font-size: 23px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 8px; }
.panel .sub { font-size: 14px; line-height: 1.55; color: var(--muted); margin-bottom: 30px; }

label.field-label {
  display: block;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 9px;
}
input[type="tel"] {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid #222a30;
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  letter-spacing: .02em;
  padding: 14px 16px;
  border-radius: 3px;
  transition: border-color .2s;
}
input[type="tel"]:focus { outline: none; border-color: var(--cyan); }
input[type="tel"]::placeholder { color: #454b52; }
input[type="tel"].invalid { border-color: #7a4a44; }

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 22px;
  cursor: pointer;
}
.consent input { margin-top: 3px; width: 17px; height: 17px; flex: none; accent-color: var(--cyan); cursor: pointer; }
.consent span { font-size: 12.5px; line-height: 1.6; color: #7e878e; }
.consent a { color: var(--link); text-decoration: underline; }

.error { margin-top: 16px; font-size: 13px; color: #e08a7a; }

.btn-primary {
  width: 100%;
  margin-top: 24px;
  background: var(--cyan);
  border: none;
  color: #06222a;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .04em;
  padding: 15px;
  border-radius: 3px;
  cursor: pointer;
  transition: background .2s;
}
.btn-primary:hover { background: #54dcf2; }
.btn-primary:disabled { opacity: .55; cursor: not-allowed; }

.disclaimer { margin-top: 16px; font-size: 11.5px; line-height: 1.6; color: var(--faint); text-align: center; }

/* ---------- success ---------- */
.success { text-align: center; padding: 30px 0; }
.script.success-head {
  font-size: 46px;
  -webkit-text-stroke: 0.7px var(--cyan);
  text-shadow: 0 0 18px rgba(54,211,239,.55), 0 0 36px rgba(54,211,239,.3);
  margin-bottom: 20px;
}
.success p { font-size: 15px; line-height: 1.6; color: #9aa3aa; max-width: 320px; margin: 0 auto 26px; }

/* ---------- legal (terms / privacy) ---------- */
.legal-main { justify-content: flex-start; text-align: left; }
.legal { width: 100%; max-width: 620px; }
.back {
  background: none; border: none; color: var(--muted-2);
  font: inherit; font-size: 13px; letter-spacing: .06em; cursor: pointer;
  text-decoration: none; margin-bottom: 26px; display: inline-block;
}
.back:hover { color: #c3ccd2; }
.legal h1 { font-size: 26px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 6px; }
.legal .kicker { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 30px; }
.legal-body { font-size: 14px; line-height: 1.75; color: #9aa3aa; display: flex; flex-direction: column; gap: 18px; }
.legal-body h2 { font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #c3ccd2; margin-top: 8px; }

.helper { margin-top: 16px; min-height: 1.4rem; }
