* { box-sizing: border-box; font-family: Arial, Helvetica, sans-serif; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #FFD93D; color: #111; text-align: center; }

section { padding: 84px 18px; }

/* ===== TICKER ===== */
.ticker{
  width:100%;
  overflow:hidden;
  background:#111;
  color:#FFD93D;
  font-weight:900;
  letter-spacing:2px;
  border-bottom:3px solid rgba(255,255,255,.08);
  position: sticky;
  top: 0;
  z-index: 50;
}
.ticker-track{
  display:flex;
  width:max-content;
  white-space:nowrap;
  padding:12px 0;
  animation: ticker 16s linear infinite;
}
.ticker-track span{
  padding-right: 28px;
}
@keyframes ticker{
  0%{ transform:translateX(0); }
  100%{ transform:translateX(-50%); }
}

/* ===== BUTTER DRIP OVERLAY ===== */
.drip-overlay{
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 120px;
  pointer-events: none;
  z-index: 40;
  opacity: 0.92;
  transform: translateY(-12px);
  transition: opacity .25s ease, transform .25s ease;
}
.drip-overlay::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 10% 60%, rgba(255,220,92,.95) 0 55%, rgba(0,0,0,0) 56%),
    radial-gradient(circle at 26% 70%, rgba(255,220,92,.95) 0 62%, rgba(0,0,0,0) 63%),
    radial-gradient(circle at 45% 55%, rgba(255,220,92,.95) 0 58%, rgba(0,0,0,0) 59%),
    radial-gradient(circle at 63% 72%, rgba(255,220,92,.95) 0 64%, rgba(0,0,0,0) 65%),
    radial-gradient(circle at 82% 58%, rgba(255,220,92,.95) 0 58%, rgba(0,0,0,0) 59%),
    linear-gradient(#FFD93D, #FFD93D);
  filter: drop-shadow(0 10px 14px rgba(0,0,0,.10));
  animation: dripWobble 3.2s ease-in-out infinite;
}
@keyframes dripWobble{
  0%,100%{ transform: translateY(0px); }
  50%{ transform: translateY(7px); }
}

/* ===== HERO ===== */
.top-pills{
  display:flex; justify-content:center; gap:10px; flex-wrap:wrap;
  margin-bottom: 16px;
}
.pill{
  background:#111; color:#FFD93D; text-decoration:none; font-weight:900;
  padding:10px 14px; border-radius:999px;
}

.hero-img{
  max-width: 620px;
  width: min(620px, 94vw);
}

.title{
  font-size: 78px;
  margin: 22px 0 6px;
  font-weight: 900;
  text-transform: uppercase;
  color:#111;
  text-shadow:
    4px 4px 0 #FFE89B,
    9px 9px 0 rgba(0,0,0,.16);
}

.subtitle{
  font-weight: 900;
  letter-spacing: 4px;
  margin: 0;
  opacity: .92;
}

.ca {
  background: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  margin: 18px auto 12px;
  max-width: min(980px, 94vw);
  border: 2px solid rgba(0,0,0,.14);
}
.ca-label{ font-weight:900; }
.ca-text{
  font-size: 12px;
  word-break: break-all;
  text-align: left;
  flex: 1;
}
.copy-btn{
  border: none;
  background: #111;
  color: #FFD93D;
  font-weight: 900;
  padding: 10px 12px;
  border-radius: 999px;
  cursor:pointer;
}

.hero-buttons { display: flex; justify-content: center; gap: 10px; flex-wrap:wrap; }
.btn {
  background: #111; color: #FFD93D;
  padding: 12px 18px; border-radius: 999px;
  text-decoration: none; font-weight: 900;
}
.btn.btn-alt{
  background: #fff;
  color: #111;
  border: 2px solid rgba(0,0,0,.14);
}

/* ===== STORY ===== */
.story img{
  max-width: 520px;
  width: min(520px, 92vw);
  margin-bottom: 18px;
  border-radius: 18px;
  border: 3px solid rgba(0,0,0,.14);
  box-shadow: 0 18px 40px rgba(0,0,0,.14);
}
.story p { max-width: 720px; margin: auto; font-size: 16px; line-height: 1.7; font-weight: 700; opacity:.92; }

/* ===== BUY STRIP ===== */
.buy-strip { background: #FFCC00; border-top: 3px solid rgba(0,0,0,.10); border-bottom: 3px solid rgba(0,0,0,.10); }
.buy-big{
  display:inline-block;
  font-size: 20px;
  padding: 16px 34px;
  border-radius: 999px;
  background: #111;
  color: #FFD93D;
  font-weight: 900;
  text-decoration: none;
}

/* ===== PFP ===== */
.pfp { background: rgba(255,255,255,.34); border-top: 3px solid rgba(0,0,0,.08); }
.pfp h2{ margin:0 0 8px; font-size: 30px; letter-spacing: .5px; text-shadow: 2px 2px 0 rgba(255,255,255,.65); }
.pfp-sub{ margin: 0 0 18px; opacity: .85; font-weight: 800; }

.pfp-stage{
  display:flex; justify-content:center;
  margin: 10px 0 14px;
}
canvas{
  width: min(560px, 94vw);
  height: auto;
  border-radius: 22px;
  border: 3px solid rgba(0,0,0,.16);
  background:#FFD93D;
  box-shadow: 0 22px 55px rgba(0,0,0,.18);
}

.prompt-row{
  display:flex; justify-content:center; gap:10px; flex-wrap:wrap;
  margin: 14px auto 12px;
}
#promptInput{
  width: min(640px, 94vw);
  padding: 14px 14px;
  border-radius: 14px;
  border: 2px solid rgba(0,0,0,.16);
  outline:none;
  font-weight: 800;
}
.apply-btn{
  border:none;
  background:#111;
  color:#FFD93D;
  font-weight: 900;
  padding: 14px 18px;
  border-radius: 14px;
  cursor:pointer;
}

.preset-wrap{
  display:flex; justify-content:center; gap:10px; flex-wrap:wrap;
  margin: 10px auto 18px;
  max-width: 1060px;
}
.preset{
  border:none;
  background:#fff;
  border: 2px solid rgba(0,0,0,.14);
  font-weight: 900;
  padding: 10px 12px;
  border-radius: 999px;
  cursor:pointer;
}

.pfp-controls{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 980px;
  margin: 0 auto 14px;
}
.control{
  background:#fff;
  border: 2px solid rgba(0,0,0,.12);
  border-radius: 16px;
  padding: 12px;
  text-align:left;
}
.control label{
  display:block;
  font-weight: 900;
  font-size: 12px;
  opacity: .75;
  margin-bottom: 8px;
}
select, input[type="range"]{ width:100%; }

.accessories{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  font-weight:900;
}
.accessories.onecol{ grid-template-columns: 1fr; }
.accessories label{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:14px;
}

.dl-row{
  display:flex; justify-content:center; gap:10px; flex-wrap:wrap;
}
.download{
  border:none;
  background:#111;
  color:#FFD93D;
  font-weight: 900;
  padding: 14px 20px;
  border-radius: 999px;
  cursor:pointer;
}
.download.ghost{
  background:#fff;
  color:#111;
  border: 2px solid rgba(0,0,0,.14);
}

.tiny-note{
  max-width: 860px;
  margin: 14px auto 0;
  opacity: .82;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700;
}

.foot{
  padding: 26px 18px 44px;
  font-weight: 900;
  opacity: .88;
}
.foot a{ color:#111; text-decoration:none; border-bottom: 2px solid rgba(0,0,0,.16); }
.foot span{ margin: 0 10px; }

/* scroll reveal */
.reveal{
  opacity: 0;
  transform: translateY(18px);
  transition: .75s ease;
}
.reveal.show{
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 720px){
  .title{ font-size: 58px; }
  .pfp-controls{ grid-template-columns: 1fr; }
}

/* BIG FEATURE IMAGE */
.story-img-large{
  width:100%;
  max-width: 900px;
  border-radius: 26px;
  margin-bottom: 22px;
}

/* TIKTOK */
.embed-title{
  font-weight: 900;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}
.tiktok-embed{
  margin: 0 auto 22px !important;
}
