:root {
  color-scheme: dark;
  --bg: #090b0f;
  --panel: #11151d;
  --panel-2: #171c25;
  --text: #f6f7fb;
  --muted: #a7adba;
  --line: rgba(255, 255, 255, 0.12);
  --gold: #f0b90b;
  --gold-2: #ffe08a;
  --cyan: #43d5d4;
  --green: #50d18d;
  --danger: #ff6b6b;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.app-shell {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  min-height: 100vh;
  transition: grid-template-columns 220ms ease;
}

.app-shell.sidebar-collapsed {
  grid-template-columns: 84px minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 20px 12px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.026), transparent 180px),
    rgba(7, 10, 15, 0.96);
  backdrop-filter: blur(16px);
  box-shadow: inset -1px 0 0 rgba(240, 185, 11, 0.035);
}

.sidebar::after {
  content: "";
  position: absolute;
  right: 0;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(240, 185, 11, 0.16), transparent);
  opacity: 0.55;
}

.sidebar-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(240, 185, 11, 0.018)),
    rgba(13, 16, 22, 0.72);
}

.brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  flex: 0 0 42px;
  border: 1px solid rgba(240, 185, 11, 0.42);
  border-radius: 8px;
  background:
    radial-gradient(circle at 35% 25%, rgba(240, 185, 11, 0.12), transparent 34%),
    #11151d;
  color: var(--gold);
  font-weight: 800;
  box-shadow:
    inset 0 0 14px rgba(240, 185, 11, 0.055),
    0 10px 28px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 224, 138, 0.24), transparent 32%, rgba(240, 185, 11, 0.1));
  opacity: 0.42;
  pointer-events: none;
}

.brand-mark img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
}

.brand strong,
.brand small {
  display: block;
}

.brand-copy {
  min-width: 0;
  flex: 1 1 auto;
  transition: opacity 180ms ease, transform 180ms ease;
}

.brand strong {
  font-size: 15px;
  line-height: 1.12;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

.brand small,
.sidebar-panel small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.15;
}

.sidebar-toggle {
  position: relative;
  z-index: 1;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  cursor: pointer;
  transition: 180ms ease;
}

.sidebar-toggle:hover {
  border-color: rgba(240, 185, 11, 0.45);
  color: var(--gold);
  background: rgba(240, 185, 11, 0.08);
}

.sidebar-toggle svg {
  width: 18px;
  height: 18px;
  transition: transform 180ms ease;
}

.nav-links {
  display: grid;
  gap: 8px;
  padding: 0 4px;
}

.nav-links a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.018);
  transition: 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  border-color: rgba(240, 185, 11, 0.24);
  background:
    linear-gradient(90deg, rgba(240, 185, 11, 0.07), rgba(255, 255, 255, 0.026)),
    #0d1016;
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(240, 185, 11, 0.04);
}

.nav-links a.active::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  border-radius: 999px;
  background: var(--gold);
}

.nav-icon {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  color: inherit;
}

.nav-icon svg {
  width: 18px;
  height: 18px;
}

.nav-text {
  font-weight: 600;
  transition: opacity 180ms ease, transform 180ms ease;
}

.sidebar-collapsed .sidebar {
  padding-inline: 14px;
}

.sidebar-collapsed .sidebar-head {
  grid-template-columns: 1fr;
}

.sidebar-collapsed .brand {
  justify-content: center;
}

.sidebar-collapsed .brand-copy,
.sidebar-collapsed .nav-text {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-6px);
}

.sidebar-collapsed .sidebar-toggle {
  margin: 4px auto 0;
}

.sidebar-collapsed .sidebar-toggle svg {
  transform: rotate(180deg);
}

.sidebar-collapsed .nav-links a {
  justify-content: center;
  padding: 0;
}

.sidebar-collapsed .nav-links a.active::before {
  left: auto;
  right: 7px;
}

.sidebar-panel {
  margin-top: auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.panel-label,
.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sidebar-panel strong {
  display: block;
  margin-top: 8px;
}

.content {
  position: relative;
  isolation: isolate;
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 24px;
}

.content::before {
  content: "";
  position: fixed;
  inset: 0 0 0 248px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 82% 18%, rgba(67, 213, 212, 0.035), transparent 24%),
    linear-gradient(115deg, transparent 0 32%, rgba(255, 255, 255, 0.018) 38%, transparent 46%);
}

.sidebar-collapsed .content::before {
  inset: 0 0 0 84px;
}

.hero {
  display: block;
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 164px 128px 136px auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(14, 17, 24, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.search-control {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 40px;
  padding: 0 76px 0 14px;
  border: 1px solid #2e2e2e;
  border-radius: 8px;
  background: #000;
  color: #9c9c9c;
  transition: 160ms ease;
}

.search-control:hover,
.search-control:focus-within {
  border-color: rgba(240, 185, 11, 0.4);
  background: #151515;
  color: #fff;
}

.search-control svg {
  width: 18px;
  height: 18px;
  color: currentColor;
  flex: 0 0 auto;
}

.search-control input {
  width: 100%;
  height: 38px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  padding: 0;
}

.search-control input::placeholder {
  color: #9c9c9c;
}

.search-kbd {
  pointer-events: none;
  position: absolute;
  right: 5px;
  top: 50%;
  display: flex;
  height: 26px;
  align-items: center;
  gap: 4px;
  transform: translateY(-50%);
  user-select: none;
  border: 1px solid #2e2e2e;
  border-radius: 6px;
  background: #242424;
  padding: 0 7px;
  color: #d8d8d8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.search-kbd span {
  font-size: 10px;
}

.topbar select {
  min-height: 40px;
  border-color: #2e2e2e;
  background:
    linear-gradient(45deg, transparent 50%, #9c9c9c 50%) right 13px center / 6px 6px no-repeat,
    linear-gradient(135deg, #9c9c9c 50%, transparent 50%) right 9px center / 6px 6px no-repeat,
    #000;
  color: #d8d8d8;
  padding: 0 30px 0 14px;
  appearance: none;
  cursor: pointer;
  transition: 160ms ease;
}

.topbar select:hover,
.topbar select:focus {
  border-color: rgba(240, 185, 11, 0.4);
  background:
    linear-gradient(45deg, transparent 50%, #fff 50%) right 13px center / 6px 6px no-repeat,
    linear-gradient(135deg, #fff 50%, transparent 50%) right 9px center / 6px 6px no-repeat,
    #242424;
  color: #fff;
}

.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #2e2e2e;
  border-radius: 8px;
  background: #000;
  color: #d8d8d8;
  white-space: nowrap;
  transition: 160ms ease;
}

.ghost-link:hover {
  border-color: rgba(240, 185, 11, 0.45);
  background: #242424;
  color: #fff;
}

.button {
  position: relative;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--button-width, 80px);
  height: var(--button-height, 44px);
  padding: 0 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: #0d0e10;
  color: #fff;
  font-weight: 700;
}

.text {
  position: relative;
  z-index: 1;
}

.fx-button::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 50%, #0000 0, #0000 20%, #111111aa 50%),
    radial-gradient(ellipse 100% 100%, #fff, #fff0);
  background-size: 3px 3px, auto auto;
  transition: 0.3s;
}

.fx-button:hover::before {
  opacity: 0.3;
}

.a {
  pointer-events: none;
  position: absolute;
  --w: 2px;
  --t: -40px;
  --s: calc(var(--t) * -1);
  --e: calc(100% + var(--t));
  --g: #fff0, #fff3 var(--s), #fffa var(--s), #fff, #fffa var(--e), #fff3 var(--e), #fff0;
}

.a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: inherit;
  filter: blur(4px) url(#unopaq);
}

.a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: inherit;
  filter: blur(10px) url(#unopaq);
  opacity: 0;
  transition: 0.3s;
}

.fx-button:hover .a::after {
  opacity: 1;
}

.l {
  left: -2px;
}

.r {
  right: -2px;
}

.l,
.r {
  top: var(--t);
  bottom: var(--t);
  width: var(--w);
  background: linear-gradient(var(--g));
}

.t {
  top: -2px;
}

.b {
  bottom: -2px;
}

.t,
.b {
  left: var(--t);
  right: var(--t);
  height: var(--w);
  background: linear-gradient(90deg, var(--g));
}

.secondary-button {
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold-2);
}

.codes-section,
.faq,
.contact {
  padding: 36px 0 0;
}

.section-heading {
  display: block;
}

h2 {
  margin: 8px 0 0;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: 0;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.field-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
}

.required-mark {
  color: #ff6b6b;
  font-weight: 900;
}

select,
input,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  background: var(--panel);
  color: var(--text);
  padding: 0 12px;
}

select option {
  background: #0a0d12;
  color: #f5f7fb;
}

select option:checked,
select option:hover {
  background: #1f2937;
  color: #ffffff;
}

textarea {
  padding: 12px;
  resize: vertical;
}

select:focus,
input:focus,
textarea:focus {
  border-color: rgba(240, 185, 11, 0.36);
}

.result-meta {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  margin: 20px 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 28px;
}

.ref-card {
  --ticket-cut: 74px;
  position: relative;
  min-height: 348px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  padding: 22px;
  overflow: hidden;
  color: white;
  isolation: isolate;
  filter:
    drop-shadow(0 4px 4px rgba(0, 0, 0, 0.18))
    drop-shadow(0 16px 22px rgba(0, 0, 0, 0.22))
    drop-shadow(0 34px 38px rgba(0, 0, 0, 0.22));
  transition: transform 220ms ease, filter 220ms ease;
}

.ref-card:hover {
  transform: translateY(-4px);
  filter:
    drop-shadow(0 6px 6px rgba(0, 0, 0, 0.16))
    drop-shadow(0 20px 26px rgba(0, 0, 0, 0.2))
    drop-shadow(0 44px 46px rgba(0, 0, 0, 0.18));
}

.ticket-bg {
  position: absolute;
  inset: 3px;
  z-index: -2;
  border-radius: 12px;
  background:
    radial-gradient(circle at 18% 10%, rgba(240, 185, 11, 0.32), transparent 27%),
    radial-gradient(circle at 92% 82%, rgba(80, 209, 141, 0.12), transparent 34%),
    linear-gradient(145deg, #20232c 0%, #171b24 46%, #15130b 100%);
  mask:
    radial-gradient(circle 10px at left var(--ticket-cut), transparent 98%, #000 100%),
    radial-gradient(circle 10px at right var(--ticket-cut), transparent 98%, #000 100%),
    repeating-linear-gradient(90deg, #000 0 12px, transparent 12px 18px),
    linear-gradient(#000 0 0);
  mask-size: 100% 100%, 100% 100%, 100% 2px, 100% 100%;
  mask-position: 0 0, 0 0, 0 calc(var(--ticket-cut) + 8px), 0 0;
  mask-repeat: no-repeat;
  mask-composite: subtract, subtract, subtract, add;
}

.ticket-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(240, 185, 11, 0.46);
  border-radius: 12px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 0 28px rgba(240, 185, 11, 0.06),
    0 0 0 1px rgba(0, 0, 0, 0.58);
}

.ticket-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 38%),
    linear-gradient(105deg, transparent 0 28%, rgba(255, 255, 255, 0.08) 34%, transparent 42%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.026) 0 1px, transparent 1px 9px);
  opacity: 0.9;
}

.ticket-frame {
  position: absolute;
  inset: 3px;
  z-index: -1;
  border: 1px solid rgba(240, 185, 11, 0.42);
  border-radius: 12px;
  pointer-events: none;
  mask:
    radial-gradient(circle 10px at left var(--ticket-cut), transparent 98%, #000 100%),
    radial-gradient(circle 10px at right var(--ticket-cut), transparent 98%, #000 100%),
    linear-gradient(#000 0 0);
  mask-composite: subtract, subtract, add;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.045),
    inset 0 0 34px rgba(240, 185, 11, 0.055),
    0 0 18px rgba(240, 185, 11, 0.1);
}

.ticket-orbit {
  position: absolute;
  z-index: -1;
  color: rgba(240, 185, 11, 0.11);
  font-size: 90px;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.orbit-one {
  right: 18px;
  top: 88px;
  transform: rotate(-12deg);
}

.orbit-two {
  left: 18px;
  bottom: 76px;
  transform: rotate(14deg);
}

.ticket-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 50px;
  padding: 0 2px;
}

.ticket-kicker {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.code-badge,
.pin-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  max-width: 210px;
  min-height: 42px;
  padding: 0 18px;
  overflow: hidden;
  border: 1px solid rgba(240, 185, 11, 0.42);
  border-radius: 12px 0;
  background:
    linear-gradient(180deg, rgba(240, 185, 11, 0.095), rgba(240, 185, 11, 0.032)),
    rgba(9, 11, 15, 0.74);
  color: var(--gold-2);
  font-size: 15px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow:
    inset 0 0 14px rgba(240, 185, 11, 0.055),
    0 0 14px rgba(240, 185, 11, 0.035);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.code-badge:hover,
.code-badge.copied {
  border-color: rgba(255, 224, 138, 0.42);
  box-shadow:
    inset 0 0 18px rgba(240, 185, 11, 0.09),
    0 0 18px rgba(240, 185, 11, 0.08);
  transform: translateY(-1px);
}

.code-badge.copied {
  color: #111;
  background: var(--gold);
}

.code-text {
  position: relative;
  z-index: 2;
}

.code-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from 0deg, rgba(240, 185, 11, 0.04), rgba(255, 235, 166, 0.46), rgba(240, 185, 11, 0.04) 34%, rgba(240, 185, 11, 0.04));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: code-border-spin 2.7s linear infinite;
}

.code-badge::after {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(240, 185, 11, 0.07), rgba(9, 11, 15, 0.86));
}

@keyframes code-border-spin {
  to {
    transform: rotate(1turn);
  }
}

.ticket-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr);
  align-items: stretch;
  min-height: 148px;
  margin: 4px 0 2px;
  padding: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.14);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at 18% 20%, rgba(240, 185, 11, 0.045), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(0, 0, 0, 0.08));
  border-radius: 8px;
}

.ticket-metric {
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 0;
  padding: 18px 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(15, 19, 27, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 -18px 28px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.ticket-metric small,
.ticket-code-strip small {
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ticket-metric strong {
  color: var(--gold);
  font-size: clamp(24px, 2.2vw, 31px);
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.ticket-metric .reward-value {
  display: grid;
  gap: 2px;
  justify-items: center;
  overflow-wrap: normal;
}

.ticket-metric .reward-value span {
  display: block;
  color: var(--gold);
  font-size: inherit;
  font-weight: inherit;
  line-height: 0.98;
  white-space: nowrap;
}

.ticket-metric span {
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.ticket-cut {
  position: relative;
  width: 1px;
  justify-self: center;
  margin: 8px 0;
  background: repeating-linear-gradient(180deg, rgba(240, 185, 11, 0.2) 0 5px, transparent 5px 11px);
  opacity: 0.42;
}

.ticket-footer {
  display: grid;
  gap: 14px;
  padding: 0 2px 2px;
}

.ticket-code-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 36px;
}

.ticket-barcode {
  display: block;
  width: 92px;
  height: 28px;
  background:
    linear-gradient(90deg,
      #d5b056 0 3px, transparent 3px 7px,
      #d5b056 7px 9px, transparent 9px 13px,
      #d5b056 13px 17px, transparent 17px 20px,
      #d5b056 20px 22px, transparent 22px 28px,
      #d5b056 28px 32px, transparent 32px 37px,
      #d5b056 37px 39px, transparent 39px 45px,
      #d5b056 45px 49px, transparent 49px 52px,
      #d5b056 52px 55px, transparent 55px 61px,
      #d5b056 61px 65px, transparent 65px 70px,
      #d5b056 70px 73px, transparent 73px 78px,
      #d5b056 78px 82px, transparent 82px 86px,
      #d5b056 86px 92px);
  opacity: 0.82;
}

.offer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 218px;
}

.offer-side {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.offer-side p,
.offer-side span {
  margin: 0;
  line-height: 1.35;
}

.offer-side p {
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
}

.offer-side p strong {
  color: var(--gold);
  font-size: 18px;
}

.offer-side > span {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.offer-plus {
  color: rgba(255, 255, 255, 0.28);
  font-size: 36px;
  font-weight: 300;
}

.offer-icon {
  position: relative;
  width: 104px;
  height: 88px;
}

.gift-box {
  position: absolute;
  left: 23px;
  bottom: 6px;
  width: 56px;
  height: 42px;
  border: 2px solid rgba(240, 185, 11, 0.48);
  background: linear-gradient(180deg, rgba(240, 185, 11, 0.04), rgba(255, 255, 255, 0.02));
}

.gift-lid {
  position: absolute;
  left: 15px;
  top: 30px;
  width: 70px;
  height: 25px;
  border: 2px solid rgba(240, 185, 11, 0.48);
  transform: rotate(-28deg);
}

.gift-lid::before,
.gift-lid::after {
  content: "";
  position: absolute;
  top: -32px;
  width: 36px;
  height: 30px;
  border: 2px solid rgba(240, 185, 11, 0.48);
  border-radius: 999px 999px 0 999px;
}

.gift-lid::before {
  left: -28px;
}

.gift-lid::after {
  right: -16px;
  transform: rotate(74deg);
}

.gift-coin {
  position: absolute;
  left: 38px;
  bottom: 20px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #17120a;
  font-size: 22px;
  font-weight: 800;
  box-shadow: 0 0 16px rgba(240, 185, 11, 0.34);
}

.ticket-icon {
  width: min(112px, 100%);
  height: 78px;
  border: 2px solid rgba(240, 185, 11, 0.48);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 1fr 34px;
  align-items: center;
  padding: 0 10px;
}

.ticket-percent {
  color: var(--gold);
  font-size: 46px;
  line-height: 1;
  font-weight: 800;
}

.ticket-user {
  position: relative;
  width: 32px;
  height: 32px;
  border: 2px solid rgba(240, 185, 11, 0.48);
  border-radius: 50%;
}

.ticket-user::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.ticket-user::after {
  content: "";
  position: absolute;
  left: 7px;
  bottom: 7px;
  width: 15px;
  height: 7px;
  border-radius: 999px 999px 0 0;
  background: var(--gold);
}

.see-link {
  color: var(--gold);
  font-size: 15px;
  font-weight: 800;
}

.see-link::after {
  content: " >";
}

.card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px;
  gap: 8px;
  margin-top: auto;
  align-items: stretch;
}

.card-actions .button {
  min-width: auto;
  width: 100%;
}

.join-button {
  --button-width: 100%;
  --button-height: 44px;
  border-color: rgba(240, 185, 11, 0.22);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.04), transparent 42%),
    #0b0b0c;
}

.copy-button {
  --button-width: 88px;
  --button-height: 44px;
  color: var(--gold-2);
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(240, 185, 11, 0.22);
}

.copy-button:hover,
.join-button:hover {
  border-color: rgba(240, 185, 11, 0.46);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--muted);
  text-align: center;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.page-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
}

.page-button.active,
.page-button:hover {
  border-color: rgba(240, 185, 11, 0.34);
  color: var(--gold);
}

.faq p,
.contact p {
  color: var(--muted);
  line-height: 1.65;
}

.faq {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.faq details {
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(18, 22, 31, 0.72), rgba(10, 13, 18, 0.82));
  padding: 15px 17px;
}

.faq summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 700;
  line-height: 1.45;
}

.faq details p {
  max-width: 880px;
  margin: 14px 0 2px;
}

.faq details[open] {
  border-color: rgba(240, 185, 11, 0.2);
  background: linear-gradient(145deg, rgba(21, 25, 34, 0.9), rgba(12, 15, 21, 0.94));
}

.faq details[open] summary {
  color: var(--gold-2);
}

.faq .section-heading {
  grid-column: 1 / -1;
}

.contact {
  position: relative;
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  width: min(100%, 1080px);
  margin: 28px auto 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.contact-copy {
  position: relative;
  padding: 24px 22px;
  overflow: hidden;
  border: 1px solid rgba(240, 185, 11, 0.14);
  border-radius: 12px;
  background:
    radial-gradient(circle at 0% 0%, rgba(240, 185, 11, 0.04), transparent 34%),
    linear-gradient(145deg, rgba(18, 22, 31, 0.96), rgba(10, 13, 18, 0.98));
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.24);
}

.contact-copy h2 {
  max-width: 300px;
  margin-top: 10px;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.05;
}

.contact-copy p {
  max-width: 300px;
  margin: 14px 0 22px;
}

.contact-copy::after {
  content: none;
}

.review-steps {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.review-steps li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  column-gap: 10px;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.review-steps li span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(240, 185, 11, 0.2);
  border-radius: 8px;
  background: rgba(240, 185, 11, 0.04);
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.review-steps strong {
  color: var(--text);
  font-size: 13px;
}

.review-steps small {
  grid-column: 2;
  color: var(--muted);
  line-height: 1.45;
}

.contact-form {
  position: relative;
  display: grid;
  align-content: center;
  justify-self: center;
  width: min(100%, 660px);
  gap: 14px;
  padding: 24px;
  overflow: visible;
  border: 1px solid rgba(240, 185, 11, 0.14);
  border-radius: 12px;
  background:
    radial-gradient(circle at 100% 100%, rgba(80, 209, 141, 0.04), transparent 34%),
    linear-gradient(145deg, rgba(13, 17, 24, 0.98), rgba(7, 10, 14, 0.99));
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.24);
}

.contact-form::before {
  content: none;
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 0 36%, rgba(255, 255, 255, 0.05) 42%, transparent 50%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.016) 0 1px, transparent 1px 10px);
}

.contact-form > * {
  position: relative;
  z-index: 1;
}

.auth-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  gap: 16px;
  padding: 10px 12px;
  border: 1px solid rgba(240, 185, 11, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(240, 185, 11, 0.035), rgba(255, 255, 255, 0.022)),
    rgba(0, 0, 0, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.auth-panel-signed-in {
  border-color: rgba(80, 209, 141, 0.34);
  background:
    linear-gradient(135deg, rgba(80, 209, 141, 0.12), rgba(255, 255, 255, 0.025)),
    rgba(0, 0, 0, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 0 0 1px rgba(80, 209, 141, 0.04);
}

.auth-copy {
  position: relative;
  min-width: 0;
  padding-left: 20px;
}

.auth-panel strong,
.auth-panel span:not(.text) {
  display: block;
}

.auth-panel strong {
  color: var(--text);
  font-size: 14px;
}

.auth-panel span:not(.text) {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.auth-state-dot {
  position: absolute;
  left: 0;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(240, 185, 11, 0.07);
}

.auth-panel-signed-in .auth-state-dot {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(80, 209, 141, 0.13), 0 0 18px rgba(80, 209, 141, 0.2);
}

.auth-button {
  flex: 0 0 auto;
}

.auth-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.button.google {
  --button-width: auto;
  --button-height: 42px;
  max-width: 320px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.015)),
    rgb(28, 31, 43);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button.google svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.button.google:hover {
  transform: translateY(-1px) scale(1.01);
  border-color: rgba(240, 185, 11, 0.24);
  background:
    linear-gradient(135deg, rgba(240, 185, 11, 0.06), rgba(255, 255, 255, 0.032)),
    rgb(36, 39, 52);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.button.google:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(240, 185, 11, 0.08),
    0 16px 34px rgba(0, 0, 0, 0.24);
}

.button.google:active {
  transform: scale(0.98);
  opacity: 0.9;
}

.auth-panel-signed-in .button.google {
  border-color: rgba(80, 209, 141, 0.24);
  background:
    linear-gradient(135deg, rgba(80, 209, 141, 0.11), rgba(255, 255, 255, 0.025)),
    rgb(18, 25, 26);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.code-row {
  grid-template-columns: 1fr;
  max-width: 100%;
}

.contact-form textarea {
  min-height: 104px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 52px;
  border-color: rgba(255, 255, 255, 0.095);
  background: rgba(3, 5, 8, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(240, 185, 11, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 0 3px rgba(240, 185, 11, 0.08);
}

.lookup-preview {
  display: none;
}

.lookup-preview:not(:empty) {
  display: grid;
  min-width: 0;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(18, 22, 31, 0.86), rgba(7, 10, 14, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.lookup-preview-found {
  border-color: rgba(240, 185, 11, 0.2);
  background:
    radial-gradient(circle at 100% 0%, rgba(240, 185, 11, 0.085), transparent 32%),
    linear-gradient(145deg, rgba(18, 22, 31, 0.92), rgba(7, 10, 14, 0.95));
}

.lookup-preview-empty {
  border-color: rgba(255, 255, 255, 0.095);
}

.lookup-preview-head,
.lookup-preview-empty > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.lookup-preview span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.lookup-preview strong {
  color: var(--text);
  font-size: 15px;
  overflow-wrap: anywhere;
}

.lookup-preview-empty strong {
  flex: 0 0 auto;
  white-space: nowrap;
}

.lookup-preview-found .lookup-preview-head strong {
  color: var(--gold);
}

.lookup-preview-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.lookup-preview-metrics > div {
  min-height: 72px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.027);
}

.lookup-preview-metrics strong {
  display: block;
  margin-top: 6px;
  color: var(--gold);
  font-size: 24px;
  line-height: 1;
}

.lookup-preview p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.form-submit {
  --button-width: 190px;
  justify-self: start;
  border-color: rgba(240, 185, 11, 0.28);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 100%;
}

.form-actions small {
  color: var(--muted);
  line-height: 1.5;
}

.form-status {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  margin: 0;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.form-status:not(:empty) {
  display: flex;
}

.form-status::before {
  display: grid;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.form-status-success {
  border-color: rgba(80, 209, 141, 0.34);
  background:
    linear-gradient(145deg, rgba(80, 209, 141, 0.14), rgba(80, 209, 141, 0.055)),
    rgba(3, 10, 7, 0.62);
  color: #b9f4d0;
  box-shadow: 0 0 0 1px rgba(80, 209, 141, 0.04), 0 12px 30px rgba(80, 209, 141, 0.08);
}

.form-status-success::before {
  content: "✓";
  background: #50d18d;
  color: #04130b;
}

.form-status-info {
  border-color: rgba(240, 185, 11, 0.25);
  color: var(--gold-2);
}

.form-status-info::before {
  content: "i";
  background: rgba(240, 185, 11, 0.18);
  color: var(--gold);
}

.form-status-warning {
  border-color: rgba(240, 185, 11, 0.32);
  background: rgba(240, 185, 11, 0.075);
  color: var(--gold-2);
}

.form-status-warning::before {
  content: "!";
  background: rgba(240, 185, 11, 0.22);
  color: var(--gold);
}

.form-status-error {
  border-color: rgba(255, 107, 107, 0.32);
  background: rgba(255, 107, 107, 0.075);
  color: #ffd0d0;
}

.form-status-error::before {
  content: "!";
  background: rgba(255, 107, 107, 0.22);
  color: #ffd0d0;
}

.admin-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 72px;
}

.admin-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 22px;
  align-items: end;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.admin-header h1 {
  margin: 8px 0 10px;
  color: var(--text);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.admin-header p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.admin-auth,
.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(240, 185, 11, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.admin-auth span {
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.admin-toolbar {
  margin: 24px 0;
}

.admin-toolbar strong {
  color: var(--gold);
}

.admin-list {
  display: grid;
  gap: 16px;
}

.admin-card {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(240, 185, 11, 0.22);
  border-radius: 12px;
  background:
    radial-gradient(circle at 100% 0%, rgba(240, 185, 11, 0.1), transparent 34%),
    linear-gradient(145deg, rgba(20, 24, 33, 0.96), rgba(10, 13, 18, 0.98));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.admin-card-lookup-failed {
  border-color: rgba(255, 107, 107, 0.28);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 107, 107, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(20, 24, 33, 0.96), rgba(10, 13, 18, 0.98));
}

.admin-card-head,
.admin-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-card h2 {
  margin: 6px 0 0;
  color: var(--gold);
  font-size: clamp(24px, 3vw, 36px);
}

.admin-status-pill {
  padding: 7px 10px;
  border: 1px solid rgba(240, 185, 11, 0.24);
  border-radius: 999px;
  background: rgba(240, 185, 11, 0.08);
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 800;
}

.admin-status-pill-danger {
  border-color: rgba(255, 107, 107, 0.34);
  background: rgba(255, 107, 107, 0.1);
  color: #ffd0d0;
}

.admin-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin: 0;
}

.admin-fields div {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.admin-fields dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-fields dd {
  margin: 7px 0 0;
  color: var(--text);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.admin-field-danger {
  border-color: rgba(255, 107, 107, 0.26) !important;
  background: rgba(255, 107, 107, 0.07) !important;
}

.admin-field-danger dd {
  color: #ffd0d0;
}

.admin-lookup-warning {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 107, 107, 0.28);
  border-radius: 8px;
  background: rgba(255, 107, 107, 0.075);
  color: #ffd0d0;
  font-weight: 700;
  line-height: 1.5;
}

.admin-notes {
  margin: 0;
  padding: 14px;
  border: 1px dashed rgba(240, 185, 11, 0.18);
  border-radius: 8px;
  color: var(--muted);
  line-height: 1.6;
}

.admin-reject-template {
  max-width: 380px;
}

.admin-reject-template select {
  min-height: 42px;
  margin-top: 8px;
  border-color: rgba(255, 107, 107, 0.18);
  background:
    linear-gradient(45deg, transparent 50%, #d8d8d8 50%) right 14px center / 6px 6px no-repeat,
    linear-gradient(135deg, #d8d8d8 50%, transparent 50%) right 10px center / 6px 6px no-repeat,
    linear-gradient(145deg, rgba(20, 24, 33, 0.94), rgba(8, 11, 16, 0.96));
  color: #ffffff;
  padding-right: 34px;
  appearance: none;
}

.admin-reject-template select:focus {
  border-color: rgba(255, 107, 107, 0.34);
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.08);
}

.admin-actions {
  justify-content: flex-start;
}

.admin-actions .button {
  --button-width: 132px;
}

.admin-actions .fx-button {
  --button-width: 132px;
}

.admin-reject-button {
  --button-width: 108px;
  border-color: rgba(255, 107, 107, 0.28);
  color: #ffd0d0;
}

.admin-card-message {
  display: none;
  margin: 0;
  padding: 11px 13px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

.admin-card-message:not(:empty) {
  display: block;
}

.admin-card-message-success {
  border: 1px solid rgba(80, 209, 141, 0.32);
  background: rgba(80, 209, 141, 0.1);
  color: #b9f4d0;
}

.admin-card-message-info {
  border: 1px solid rgba(240, 185, 11, 0.26);
  background: rgba(240, 185, 11, 0.08);
  color: var(--gold-2);
}

.admin-card-message-error {
  border: 1px solid rgba(255, 107, 107, 0.32);
  background: rgba(255, 107, 107, 0.08);
  color: #ffd0d0;
}

/* ---------- Admin auth meta ---------- */

.admin-auth {
  align-items: stretch;
}

.admin-auth-meta {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.admin-auth-label {
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.auth-button {
  --button-width: 116px;
  flex: 0 0 auto;
}

/* ---------- Admin tabs ---------- */

.admin-tabs {
  display: inline-flex;
  gap: 6px;
  margin: 26px 0 18px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.admin-tab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.admin-tab:hover {
  color: var(--text);
}

.admin-tab.is-active {
  border-color: rgba(240, 185, 11, 0.32);
  background: rgba(240, 185, 11, 0.1);
  color: var(--gold-2);
}

.admin-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(240, 185, 11, 0.18);
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 800;
}

/* ---------- Admin panels ---------- */

.admin-panel {
  display: none;
}

.admin-panel.is-active {
  display: block;
}

/* ---------- Manual entry form ---------- */

.admin-manual-card {
  display: grid;
  gap: 18px;
  padding: 26px;
  border: 1px solid rgba(240, 185, 11, 0.22);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(240, 185, 11, 0.1), transparent 36%),
    linear-gradient(145deg, rgba(20, 24, 33, 0.96), rgba(10, 13, 18, 0.98));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.admin-manual-card.is-locked {
  opacity: 0.6;
}

.admin-manual-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-manual-head h2 {
  margin: 6px 0 0;
  color: var(--gold);
  font-size: clamp(24px, 3vw, 34px);
}

.admin-manual-hint {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.admin-manual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.admin-manual-grid-pin {
  align-items: end;
}

.admin-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
}

.admin-checkbox input {
  width: 18px;
  height: 18px;
  min-height: 0;
  accent-color: var(--gold);
  cursor: pointer;
}

.admin-manual-preview {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px dashed rgba(240, 185, 11, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.admin-preview-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-manual-preview code {
  color: var(--gold-2);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.admin-manual-card .admin-actions .button {
  --button-width: 152px;
}

.svg-filters {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

@media (max-width: 1080px) {
  .app-shell,
  .app-shell.sidebar-collapsed {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }

  .sidebar-collapsed .brand-copy,
  .sidebar-collapsed .nav-text {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .sidebar-collapsed .sidebar-head {
    grid-template-columns: minmax(0, 1fr) 34px;
  }

  .sidebar-collapsed .brand,
  .sidebar-collapsed .nav-links a {
    justify-content: flex-start;
  }

  .sidebar-collapsed .sidebar-toggle {
    margin: 0;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
  }

  .sidebar-panel {
    display: none;
  }

  .contact {
    grid-template-columns: 1fr;
    padding-bottom: 0;
  }

  .content::before,
  .sidebar-collapsed .content::before {
    inset: 0;
  }

  .contact-copy {
    padding: 22px;
  }
}

@media (max-width: 860px) {
  .content {
    padding: 18px;
  }

  .topbar,
  .topbar {
    grid-template-columns: 1fr;
    position: static;
    display: grid;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .faq {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .auth-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .auth-button {
    width: 100%;
  }

  .button.google {
    max-width: 100%;
  }

  .section-heading,
  .result-meta {
    align-items: start;
    flex-direction: column;
  }

  .admin-shell {
    width: min(100% - 28px, 1180px);
    padding-top: 24px;
  }

  .admin-header,
  .admin-fields {
    grid-template-columns: 1fr;
  }

  .admin-auth,
  .admin-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-tabs {
    display: flex;
    width: 100%;
  }

  .admin-tab {
    flex: 1;
    justify-content: center;
  }

  .admin-manual-grid {
    grid-template-columns: 1fr;
  }

  .admin-manual-card .admin-actions .button {
    --button-width: 100%;
    flex: 1;
  }
}

@media (max-width: 640px) {
  .contact-form {
    padding: 20px;
  }

  .lookup-preview-metrics {
    grid-template-columns: 1fr;
  }

  .lookup-preview-head,
  .lookup-preview-empty > div {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (min-width: 861px) and (max-width: 1180px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
