/* TESLON — landing page */

/* ============ HERO ============ */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(40px, 7vw, 90px) var(--pad) clamp(80px, 12vw, 150px);
}
.hero__bg {
  position: absolute; inset: -2px; z-index: -2;
  background:
    radial-gradient(120% 90% at 72% 40%, rgba(232, 16, 42, .28), transparent 62%),
    linear-gradient(180deg, rgba(8, 8, 10, .55) 0%, rgba(8, 8, 10, .82) 62%, var(--ink) 100%),
    url("../assets/bg/keyart.webp") center / cover no-repeat;
  filter: saturate(1.05);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(0deg, rgba(0, 0, 0, .22) 0 1px, transparent 1px 3px);
  opacity: .5; mix-blend-mode: multiply;
}

/* tipografi raksasa yang duduk DI BELAKANG karakter */
.hero__ghost {
  position: absolute; z-index: -1; left: 50%; top: 46%; transform: translate(-50%, -50%);
  font-family: var(--display); font-size: clamp(90px, 21vw, 340px); line-height: .78;
  color: transparent; -webkit-text-stroke: 2px rgba(217, 222, 230, .12);
  white-space: nowrap; pointer-events: none; user-select: none; letter-spacing: -.04em;
}

.hero__grid {
  display: grid; gap: clamp(24px, 4vw, 54px);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center; width: min(100% - var(--pad) * 2, var(--wrap)); margin-inline: auto;
}
/* tanpa ini, countdown yang lebar memaksa kolom melar dan teks terpotong di HP */
.hero__grid > * { min-width: 0; }
@media (max-width: 940px) { .hero__grid { grid-template-columns: 1fr; } }

.hero h1 {
  font-size: clamp(44px, 9.4vw, 132px);
  margin: 0 0 8px; text-transform: uppercase;
}
@media (max-width: 560px) {
  .count__cell { min-width: 62px; padding: 8px 10px; }
  .count__num { font-size: 21px; }
  .hero__fact { font-size: 12px; padding: 8px 11px; }
}
.hero h1 .line-2 {
  display: block; color: transparent; -webkit-text-stroke: 2px var(--chrome);
}
.hero h1 .hl {
  background: linear-gradient(180deg, var(--red) 12%, var(--ember));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 0;
}
.hero__lead { max-width: 46ch; color: #c3c9d3; font-size: clamp(16px, 1.6vw, 19px); margin: 0 0 26px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }

.hero__facts { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__fact {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 3px; background: rgba(16, 16, 20, .7);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.hero__fact .ico { font-size: 17px; }
.hero__fact b { color: var(--ember); }

/* CA di hero */
.hero__ca {
  display: inline-block; margin: 0 0 22px; padding: 12px 16px; border-radius: 5px;
  background: linear-gradient(100deg, rgba(232, 16, 42, .18), rgba(8, 8, 10, .72));
  box-shadow: inset 0 0 0 1px rgba(232, 16, 42, .4);
  max-width: 100%;
}
.hero__ca-label {
  font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 7px;
}
.hero__ca-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero__ca-addr {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: clamp(12px, 1.5vw, 15px); color: #fff; word-break: break-all;
}
.hero__ca-btn {
  flex: none; padding: 7px 14px; border-radius: 3px;
  font-family: var(--display); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: var(--red);
  transition: filter .16s var(--ease), transform .16s var(--ease);
}
.hero__ca-btn:hover { filter: brightness(1.12); transform: translateY(-1px); }

/* panggung 3D */
.stage { position: relative; aspect-ratio: 1 / 1; max-height: 70vh; margin-inline: auto; width: 100%; }
.stage__poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  transition: opacity .5s var(--ease);
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .6));
}
.stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity .6s var(--ease); }
.stage.is-live canvas { opacity: 1; }
.stage.is-live .stage__poster { opacity: 0; }
.stage__shadow {
  position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%);
  width: 62%; height: 9%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .72), transparent);
}
.stage__hint {
  position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%);
  font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  opacity: 0; transition: opacity .4s var(--ease);
}
.stage.is-live .stage__hint { opacity: 1; }

/* ============ strip miring ============ */
/* dibungkus: strip diputar + di-scale, tanpa wrapper ini dia bikin scroll
   horizontal di layar lebar. Padding vertikal supaya sudut strip yang miring
   tidak terpotong oleh overflow wrapper maupun tertimpa section berikutnya. */
.strip-wrap {
  position: relative; z-index: 3; overflow: hidden;
  padding: 26px 0; margin: -60px 0 -26px;
}
.strip {
  position: relative; padding: 14px 0;
  background: var(--chrome); color: #0b0b0e; transform: rotate(-1.6deg) scale(1.04);
  overflow: hidden; box-shadow: 0 18px 50px rgba(0, 0, 0, .5);
}
.strip__track { display: flex; gap: 30px; width: max-content; animation: slide 26s linear infinite; }
.strip__track span { font-family: var(--display); font-size: 19px; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.strip__track .dot { color: var(--red); }
@media (prefers-reduced-motion: reduce) { .strip__track { animation: none; } }

/* ============ section umum ============ */
.sec { position: relative; padding: clamp(64px, 9vw, 120px) 0; }
.sec--tight { padding-top: clamp(40px, 6vw, 70px); }
.sec__head { max-width: 60ch; margin-bottom: clamp(28px, 4vw, 48px); }
.sec h2 { font-size: clamp(34px, 6.4vw, 80px); text-transform: uppercase; }
.sec p.sub { color: var(--muted); max-width: 52ch; margin: 14px 0 0; font-size: 17px; }

.sec--bone { background: var(--bone); color: #101014; }
.sec--bone .sec p.sub { color: #4d515a; }
.sec--bone .eyebrow { color: var(--red); }

.sec--factory {
  background:
    linear-gradient(180deg, var(--ink) 0%, transparent 16%, transparent 78%, var(--ink) 100%),
    linear-gradient(0deg, rgba(10, 8, 12, .74), rgba(10, 8, 12, .74)),
    url("../assets/bg/factory.webp") center / cover no-repeat scroll;
}
.sec--metal {
  background:
    linear-gradient(180deg, var(--ink) 0%, transparent 14%, transparent 86%, var(--ink) 100%),
    linear-gradient(0deg, rgba(8, 8, 10, .78), rgba(8, 8, 10, .78)),
    url("../assets/bg/metal.webp") center / cover no-repeat scroll;
}
.sec--horizon {
  background:
    linear-gradient(180deg, var(--ink) 0%, transparent 22%, transparent 70%, var(--ink) 100%),
    url("../assets/bg/horizon.webp") center / cover no-repeat scroll;
}

/* pembatas diagonal, bukan garis lurus polos */
.slant-top { clip-path: polygon(0 3.2vw, 100% 0, 100% 100%, 0 100%); margin-top: -3vw; }
.slant-bottom { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3.2vw), 0 100%); }

/* ============ THE MENU ============ */
.menu-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
@media (min-width: 900px) { .menu-grid { grid-template-columns: repeat(3, 1fr); } }
.menu-card {
  position: relative; padding: 26px 22px 22px; border-radius: 6px; background: #fff;
  box-shadow: 0 14px 34px rgba(20, 10, 12, .12);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.menu-card:nth-child(odd) { transform: rotate(-1.2deg); }
.menu-card:nth-child(even) { transform: rotate(1deg); }
.menu-card:nth-child(3n) { background: #101014; color: var(--bone); }
.menu-card:hover { transform: rotate(0) translateY(-6px); box-shadow: 0 22px 50px rgba(20, 10, 12, .22); }
.menu-card__no {
  position: absolute; right: 16px; top: 8px; font-family: var(--display);
  font-size: 54px; color: rgba(16, 16, 20, .08); line-height: 1;
}
.menu-card:nth-child(3n) .menu-card__no { color: rgba(255, 255, 255, .1); }
.menu-card .ico { font-size: 34px; margin-bottom: 14px; }
.menu-card h3 { font-size: 22px; text-transform: uppercase; margin-bottom: 8px; }
.menu-card p { margin: 0; font-size: 15px; color: #5b606b; }
.menu-card:nth-child(3n) p { color: #a7adb8; }
.menu-card__price {
  margin-top: 14px; font-family: var(--display); font-size: 13px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--red);
}

/* ============ LORE ============ */
.lore { display: grid; gap: clamp(24px, 4vw, 56px); grid-template-columns: 1.1fr .9fr; align-items: center; }
@media (max-width: 900px) { .lore { grid-template-columns: 1fr; } }
.lore p { color: #c3c9d3; font-size: 17.5px; }
.lore p + p { margin-top: 14px; }
.lore__art { position: relative; }
.lore__art img { border-radius: 8px; box-shadow: 0 30px 70px rgba(0, 0, 0, .6); }
.lore__stamp {
  position: absolute; right: -14px; bottom: -18px; padding: 12px 16px; rotate: -6deg;
  background: var(--red); font-family: var(--display); font-size: 15px; letter-spacing: .04em;
  text-transform: uppercase; box-shadow: 0 12px 30px rgba(232, 16, 42, .4);
}

/* ============ split promo (PFP + arcade) ============ */
.promo { display: grid; gap: clamp(22px, 4vw, 50px); grid-template-columns: 1fr 1fr; align-items: center; }
.promo--flip .promo__media { order: 2; }
@media (max-width: 900px) { .promo { grid-template-columns: 1fr; } .promo--flip .promo__media { order: 0; } }
.promo__media { position: relative; }
.promo__media img { border-radius: 8px; }
.promo h2 { font-size: clamp(30px, 5vw, 58px); }
.promo ul { margin: 18px 0 26px; padding: 0; list-style: none; display: grid; gap: 10px; }
.promo li { display: flex; gap: 10px; align-items: flex-start; color: #c3c9d3; font-size: 16px; }
.promo li .ico { font-size: 19px; flex: none; margin-top: 2px; }

.pfp-peek { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pfp-peek img { border-radius: 6px; box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
.pfp-peek img:nth-child(2) { transform: translateY(-14px) rotate(-2deg); }
.pfp-peek img:nth-child(3) { transform: rotate(1.5deg); }

/* ============ CHART ============ */
.chart-box {
  position: relative; border-radius: 10px; overflow: hidden;
  background: linear-gradient(180deg, #15151b, #0c0c10);
  box-shadow: inset 0 0 0 1px var(--line);
  min-height: 320px;
}
.chart-placeholder {
  display: grid; place-items: center; gap: 14px; text-align: center;
  padding: clamp(38px, 6vw, 70px) 22px;
}
.chart-placeholder .ico { font-size: 46px; }
.chart-placeholder p { margin: 0; color: var(--muted); max-width: 46ch; font-size: 15.5px; }
.chart-placeholder b { color: #fff; font-size: 17px; }
.chart-box.is-live .chart-placeholder { display: none; }
.chart-frame {
  display: block; width: 100%; height: clamp(420px, 62vh, 640px); border: 0;
}

/* ============ DINDING X ============ */
.xwall {
  columns: 3 320px; column-gap: 16px;
}
.xwall > * { break-inside: avoid; margin: 0 0 16px; }
.xcard {
  position: relative; border-radius: 10px; overflow: hidden;
  background: linear-gradient(180deg, #15151b, #0e0e12);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.xcard:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--chrome); }
.xcard.is-live { background: none; box-shadow: none; }
.xcard.is-live:hover { transform: none; }
.xcard__fallback { display: block; padding: 22px 20px; }
.xcard.is-live .xcard__fallback { display: none; }
.xcard__top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.xcard__top svg { width: 17px; height: 17px; fill: #fff; flex: none; }
.xcard__handle { font-weight: 800; letter-spacing: .04em; }
.xcard__body { color: var(--muted); font-size: 15px; margin: 0 0 14px; }
.xcard__go {
  display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; color: var(--red);
}
.xcard__skeleton { height: 3px; background: linear-gradient(90deg, var(--red), transparent); border-radius: 2px; }
.xwall__foot { margin-top: 26px; text-align: center; }

/* iframe embed X: rapikan supaya tidak melebar keluar kolom */
.xcard iframe { max-width: 100% !important; }

/* ============ HOW TO BUY ============ */
.steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step {
  position: relative; padding: 28px 22px; border-radius: 6px; overflow: hidden;
  background: linear-gradient(180deg, rgba(23, 23, 29, .95), rgba(12, 12, 16, .95));
  box-shadow: inset 0 0 0 1px var(--line);
}
.step__no {
  position: absolute; right: -6px; top: -22px; font-family: var(--display); font-size: 108px;
  line-height: 1; color: rgba(232, 16, 42, .14);
}
.step h3 { font-size: 20px; text-transform: uppercase; margin-bottom: 10px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ============ TOKENOMICS ============ */
.tok { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.tok__cell {
  padding: 26px 20px; border-radius: 6px; text-align: left;
  background: rgba(12, 12, 16, .8); box-shadow: inset 0 0 0 1px var(--line);
}
.tok__cell .ico { font-size: 28px; margin-bottom: 12px; }
.tok__val { font-family: var(--display); font-size: clamp(24px, 3vw, 34px); }
.tok__lbl { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.tok__note { font-size: 14px; color: #7d838f; margin-top: 6px; }

.ca-box {
  margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
  padding: 20px 22px; border-radius: 6px;
  background: linear-gradient(100deg, rgba(232, 16, 42, .18), rgba(12, 12, 16, .9));
  box-shadow: inset 0 0 0 1px rgba(232, 16, 42, .34);
}
.ca-box__addr {
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: clamp(12px, 1.6vw, 16px);
  word-break: break-all; color: #fff;
}
.ca-box__hint { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }

/* roadmap / diet plan */
.diet { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 40px; }
.diet__col { padding: 24px 22px; border-radius: 6px; background: rgba(12, 12, 16, .72); box-shadow: inset 0 0 0 1px var(--line); }
.diet__col:nth-child(2) { transform: translateY(-12px); }
.diet__phase { font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--red); }
.diet__col h3 { font-size: 26px; text-transform: uppercase; margin: 8px 0 14px; }
.diet__col ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; display: grid; gap: 8px; }

/* ============ GALLERY ============ */
.gal { display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); }
.gal img { border-radius: 6px; box-shadow: 0 18px 44px rgba(0, 0, 0, .5); width: 100%; height: 100%; object-fit: cover; }
.gal a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gal a:nth-child(4) { grid-column: span 2; }
.gal a:nth-child(5) { grid-column: span 4; }
.gal a:nth-child(5) img { max-height: 320px; }
@media (max-width: 760px) {
  .gal { grid-template-columns: repeat(2, 1fr); }
  .gal a:nth-child(1) { grid-column: span 2; grid-row: auto; }
  .gal a:nth-child(4) { grid-column: span 2; }
}

/* ============ CTA penutup ============ */
.closer { position: relative; text-align: center; padding: clamp(70px, 10vw, 130px) 0; overflow: hidden; }
/* teks HARUS di atas wajah — kalau wajahnya menimpa, judulnya tidak terbaca */
.closer .wrap { position: relative; z-index: 2; }
.closer h2 {
  font-size: clamp(38px, 8vw, 104px); text-transform: uppercase;
  text-shadow: 0 6px 34px rgba(0, 0, 0, .85), 0 2px 10px rgba(0, 0, 0, .9);
}
.closer p { color: var(--muted); max-width: 44ch; margin: 16px auto 28px; }
.closer__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.closer__face {
  position: relative; z-index: 1;
  width: min(78%, 460px); margin: 0 auto -8%; display: block;
  mask-image: radial-gradient(70% 70% at 50% 45%, #000 55%, transparent 100%);
  filter: drop-shadow(0 24px 60px rgba(232, 16, 42, .35));
}
