:root {
  --slime: #2bff88;
  --slime-bright: #5cff5c;
  --goo: #00d65f;
  --goo-dark: #0a8a3a;
  --toxic: #ff7b00;
  --pink: #ff1e7a;
  --deep: #04200f;
  --deep2: #06310f;
  --ink: #e8fff1;
  --muted: #9fe9bd;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--deep);
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: var(--slime); }

/* Hide the inline SVG filter defs */
.goo-defs { position: absolute; width: 0; height: 0; }

/* ---------- Drifting lava-lamp goo background ---------- */
.goo-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(38% 30% at 18% 28%, rgba(43,255,136,0.22), transparent 62%),
    radial-gradient(34% 26% at 82% 18%, rgba(0,255,119,0.16), transparent 62%),
    radial-gradient(46% 36% at 65% 82%, rgba(255,123,0,0.10), transparent 62%),
    radial-gradient(40% 30% at 30% 75%, rgba(43,255,136,0.14), transparent 62%),
    linear-gradient(160deg, #04200f, #06310f 55%, #021a0b);
  background-size: 160% 160%, 150% 150%, 170% 170%, 150% 150%, 100% 100%;
  animation: drift 26s ease-in-out infinite alternate;
  will-change: background-position;
}
@keyframes drift {
  0%   { background-position: 0% 0%, 100% 0%, 50% 100%, 0% 100%, 0 0; }
  100% { background-position: 30% 40%, 60% 30%, 30% 60%, 40% 70%, 0 0; }
}
/* floating metaball blobs that merge via the goo filter */
.goo-bg-blobs {
  position: fixed;
  inset: -10%;
  z-index: -1;
  filter: url(#goo);
  pointer-events: none;
  opacity: 0.5;
}
.goo-bg-blobs i {
  position: absolute;
  bottom: -22%;
  display: block;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #4dffa0, #0a9a44 70%);
  animation: rise linear infinite;
  will-change: transform;
}
.goo-bg-blobs i:nth-child(1){ left:7%;  width:140px; height:140px; animation-duration: 22s; }
.goo-bg-blobs i:nth-child(2){ left:31%; width:90px;  height:90px;  animation-duration: 28s; animation-delay:-6s; }
.goo-bg-blobs i:nth-child(3){ left:46%; width:120px; height:120px; animation-duration: 25s; animation-delay:-12s; }
.goo-bg-blobs i:nth-child(4){ left:71%; width:80px;  height:80px;  animation-duration: 30s; animation-delay:-3s; }
.goo-bg-blobs i:nth-child(5){ left:88%; width:60px;  height:60px;  animation-duration: 20s; animation-delay:-15s; }
@keyframes rise {
  0%   { transform: translateY(0) translateX(0) scale(1); }
  50%  { transform: translateY(-75vh) translateX(40px) scale(1.15); }
  100% { transform: translateY(-150vh) translateX(-30px) scale(0.9); }
}

/* ---------- Header / circuit banner ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #052a12;
  background-image:
    /* glowing circuit traces */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%231aff7a' stroke-width='1.6' opacity='0.55'%3E%3Cpath d='M0 24 H40 V8 M40 24 V60 H120 M76 60 V96 M76 96 H120 M0 88 H28 V60 M28 88 V120 M96 0 V36 H120 M60 0 V18'/%3E%3C/g%3E%3Cg fill='%2339ff14'%3E%3Ccircle cx='40' cy='24' r='3.2'/%3E%3Ccircle cx='76' cy='60' r='3.2'/%3E%3Ccircle cx='28' cy='60' r='3.2'/%3E%3Ccircle cx='76' cy='96' r='3.2'/%3E%3Ccircle cx='96' cy='36' r='3.2'/%3E%3Ccircle cx='60' cy='18' r='3.2'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(180deg, #062f14, #041f0d);
  border-bottom: 2px solid var(--slime);
  box-shadow: 0 0 22px rgba(43,255,136,0.35);
}
.site-header::after {
  /* travelling glow pulse across the circuit */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 0%, rgba(92,255,92,0.16) 45%, transparent 60%);
  background-size: 250% 100%;
  animation: pulse 6s linear infinite;
  pointer-events: none;
}
@keyframes pulse { 0% { background-position: 120% 0; } 100% { background-position: -60% 0; } }

.nav {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  flex-wrap: wrap;
  gap: 10px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid var(--slime);
  box-shadow: 0 0 16px rgba(43,255,136,0.6);
  animation: wobble 7s ease-in-out infinite;
}
@keyframes wobble {
  0%,100% { transform: rotate(-3deg) scale(1); }
  50% { transform: rotate(3deg) scale(1.05); }
}
.brand span {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.5px;
  color: #e6ffe9;
  text-shadow:
    0 0 4px #8cff8c,
    0 0 10px rgba(92,255,92,0.95),
    0 0 20px rgba(43,255,136,0.9),
    0 0 34px rgba(43,255,136,0.65),
    0 0 52px rgba(0,214,95,0.5);
}
.nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.nav-links a {
  text-decoration: none;
  color: #d7ffe8;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
@media (max-width: 480px) {
  .nav-links { gap: 4px; flex-wrap: nowrap; }
  .nav-links a { padding: 7px 10px; font-size: 14px; }
}
.nav-links a:hover { background: rgba(43,255,136,0.16); box-shadow: 0 0 12px rgba(43,255,136,0.3); }
.nav-links a.active { background: var(--goo); color: #042a12; }
.nav-links a.cta { background: var(--pink); color: #fff; box-shadow: 0 0 14px rgba(255,30,122,0.5); }
.nav-links a.cta:hover { background: #ff0066; }

/* ---------- Dripping goo under the banner ---------- */
.goo-drip {
  position: relative;
  z-index: 49;
  height: 54px;
  margin-top: -6px;
  filter: url(#goo);
  pointer-events: none;
}
.goo-drip::before {
  content: "";
  position: absolute;
  top: -24px;
  left: 0;
  right: 0;
  height: 42px;
  background: var(--slime);
}
.goo-drip .drop {
  position: absolute;
  top: -6px;
  background: var(--slime);
  border-radius: 50%;
  transform-origin: top center;
  animation: drool ease-in-out infinite;
  will-change: transform;
}
/* Only drops marked .dripper grow a detaching droplet, with varied size/timing */
.goo-drip .drop.dripper::after {
  content: "";
  position: absolute;
  left: 50%;
  translate: -50% 0;
  top: 76%;
  width: var(--ds, 14px);
  height: var(--ds, 14px);
  background: var(--slime);
  border-radius: 50%;
  animation: fall var(--fd, 5s) ease-in infinite;
  animation-delay: var(--fdelay, 0s);
}
@keyframes drool {
  0%, 100% { transform: translateY(0) scaleY(1); }
  55%      { transform: translateY(var(--reach, 24px)) scaleY(1.32); }
}
@keyframes fall {
  0%, 62% { transform: translateY(0); opacity: 0; }
  74%     { opacity: 1; }
  100%    { transform: translateY(var(--falldist, 120px)); opacity: 0; }
}
/* Irregular spacing, sizes, and rhythm — not a uniform row */
.goo-drip .drop.d1 { left: 2%;  width: 46px; height: 46px; animation-duration: 6s;   --reach: 32px; }
.goo-drip .drop.d2 { left: 8%;  width: 22px; height: 22px; animation-duration: 7.6s; animation-delay: -2.2s; --reach: 15px; }
.goo-drip .drop.d3 { left: 19%; width: 34px; height: 34px; animation-duration: 5.4s; animation-delay: -3.7s; --reach: 25px; }
.goo-drip .drop.d4 { left: 26%; width: 28px; height: 28px; animation-duration: 8.2s; animation-delay: -1.1s; --reach: 18px; }
.goo-drip .drop.d5 { left: 40%; width: 52px; height: 52px; animation-duration: 6.7s; animation-delay: -4.5s; --reach: 36px; }
.goo-drip .drop.d6 { left: 47%; width: 20px; height: 20px; animation-duration: 7.1s; animation-delay: -0.6s; --reach: 13px; }
.goo-drip .drop.d7 { left: 61%; width: 38px; height: 38px; animation-duration: 5.8s; animation-delay: -5.2s; --reach: 27px; }
.goo-drip .drop.d8 { left: 73%; width: 26px; height: 26px; animation-duration: 9s;   animation-delay: -2.9s; --reach: 17px; }
.goo-drip .drop.d9 { left: 89%; width: 44px; height: 44px; animation-duration: 6.3s; animation-delay: -3.1s; --reach: 31px; }
/* Droplet params vary per dripper (size, speed, fall distance) */
.goo-drip .drop.d1.dripper { --ds: 21px; --fd: 5.2s; --fdelay: -1s;   --falldist: 135px; }
.goo-drip .drop.d3.dripper { --ds: 12px; --fd: 5.6s; --fdelay: -0.4s; --falldist: 118px; }
.goo-drip .drop.d5.dripper { --ds: 25px; --fd: 6.4s; --fdelay: -2.6s; --falldist: 155px; }
.goo-drip .drop.d7.dripper { --ds: 14px; --fd: 5.9s; --fdelay: -3.3s; --falldist: 116px; }
.goo-drip .drop.d9.dripper { --ds: 18px; --fd: 6.1s; --fdelay: -1.7s; --falldist: 138px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  text-align: center;
  padding: 70px 20px 80px;
  overflow: hidden;
}
.hero img.hero-logo {
  display: block;
  width: clamp(160px, 30vw, 260px);
  height: auto;
  border-radius: 50%;
  border: 3px solid var(--slime);
  box-shadow: 0 0 40px rgba(43,255,136,0.55), inset 0 0 30px rgba(0,0,0,0.5);
}

/* --- Melt-into-a-puddle-and-back system --- */
/* Outer layer: volumetric step-glitch extrusion (stacked offset copies) */
.logo-glitch {
  display: block;
  width: fit-content;
  margin: 0 auto;
  animation: glitch-extrude 8s ease-in-out infinite;
  will-change: filter;
}
@keyframes glitch-extrude {
  0%, 30%, 100% { filter: none; }
  46% {
    filter:
      drop-shadow(2px 1px rgba(80,255,170,0.55))
      drop-shadow(5px 2px rgba(150,120,255,0.4))
      drop-shadow(8px 3px rgba(80,255,210,0.3));
  }
  56%, 66% {
    filter:
      drop-shadow(3px 0 rgba(80,255,170,0.6))
      drop-shadow(6px 0 rgba(150,120,255,0.5))
      drop-shadow(9px 0 rgba(80,255,210,0.4))
      drop-shadow(12px 0 rgba(170,120,255,0.3))
      drop-shadow(15px 0 rgba(80,255,170,0.22));
  }
  80% {
    filter:
      drop-shadow(2px 0 rgba(80,255,170,0.4))
      drop-shadow(4px 0 rgba(150,120,255,0.28));
  }
}

/* Middle layer: the molten wobble (SVG filter) + squash-to-puddle transform */
.logo-melt {
  position: relative;
  display: inline-block;
  filter: url(#melt);
  transform-origin: 50% 86%;
  animation: logo-puddle 8s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  will-change: transform;
}
@keyframes logo-puddle {
  0%, 30%   { transform: translateY(0) scale(1, 1); }
  38%       { transform: translateY(-6px) scale(0.97, 1.05); }   /* anticipation pull-up */
  50%       { transform: translateY(20px) scale(1.18, 0.6); }    /* sagging */
  60%       { transform: translateY(52px) scale(1.5, 0.14); }    /* full puddle */
  64%       { transform: translateY(54px) scale(1.56, 0.11); }   /* settle / ripple */
  74%       { transform: translateY(26px) scale(1.2, 0.5); }     /* drawing back up */
  84%       { transform: translateY(-4px) scale(0.98, 1.04); }   /* overshoot reform */
  92%, 100% { transform: translateY(0) scale(1, 1); }
}

/* Chromium ooze / liquid-metal iridescent sheen (green + purple) */
.chrome-sheen {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: screen;
  background:
    linear-gradient(115deg,
      transparent 14%,
      rgba(120,255,200,0.95) 30%,
      transparent 40%,
      rgba(180,120,255,0.9) 52%,
      transparent 60%,
      rgba(120,255,255,0.85) 74%,
      transparent 84%,
      rgba(150,255,170,0.8) 94%);
  background-size: 260% 260%;
  opacity: 0.45;
  animation: sheen-flow 8s ease-in-out infinite;
  will-change: background-position, opacity;
}
@keyframes sheen-flow {
  0%   { background-position: 0% 0%;     opacity: 0.4; }
  50%  { background-position: 100% 100%; opacity: 0.95; }  /* peak metallic during puddle */
  60%  { background-position: 120% 110%; opacity: 1; }
  100% { background-position: 0% 0%;     opacity: 0.4; }
}

@keyframes hover-bob {
  0%,100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}
.hero h1 {
  margin-top: 26px;
  font-size: clamp(36px, 7vw, 72px);
  line-height: 1.02;
  color: var(--slime-bright);
  text-shadow: 0 0 18px rgba(43,255,136,0.7), 0 4px 0 #043a18;
}
/* "We R Krewe du Goo" — chrome ooze letters that melt in sync with the logo */
.hero h1.melt-text {
  display: inline-block;
  color: transparent;
  background: linear-gradient(115deg,
      var(--slime-bright) 12%,
      #c7a3ff 30%,
      var(--slime) 46%,
      #b6f5ff 60%,
      #d3b3ff 74%,
      var(--slime-bright) 92%);
  background-size: 260% 260%;
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: none;
  filter: url(#melt) drop-shadow(0 0 14px rgba(43,255,136,0.55));
  transform-origin: 50% 100%;
  animation: text-sheen 8s ease-in-out infinite, text-puddle 8s cubic-bezier(0.5,0,0.5,1) infinite;
  will-change: transform, background-position;
}
@keyframes text-sheen {
  0%   { background-position: 0% 0%; }
  50%  { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}
@keyframes text-puddle {
  0%, 34%   { transform: translateY(0) scale(1, 1); }
  52%       { transform: translateY(8px) scale(1.06, 0.74); }
  61%       { transform: translateY(20px) scale(1.14, 0.4); }
  74%       { transform: translateY(8px) scale(1.05, 0.78); }
  88%, 100% { transform: translateY(0) scale(1, 1); }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .logo-glitch, .logo-melt, .chrome-sheen,
  .hero h1.melt-text { animation: none; }
  .logo-melt { filter: none; }
  .hero h1.melt-text { filter: drop-shadow(0 0 14px rgba(43,255,136,0.55)); }
}

/* ---------- Scroll-down hint arrow ---------- */
.scroll-hint {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 2px solid var(--slime);
  border-radius: 50%;
  background: rgba(8, 26, 16, 0.72);
  backdrop-filter: blur(4px);
  cursor: pointer;
  box-shadow: 0 0 16px rgba(43,255,136,0.6);
  color: var(--slime);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  animation: scroll-bounce 1.6s ease-in-out infinite;
}
.scroll-hint svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 5px rgba(43,255,136,0.9));
}
.scroll-hint:hover { background: rgba(43,255,136,0.18); }
.scroll-hint.hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-hint { animation: none; }
}

.hero p.tag {
  margin: 18px auto 0;
  max-width: 640px;
  font-size: clamp(16px, 2.4vw, 21px);
  color: var(--muted);
}

.btn {
  display: inline-block;
  margin-top: 28px;
  background: var(--pink);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 18px;
  box-shadow: 0 0 22px rgba(255,30,122,0.55);
  transition: transform 0.12s, box-shadow 0.12s;
}
.btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 0 30px rgba(255,30,122,0.7); }
.btn.green { background: var(--goo); color: #042a12; box-shadow: 0 0 22px rgba(0,214,95,0.55); }
.btn.green:hover { box-shadow: 0 0 30px rgba(43,255,136,0.8); }

/* ---------- Content ---------- */
main { max-width: 880px; margin: 0 auto; padding: 50px 20px 40px; }
.page-title {
  color: var(--slime-bright);
  font-size: clamp(28px, 5vw, 44px);
  margin-bottom: 18px;
  text-shadow: 0 0 16px rgba(43,255,136,0.6);
}
.lead { font-size: 19px; color: var(--muted); margin-bottom: 26px; }

/* dark glassy goo panels — no white */
.card {
  position: relative;
  background: linear-gradient(180deg, rgba(8,48,24,0.72), rgba(4,30,15,0.78));
  border: 1px solid rgba(43,255,136,0.30);
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 24px;
  backdrop-filter: blur(6px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.45), inset 0 0 24px rgba(43,255,136,0.06);
}
.card h2 { color: var(--slime-bright); margin-bottom: 10px; text-shadow: 0 0 12px rgba(43,255,136,0.5); }
.card p + p { margin-top: 14px; }

.embed-frame {
  width: 100%;
  min-height: 800px;
  border: none;
  border-radius: 14px;
  background: transparent;
}

/* ---------- Native membership form ---------- */
.goo-form { display: grid; gap: 18px; }
.goo-form .field { display: grid; gap: 6px; }
.goo-form label { font-weight: 700; color: var(--ink); font-size: 15px; }
.goo-form label .req { color: var(--pink); }
.goo-form input[type="text"],
.goo-form input[type="email"],
.goo-form input[type="tel"],
.goo-form select,
.goo-form textarea {
  width: 100%;
  background: rgba(2,20,10,0.6);
  border: 1px solid rgba(43,255,136,0.30);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.goo-form input:focus,
.goo-form select:focus,
.goo-form textarea:focus {
  outline: none;
  border-color: var(--slime);
  box-shadow: 0 0 0 3px rgba(43,255,136,0.18);
}
.goo-form textarea { min-height: 96px; resize: vertical; }
.goo-form select option { color: #042a12; }
.goo-form .hint { font-size: 13px; color: var(--muted); }

/* Phone + SMS consent grouped as one unmistakable unit (TCPA clarity). */
.sms-block {
  display: grid;
  gap: 14px;
  border: 2px solid var(--slime);
  border-radius: 16px;
  padding: 18px 18px 20px;
  background: rgba(2,20,10,0.45);
  box-shadow: inset 0 0 18px rgba(43,255,136,0.10);
}
.sms-block legend {
  padding: 0 10px;
  margin-left: 4px;
  font-weight: 800;
  color: var(--slime-bright);
  text-shadow: 0 0 10px rgba(43,255,136,0.45);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 14px;
}

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(2,20,10,0.5);
  border: 1px solid rgba(43,255,136,0.22);
  border-radius: 14px;
  padding: 14px 16px;
}
.consent input[type="checkbox"] {
  width: 22px; height: 22px;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: var(--goo);
}
.consent .consent-text { font-size: 13px; color: var(--muted); line-height: 1.5; }
.consent .consent-text strong { color: var(--ink); }

.goo-form button[type="submit"] {
  justify-self: start;
  margin-top: 6px;
  cursor: pointer;
  border: none;
}
.goo-form button[type="submit"][disabled] { opacity: 0.6; cursor: not-allowed; }

[hidden] { display: none !important; }
.form-status { margin-top: 4px; font-weight: 700; font-size: 14px; min-height: 18px; }
.form-status.ok { color: var(--slime); }
.form-status.err { color: var(--toxic); }

.form-success { text-align: center; padding: 24px 0; }
.form-success h2 { color: var(--slime-bright); margin-bottom: 8px; }
.form-success p { color: var(--muted); }

/* ---------- Text goopifier ---------- */
.goopifier-main { max-width: 1120px; position: relative; z-index: 5; }
.goopifier-shell { display: grid; gap: 24px; }
.goopifier-copy { max-width: 760px; }
.tool-kicker {
  color: var(--toxic);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.goopifier-panel { display: grid; gap: 14px; }
.field-label {
  color: var(--slime-bright);
  font-weight: 800;
  text-shadow: 0 0 10px rgba(43,255,136,0.38);
}
.goopifier-input {
  width: 100%;
  min-height: 210px;
  resize: vertical;
  background: rgba(2,20,10,0.72);
  border: 1px solid rgba(43,255,136,0.34);
  border-radius: 16px;
  color: var(--ink);
  font: inherit;
  font-size: 18px;
  line-height: 1.6;
  padding: 18px;
  box-shadow: inset 0 0 24px rgba(0,0,0,0.26);
}
.goopifier-input:focus {
  outline: none;
  border-color: var(--slime);
  box-shadow: 0 0 0 3px rgba(43,255,136,0.18), inset 0 0 24px rgba(0,0,0,0.26);
}
.goopifier-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.goopifier-button { border: 0; cursor: pointer; margin-top: 0; }
.goo-count { color: var(--muted); font-weight: 700; }
.output-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.output-head h2 { margin-bottom: 0; }
.output-tools { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.plain-tool {
  border: 1px solid rgba(43,255,136,0.38);
  border-radius: 999px;
  background: rgba(2,20,10,0.58);
  color: var(--slime);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 8px 14px;
}
.plain-tool:hover { background: rgba(43,255,136,0.14); }
.goopifier-output { overflow: visible; z-index: 15; }
.goopifier-output.menu-open { z-index: 500; }
.goo-words-panel { z-index: 1; }
.goo-output {
  position: relative;
  min-height: 170px;
  color: #eaffef;
  font-size: clamp(18px, 2.5vw, 24px);
  line-height: 1.95;
}
.goo-token-wrap { position: relative; display: inline-block; }
.goo-token {
  appearance: none;
  border: 1px solid rgba(255,123,0,0.72);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,123,0,0.28), rgba(43,255,136,0.18));
  color: #fff7df;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  line-height: 1.18;
  padding: 1px 5px 2px;
  text-shadow: 0 0 10px rgba(255,123,0,0.5);
  box-shadow: 0 0 14px rgba(255,123,0,0.18);
}
.goo-token:hover,
.goo-token-wrap.open .goo-token {
  border-color: var(--slime);
  box-shadow: 0 0 18px rgba(43,255,136,0.42);
}
.goo-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 510;
  display: none;
  min-width: 190px;
  padding: 8px;
  border: 1px solid rgba(43,255,136,0.48);
  border-radius: 12px;
  background: #03190a;
  box-shadow: 0 18px 34px rgba(0,0,0,0.48), 0 0 18px rgba(43,255,136,0.18);
}
.goo-token-wrap.open .goo-menu { display: grid; gap: 6px; }
.goo-choice {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: rgba(43,255,136,0.1);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 8px 10px;
  text-align: left;
}
.goo-choice:hover,
.goo-choice:focus {
  outline: none;
  background: var(--goo);
  color: #042a12;
}

@media (max-width: 620px) {
  .output-head { align-items: flex-start; flex-direction: column; }
  .output-tools { justify-content: flex-start; }
  .goo-menu { left: 50%; transform: translateX(-50%); }
}

/* ---------- Goo-words manager ---------- */
.goo-words-panel { gap: 16px; }
.goo-add { display: flex; gap: 10px; flex-wrap: wrap; }
.goo-add input {
  flex: 1 1 240px;
  background: rgba(2,20,10,0.72);
  border: 1px solid rgba(43,255,136,0.34);
  border-radius: 12px;
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  padding: 11px 15px;
}
.goo-add input:focus {
  outline: none;
  border-color: var(--slime);
  box-shadow: 0 0 0 3px rgba(43,255,136,0.18);
}
.goo-add .btn { margin-top: 0; border: 0; cursor: pointer; }
.goo-help,
.goo-words-meta {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}
.goo-help strong { color: var(--ink); }
.goo-add-msg { min-height: 20px; margin: 0; font-weight: 700; color: var(--muted); }
.goo-add-msg.ok { color: var(--slime-bright); }
.goo-add-msg.err { color: #ff9d6b; }
.goo-words-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.goo-word-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(43,255,136,0.34);
  border-radius: 999px;
  background: rgba(2,20,10,0.58);
  color: var(--ink);
  font-weight: 800;
  padding: 6px 12px;
}
.goo-word-chip:hover,
.goo-word-chip:focus {
  outline: none;
  border-color: var(--slime);
  box-shadow: 0 0 14px rgba(43,255,136,0.22);
}
.goo-word-phon {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.goo-word-chip.custom {
  border-color: rgba(255,123,0,0.6);
  background: rgba(255,123,0,0.12);
}
.goo-word-empty {
  color: var(--muted);
  font-weight: 700;
  padding: 6px 0;
}
.goo-word-remove {
  border: 0;
  background: none;
  color: #ff9d6b;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 0 2px;
}
.goo-word-remove:hover { color: #ffd0b3; }
.goo-pron-panel {
  border-top: 1px solid rgba(43,255,136,0.2);
  display: grid;
  gap: 10px;
  padding-top: 14px;
}
.goo-pron-panel h3 { font-size: 18px; margin: 0; }

/* ---------- Phones reference ---------- */
.phones-panel:not([hidden]) {
  border-top: 1px solid rgba(43,255,136,0.2);
  display: grid;
  gap: 16px;
  padding-top: 14px;
}
.phones-lookup { display: flex; gap: 10px; flex-wrap: wrap; }
.phones-lookup input {
  flex: 1 1 260px;
  background: rgba(2,20,10,0.72);
  border: 1px solid rgba(43,255,136,0.34);
  border-radius: 12px;
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  padding: 11px 15px;
}
.phones-lookup input:focus {
  outline: none;
  border-color: var(--slime);
  box-shadow: 0 0 0 3px rgba(43,255,136,0.18);
}
.phones-lookup .btn { margin-top: 0; border: 0; cursor: pointer; }
.phones-result {
  min-height: 24px;
  color: var(--slime-bright);
  font-weight: 800;
}
.phones-list {
  display: grid;
  gap: 8px;
  max-height: 360px;
  overflow: auto;
  padding-right: 4px;
}
.phone-row {
  align-items: center;
  background: rgba(2,20,10,0.58);
  border: 1px solid rgba(43,255,136,0.28);
  border-radius: 10px;
  color: var(--ink);
  display: grid;
  font: inherit;
  gap: 14px;
  grid-template-columns: 58px 1fr;
  padding: 9px 12px;
  text-align: left;
}
.phone-row:hover,
.phone-row:focus {
  outline: none;
  border-color: var(--slime);
  box-shadow: 0 0 14px rgba(43,255,136,0.18);
}
.phone-code { color: var(--slime-bright); font-weight: 900; }
.phone-examples { color: var(--muted); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, #041f0d, #021407);
  color: var(--muted);
  text-align: center;
  padding: 40px 20px;
  margin-top: 40px;
  border-top: 2px solid var(--slime);
  box-shadow: 0 -4px 24px rgba(43,255,136,0.25);
}
.site-footer a { color: var(--slime); text-decoration: none; font-weight: 700; }
.site-footer .ig { font-size: 18px; }
.site-footer .small { font-size: 13px; color: #6fce9a; margin-top: 10px; }
