/* 90s / 2000s vibez — BIG buttons, BIG text, sparkles everywhere 🎇 */
:root{
  --bgA:#0a0050;
  --bgB:#002a7a;
  --bgC:#0b4d00;
  --paper:#ffffff;
  --ink:#1b1b1b;
  --hot:#ff00cc;
  --neon:#00ffea;
  --sun:#ffe600;
  --wa:#25D366;
  --shadow: 0 10px 30px rgba(0,0,0,.25);
}
*{box-sizing:border-box}
html{
  min-height:100%;
}
body{
  margin:0;
  min-height:100vh;
  color:var(--paper);
  font-family: "Comic Sans MS","Comic Sans","Trebuchet MS","Verdana",system-ui,sans-serif;
  background:
    radial-gradient(circle at 20% 10%, rgba(255,255,255,.20), transparent 45%),
    radial-gradient(circle at 80% 30%, rgba(255,255,255,.12), transparent 40%),
    linear-gradient(135deg, var(--bgA), var(--bgB) 55%, var(--bgC));
  background-attachment: fixed;
  overflow-x:hidden;
}

/* animated “laser” stripes */
body::before{
  content:"";
  position:fixed; inset:-40vh -40vw;
  background:
    repeating-linear-gradient(45deg,
      rgba(255,255,255,.06) 0 12px,
      rgba(0,0,0,0) 12px 28px);
  filter: blur(0.5px);
  animation: drift 14s linear infinite;
  pointer-events:none;
}
@keyframes drift{ from{transform:translate3d(0,0,0)} to{transform:translate3d(160px,80px,0)} }

.wrap{
  width:min(900px, 96vw);
  margin: 14px auto 40px;
  padding: 12px;
}

/* Top marquee */
.marquee{
  margin-bottom: 64px;
  border: 4px solid var(--neon);
  border-radius: 18px;
  box-shadow: var(--shadow);
  background: rgba(0,0,0,.20);
  overflow:hidden;
}
.marquee__inner{
  display: block;
  padding: 12px 0;
  font-size: clamp(22px, 4.6vw, 34px);
  font-weight: 900;
  text-align: center;
  text-shadow:
    0 2px 0 rgba(0,0,0,.35),
    0 0 12px rgba(255,255,255,.35);
}

/* “stage” */
.stage{
  margin: 16px 0 10px;
  display:grid;
  place-items:center;
  gap: 10px;
}
.hint{
  font-size: clamp(20px, 4.5vw, 30px);
  font-weight: 800;
  color: var(--sun);
  text-shadow: 0 2px 0 rgba(0,0,0,.35), 0 0 12px rgba(255,230,0,.45);
  text-align:center;
}
.sender{
  font-size: clamp(18px, 4.2vw, 26px);
  font-weight: 900;
  color: var(--neon);
  text-shadow: 0 2px 0 rgba(0,0,0,.35), 0 0 12px rgba(0,255,234,.45);
  text-align:center;
  margin: -4px 0 4px;
}
.firework{
  width: min(220px, 56vw);
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background: rgba(0,0,0,.28);
  display:grid; place-items:center;
  cursor:pointer;
  user-select:none;
  -webkit-tap-highlight-color: transparent;
  animation: pulse 1.2s ease-in-out infinite;
}
@keyframes pulse{
  0%,100%{ transform: scale(1); }
  50%{ transform: scale(1.06); }
}

.firework{
  display:flex;
  flex-direction:column;
  gap: 2px;
}
.fwArt{
  width: min(70vw, 230px);
  height: auto;
  filter: drop-shadow(0 10px 12px rgba(0,0,0,.35));
  animation: wobble 1.4s ease-in-out infinite;
}
.fwText{
  font-size: clamp(22px, 4.8vw, 32px);
  font-weight: 1000;
  color: var(--sun);
  text-shadow: 0 2px 0 rgba(0,0,0,.35), 0 0 12px rgba(255,230,0,.35);
  letter-spacing: 1px;
}

@keyframes wobble{
  0%,100%{ transform: rotate(-6deg) translateY(0); }
  50%{ transform: rotate(6deg) translateY(-6px); }
}

.card{
  margin: 14px auto 18px;
  padding: 16px 14px;
  background: rgba(255,255,255,.10);
  border: 5px dashed var(--sun);
  border-radius: 22px;
  box-shadow: 0 0 0 6px rgba(255,0,204,.25), var(--shadow);
  backdrop-filter: blur(6px);
}
.card.hidden{ display:none; }

.title{
  font-size: clamp(34px, 7vw, 54px);
  line-height: 1.05;
  margin: 4px 0 8px;
  text-align:center;
  font-weight: 1000;
  letter-spacing: .5px;
  text-shadow:
    0 3px 0 rgba(0,0,0,.35),
    0 0 18px rgba(0,255,234,.35),
    0 0 22px rgba(255,0,204,.25);
}
.sub{
  text-align:center;
  font-size: clamp(20px, 4.8vw, 28px);
  margin: 0 0 10px;
  font-weight: 800;
  color: rgba(255,255,255,.95);
}
.message{
  margin: 10px auto 0;
  max-width: 42ch;
  font-size: clamp(20px, 4.7vw, 28px);
  line-height: 1.35;
  text-align:center;
  background: rgba(0,0,0,.18);
  border: 3px solid rgba(255,255,255,.25);
  border-radius: 16px;
  padding: 12px;
}

/* big buttons */
.btnRow{
  display:flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content:center;
  margin-top: 14px;
}
.btn{
  border: 0;
  border-radius: 18px;
  padding: 16px 18px;
  font-size: clamp(20px, 4.6vw, 28px);
  font-weight: 1000;
  cursor:pointer;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  min-height: 60px;
  min-width: min(280px, 88vw);
  box-shadow: 0 10px 0 rgba(0,0,0,.22), var(--shadow);
  transform: translateY(0);
  transition: transform .06s ease;
  -webkit-tap-highlight-color: transparent;
}
.btnIcon{
  font-size: clamp(24px, 5vw, 32px);
  line-height: 1;
}
.btnLogo{
  height: clamp(28px, 5.5vw, 36px);
  width: auto;
  display: block;
}
.btn:active{ transform: translateY(3px); box-shadow: 0 7px 0 rgba(0,0,0,.22), var(--shadow); }
.btn:disabled{ opacity:.55; cursor:not-allowed; filter: grayscale(.15); box-shadow: 0 7px 0 rgba(0,0,0,.15), var(--shadow); }

.btnPink{ background: linear-gradient(135deg, #ff4ddb, #ff006a); color:#fff; }
.btnYellow{ background: linear-gradient(135deg, #fff36d, #ffd000); color:#222; }
.btnGreen{ background: linear-gradient(135deg, #3ef2a1, #25D366); color:#0c1a12; }
.btnBlue{ background: linear-gradient(135deg, #63b3ff, #0066ff); color:#fff; }
.btnGray{ background: rgba(255,255,255,.25); color:#fff; border: 2px solid rgba(255,255,255,.35); }
.btnWhatsApp{ background: linear-gradient(135deg, #25D366, #128C7E); color:#fff; }
.btnMessenger{ background: linear-gradient(135deg, #0084FF, #0066CC); color:#fff; }

.maker{
  margin-top: 64px;
  padding: 16px 14px;
  border-radius: 22px;
  border: 4px solid rgba(0,255,234,.55);
  background: rgba(0,0,0,.22);
  box-shadow: var(--shadow);
}
.maker h2{
  margin: 0 0 10px;
  text-align:center;
  font-size: clamp(26px, 5.4vw, 36px);
  text-shadow: 0 2px 0 rgba(0,0,0,.35);
}
label{
  display:block;
  font-size: clamp(18px, 4.2vw, 24px);
  font-weight: 900;
  margin: 6px 0 6px;
}
input{
  width: 100%;
  font-size: clamp(20px, 4.8vw, 28px);
  padding: 16px 14px;
  border-radius: 18px;
  border: 4px solid rgba(255,255,255,.40);
  outline: none;
}
input:focus{ border-color: var(--neon); box-shadow: 0 0 0 6px rgba(0,255,234,.18); }

.linkBox{
  resize: none;
  color: #fff;
  outline: none;

  width:100%;
  margin-top: 10px;
  border-radius: 18px;
  border: 3px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.12);
  padding: 12px;
  word-break: break-all;
  font-size: clamp(16px, 3.8vw, 20px);
}
.smallNote{
  margin-top: 10px;
  font-size: clamp(16px, 3.8vw, 20px);
  opacity: .95;
  text-align:center;
}

/* confetti container */
#confetti{
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 99;
}

/* background fireworks container */
#fireworks{
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

/* firework launch trail */
.fw-trail{
  position: absolute;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 8px #fff, 0 0 12px #ffe600;
  animation: fw-launch var(--duration, 300ms) ease-out forwards;
  will-change: transform;
}

@keyframes fw-launch{
  from{
    transform: translate(0, 0);
    opacity: 1;
  }
  to{
    transform: translate(
      calc(var(--target-x, 50%) - 50%),
      calc(-1 * (var(--target-y, 30%) - 50%))
    );
    opacity: 0.3;
  }
}

/* firework explosion particles */
.fw-particle{
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--color, #fff);
  border-radius: 50%;
  box-shadow: 
    0 0 6px var(--color, #fff),
    0 0 12px var(--color, #fff),
    0 0 18px var(--color, #fff);
  animation: fw-explode var(--duration, 1000ms) ease-out forwards;
  animation-delay: var(--delay, 0ms);
  will-change: transform, opacity;
}

@keyframes fw-explode{
  0%{
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  50%{
    opacity: 0.8;
  }
  100%{
    transform: translate(var(--end-x, 0vw), var(--end-y, 0vw)) scale(0.3);
    opacity: 0;
  }
}
.conf{
  position:absolute;
  top:-12vh;
  left:0;
  background: var(--c);
  opacity: .95;
  border-radius: 2px;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.25));
  animation: confetti var(--t) cubic-bezier(.18,.85,.35,1) forwards;
  animation-delay: var(--d, 0ms);
  will-change: transform;
}
@keyframes confetti{
  0%   { transform: translate3d(0,-18vh,0) rotate(0deg); }
  100% { transform: translate3d(var(--dx, 0vw), 120vh, 0) rotate(var(--r, 720deg)); }
}

.toast{
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  background: rgba(0,0,0,.75);
  color:#fff;
  padding: 12px 14px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,.30);
  font-size: clamp(16px, 3.8vw, 18px);
  box-shadow: var(--shadow);
  z-index: 100;
  display:none;
}
.toast.show{ display:block; animation: pop .18s ease-out; }
@keyframes pop{ from{ transform: translateX(-50%) scale(.9); opacity:.2; } to{ transform: translateX(-50%) scale(1); opacity:1; } }

.footer{
  margin-top: 14px;
  text-align:center;
  font-size: clamp(14px, 3.6vw, 18px);
  opacity: .9;
}
a{ color: #fff; }

/* Ad containers */
.adContainer{
  margin: 16px auto;
  text-align: center;
  min-height: 100px;
  max-width: 100%;
  overflow: hidden;
}
.adTop{
  margin-top: 0;
  margin-bottom: 20px;
}
.adBottom{
  margin-top: 24px;
  margin-bottom: 0;
}
.adsbygoogle{
  display: block;
  margin: 0 auto;
}
