/* OMG Cat ($OMG) — Speech-Bubble Billboard */
:root {
  --purple: #5B2C9D;
  --purple-deep: #3D1A6E;
  --purple-mid: #7B4BC4;
  --yellow: #FFE033;
  --yellow-hot: #FFD400;
  --white: #ffffff;
  --ink: #1a1028;
  --ink-soft: #3a2a55;
  --foam: #f7f2ff;
  --shadow: 0 12px 32px rgba(61, 26, 110, 0.28);
  --radius: 22px;
  --font-display: "Bangers", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: linear-gradient(180deg, #2a0f52 0%, #3D1A6E 40%, #5B2C9D 100%);
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple-mid); }
a:hover { color: var(--yellow-hot); }

.yellow { color: var(--yellow); }
.ticker { color: var(--yellow); font-weight: 800; }

/* Ambient floating stars / bubbles */
.ambient-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.float-star {
  position: absolute;
  color: var(--yellow);
  opacity: 0.55;
  animation: drift 12s ease-in-out infinite;
  text-shadow: 0 0 12px rgba(255, 224, 51, 0.6);
}
.float-bubble {
  position: absolute;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  background: var(--yellow);
  color: var(--purple-deep);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 2px solid var(--ink);
  opacity: 0.45;
  animation: bob 14s ease-in-out infinite;
  box-shadow: 3px 3px 0 var(--ink);
}
@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-28px) rotate(12deg); }
}
@keyframes bob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(12px, -20px) scale(1.05); }
}

/* Nav — speech-bubble chips */
header { position: sticky; top: 0; z-index: 50; }
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  background: rgba(61, 26, 110, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--yellow);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}
.nav-brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--yellow);
  object-fit: cover;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-links .chip {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--yellow);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.nav-links .chip:hover {
  color: var(--ink);
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--ink);
}
.nav-links .chip-x {
  background: var(--white);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--yellow);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2.5px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  color: var(--ink);
}
.btn:hover:not(.is-disabled) {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}
.btn-primary {
  background: var(--yellow);
  color: var(--purple-deep);
}
.btn-yellow {
  background: var(--yellow-hot);
  color: var(--purple-deep);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.92);
  color: var(--purple-deep);
}
.btn.is-disabled,
.btn[aria-disabled="true"],
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
  pointer-events: none;
}

/* Hero billboard */
.hero {
  position: relative;
  z-index: 1;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(45, 12, 80, 0.78) 0%, rgba(45, 12, 80, 0.35) 48%, rgba(45, 12, 80, 0.15) 100%),
    linear-gradient(180deg, transparent 60%, rgba(61, 26, 110, 0.85) 100%);
}
.hero-billboard {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 3.5rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: end;
}
.hero-content {
  padding: 1.5rem 1.75rem 1.75rem;
  background: rgba(255, 255, 255, 0.12);
  border: 3px solid var(--yellow);
  border-radius: 28px 28px 28px 8px;
  box-shadow: var(--shadow), inset 0 0 0 2px rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  color: var(--white);
}
.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--yellow);
  color: var(--purple-deep);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 2px solid var(--ink);
  margin-bottom: 0.85rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  margin: 0 0 0.2rem;
  text-shadow: 3px 3px 0 var(--ink);
}
.hero-ticker {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--yellow);
  letter-spacing: 0.08em;
  margin: 0 0 0.75rem;
  text-shadow: 2px 2px 0 var(--ink);
}
.hero-tagline {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.45;
  margin: 0 0 1.25rem;
  max-width: 34ch;
  color: #f6eeff;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}
.hero-social a {
  color: var(--yellow);
  font-weight: 700;
  text-decoration: none;
}
.hero-social a:hover { text-decoration: underline; }

.hero-character {
  justify-self: end;
  align-self: end;
  width: min(100%, 480px);
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45));
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
}
.hero-character img {
  width: 100%;
  height: auto;
  object-fit: contain;
  aspect-ratio: 4 / 5;
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: 4rem 1.25rem;
}
.section-alt {
  background: rgba(255, 255, 255, 0.06);
}
.section-inner {
  width: min(1100px, 100%);
  margin: 0 auto;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: 0.05em;
  color: var(--yellow);
  text-align: center;
  margin: 0 0 0.35rem;
  text-shadow: 2px 2px 0 var(--ink);
}
.section-sub {
  text-align: center;
  color: #e8d9ff;
  font-weight: 600;
  margin: 0 0 2rem;
}

/* CA speech-bubble pouch */
.ca-bubble {
  position: relative;
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: 40px;
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: 8px 8px 0 var(--yellow), var(--shadow);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.ca-bubble-tail {
  position: absolute;
  left: 18%;
  bottom: -28px;
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-top: 28px solid var(--ink);
}
.ca-bubble-tail::after {
  content: "";
  position: absolute;
  left: -14px;
  top: -28px;
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 24px solid var(--white);
}
.ca-label {
  font-weight: 800;
  color: var(--purple);
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
}
.ca-display {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  font-weight: 700;
  color: var(--ink);
  background: var(--foam);
  border: 2px dashed var(--purple-mid);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  word-break: break-all;
  margin-bottom: 1rem;
}
.ca-actions { margin-bottom: 1rem; }
.trade-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
}

/* About speech bubbles */
.about-bubbles {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  align-items: center;
}
.speech-bubble {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 28px;
  padding: 1.5rem;
  box-shadow: 5px 5px 0 var(--yellow);
  position: relative;
}
.bubble-left {
  border-radius: 28px 28px 8px 28px;
}
.bubble-right {
  border-radius: 28px 28px 28px 8px;
}
.bubble-portrait {
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  background: var(--foam);
}
.bubble-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.speech-bubble h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  color: var(--purple);
  margin: 0 0 0.75rem;
}
.speech-bubble p {
  margin: 0 0 0.85rem;
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 600;
}
.speech-bubble a {
  font-weight: 800;
  color: var(--purple);
}

/* OMG steps */
.omg-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.step-card {
  position: relative;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 22px;
  padding: 1.5rem 1.25rem 1.35rem;
  box-shadow: 4px 4px 0 var(--yellow);
  overflow: hidden;
}
.step-card .burst {
  position: absolute;
  top: 0.5rem;
  right: 0.65rem;
  font-size: 1.4rem;
  opacity: 0.85;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--purple);
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 1.35rem;
  border: 2px solid var(--ink);
  margin-bottom: 0.75rem;
}
.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  margin: 0 0 0.5rem;
  color: var(--purple-deep);
}
.step-card p {
  margin: 0;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* Sticker wall gallery */
.sticker-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}
.sticker {
  margin: 0;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 16px;
  padding: 0.4rem;
  box-shadow: 3px 3px 0 var(--yellow);
  transform: rotate(0deg);
  transition: transform 0.2s ease;
  aspect-ratio: 1;
  overflow: hidden;
}
.sticker:nth-child(odd) { transform: rotate(-1.5deg); }
.sticker:nth-child(even) { transform: rotate(1.2deg); }
.sticker:hover { transform: rotate(0deg) scale(1.03); z-index: 2; }
.sticker img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* Join Us */
.join-banner {
  position: relative;
  border: 3px solid var(--ink);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 5px 5px 0 var(--yellow);
  background: var(--purple-deep);
  aspect-ratio: 3 / 1;
  width: 100%;
}
.join-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.community-cta {
  text-align: center;
  margin-top: 1.5rem;
}
.community-cta p {
  color: #f0e6ff;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 1rem;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  background: var(--purple-deep);
  border-top: 3px solid var(--yellow);
  padding: 2.5rem 1.25rem 2rem;
  color: #e8d9ff;
}
.footer-inner {
  width: min(1100px, 100%);
  margin: 0 auto;
  text-align: center;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--yellow);
  object-fit: cover;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.footer-links a {
  color: var(--yellow);
  font-weight: 700;
  text-decoration: none;
}
.footer-links a:hover { text-decoration: underline; }
.footer-disclaimer {
  max-width: 52ch;
  margin: 0 auto 0.75rem;
  font-size: 0.9rem;
  line-height: 1.45;
  opacity: 0.9;
}
.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%) translateY(120%);
  background: var(--ink);
  color: var(--yellow);
  font-weight: 800;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 2px solid var(--yellow);
  z-index: 100;
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-billboard {
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: 2.5rem;
  }
  .hero-character {
    justify-self: center;
    order: 2;
    width: min(100%, 360px);
    margin-top: -0.5rem;
  }
  .hero-content { order: 1; }
  .about-bubbles { grid-template-columns: 1fr; }
  .omg-steps { grid-template-columns: 1fr; }
  .sticker-wall { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--purple-deep);
    padding: 0.85rem 1rem 1.1rem;
    border-bottom: 3px solid var(--yellow);
  }
  .nav-links.open { display: flex; }
  .nav-links .chip { width: 100%; text-align: center; }
  .sticker-wall { grid-template-columns: repeat(2, 1fr); }
  .join-banner { aspect-ratio: 2 / 1; }
  .hero { min-height: auto; }
}
@media (max-width: 420px) {
  .sticker-wall { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.8rem; }
}
