:root {
  --bg: #120a18;
  --bg-2: #1a0f22;
  --panel: #1f1430;
  --panel-2: #251836;
  --pink: #e8458a;
  --pink-2: #ff5fa2;
  --magenta: #d63384;
  --gold: #e7c884;
  --gold-2: #f3d99a;
  --text: #f3ecf5;
  --muted: #b6a7c4;
  --line: rgba(255, 255, 255, 0.08);
  --radius: 14px;
  --maxw: 1120px;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Montserrat", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 13px 22px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn .arrow { transition: transform 0.18s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--magenta));
  color: #fff;
  box-shadow: 0 8px 22px rgba(214, 51, 132, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(214, 51, 132, 0.5); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn-outline:hover { border-color: var(--pink); color: var(--pink-2); transform: translateY(-2px); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(18, 10, 24, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo {
  font-family: "Playfair Display", serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--gold-2);
}
.main-nav {
  display: flex;
  gap: 28px;
  margin-left: 10px;
}
.main-nav a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.18s ease;
}
.main-nav a:hover { color: var(--pink-2); }

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.icon-btn {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  position: relative;
  transition: color 0.18s ease;
}
.icon-btn:hover { color: var(--pink-2); }
.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--pink);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  padding: 0 4px;
}

.lang-select { position: relative; }
.lang-btn {
  background: none;
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}
.lang-btn .caret { font-size: 0.6rem; }
.lang-menu {
  position: absolute;
  top: 120%;
  right: 0;
  list-style: none;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px;
  min-width: 70px;
  display: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.lang-menu.open { display: block; }
.lang-menu li {
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  cursor: pointer;
}
.lang-menu li:hover { background: var(--panel-2); color: var(--pink-2); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow-x: clip;
  overflow-y: visible;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 72% 35%, rgba(232, 69, 138, 0.3), transparent 55%),
    radial-gradient(ellipse at 90% 80%, rgba(231, 200, 132, 0.16), transparent 50%),
    linear-gradient(135deg, #1a0f22 0%, #120a18 55%, #0e0814 100%);
}
.hero-portrait {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  width: auto;
  max-width: 48%;
  object-fit: contain;
  object-position: bottom right;
  z-index: 1;
  filter: drop-shadow(0 0 60px rgba(232, 69, 138, 0.35));
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 100%);
  pointer-events: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, var(--bg) 14%, rgba(18, 10, 24, 0.72) 38%, rgba(18, 10, 24, 0.2) 58%, transparent 72%),
    linear-gradient(0deg, var(--bg) 1%, transparent 22%);
}
.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 110px 24px 90px;
}
.hero-copy {
  width: min(100%, 620px);
  max-width: 58%;
  padding-top: 12px;
}
.hero-title {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: clamp(3rem, 7.2vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  transform: scaleY(1.22);
  transform-origin: bottom left;
  margin: 0 0 calc(0.42em + 14px);
  padding-top: 0.12em;
  white-space: nowrap;
  /* clean glossy pink gradient with a subtle glitter shimmer */
  background-image:
    linear-gradient(160deg,
      #fff0f8 0%,
      #ffb3d6 24%,
      var(--pink-2) 48%,
      var(--magenta) 74%,
      #a01f5c 100%),
    url("images/glitter.jpg");
  background-size: 100% 100%, 200% 200%;
  background-position: center, center;
  background-blend-mode: soft-light;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.25))
          drop-shadow(0 0 38px rgba(232, 69, 138, 0.45));
}
/* mirror reflection under the letters */
.hero-title::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  background: linear-gradient(180deg, var(--magenta), var(--pink-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  transform: scaleY(-1);
  transform-origin: top;
  opacity: 0.22;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, transparent 42%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, transparent 42%);
  pointer-events: none;
  filter: blur(0.4px);
}
.hero-sub {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-top: 6px;
}
.hero-text {
  margin-top: 22px;
  font-size: 1.15rem;
  color: var(--text);
}
.hero-cta { margin-top: 30px; padding: 16px 30px; font-size: 0.9rem; }

/* ===== Sections ===== */
.section { padding: 72px 0; }
.tour { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.section-title {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 44px;
}

/* ===== Tour cards ===== */
.tour-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.tour-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.tour-card:hover { transform: translateY(-6px); border-color: rgba(232, 69, 138, 0.5); }
.tour-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.tour-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.tour-card:hover .tour-media img { transform: scale(1.06); }
.tour-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(31, 20, 48, 0.85));
}
.tour-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: linear-gradient(135deg, var(--pink), var(--magenta));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 6px;
}
.tour-body { padding: 20px; }
.tour-date { color: var(--muted); font-size: 0.9rem; margin-bottom: 8px; }
.tour-venue {
  font-weight: 600;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
}
.tour-venue .city { color: var(--muted); font-weight: 500; }
.tour-venue .ico, .tour-date .ico { margin-right: 6px; }
.tour-select { width: 100%; justify-content: center; }
.tour-all { text-align: center; margin-top: 38px; }

/* ===== Ticket categories ===== */
.tickets { background: var(--bg-2); }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.cat-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.cat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 69, 138, 0.5);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}
.cat-icon {
  font-size: 1.6rem;
  color: var(--gold-2);
  margin-bottom: 12px;
}
.cat-card h3 {
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pink-2);
  margin-bottom: 8px;
}
.cat-card p { color: var(--muted); font-size: 0.88rem; }
.cat-price {
  margin-top: 14px !important;
  color: var(--gold-2) !important;
  font-weight: 700;
  font-size: 1.05rem !important;
}
.cat-note {
  text-align: center;
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.82rem;
}

/* ===== Why ===== */
.why { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.why-item { text-align: center; }
.why-icon {
  font-size: 1.8rem;
  color: var(--pink-2);
  margin-bottom: 14px;
}
.why-item h3 {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 10px;
}
.why-item p { color: var(--muted); font-size: 0.88rem; }

/* ===== Footer ===== */
.site-footer {
  background: #0e0814;
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
}
.footer-col h4 {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--muted); font-size: 0.88rem; transition: color 0.18s ease; }
.footer-col a:hover { color: var(--pink-2); }
.footer-news p { color: var(--muted); font-size: 0.88rem; margin-bottom: 16px; max-width: 320px; }
.news-form { display: flex; gap: 8px; max-width: 340px; }
.news-form input {
  flex: 1;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 14px;
  color: var(--text);
  font-size: 0.85rem;
}
.news-form input::placeholder { color: var(--muted); }
.news-form input:focus { outline: none; border-color: var(--pink); }
.news-form .btn { padding: 11px 18px; }

.socials { display: flex; gap: 14px; }
.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--muted);
  transition: all 0.18s ease;
}
.socials a:hover { color: #fff; background: linear-gradient(135deg, var(--pink), var(--magenta)); border-color: transparent; transform: translateY(-3px); }

.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.8rem;
}
.footer-meta { display: flex; align-items: center; gap: 12px; }
.footer-meta .ln {
  border: 1px solid var(--muted);
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .burger { display: flex; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg-2);
    padding: 20px 24px;
    gap: 18px;
    border-bottom: 1px solid var(--line);
  }
  .tour-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-news { grid-column: 1 / -1; }
  .hero-copy { max-width: 62%; }
  .hero-title { font-size: clamp(2.8rem, 9vw, 5.2rem); }
  .hero-portrait { max-width: 52%; }
}
@media (max-width: 560px) {
  .cat-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero { min-height: 620px; }
  .hero-inner { padding: 96px 20px 72px; }
  .hero-copy { max-width: 100%; }
  .hero-title {
    font-size: clamp(2.6rem, 14vw, 4.2rem);
    white-space: normal;
    transform: scaleY(1.16);
    margin-bottom: 0.5em;
  }
  .hero-portrait { max-width: 72%; opacity: 0.28; }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(18,10,24,0.35) 0%, rgba(18,10,24,0.82) 55%, var(--bg) 100%);
  }
}

/* ===================== Modal ===================== */
.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
}
.btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,0.3); }

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 4, 12, 0.72);
  backdrop-filter: blur(6px);
}
.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 540px;
  max-height: 92vh;
  overflow-y: auto;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid rgba(232, 69, 138, 0.25);
  border-radius: 18px;
  padding: 30px 30px 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.03) inset;
  animation: modalIn 0.28s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.18s ease;
}
.modal-close:hover { color: #fff; border-color: var(--pink); }

.modal-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 22px;
}
.step-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--muted);
  transition: all 0.25s ease;
}
.step-dot.active {
  background: linear-gradient(135deg, var(--pink), var(--magenta));
  border-color: transparent;
  color: #fff;
}
.step-line { width: 38px; height: 2px; background: var(--line); }

.modal-title {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  color: var(--gold-2);
  text-align: center;
  margin-bottom: 4px;
}
.modal-event {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 20px;
}
.modal-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 18px 0 10px;
}

.stadium-map {
  background: linear-gradient(180deg, rgba(20, 12, 30, 0.95), rgba(14, 8, 22, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px;
  overflow: hidden;
  position: relative;
}
.stadium-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 40%, rgba(232, 69, 138, 0.06), transparent 70%);
  pointer-events: none;
}
.stadium-svg {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

/* Stadium structure */
.stadium-shell {
  fill: rgba(12, 8, 18, 0.6);
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 2;
}
.stadium-rim {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 3;
}
.stadium-deco { pointer-events: none; }
.section-line {
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 1;
  stroke-dasharray: 4 6;
}
.seat-row {
  fill: none;
  stroke: rgba(255, 255, 255, 0.04);
  stroke-width: 1;
}
.stadium-field {
  fill: url(#gradField);
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 1.5;
  pointer-events: none;
}
.stadium-stage {
  fill: url(#gradStage);
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 1.5;
  pointer-events: none;
}
.stadium-stage-top {
  fill: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.stage-light {
  fill: rgba(255, 200, 120, 0.35);
  filter: url(#stageGlow);
}
.stage-light-main { fill: rgba(255, 220, 150, 0.55); }
.stadium-stage-label {
  fill: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-anchor: middle;
  pointer-events: none;
}
.zone-label {
  fill: rgba(255, 255, 255, 0.35);
  font-size: 9px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-anchor: middle;
  pointer-events: none;
  transition: fill 0.45s ease, opacity 0.45s ease;
}
.zone-label-vip { font-size: 10px; fill: rgba(255, 255, 255, 0.5); }
.zone-label-vipplus { font-size: 9px; fill: rgba(255, 215, 0, 0.55); }
.zone-label-meet { font-size: 8px; }

/* Clickable zones */
.stadium-zone {
  cursor: pointer;
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 1.5;
  opacity: 0.88;
  transform-origin: 260px 178px;
  transition:
    fill 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    stroke 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    stroke-width 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.5s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.zone-standard { fill: url(#gradStandard); }
.zone-gold { fill: url(#gradGold); }
.zone-vip { fill: url(#gradVip); }
.zone-vipplus { fill: url(#gradVipPlus); stroke: rgba(255, 215, 0, 0.35); }
.zone-meet {
  fill: url(#gradMeet);
  stroke: rgba(255, 200, 220, 0.3);
  transform-origin: 260px 275px;
  transform-box: fill-box;
}
.stadium-zone { transform-box: fill-box; }

.stadium-zone:hover {
  opacity: 1;
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 2;
  filter: brightness(1.15);
  transform: scale(1.008);
}
.stadium-zone.active {
  opacity: 1;
  stroke: #fff;
  stroke-width: 2.5;
  filter: url(#zoneGlow) brightness(1.2);
  transform: scale(1.015);
  animation: zoneSelectPulse 2s ease-in-out infinite;
}
@keyframes zoneSelectPulse {
  0%, 100% { filter: url(#zoneGlow) brightness(1.15); }
  50% { filter: url(#zoneGlow) brightness(1.3); }
}

/* Dim other zones when one is selected */
.stadium-map.has-selection .stadium-zone:not(.active) {
  opacity: 0.42;
  filter: saturate(0.6);
}
.stadium-map.has-selection .stadium-zone:not(.active):hover {
  opacity: 0.75;
  filter: saturate(0.85) brightness(1.1);
  transform: scale(1.005);
}
.stadium-map.has-selection .zone-label { opacity: 0.3; }
.stadium-map.has-selection .stadium-zone.active ~ .zone-label,
.stadium-map.has-selection .zone-label { transition: opacity 0.45s ease; }

/* Legend */
.zone-legend {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 12px;
  margin-top: 14px;
  position: relative;
  z-index: 1;
}
.zone-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  font-size: 0.78rem;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition:
    background 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1),
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.zone-legend-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text);
  transform: translateY(-1px);
}
.zone-legend-item.active {
  background: rgba(232, 69, 138, 0.12);
  border-color: rgba(232, 69, 138, 0.45);
  color: var(--gold-2);
  box-shadow: 0 4px 16px rgba(232, 69, 138, 0.15);
}
.zone-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.4s ease;
}
.zone-legend-item:hover .zone-dot,
.zone-legend-item.active .zone-dot {
  transform: scale(1.25);
  box-shadow: 0 0 8px currentColor;
}
.zone-dot-standard { background: #5b8fd9; }
.zone-dot-gold { background: #e7c884; }
.zone-dot-vip { background: #d63384; }
.zone-dot-vipplus { background: linear-gradient(135deg, #ffd700, #e8458a); }
.zone-dot-meet { background: #ff5fa2; }
.zone-legend-wide { grid-column: 1 / -1; }

/* Selected zone info */
.zone-selected {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(231, 200, 132, 0.06);
  border: 1px solid rgba(231, 200, 132, 0.15);
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
  min-height: 2.6em;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  transition:
    color 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.zone-selected.is-set {
  color: var(--gold-2);
  background: rgba(232, 69, 138, 0.1);
  border-color: rgba(232, 69, 138, 0.3);
  box-shadow: 0 4px 20px rgba(232, 69, 138, 0.12);
  animation: zoneInfoIn 0.55s cubic-bezier(0.34, 1.3, 0.64, 1);
}
@keyframes zoneInfoIn {
  0% { opacity: 0.5; transform: translateY(8px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.zone-selected .zone-info-text {
  display: block;
  animation: zoneTextIn 0.45s cubic-bezier(0.34, 1.2, 0.64, 1);
}
@keyframes zoneTextIn {
  0% { opacity: 0; transform: translateX(-6px); }
  100% { opacity: 1; transform: translateX(0); }
}

.qty-row { display: flex; align-items: center; gap: 16px; }
.qty-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.18s ease;
}
.qty-btn:hover { border-color: var(--pink); color: var(--pink-2); }
.qty-val { font-size: 1.1rem; font-weight: 700; min-width: 24px; text-align: center; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.form-grid input {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 0.88rem;
  font-family: inherit;
}
.form-grid input::placeholder { color: var(--muted); }
.form-grid input:focus { outline: none; border-color: var(--pink); }
.form-grid .span2 { grid-column: 1 / -1; }

.phone-field {
  display: flex;
  align-items: stretch;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.phone-field:focus-within { border-color: var(--pink); }
.phone-country {
  flex: 0 0 auto;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.04);
  border: none;
  border-right: 1px solid var(--line);
  color: var(--gold-2);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23e7c884' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 26px;
}
.phone-country:focus { outline: none; }
.phone-country option {
  background: var(--panel);
  color: var(--text);
}
.phone-field input {
  flex: 1;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  width: 100%;
}
.phone-field input:focus { outline: none; }

.modal-error { color: #ff6b8b; font-size: 0.82rem; margin-top: 12px; min-height: 1em; }

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}
.modal-footer:only-child, .modal-step[data-step="2"] .modal-footer { justify-content: flex-start; }
.modal-total { color: var(--muted); font-size: 0.9rem; }
.modal-total strong { color: var(--gold-2); font-size: 1.15rem; }

.pay-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 6px;
}
.pay-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 26px 16px;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  cursor: pointer;
  transition: all 0.18s ease;
}
.pay-method:hover {
  border-color: var(--pink);
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.35);
}
.pay-method { position: relative; }
.pay-method i { font-size: 1.8rem; color: var(--gold-2); }
.pay-method span { font-weight: 600; letter-spacing: 0.04em; }
.pay-method small { color: var(--muted); font-size: 0.72rem; }
.pay-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #4ade80, #16a34a);
  color: #04210f;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 3px 7px;
  border-radius: 6px;
  line-height: 1;
}

.crypto-coins { display: flex; gap: 10px; margin-bottom: 18px; }
.coin {
  flex: 1;
  padding: 12px;
  border-radius: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.18s ease;
}
.coin i { margin-right: 6px; color: var(--gold-2); }
.coin:hover { border-color: rgba(232,69,138,0.5); }
.coin.active { border-color: var(--pink); background: rgba(232,69,138,0.12); box-shadow: 0 0 0 1px var(--pink) inset; }

.order-summary {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}
.order-summary h4 {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 12px;
}
.sum-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
  font-size: 0.86rem;
  border-bottom: 1px dashed rgba(255,255,255,0.06);
}
.sum-row:last-child { border-bottom: none; }
.sum-row span:first-child { color: var(--muted); }
.sum-row span:last-child { text-align: right; word-break: break-word; }
.sum-row.discount span { color: #4ade80; }
.sum-row.total { font-weight: 700; }
.sum-row.total span:last-child { color: var(--gold-2); }

.invoice-lead { color: var(--muted); font-size: 0.88rem; margin: -6px 0 16px; }
.invoice-network-label { font-size: 0.82rem; color: var(--muted); margin-bottom: 14px; }
.invoice-network-label strong { color: var(--gold-2); }

.invoice-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}
.invoice-methods.invoice-methods--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.invoice-methods.invoice-methods--center .invoice-method {
  width: 100%;
  max-width: 300px;
}
.invoice-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 20px 14px;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: center;
}
.invoice-method:hover { border-color: var(--pink); transform: translateY(-2px); }
.invoice-method i { font-size: 1.5rem; color: var(--gold-2); }
.invoice-method span { font-weight: 600; font-size: 0.88rem; }
.invoice-method small { color: var(--muted); font-size: 0.7rem; line-height: 1.3; }
.invoice-method[hidden] { display: none !important; }
.invoice-methods:has(.invoice-method:not([hidden]):only-of-type) { grid-template-columns: 1fr; }

.invoice-preview {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(232,69,138,0.08);
  border: 1px solid rgba(232,69,138,0.25);
  font-size: 0.88rem;
}
.invoice-preview strong { color: var(--gold-2); font-size: 1.05rem; }

.invoice-timer-wrap { text-align: center; margin-bottom: 20px; }
.invoice-timer-label { display: block; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.invoice-timer {
  font-size: 2.4rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--gold-2);
  line-height: 1;
}
.invoice-timer.urgent { color: #f87171; animation: pulse-timer 1s ease infinite; }
.invoice-timer-hint { display: block; font-size: 0.72rem; color: var(--muted); margin-top: 6px; }
@keyframes pulse-timer { 50% { opacity: 0.7; } }

.invoice-details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.invoice-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.06);
  font-size: 0.84rem;
}
.invoice-detail-row:last-child { border-bottom: none; }
.invoice-detail-row > span { color: var(--muted); flex-shrink: 0; }
.invoice-copy-field {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 72%;
}
.invoice-copy-field strong,
.invoice-copy-field code {
  word-break: break-all;
  text-align: right;
  font-size: 0.82rem;
  color: var(--text);
}
.invoice-copy-field code { font-family: ui-monospace, monospace; }
.copy-btn {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--gold-2);
  cursor: pointer;
  transition: all 0.15s ease;
}
.copy-btn:hover { border-color: var(--pink); background: rgba(232,69,138,0.12); }

.invoice-qr-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 18px 0 14px;
  padding: 12px 0;
}
.invoice-qr-wrap img {
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.invoice-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 12px;
  text-align: center;
}
.invoice-status i { color: var(--gold-2); }
.invoice-status.confirmed { color: #4ade80; }
.invoice-status.confirmed i { color: #4ade80; }
.invoice-warning {
  font-size: 0.78rem;
  color: #fbbf24;
  background: rgba(251,191,36,0.08);
  border: 1px solid rgba(251,191,36,0.2);
  border-radius: 10px;
  padding: 10px 12px;
  line-height: 1.45;
  margin-bottom: 10px;
}
.invoice-id { font-size: 0.72rem; color: var(--muted); text-align: center; }
.invoice-id code { color: var(--gold-2); }

.connect-wallet.loading {
  opacity: 0.7;
  pointer-events: none;
}
.connect-wallet.loading::after {
  content: "";
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin-top: 4px;
}

.invoice-method.loading,
#invoiceTransferBtn.loading {
  opacity: 0.7;
  pointer-events: none;
  position: relative;
}
.invoice-method.loading::after,
#invoiceTransferBtn.loading::after {
  content: "";
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin-top: 4px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.done-wrap { text-align: center; padding: 16px 0 8px; }
.done-icon { font-size: 3.4rem; color: #4ade80; margin-bottom: 14px; }
.done-wrap p { color: var(--muted); margin: 8px 0 22px; }

@media (max-width: 560px) {
  .modal-dialog { padding: 26px 18px 20px; }
  .zone-legend, .form-grid, .pay-methods, .invoice-methods { grid-template-columns: 1fr; }
  .modal-footer { flex-direction: column-reverse; align-items: stretch; }
  .modal-footer .btn { justify-content: center; }
}

/* ===================== Sub-pages ===================== */
.container-narrow { max-width: 820px; }
.page-hero {
  position: relative;
  padding: 64px 0 30px;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(232, 69, 138, 0.22), transparent 55%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.breadcrumb a { color: var(--muted); transition: color 0.18s ease; }
.breadcrumb a:hover { color: var(--pink-2); }
.breadcrumb span { margin: 0 4px; }
.page-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--gold-2);
}
.page-lead {
  margin-top: 14px;
  max-width: 620px;
  color: var(--muted);
}
.page-section { padding: 48px 0 72px; }
.legal-body { color: var(--muted); font-size: 0.95rem; line-height: 1.75; }
.legal-body p { margin-bottom: 18px; }
.legal-body p:last-child { margin-bottom: 0; }

/* ===================== FAQ ===================== */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item.open { border-color: rgba(232, 69, 138, 0.5); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.faq-q i { color: var(--pink-2); transition: transform 0.25s ease; font-size: 0.85rem; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-a { max-height: 240px; }
.faq-a p {
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ===================== Contacts ===================== */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 820px;
  margin: 0 auto;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
a.contact-card:hover { transform: translateY(-5px); border-color: rgba(232, 69, 138, 0.5); }
.contact-card i { font-size: 1.5rem; color: var(--gold-2); }
.contact-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-value { font-weight: 600; font-size: 0.95rem; }

@media (max-width: 560px) {
  .contacts-grid { grid-template-columns: 1fr; max-width: 360px; }
}
