@font-face {
  font-family: "Cinzel";
  src: url("assets/fonts/Cinzel-Variable.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("assets/fonts/Outfit-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #07060f;
  --bg-2: #0c0a16;
  --bg-card: #141222;
  --bg-card-2: #1a1730;
  --navy: #0a1024;
  --purple: #1c1436;
  --gold-hi: #fff6d0;
  --gold: #e8c547;
  --gold-mid: #c9a227;
  --gold-lo: #8a6a1a;
  --gold-deep: #5c4710;
  --text: #f5f1e8;
  --text-dim: #b9b3c9;
  --text-mute: #8a8498;
  --line: rgba(232, 197, 71, 0.28);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  --radius: 22px;
  --header-h: 4.25rem;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bot: env(safe-area-inset-bottom, 0px);
  --gold-grad: linear-gradient(
    135deg,
    #fff8d6 0%,
    #f3d67a 18%,
    #c9a227 42%,
    #8a6a1a 58%,
    #e8c547 78%,
    #fff3c0 100%
  );
  --gold-text: linear-gradient(
    180deg,
    #fff8d6 0%,
    #f3d67a 28%,
    #c9a227 55%,
    #8a6a1a 78%,
    #f0d578 100%
  );
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100dvh;
  overflow-x: hidden;
  font-family: Outfit, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 50% -80px, rgba(232, 197, 71, 0.16), transparent 60%),
    radial-gradient(800px 420px at 100% 10%, rgba(92, 60, 180, 0.18), transparent 55%),
    radial-gradient(700px 380px at 0% 30%, rgba(40, 30, 110, 0.28), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--navy) 45%, #090814 100%);
  background-attachment: fixed;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--gold-hi);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--gold-mid);
  color: #1a1408;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-weight: 600;
}

.skip:focus {
  top: calc(var(--safe-top) + 0.6rem);
  color: #1a1408;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--header-h);
  padding: calc(0.45rem + var(--safe-top)) 1rem 0.45rem;
  background: rgba(7, 6, 15, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--gold-mid), var(--gold-hi), var(--gold-mid), transparent) 1;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(232, 197, 71, 0.25));
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.header-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 550;
  font-size: 0.92rem;
}

.header-nav a:hover {
  color: var(--gold-hi);
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #25d366 0%, #128c3e 100%);
  color: #fff !important;
  font-weight: 650;
  font-size: 0.85rem;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 6px 16px rgba(18, 140, 62, 0.28);
}

.btn-wa:hover {
  filter: brightness(1.08);
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.85rem 1.15rem 2.4rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 8% 10% auto;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(232, 197, 71, 0.22), transparent 68%);
  pointer-events: none;
  filter: blur(8px);
}

.hero-mark {
  position: relative;
  width: min(520px, 92vw);
  padding: 0.4rem;
  border-radius: 28px;
}

.hero-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--gold-grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.7;
  pointer-events: none;
}

.hero-mark img {
  width: 100%;
  border-radius: 22px;
  filter: drop-shadow(0 0 28px rgba(232, 197, 71, 0.18));
}

.hero-tag {
  position: relative;
  margin: 1.15rem 0 1.35rem;
  max-width: 28rem;
  color: var(--text-dim);
  font-size: 1.05rem;
  font-weight: 450;
}

/* Catalog */
.catalog {
  padding: 0.4rem 1.15rem 3.2rem;
  max-width: 1180px;
  margin: 0 auto;
}

.catalog-head {
  text-align: center;
  margin-bottom: 1.25rem;
}

.eyebrow {
  margin: 0 0 0.35rem;
  font-family: Cinzel, serif;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold-mid);
}

.gold-title {
  margin: 0 0 0.7rem;
  font-family: Cinzel, serif;
  font-weight: 700;
  font-size: clamp(1.55rem, 5.2vw, 2.4rem);
  letter-spacing: 0.04em;
  line-height: 1.2;
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 14px rgba(201, 162, 39, 0.28));
}

.catalog-lead {
  margin: 0 auto;
  max-width: 34rem;
  color: var(--text-dim);
  font-size: 0.98rem;
}

/* Tabs */
.tabs {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin: 1.4rem auto 1.6rem;
  padding: 0.28rem;
  width: max-content;
  max-width: 100%;
  background: rgba(20, 18, 34, 0.9);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.tabs button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-dim);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  cursor: pointer;
  min-height: 44px;
  min-width: 5.4rem;
}

.tabs button[aria-selected="true"] {
  color: #1a1408;
  background: var(--gold-grad);
  box-shadow: 0 0 18px rgba(232, 197, 71, 0.28);
}

.tabs button:hover:not([aria-selected="true"]) {
  color: var(--gold-hi);
}

/* Cards */
.grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.35rem;
}

.grid .card {
  flex: 1 1 100%;
  max-width: 100%;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(255, 243, 192, 0.04), transparent 28%),
    linear-gradient(180deg, var(--bg-card), #100e1c);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  isolation: isolate;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--gold-grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
  opacity: 0.85;
}

.card.card-available::before {
  opacity: 1;
}

.card.card-available {
  box-shadow: var(--shadow), 0 0 36px rgba(232, 197, 71, 0.12);
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 246, 208, 0.14) 50%, transparent 65%);
  transform: translateX(-120%);
  pointer-events: none;
  z-index: 4;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card::after {
    transition: transform 0.9s ease;
  }
  .card:hover::after {
    transform: translateX(120%);
  }
}

.banner {
  position: relative;
  aspect-ratio: 1024 / 500;
  background: #0a0814;
  overflow: hidden;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.85rem;
  padding: 0 1.05rem 1.15rem;
  flex: 1;
}

.icon {
  width: 68px;
  height: 68px;
  margin-top: -34px;
  border-radius: 18px;
  object-fit: cover;
  background: #0e0c18;
  border: 2px solid var(--gold-mid);
  box-shadow:
    0 0 0 2px rgba(7, 6, 15, 0.9),
    0 8px 18px rgba(0, 0, 0, 0.45),
    0 0 16px rgba(232, 197, 71, 0.25);
  z-index: 2;
}

.card-meta {
  min-width: 0;
  padding-top: 0.7rem;
}

.card-meta h3 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.25;
  color: var(--gold-hi);
}

.kind {
  margin: 0.15rem 0 0;
  color: var(--text-mute);
  font-size: 0.8rem;
  font-weight: 500;
}

.kind .status {
  color: var(--gold);
  font-weight: 700;
}

.desc {
  grid-column: 1 / -1;
  margin: 0.8rem 0 0;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.badges {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
}

.badges li {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(232, 197, 71, 0.07);
}

.actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: 0;
  flex: 1 1 auto;
}

.btn-gold {
  color: #1a1408 !important;
  background: var(--gold-grad);
  box-shadow: 0 6px 18px rgba(201, 162, 39, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-gold:hover {
  filter: brightness(1.08);
  color: #1a1408 !important;
}

.btn-ghost {
  color: var(--gold-hi) !important;
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--gold-mid);
}

.btn-ghost:hover {
  background: rgba(232, 197, 71, 0.08);
}

.btn-soon {
  color: var(--text-mute);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  cursor: default;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--gold-mid), var(--gold-hi), var(--gold-mid), transparent) 1;
  background: rgba(5, 4, 12, 0.72);
  padding: 2rem 1.15rem calc(1.6rem + var(--safe-bot));
}

.footer-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  width: min(260px, 70vw);
  margin: 0 auto 0.7rem;
  filter: drop-shadow(0 0 12px rgba(232, 197, 71, 0.2));
}

.footer-tag {
  margin: 0 0 1rem;
  color: var(--text-dim);
  font-size: 0.92rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: center;
  margin-bottom: 1.1rem;
}

.footer-nav a {
  color: var(--gold);
  font-weight: 550;
}

.footer-legal {
  margin: 0;
  color: var(--text-mute);
  font-size: 0.8rem;
}

/* Desktop / tablet */
@media (min-width: 640px) {
  .brand img {
    height: 64px;
  }

  .hero {
    padding: 2.2rem 1.5rem 3rem;
  }

  .hero-mark {
    width: min(640px, 80vw);
  }

  .grid {
    gap: 1.4rem;
  }

  .grid .card {
    flex: 1 1 calc(50% - 0.7rem);
    max-width: calc(50% - 0.7rem);
  }

  .footer-nav {
    flex-direction: row;
    justify-content: center;
    gap: 1.4rem;
  }
}

@media (min-width: 1024px) {
  .site-header {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .brand img {
    height: 74px;
  }

  .catalog {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .grid .card {
    flex: 1 1 300px;
    max-width: 360px;
  }

  .hero-tag {
    font-size: 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .card::after {
    display: none;
  }
}

/* Hidden cards when filtering */
.card.is-hidden {
  display: none;
}
