/* ============================================================
   YAHABEBE BANK ONE — black & gold vault aesthetic
   ============================================================ */

:root {
  --bg: #0c0a07;
  --bg-2: #14100a;
  --gold: #d4af37;
  --gold-light: #f5e08c;
  --gold-dark: #9a7418;
  --line: #2a2316;
  --text: #ece5d3;
  --muted: #9a917c;
  --font-display: "Saira", sans-serif;
  --font-body: "Outfit", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(212, 175, 55, 0.07), transparent),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM27 41.75l13 7.5M0 41.75l-13 7.5' fill='none' stroke='%23191307' stroke-width='1'/%3E%3C/svg%3E");
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: var(--bg); }

img { max-width: 100%; display: block; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }

/* ---------- shared ---------- */

.gold-text {
  background: linear-gradient(180deg, var(--gold-light), #c89b2a 60%, var(--gold-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kicker {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.5em;
  color: var(--gold);
  text-align: center;
  margin-bottom: 0.75rem;
}

.kicker::before,
.kicker::after {
  content: "";
  display: inline-block;
  width: 2.2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dark));
  vertical-align: middle;
  margin: 0 1rem;
}

.kicker::after {
  background: linear-gradient(90deg, var(--gold-dark), transparent);
}

.section-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 3.5rem;
  filter: drop-shadow(0 0 24px rgba(212, 175, 55, 0.25));
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 5vw, 4rem);
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
  background: rgba(12, 10, 7, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  box-shadow: 0 1px 0 rgba(212, 175, 55, 0.25);
}

.nav-logo {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, var(--gold-light), #c89b2a 60%, var(--gold-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  gap: clamp(1.2rem, 3vw, 2.6rem);
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.3rem 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}

.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 90%;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.16), transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 30%;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1200px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 2rem;
  padding-top: 5rem;
}

.badge {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.45em;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.45rem 1.1rem 0.45rem 1.55rem;
  margin-bottom: 1.6rem;
  position: relative;
}

.badge::before,
.badge::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
}

.badge::before { top: -4px; left: -4px; border-right: none; border-bottom: none; }
.badge::after { bottom: -4px; right: -4px; border-left: none; border-top: none; }

.hero-text h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(3rem, 9vw, 6.6rem);
  line-height: 1;
  letter-spacing: 0.01em;
  filter: drop-shadow(0 4px 30px rgba(212, 175, 55, 0.3));
}

.hero-sub {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(0.85rem, 2vw, 1.15rem);
  letter-spacing: 0.52em;
  color: var(--text);
  margin-top: 0.9rem;
}

.hero-puffs {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1rem, 2.4vw, 1.45rem);
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-top: 2.2rem;
}

.hero-puffs strong {
  font-style: italic;
  font-weight: 900;
  font-size: 1.5em;
  letter-spacing: 0.02em;
  padding: 0 0.12em;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.4rem;
}

.chip {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: rgba(212, 175, 55, 0.06);
  padding: 0.55rem 1.1rem;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.chip:hover {
  background: rgba(212, 175, 55, 0.14);
  border-color: var(--gold);
}

.hero-device {
  display: flex;
  justify-content: center;
}

.hero-device img {
  max-height: min(78vh, 640px);
  width: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 80px rgba(212, 175, 55, 0.22));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-device img { animation: none; }
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 1px;
  height: 56px;
  background: rgba(212, 175, 55, 0.25);
  overflow: hidden;
}

.hero-scroll span {
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%;
  height: 40%;
  background: var(--gold);
  animation: scroll-cue 2.2s ease-in-out infinite;
}

@keyframes scroll-cue {
  0% { top: -40%; }
  100% { top: 110%; }
}

/* ---------- sections shared ---------- */

.highlights,
.flavours,
.specs {
  width: min(1200px, 92vw);
  margin: 0 auto;
  padding: 6.5rem 0;
}

/* ---------- highlights ---------- */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.hl-card {
  position: relative;
  background: linear-gradient(160deg, var(--bg-2), rgba(20, 16, 10, 0.4));
  border: 1px solid var(--line);
  padding: 2.2rem 1.6rem 2rem;
  transition: opacity 0.7s ease, transform 0.7s ease,
    border-color 0.35s ease, box-shadow 0.35s ease;
}

.hl-card::before,
.hl-card::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid var(--gold);
  opacity: 0.7;
  transition: width 0.35s ease, height 0.35s ease, opacity 0.35s ease;
}

.hl-card::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.hl-card::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.hl-card:hover {
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45), 0 0 30px rgba(212, 175, 55, 0.08);
  transform: translateY(-6px);
}

.hl-card:hover::before,
.hl-card:hover::after { width: 100%; height: 100%; opacity: 0.35; }

.hl-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--gold-dark);
  display: block;
  margin-bottom: 1.1rem;
}

.hl-card h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.7rem;
}

.hl-card p {
  font-size: 0.92rem;
  color: var(--muted);
}

/* stagger reveal */
.cards-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.cards-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.cards-grid .reveal:nth-child(4) { transition-delay: 0.3s; }

/* ---------- flavours ---------- */

.flavour-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  align-items: start;
}

/* 中列下沉，错落的编辑式排版 */
.flavour-grid li:nth-child(3n + 2) { margin-top: 2.2rem; }
.flavour-grid li:last-child { grid-column: 2; }

.flavour-card {
  position: relative;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-2);
  cursor: default;
  transition: opacity 0.7s ease, transform 0.45s ease,
    box-shadow 0.45s ease, border-color 0.45s ease;
}

.flavour-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 278 / 194;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.flavour-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55), 0 0 44px color-mix(in srgb, var(--glow) 40%, transparent);
  z-index: 2;
}

.flavour-card:hover img { transform: scale(1.06); }

/* stagger: subtle wave by column */
.flavour-grid .reveal:nth-child(3n + 2) { transition-delay: 0.08s; }
.flavour-grid .reveal:nth-child(3n)     { transition-delay: 0.16s; }

/* ---------- specs ---------- */

.specs-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr { border-bottom: 1px solid var(--line); }
.specs-table tr:first-child { border-top: 1px solid var(--line); }

.specs-table th {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  padding: 1.15rem 0;
}

.specs-table td {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  color: var(--text);
  text-align: right;
  padding: 1.15rem 0;
}

.specs-img {
  position: relative;
  transition-delay: 0.15s;
}

.specs-img::before {
  content: "";
  position: absolute;
  inset: 10% 5%;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.14), transparent 70%);
  pointer-events: none;
}

.specs-img img {
  position: relative;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.55));
}

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 3.5rem 1.5rem 2.5rem;
  text-align: center;
}

.warning-box {
  max-width: 720px;
  margin: 0 auto 2rem;
  background: #fff;
  color: #000;
  border: 3px solid #000;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  letter-spacing: 0.02em;
  padding: 1.1rem 1.5rem;
}

.age-note {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: 1.4rem;
}

.copyright {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .flavour-grid { grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
  .flavour-grid li:nth-child(3n + 2) { margin-top: 0; }
  .flavour-grid li:nth-child(2n) { margin-top: 1.6rem; }
  .flavour-grid li:last-child { grid-column: auto; }
}

@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
    padding-top: 6.5rem;
    padding-bottom: 4rem;
  }
  .chips { justify-content: center; }
  .hero-device img { max-height: 52vh; }
  .specs-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .specs-img { max-width: 480px; margin: 0 auto; }
}

@media (max-width: 640px) {
  .flavour-grid .reveal:nth-child(3n + 2),
  .flavour-grid .reveal:nth-child(3n) { transition-delay: 0s; }
  .flavour-grid .reveal:nth-child(2n) { transition-delay: 0.08s; }
}

@media (max-width: 560px) {
  .cards-grid { grid-template-columns: 1fr; }
  .cards-grid .reveal { transition-delay: 0s !important; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.68rem; }
  .hero-sub { letter-spacing: 0.32em; }
  .kicker::before,
  .kicker::after { width: 1.2rem; margin: 0 0.6rem; }
}
