/*
  hippoboy.fun — visual system
  A dramatic, crypto‑noir missing‑poster aesthetic.
*/

:root {
  --bg: #05030b;
  --bg-elevated: #0b0716;
  --bg-alt: #080612;
  --accent: #ff5b9c;
  --accent-soft: rgba(255, 91, 156, 0.16);
  --accent-amber: #ffb547;
  --accent-amber-soft: rgba(255, 181, 71, 0.18);
  --accent-lime: #b6ff6c;
  --text: #f8f4ff;
  --muted: #9d95b8;
  --border-subtle: rgba(255, 255, 255, 0.12);
  --shadow-soft: 0 18px 60px rgba(5, 1, 25, 0.8);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-pill: 999px;
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #3b1c7d 0, #05030b 48%, #03010a 100%);
  color: var(--text);
}

body {
  min-height: 100vh;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  padding-inline: min(6vw, 5rem);
}

@media (max-width: 768px) {
  main {
    padding-inline: 1.5rem;
  }
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem min(6vw, 5rem);
  backdrop-filter: blur(22px);
  background: radial-gradient(circle at top, rgba(255, 91, 156, 0.22), transparent 60%),
    linear-gradient(to bottom, rgba(5, 3, 20, 0.92), rgba(5, 3, 20, 0.75));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo-lockup {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

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

.logo-title {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.92rem;
}

.logo-title .dot {
  color: var(--accent-amber);
}

.logo-tagline {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-link,
.nav-cta {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  background: transparent;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.02);
}

.nav-cta {
  background: linear-gradient(120deg, #ff5b9c, #ffb547);
  color: #120410;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.7);
}

.nav-cta:hover {
  filter: brightness(1.06);
}

@media (max-width: 900px) {
  .site-header {
    padding-inline: 1.5rem;
    gap: 0.5rem;
  }
  .nav-links {
    gap: 0.4rem;
  }
  .nav-link {
    display: none;
  }
}

/* Hero */

.hero {
  padding: 3.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 2.75rem;
  align-items: stretch;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.alert-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.22rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 91, 156, 0.12);
  border: 1px solid rgba(255, 91, 156, 0.36);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-amber);
}

.hero-title {
  font-family: "Space Grotesk", system-ui, sans-serif;
  margin: 0;
}

.hero-eyebrow {
  display: block;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-main {
  display: block;
  font-size: clamp(2.8rem, 3.4vw + 1.6rem, 4.4rem);
  line-height: 0.96;
  margin-top: 0.35rem;
  background: linear-gradient(120deg, #ffffff, #ffe29f, #ff5b9c 60%, #c5f36a);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 0;
  max-width: 32rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.primary-cta,
.ghost-cta {
  border-radius: var(--radius-pill);
  padding: 0.8rem 1.4rem;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.primary-cta {
  background: linear-gradient(125deg, #ff5b9c, #ffb547 50%, #b6ff6c 100%);
  color: #180415;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.8);
}

.primary-cta--wide {
  width: 100%;
  justify-content: center;
}

.primary-cta:hover {
  filter: brightness(1.08);
}

.ghost-cta {
  background: rgba(9, 5, 26, 0.92);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.ghost-cta:hover {
  background: rgba(255, 255, 255, 0.04);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, auto));
  gap: 1.2rem;
  margin-top: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
}

.hero-meta .meta-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.hero-meta .meta-value {
  font-weight: 500;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 86, 116, 0.6);
  background: rgba(255, 86, 116, 0.18);
  color: #ffe8f0;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-billboard-card {
  background: radial-gradient(circle at top left, rgba(255, 181, 71, 0.35), transparent 60%),
    linear-gradient(140deg, #130a25, #06020a);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.1rem 1rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.billboard-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.billboard-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 18px;
}

.billboard-image-placeholder {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  font-family: "Space Grotesk", system-ui, sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2)),
    radial-gradient(circle at 20% 10%, #ffe29f 0, transparent 50%),
    radial-gradient(circle at 80% 90%, #ff5b9c 0, transparent 55%),
    radial-gradient(circle at 50% 50%, #f27121 0, #e94057 45%, #8a2387 95%);
  background-size: cover;
}

.billboard-caption {
  font-size: 0.78rem;
  color: var(--muted);
}

.hero-secondary {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
  gap: 0.9rem;
}

@media (max-width: 640px) {
  .hero-secondary {
    grid-template-columns: minmax(0, 1fr);
  }
}

.milk-card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.12), transparent 55%),
    rgba(6, 3, 18, 0.96);
  padding: 0.85rem 0.95rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.milk-chip {
  display: inline-flex;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.26);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.hero-stat-strip {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(135deg, rgba(127, 90, 240, 0.22), rgba(4, 7, 22, 0.98));
  padding: 0.85rem 1rem;
  display: grid;
  gap: 0.55rem;
}

.hero-stat-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-stat-value {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 0.98rem;
}

.hero-stat-footnote {
  font-size: 0.7rem;
  color: var(--muted);
}

/* Ticker */

.ticker {
  margin-top: 2.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  background: linear-gradient(to right, rgba(255, 91, 156, 0.12), rgba(182, 255, 108, 0.05));
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  padding: 0.6rem 1.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: ticker 32s linear infinite;
}

.ticker-track--clone {
  animation-delay: -16s;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Sections */

.section {
  padding: 3.5rem 0;
}

.section--alt {
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.06), transparent 55%),
    linear-gradient(to bottom, rgba(4, 3, 15, 0.94), rgba(2, 0, 10, 0.96));
  margin-inline: -6vw;
  padding-inline: min(6vw, 5rem);
}

@media (max-width: 768px) {
  .section--alt {
    margin-inline: -1.5rem;
    padding-inline: 1.5rem;
  }
}

.section--split .section-body {
  margin-top: 1.75rem;
}

.section-header {
  max-width: 40rem;
}

.section-header h2 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.8rem;
  margin: 0 0 0.6rem;
}

.section-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.section-header--center {
  text-align: center;
  margin-inline: auto;
}

.section-header--center .section-header {
  margin-inline: auto;
}

.section-body--two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  margin-top: 1.4rem;
}

@media (max-width: 900px) {
  .section-body--two-col {
    grid-template-columns: minmax(0, 1fr);
  }
}

.text-block h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
}

.text-block p {
  margin-top: 0;
  margin-bottom: 0.9rem;
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
}

.card-grid--stacked {
  grid-auto-rows: 1fr;
}

.info-card,
.clue-card,
.reward-card,
.tip-panel {
  border-radius: var(--radius-md);
  padding: 1rem 1.05rem 1.1rem;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 60%),
    rgba(7, 3, 26, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
}

.info-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.info-card h3 {
  margin: 0 0 0.4rem;
}

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

/* Clues */

.clue-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.clue-card p {
  margin-top: 0;
  margin-bottom: 0.8rem;
  color: var(--muted);
}

.clue-meta {
  font-size: 0.78rem;
  color: var(--muted);
}

.clue-card--wide {
  grid-column: span 2;
}

@media (max-width: 640px) {
  .clue-card--wide {
    grid-column: auto;
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.55rem;
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pill--amber {
  border: 1px solid rgba(255, 181, 71, 0.6);
  background: var(--accent-amber-soft);
}

.pill--green {
  border: 1px solid rgba(182, 255, 108, 0.7);
  background: rgba(182, 255, 108, 0.18);
}

.pill--pink {
  border: 1px solid rgba(255, 91, 156, 0.7);
  background: var(--accent-soft);
}

.bullet-list {
  margin: 0 0 0.6rem 1.1rem;
  padding: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.bullet-list li + li {
  margin-top: 0.25rem;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.78rem;
}

/* Timeline */

.timeline {
  position: relative;
  margin-top: 2rem;
  padding-left: 1.3rem;
  border-left: 1px dashed rgba(255, 255, 255, 0.22);
}

.timeline-item {
  position: relative;
  padding-bottom: 1.7rem;
}

.timeline-dot {
  position: absolute;
  left: -0.62rem;
  top: 0.35rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: radial-gradient(circle at 20% 20%, #ffe29f, #ff5b9c);
  box-shadow: 0 0 0 4px rgba(255, 91, 156, 0.3);
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 40% 60% 65% 35%;
  background: radial-gradient(circle at 20% 10%, #ffe29f 0, #ff5b9c 42%, #8a4bff 90%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-content h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.timeline-content p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.timeline-item--current .timeline-dot {
  background: radial-gradient(circle at 20% 20%, #b6ff6c, #ffb547);
}

/* Reward */

.reward-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
  gap: 2.2rem;
  align-items: center;
}

@media (max-width: 900px) {
  .reward-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.reward-card {
  text-align: center;
  background: radial-gradient(circle at top, rgba(255, 181, 71, 0.35), transparent 60%),
    linear-gradient(150deg, #14071e, #07030e);
}

.reward-header {
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.reward-amount {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 2.1rem;
  background: linear-gradient(120deg, #ffe29f, #ffb547, #b6ff6c);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.reward-caption {
  font-size: 0.86rem;
  color: var(--muted);
}

.reward-note {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Tip form */

.tip-panel {
  max-width: 720px;
  margin: 1.3rem auto 0;
}

.tip-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.38rem;
}

input[type="text"],
input[type="url"],
textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: rgba(5, 3, 16, 0.95);
  color: var(--text);
  padding: 0.7rem 0.75rem;
  font-size: 0.9rem;
  font-family: inherit;
}

input::placeholder,
textarea::placeholder {
  color: rgba(157, 149, 184, 0.7);
}

textarea {
  resize: vertical;
  min-height: 110px;
}

.form-row--split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.8rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chip {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(7, 3, 26, 0.7);
  color: var(--muted);
  padding: 0.3rem 0.8rem;
  font-size: 0.78rem;
  cursor: pointer;
}

.chip--select,
.chip:hover {
  border-color: rgba(255, 91, 156, 0.7);
  color: var(--text);
  background: rgba(255, 91, 156, 0.16);
}

/* Footer */

.site-footer {
  margin-top: auto;
  padding: 1.6rem min(6vw, 5rem) 1.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(to top, #03010a, rgba(3, 1, 10, 0.95));
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.footer-link {
  color: var(--muted);
  text-decoration: none;
}

.footer-link:hover {
  color: var(--text);
}

.footer-sep {
  color: rgba(157, 149, 184, 0.4);
}

@media (max-width: 640px) {
  .footer-main {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Scattered chaos overlay */

.scatter-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 10;
}

.scatter {
  position: absolute;
  opacity: 0.7;
}

.scatter img {
  width: 80px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.scatter.text {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #ff5b9c;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  padding: 0.5rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
}

.easter-egg {
  cursor: pointer;
}

/* Random scatter positions */

.scatter1 { transform: translate(5vw, 10vh) rotate(-3deg) scale(0.4); }
.scatter2 { transform: translate(80vw, 15vh) rotate(10deg) scale(0.3); }
.scatter3 { transform: translate(20vw, 70vh) rotate(-15deg) scale(1); }
.scatter4 { transform: translate(70vw, 50vh) rotate(5deg) scale(0.8); }
.scatter5 { transform: translate(40vw, 5vh) rotate(20deg) scale(0.5); }
.scatter6 { transform: translate(90vw, 80vh) rotate(-10deg) scale(0.9); }
.scatter7 { transform: translate(10vw, 60vh) rotate(12deg) scale(0.35); }
.scatter8 { transform: translate(60vw, 25vh) rotate(-8deg) scale(0.7); }
.scatter9 { transform: translate(30vw, 90vh) rotate(15deg) scale(0.6); }
.scatter10 { transform: translate(85vw, 35vh) rotate(-5deg) scale(0.45); }
.scatter11 { transform: translate(50vw, 75vh) rotate(8deg) scale(0.8); }
.scatter12 { transform: translate(15vw, 40vh) rotate(18deg) scale(0.3); }
.scatter13 { transform: translate(75vw, 65vh) rotate(-12deg) scale(0.9); }
.scatter14 { transform: translate(25vw, 20vh) rotate(6deg) scale(0.7); }
.scatter15 { transform: translate(55vw, 85vh) rotate(-20deg) scale(0.5); }

/* Easter Egg Modal */

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: var(--bg-elevated);
  padding: 2rem;
  border-radius: var(--radius-lg);
  max-width: 500px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.dad-image {
  width: 100%;
  max-width: 300px;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.dad-message {
  margin: 1rem 0;
  color: var(--text);
  font-size: 1rem;
}

.modal-close {
  background: linear-gradient(120deg, #ff5b9c, #ffb547);
  color: #120410;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
}

.modal-close:hover {
  filter: brightness(1.1);
}
