/* Cruise Drinks by IMOD — navy / gold velvet rope */
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Righteous&display=swap");

:root {
  --bg: #0a1224;
  --bg-elev: #1b2b4b;
  --bg-card: #243a5e;
  --navy: #1b2b4b;
  --panel: #243a5e;
  --gold: #c5a059;
  --bright-gold: #e8c87a;
  --cream: #f5f5dc;
  --muted: #d4cfb8;
  --red: #b22234;
  --border: rgba(197, 160, 89, 0.35);
  --ok: #e8c87a;
  --danger: #b22234;
  --radius: 14px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Bebas Neue", Impact, "Arial Black", sans-serif;
  --font-accent: "Righteous", cursive, system-ui;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--cream);
  line-height: 1.65;
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse 80% 50% at 15% -10%, rgba(197, 160, 89, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 90% 5%, rgba(27, 43, 75, 0.9), transparent),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(178, 34, 52, 0.06), transparent);
}

img { max-width: 100%; }

a { color: var(--bright-gold); text-decoration: none; }
a:hover { color: var(--gold); }

.container {
  width: min(1100px, 100% - 2rem);
  margin-inline: auto;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(10, 18, 36, 0.9);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--cream);
  text-decoration: none;
}

.logo:hover { color: var(--cream); }

.logo-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-product {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  color: var(--cream);
}

.logo-product span { color: var(--gold); }

.logo-byline {
  font-family: var(--font-accent);
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-block;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(197, 160, 89, 0.15);
  color: var(--bright-gold);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--bright-gold));
  color: var(--bg);
  box-shadow: 0 4px 20px rgba(197, 160, 89, 0.35);
}

.btn-primary:hover {
  color: var(--bg);
  box-shadow: 0 6px 28px rgba(232, 200, 122, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--bright-gold);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: rgba(197, 160, 89, 0.1);
  color: var(--bright-gold);
}

.btn-cyan {
  background: var(--bright-gold);
  color: var(--bg);
}

.btn-sm { padding: 0.5rem 0.9rem; font-size: 0.85rem; }

/* Hero */
.hero {
  padding: 3rem 0 2rem;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid var(--border);
  color: var(--gold);
  font-family: var(--font-accent);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 3.8rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  letter-spacing: 0.04em;
  font-weight: 400;
  color: #fff;
}

.hero h1 em {
  font-style: normal;
  color: var(--bright-gold);
}

.hero p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 38rem;
  margin: 0 auto 1.75rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.field-ops-teaser {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.field-ops-teaser a {
  color: var(--bright-gold);
  border-bottom: 1px solid rgba(232, 200, 122, 0.4);
}

.teaser {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-align: left;
  max-width: 540px;
  margin-inline: auto;
}

.teaser strong { color: var(--bright-gold); }
.teaser p { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.95rem; }

/* Lines hub grid */
.lines-section {
  padding: 0.5rem 0 3rem;
}

.lines-section .section-label {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.lines-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: 0.05em;
  margin: 0 0 1.25rem;
  font-weight: 400;
  color: #fff;
}

.lines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.line-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color 0.15s, transform 0.15s;
  text-decoration: none;
  color: inherit;
}

.line-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  color: inherit;
}

.line-card .line-short {
  font-family: var(--font-accent);
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.line-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  margin: 0;
  font-weight: 400;
  color: #fff;
}

.line-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  flex: 1;
}

.line-card .punch-title {
  font-size: 0.8rem;
  color: var(--bright-gold);
  font-weight: 600;
  margin-top: 0.35rem;
}

.line-card .line-meta {
  font-size: 0.75rem;
  color: var(--muted);
  opacity: 0.85;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  padding: 1rem 0 3rem;
}

.feature {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.feature .emoji { font-size: 1.75rem; }
.feature h3 {
  margin: 0.5rem 0 0.35rem;
  font-size: 1.05rem;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  font-weight: 400;
}
.feature p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* Page headers */
.page-head {
  padding: 1.75rem 0 1rem;
}

.page-head h1 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.05em;
  font-weight: 400;
  color: #fff;
}

.page-head p { margin: 0; color: var(--muted); }

.page-head .accent-label {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.disclaimer {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.4rem 0.75rem;
  background: rgba(197, 160, 89, 0.1);
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: 8px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
}

/* Soft-hold compliance: age gate + legal disclaimer */
.age-banner {
  background: rgba(197, 160, 89, 0.14);
  border-bottom: 1px solid rgba(197, 160, 89, 0.4);
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 0.55rem 1rem;
}

.legal-disclaimer {
  display: block;
  margin: 0.85rem 0 1.1rem;
  padding: 0.75rem 1rem;
  background: rgba(197, 160, 89, 0.08);
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: 10px;
  color: var(--cream);
  font-size: 0.82rem;
  line-height: 1.45;
  font-weight: 500;
  max-width: 52rem;
}

.legal-disclaimer p {
  margin: 0;
  color: var(--cream);
  opacity: 0.95;
}

.legal-disclaimer .disney-extra {
  margin-top: 0.55rem;
  color: var(--gold);
  font-weight: 600;
}

.lines-section .legal-disclaimer {
  margin-top: 0.5rem;
}

/* Filters */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 1.25rem;
  align-items: center;
}

.search-input,
.select-input,
.text-input,
.textarea-input {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  color: var(--cream);
  border-radius: 10px;
  padding: 0.7rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  width: 100%;
}

.search-input { flex: 1 1 200px; min-width: 0; }
.select-input { flex: 0 1 180px; }

.search-input:focus,
.select-input:focus,
.text-input:focus,
.textarea-input:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.chip {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.chip.active,
.chip:hover {
  background: rgba(197, 160, 89, 0.18);
  color: var(--bright-gold);
  border-color: var(--gold);
}

/* Drink catalog grid */
.drink-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.85rem;
  padding-bottom: 3rem;
}

.drink-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.drink-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.drink-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: rgba(197, 160, 89, 0.18);
  color: var(--bright-gold);
}

.price {
  color: var(--bright-gold);
  font-weight: 700;
  font-size: 0.9rem;
}

.ingredients {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0.25rem 0 0;
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
}

/* Punch card identity form */
.punch-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 1.25rem;
  padding: 1rem;
  background: var(--bg-elev);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 0.3rem;
  font-family: var(--font-accent);
}

.progress-bar-wrap {
  margin: 0.5rem 0 1.25rem;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.progress-track {
  height: 12px;
  background: var(--bg-card);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--bright-gold));
  border-radius: 999px;
  transition: width 0.25s ease;
  width: 0%;
}

.punch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.punch-card-sheet {
  background: #121c32;
  border: 2px solid var(--gold);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--shadow), inset 0 0 60px rgba(197, 160, 89, 0.06);
  margin-bottom: 2.5rem;
}

.punch-card-header {
  text-align: center;
  border-bottom: 2px dashed var(--border);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

.punch-card-header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
}

.punch-card-header .sub {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.25rem;
  font-family: var(--font-accent);
}

.punch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.55rem;
}

.punch-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.7rem 0.65rem;
  background: var(--bg-card);
  border: 1px solid rgba(197, 160, 89, 0.2);
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  min-height: 56px;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s, border-color 0.15s;
}

.punch-item:hover { border-color: var(--gold); }

.punch-item.checked {
  background: rgba(197, 160, 89, 0.15);
  border-color: var(--bright-gold);
}

.punch-item.checked .punch-name {
  text-decoration: line-through;
  opacity: 0.75;
}

.punch-circle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 2.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: transparent;
  background: transparent;
  margin-top: 1px;
}

.punch-item.checked .punch-circle {
  background: var(--bright-gold);
  border-color: var(--bright-gold);
  color: var(--bg);
  font-weight: 900;
}

.punch-name {
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.25;
}

.punch-cat {
  display: block;
  font-size: 0.65rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 0.15rem;
}

/* Results wall */
.results-layout {
  display: grid;
  gap: 1.5rem;
  padding-bottom: 3rem;
}

@media (min-width: 800px) {
  .results-layout {
    grid-template-columns: 1fr 340px;
    align-items: start;
  }
}

.result-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem;
  margin-bottom: 0.85rem;
}

.result-card header {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.result-card .sailor {
  font-weight: 800;
  color: var(--bright-gold);
}

.result-card .meta {
  color: var(--muted);
  font-size: 0.8rem;
}

.result-stats {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 0.5rem 0;
}

.stat-pill {
  background: rgba(197, 160, 89, 0.18);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--bright-gold);
}

.note-block {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.note-block .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.05em;
  font-family: var(--font-accent);
}

.note-block.best .label { color: var(--bright-gold); }
.note-block.worst .label { color: var(--red); }

.post-form {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem;
  position: sticky;
  top: 4.5rem;
}

.post-form h2 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  font-weight: 400;
}

.post-form .field { margin-bottom: 0.75rem; }

.video-stub {
  border: 2px dashed var(--border);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  background: rgba(197, 160, 89, 0.05);
}

.video-stub input[type="file"] {
  display: block;
  margin: 0.5rem auto 0;
  max-width: 100%;
  font-size: 0.8rem;
  color: var(--muted);
}

.form-msg {
  font-size: 0.85rem;
  margin-top: 0.5rem;
  color: var(--bright-gold);
  min-height: 1.2em;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 0 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer strong { color: var(--gold); }

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.footer-brand img {
  height: 36px;
  width: auto;
}

.footer-brand .wordmark {
  height: 28px;
}

.site-footer .tagline {
  font-family: var(--font-accent);
  color: var(--gold);
  font-size: 0.8rem;
  margin: 0.35rem 0;
}

.site-footer .disclaimer-foot {
  font-size: 0.75rem;
  opacity: 0.9;
  max-width: 44rem;
  margin: 0.5rem auto 0;
  line-height: 1.45;
}

/* ========== PRINT ========== */
@media print {
  body {
    background: #fff !important;
    color: #111 !important;
    background-image: none !important;
  }

  .site-header,
  .punch-form,
  .punch-actions,
  .progress-bar-wrap,
  .site-footer,
  .no-print,
  .btn,
  .toolbar,
  .chip-row,
  .page-head p,
  .disclaimer,
  .age-banner,
  .legal-disclaimer {
    display: none !important;
  }

  .container { width: 100%; max-width: none; margin: 0; }

  .punch-card-sheet {
    background: #fff !important;
    border: 2px solid #111 !important;
    box-shadow: none !important;
    border-radius: 0;
    padding: 0.5rem;
    page-break-inside: avoid;
  }

  .punch-card-header h2 { color: #111 !important; }
  .punch-card-header .sub { color: #444 !important; }
  .punch-card-header {
    border-bottom-color: #333 !important;
  }

  .punch-print-meta {
    display: block !important;
    text-align: center;
    font-size: 11pt;
    margin-bottom: 8pt;
    color: #222;
  }

  .punch-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 4pt;
  }

  .punch-item {
    background: #fff !important;
    border: 1px solid #333 !important;
    color: #111 !important;
    break-inside: avoid;
    min-height: 0;
    padding: 4pt 6pt;
  }

  .punch-item.checked {
    background: #eee !important;
  }

  .punch-circle {
    border-color: #111 !important;
    width: 14pt;
    height: 14pt;
  }

  .punch-item.checked .punch-circle {
    background: #111 !important;
    color: #fff !important;
  }

  .punch-name { color: #111 !important; font-size: 8pt; }
  .punch-cat { color: #555 !important; font-size: 6.5pt; }

  .page-head h1 {
    color: #111 !important;
    font-size: 16pt;
    margin-bottom: 4pt;
  }
}

.punch-print-meta {
  display: none;
}
