:root {
  --bg: #fdf6e9;
  --card: #fffdf7;
  --ink: #2a2118;
  --muted: #6f5f4c;
  --pumpkin: #d97a2e;
  --pumpkin-dark: #b85f1c;
  --black: #17130e;
  --line: #f0dcbc;
  --shadow: 0 10px 30px rgba(120, 72, 20, .12);
  --radius: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(180deg, #fdf3df 0, var(--bg) 320px);
  color: var(--ink);
  line-height: 1.55;
}

img { max-width: 100%; display: block; }

/* All titles in uppercase */
h1, h2, h3, .tile-title, .deal-title, .chip {
  text-transform: uppercase;
  letter-spacing: .03em;
}

/* ---------- Hero ---------- */
.hero {
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 20px 8px;
  text-align: center;
}

.hero-banner {
  width: 100%;
  border-radius: 22px;
  box-shadow: var(--shadow);
  border: 4px solid #fff;
  margin-bottom: 22px;
}

.brand {
  letter-spacing: .45em;
  font-weight: 700;
  color: var(--pumpkin-dark);
  font-size: .85rem;
  margin-bottom: 8px;
}

.hero h1 {
  font-size: clamp(1.7rem, 4.5vw, 2.6rem);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 10px;
}

.tagline { color: var(--muted); font-size: 1.05rem; margin-bottom: 22px; }

.hero-cta { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; }

.hero-logo {
  height: 92px;
  width: auto;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn-primary {
  background: var(--pumpkin);
  color: #fff;
  box-shadow: 0 8px 20px rgba(217, 122, 46, .35);
}
.btn-primary:hover { background: var(--pumpkin-dark); transform: translateY(-2px); }

.btn-ghost {
  background: #fff;
  color: var(--pumpkin-dark);
  border: 2px solid var(--line);
}
.btn-ghost:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---------- Sections ---------- */
main { max-width: 980px; margin: 0 auto; padding: 0 20px; }

section { padding: 34px 0 6px; }

h2 { font-size: 1.5rem; font-weight: 800; text-align: center; margin-bottom: 6px; }

.section-sub { text-align: center; color: var(--muted); margin-bottom: 22px; }

/* ---------- Shop rows: 3 buttons + 1 Cuco photo per line ---------- */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-height: 250px;
  padding: 0 14px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--ink);
  text-align: center;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}

.tile:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(120, 72, 20, .18); }
.tile:hover .paw { transform: scale(1.12) rotate(-6deg); }

.tile-img { width: calc(100% + 28px); margin: 0 -14px; height: 118px; object-fit: cover; }

.tile .paw { margin-top: -28px; z-index: 1; }

.tile-title { font-weight: 800; font-size: .98rem; line-height: 1.25; }
.tile-desc { color: var(--muted); font-size: .85rem; line-height: 1.35; }

/* Cuco photo tile: full-bleed, same size as the buttons */
.tile-coco { padding: 0; }
.tile-coco img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Cuco's paw: black paw with the white little paw */
.paw {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 3px #2c251b, 0 4px 10px rgba(0,0,0,.25);
  transition: transform .15s ease;
}
.paw svg { width: 34px; height: 34px; fill: #fff; }

/* Quick-link tiles (no photo) */
.quicklinks .tile { min-height: 190px; justify-content: center; padding-top: 18px; }
.quicklinks .tile .paw { margin-top: 0; }

/* ---------- DEALS: alone, full width ---------- */
.deal-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  margin-top: 2px;
  padding: 30px 22px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--pumpkin) 0%, var(--pumpkin-dark) 100%);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(217, 122, 46, .4);
  transition: transform .15s ease, box-shadow .15s ease;
  text-align: left;
}
.deal-btn:hover { transform: translateY(-3px); box-shadow: 0 20px 38px rgba(217, 122, 46, .45); }
.deal-btn:hover .paw { transform: scale(1.12) rotate(-6deg); }
.deal-btn .paw { width: 70px; height: 70px; background: #fff; box-shadow: inset 0 0 0 3px rgba(255,255,255,.6), 0 4px 10px rgba(0,0,0,.25); }
.deal-btn .paw svg { width: 42px; height: 42px; fill: var(--black); }
.deal-title { font-size: 1.7rem; font-weight: 800; line-height: 1.1; }
.deal-desc { opacity: .92; font-size: 1rem; }

/* ---------- Shorts ---------- */
.shorts-row { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

.short-frame {
  width: min(320px, 88vw);
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: #000;
}

.short-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Meet Cuco (interactive drawing) ---------- */
.cuco-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 26px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 28px;
}

.cuco-stage { position: relative; text-align: center; }

#cucoSvg { width: 100%; max-width: 320px; cursor: pointer; }
#cucoSvg .tail { transform-box: fill-box; transform-origin: left center; animation: tailSway 2.6s ease-in-out infinite alternate; }
#cucoSvg .eye { transform-box: fill-box; transform-origin: center; }
#cucoSvg.blink .eye { transform: scaleY(.08); }
#cucoSvg .eye { transition: transform .07s ease; }
#cucoSvg .wave-arm { transform-box: fill-box; transform-origin: 50% 8%; }
#cucoSvg.waving .wave-arm { animation: wavePaw .45s ease-in-out 3; }

@keyframes tailSway { from { transform: rotate(-3deg); } to { transform: rotate(4deg); } }
@keyframes wavePaw { 0%,100% { transform: rotate(0deg); } 50% { transform: rotate(-22deg); } }

.bubble {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translate(-50%, -100%) scale(.9);
  min-width: 190px;
  max-width: 250px;
  background: #fff;
  border: 2px solid var(--black);
  border-radius: 14px;
  padding: 9px 13px;
  font-weight: 700;
  font-size: .92rem;
  line-height: 1.3;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 14px; height: 14px;
  background: #fff;
  border-right: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
  transform: translateX(-50%) rotate(45deg);
}
.bubble.show { opacity: 1; transform: translate(-50%, -100%) scale(1); }

.cuco-hint { color: var(--muted); font-size: .85rem; margin-top: 4px; }

.cuco-text h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 8px; }
.cuco-text p { margin-bottom: 10px; }

/* ---------- Worlds / socials ---------- */
.chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

.chip {
  background: #fff;
  border: 2px solid var(--line);
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .92rem;
}

.social-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

.social-btn {
  background: var(--black);
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  transition: transform .15s ease, background .15s ease;
}
.social-btn:hover { background: var(--pumpkin-dark); transform: translateY(-2px); }

/* ---------- Story ---------- */
.story {
  max-width: 720px;
  margin: 34px auto 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 28px 12px;
}

.story p { color: var(--ink); margin-bottom: 14px; }

/* ---------- Footer ---------- */
footer {
  max-width: 760px;
  margin: 40px auto 0;
  padding: 22px 20px 34px;
  text-align: center;
  color: var(--muted);
  font-size: .85rem;
}

footer .disclosure { margin-bottom: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .cuco-card { grid-template-columns: 1fr; text-align: center; }
  .cuco-text { text-align: left; }
}

@media (max-width: 560px) {
  .hero-logo { height: 72px; }
  .shop-grid { grid-template-columns: 1fr; }
  .tile { min-height: 230px; }
  .tile-coco { min-height: 230px; }
  .deal-btn { flex-direction: column; text-align: center; }
  .bubble { top: 0; }
}
