/* Pull-City — header + hero (video) */

.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 16px 0; transition: backdrop-filter .3s, background .3s, border-color .3s, padding .3s; border-bottom: 1px solid transparent; }
.hdr.scrolled {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(130%); backdrop-filter: blur(14px) saturate(130%);
  border-bottom-color: color-mix(in srgb, var(--accent) 18%, var(--line));
  padding: 12px 0;
  box-shadow: 0 1px 0 0 color-mix(in srgb, var(--accent) 10%, transparent);
}
.hdr .row { display: flex; align-items: center; justify-content: space-between; gap: clamp(18px, 3vw, 44px); }
.hdr .nav { margin-right: clamp(8px, 2vw, 28px); }
.brand { display: flex; align-items: center; gap: 12px; height: 56px; }
.brand-img { height: 56px; width: auto; display: block; object-fit: contain; image-rendering: -webkit-optimize-contrast; }
.brand .logo { width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 8px; display: grid; place-items: center; background: linear-gradient(135deg, var(--surface), var(--bg)); overflow: hidden; }
.brand .logo svg { width: 20px; height: 20px; }
.brand .logo--img { padding: 0; }
.brand .logo--img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text .name { font-family: var(--serif); font-size: 22px; letter-spacing: 0.01em; line-height: 1.05; }
.brand-name {
  font-family: "Orbitron", "Inter", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-transform: uppercase;
  margin-left: 14px;
  line-height: 1;
  text-shadow: 0 0 22px color-mix(in srgb, var(--accent) 55%, transparent);
}
.brand-name .brand-tcg {
  background: linear-gradient(135deg, var(--accent), var(--accent-bolt, var(--accent-2)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-left: 4px;
}
@media (max-width: 720px) { .brand-name { display: none; } }
.brand-text .name em { font-style: italic; color: var(--accent); }
.brand-text .name .tcg { font-family: var(--serif); font-style: normal; font-weight: 400; color: var(--ink-2); margin-left: 4px; letter-spacing: 0.02em; }
.brand-text .tag { font-size: 9px; letter-spacing: 0.32em; color: var(--mute); text-transform: uppercase; margin-top: 6px; padding-left: 1px; }
.nav { display: flex; gap: 32px; }
.nav a {
  font-family: "Orbitron", "Inter", sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-2); position: relative; padding: 8px 0; transition: color .25s, text-shadow .25s;
}
.nav a:hover { color: var(--ink); }
.nav a.active { color: var(--ink); }
.nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 65%, transparent); }
.nav a:hover { color: var(--accent-2); }
.hdr-actions { display: flex; align-items: center; gap: 16px; }
.hdr-actions-group { display: flex; align-items: center; gap: 8px; padding-right: 16px; border-right: 1px solid var(--line-2); }

/* WhatsApp button — original green, separated */
.wa-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 14px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  box-shadow: 0 6px 20px -6px rgba(37,211,102,.55), inset 0 1px 0 rgba(255,255,255,.25);
  border: 1px solid rgba(255,255,255,.12);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.wa-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(37,211,102,.75), inset 0 1px 0 rgba(255,255,255,.3); filter: brightness(1.06); }
.wa-btn .wa-ico { display: block; }

/* TikTok button — official black with cyan/magenta glow */
.tt-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px;
  background: #010101; border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 6px 20px -7px rgba(254,44,85,.55), 0 6px 20px -10px rgba(37,244,238,.5), inset 0 1px 0 rgba(255,255,255,.16);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease; }
.tt-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(254,44,85,.75), 0 12px 28px -12px rgba(37,244,238,.7); filter: brightness(1.08); }
.tt-btn .tt-ico { display: block; }

/* Hero mini LIVE widget (TikTok + WhatsApp) */
.hero-live { position: absolute; top: clamp(82px, 12vh, 120px); right: clamp(14px, 4vw, 48px); z-index: 6;
  display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; border-radius: 14px;
  background: color-mix(in srgb, var(--bg) 60%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.14); box-shadow: 0 16px 40px -16px rgba(0,0,0,.6); }
.hero-live .hl-head { display: flex; flex-direction: column; gap: 3px; }
.hero-live .hl-badge { display: inline-flex; align-items: center; gap: 7px; font: 700 10px var(--mono); letter-spacing: .18em; color: #fff; }
.hero-live .hl-dot { width: 8px; height: 8px; border-radius: 50%; background: #fe2c55; box-shadow: 0 0 0 0 rgba(254,44,85,.7); animation: heroLivePulse 1.6s infinite; }
.hero-live .hl-text { font-size: 11px; color: var(--ink-2); }
.hero-live .hl-btns { display: flex; gap: 8px; }
.hero-live .hl-btn { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; transition: transform .2s, filter .2s; }
.hero-live .hl-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.hero-live .hl-btn.tt { background: #010101; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 6px 16px -8px rgba(254,44,85,.6), 0 6px 16px -10px rgba(37,244,238,.5); }
.hero-live .hl-btn.wa { background: linear-gradient(135deg, #25D366, #128C7E); }
@keyframes heroLivePulse { 0% { box-shadow: 0 0 0 0 rgba(254,44,85,.6); } 70% { box-shadow: 0 0 0 9px rgba(254,44,85,0); } 100% { box-shadow: 0 0 0 0 rgba(254,44,85,0); } }
@media (max-width: 600px) {
  .hero-live { top: 72px; right: 10px; padding: 9px 10px; gap: 7px; }
  .hero-live .hl-text { display: none; }
  .hero-live .hl-btn { width: 34px; height: 34px; }
}
.icon-btn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); display: grid; place-items: center; transition: all .25s ease; position: relative; color: var(--ink-2); background: color-mix(in srgb, var(--surface) 50%, transparent); }
.icon-btn:hover { border-color: var(--accent); color: var(--accent-2); background: color-mix(in srgb, var(--accent) 14%, transparent); box-shadow: 0 8px 24px -10px var(--accent); transform: translateY(-1px); }
.icon-btn .badge { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--ink-on-accent); font-size: 10px; font-weight: 700; display: grid; place-items: center; letter-spacing: 0; box-shadow: 0 4px 12px -4px var(--accent); }
@media (max-width: 880px) { .nav { display: none; } }

/* Burger + mobile category drawer */
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2);
  background: color-mix(in srgb, var(--surface) 50%, transparent); flex-direction: column; gap: 4px;
  align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.burger span { width: 19px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .26s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 48; padding-top: 80px;
  background: color-mix(in srgb, var(--bg) 97%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(130%); backdrop-filter: blur(18px) saturate(130%);
  transform: translateY(-100%); opacity: 0; pointer-events: none; transition: transform .3s ease, opacity .3s ease; overflow-y: auto; }
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu nav { display: flex; flex-direction: column; padding: 8px clamp(18px,6vw,40px) 48px; }
.mobile-menu nav a { font-family: "Orbitron","Inter",sans-serif; font-size: 17px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink); padding: 19px 2px; border-bottom: 1px solid var(--line); }
.mobile-menu nav a:active { color: var(--accent-2); }

@media (max-width: 880px) { .burger { display: flex; } }
@media (min-width: 881px) { .mobile-menu { display: none; } }

/* progress line */
.progress { position: fixed; top: 0; left: 0; height: 1px; background: var(--accent); z-index: 60; transition: width .1s; }

/* Mobile hero tuning — shorter scroll track, smaller logo, stacked CTAs */
@media (max-width: 720px) {
  .hdr { padding: 12px 0; }
  .brand, .brand-img { height: 44px; }
  .hero { height: 170vh; }
  .hero-outro-logo { width: min(88vw, 560px); max-height: 56vh; }
  .hero-bottom { width: 92vw; gap: 16px; bottom: 9vh; }
  .hero-bottom .ctas { flex-direction: column; width: 100%; }
  .hero-bottom .ctas .btn { width: 100%; justify-content: center; }
  .scroll-hint { display: none; }
}

/* HERO — video centerpiece */
.hero { position: relative; height: 240vh; background: var(--bg); }
.hero-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }

.hero-video-wrap { position: absolute; inset: 0; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; transform-origin: center; pointer-events: none; }
.hero-video-tint { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 50%, transparent 40%, color-mix(in srgb, var(--bg) 65%, transparent) 100%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 35%, transparent) 0%, transparent 25%, transparent 60%, color-mix(in srgb, var(--bg) 75%, transparent) 100%),
    color-mix(in srgb, var(--accent) 6%, transparent);
  mix-blend-mode: normal;
}
.hero-vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(110% 80% at 50% 50%, transparent 45%, rgba(0,0,0,.7) 100%); opacity: .5; transition: opacity .2s; }
.hero-grain { position: absolute; inset: 0; opacity: .18; mix-blend-mode: overlay; pointer-events: none;
  background-image: repeating-linear-gradient(0deg, transparent 0 2px, rgba(255,255,255,.03) 2px 3px);
}

.hero-eyebrow {
  position: absolute; top: 13vh; left: 50%; transform: translateX(-50%);
  text-align: center; z-index: 3; opacity: 0; transition: opacity .8s ease;
  color: var(--ink-2);
  text-shadow: 0 1px 16px rgba(0,0,0,.6);
}
.hero-eyebrow.ready { opacity: 1; }

.hero-bottom {
  position: absolute; bottom: 7vh; left: 50%; transform: translate(-50%, 30px);
  text-align: center; z-index: 4; display: flex; flex-direction: column; align-items: center;
  gap: 22px; width: min(720px, 90vw); opacity: 0;
}
.hero-bottom .ctas { display: flex; gap: 12px; }

/* Outro — black screen with logo between video loops */
.hero-outro {
  position: absolute; inset: 0; z-index: 5;
  background: #000;
  display: grid; place-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity 1s ease;
}
.hero-outro.visible { opacity: 1; }
.hero-outro-inner {
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  text-align: center;
  transform: scale(.985);
  transition: transform 2.4s ease-out;
}
.hero-outro.visible .hero-outro-inner { transform: scale(1.005); }
.hero-outro-logo {
  width: min(72vw, 1100px);
  max-height: 78vh;
  object-fit: contain;
  border-radius: 14px;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.6));
}
.hero-outro-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(232, 232, 246, .55);
}
.hero-outro-tag::before, .hero-outro-tag::after { content: "─"; opacity: .5; margin: 0 16px; color: var(--accent); }

.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  font: 500 9.5px var(--mono); letter-spacing: .25em; color: var(--ink-2); text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 5;
  text-shadow: 0 1px 8px rgba(0,0,0,.7);
}
.scroll-hint .line {
  width: 1px; height: 36px;
  background: color-mix(in srgb, var(--ink-2) 35%, transparent);
  position: relative; overflow: hidden;
}
.scroll-hint .line::after {
  content: ""; position: absolute; inset: 0;
  background: var(--accent);
  animation: hint 2.4s ease-in-out infinite;
  transform: translateY(-100%);
}
@keyframes hint { 0% { transform: translateY(-100%); } 50%, 100% { transform: translateY(100%); } }

/* ─── TCG card visual (kept — used elsewhere on the page) ─── */
.tcg {
  position: relative; width: 100%; height: 100%;
  border-radius: 14px;
  background: linear-gradient(140deg, #2a2618 0%, #16130b 35%, #0c0a05 60%, #1c1810 100%);
  box-shadow:
    0 0 0 1px rgba(232,212,168,.18),
    0 0 0 5px rgba(0,0,0,.6),
    0 30px 60px -10px rgba(0,0,0,.7),
    0 60px 120px -20px rgba(0,0,0,.5);
  overflow: hidden;
}
.tcg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,210,140,.22) 42%, rgba(255,255,255,.45) 50%, rgba(190,230,255,.22) 58%, transparent 70%);
  mix-blend-mode: screen;
  transform: translateX(var(--sheen, -30%));
  transition: transform 1.5s ease;
}
.tcg::after {
  content: ""; position: absolute; inset: 10px; border-radius: 8px; pointer-events: none;
  border: 1px solid rgba(232,212,168,.32);
}
.tcg .inner { position: absolute; inset: 20px; display: flex; flex-direction: column; gap: 10px; }
.tcg .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.tcg .name { font-family: var(--serif); font-style: italic; font-size: 14px; color: #f3e3bf; letter-spacing: 0.01em; line-height: 1.1; }
.tcg .atk { font: 600 9px var(--mono); color: #c7a36b; letter-spacing: .15em; white-space: nowrap; }
.tcg .art {
  flex: 1; border-radius: 4px; border: 1px solid rgba(232,212,168,.32);
  background:
    radial-gradient(70% 80% at 50% 30%, rgba(255,200,120,.3), transparent 60%),
    radial-gradient(50% 60% at 30% 80%, rgba(120,80,200,.45), transparent 70%),
    radial-gradient(40% 50% at 80% 70%, rgba(255,120,180,.3), transparent 70%),
    linear-gradient(160deg, #2d1b3a, #0c0820 50%, #1a0d28);
  position: relative; overflow: hidden;
}
.tcg .art .glyph { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: var(--serif); font-style: italic; font-size: 80px; font-weight: 300; color: rgba(255,220,180,.5); letter-spacing: -.03em; }
.tcg .art::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(60deg, rgba(255,255,255,.05) 0 1px, transparent 1px 4px);
  mix-blend-mode: screen;
}
.tcg .type { font: 600 8px var(--mono); letter-spacing: .22em; color: #c7a36b; padding: 5px 0 0; border-top: 1px solid rgba(232,212,168,.18); }
.tcg .desc { font-family: var(--serif); font-style: italic; font-size: 10px; color: #d8c79f; line-height: 1.35; }
.tcg .foot { display: flex; justify-content: space-between; align-items: center; font: 600 8px var(--mono); color: rgba(232,212,168,.7); letter-spacing: .15em; }
.tcg .foot .star { color: #f3d27e; }

/* One Piece flavor */
.tcg--op { background: linear-gradient(140deg, #2b1209 0%, #160906 40%, #0b0403 60%, #1f0d08 100%); }
.tcg--op .art {
  background:
    radial-gradient(60% 80% at 50% 40%, rgba(255,120,80,.5), transparent 70%),
    radial-gradient(50% 60% at 20% 80%, rgba(80,160,255,.4), transparent 70%),
    linear-gradient(160deg, #3a1d10, #170803 60%, #2a1108);
}
.tcg--op .name, .tcg--op .atk, .tcg--op .type, .tcg--op .foot { color: #f3d4b8; }
.tcg--op .desc { color: #e8c9b0; }
.tcg--op::after { border-color: rgba(243,212,184,.32); }
.tcg--op .art { border-color: rgba(243,212,184,.32); }
.tcg--op .art .glyph { color: rgba(255,200,160,.55); }

/* Holo */
.tcg--holo::before {
  background:
    linear-gradient(115deg, transparent 25%, rgba(255,180,220,.3) 35%, rgba(180,220,255,.5) 45%, rgba(220,255,200,.35) 55%, rgba(255,210,140,.3) 65%, transparent 75%);
}

/* Tweak toggles */
html[data-no-holo] .tcg::before { display: none !important; }
