:root {
  --bg: #080b13;
  --bg-soft: #0d1220;
  --panel: rgba(14, 20, 34, 0.82);
  --panel-strong: #12192a;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f8fafc;
  --muted: #9ca3af;
  --gold: #9bef14;
  --accent: #9bef14;
  --accent-strong: #66d814;
  --accent-soft: rgba(155, 239, 20, 0.12);
  --orange: #14b8a6;
  --blue: #36b8ff;
  --green: #22c55e;
  --red: #ef4444;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  --shell: min(1240px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  text-rendering: geometricPrecision;
}

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

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

button {
  cursor: pointer;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: 84px;
  display: grid;
  grid-template-columns: 210px 1fr 260px;
  align-items: center;
  gap: 22px;
  padding: 0 max(28px, calc((100vw - 1440px) / 2 + 28px));
  background:
    linear-gradient(90deg, rgba(8, 11, 19, 0.96), rgba(13, 25, 21, 0.94)),
    rgba(8, 11, 19, 0.94);
  border-bottom: 1px solid rgba(155, 239, 20, 0.14);
  backdrop-filter: blur(20px);
}

.logo,
.header-actions,
.main-nav,
.coin-pill {
  display: flex;
  align-items: center;
}

.logo {
  gap: 12px;
}

.logo-image {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(163, 230, 53, 0.24));
}

.logo-copy {
  display: grid;
  text-transform: uppercase;
  line-height: 1;
}

.logo-copy strong {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.logo-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

.main-nav {
  justify-content: center;
  gap: 28px;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.main-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.72);
  padding: 32px 0;
  transition: color 0.18s ease;
}

.main-nav a.is-active,
.main-nav a:hover {
  color: var(--text);
}

.main-nav a.is-active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 20px;
  width: 42px;
  height: 4px;
  transform: translateX(-50%) skewX(-22deg);
  background: var(--gold);
  box-shadow: 0 7px 0 -3px var(--gold);
}

.header-actions {
  justify-content: flex-end;
  gap: 18px;
}

.profile-button {
  border: 0;
  color: var(--text);
  background: transparent;
}

.profile-menu-wrap {
  position: relative;
}

.profile-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.profile-button:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.profile-caret {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--blue);
  transition: transform 0.18s ease;
}

.profile-menu-wrap:has(.profile-dropdown:not([hidden])) .profile-caret {
  transform: rotate(180deg);
}

.profile-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  z-index: 90;
  min-width: 170px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 11, 19, 0.98);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform-origin: top right;
  animation: menuIn 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}

.profile-dropdown a {
  display: block;
  padding: 13px 16px;
  color: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid var(--line);
  transition: background 0.16s ease, color 0.16s ease, padding-left 0.16s ease;
}

.profile-dropdown a:hover {
  color: var(--text);
  background: rgba(155, 239, 20, 0.08);
  padding-left: 20px;
}

.coin-pill {
  gap: 8px;
  font-weight: 900;
}

.diamond {
  width: 20px;
  height: 20px;
  display: inline-block;
  border: 2px solid var(--blue);
  transform: rotate(45deg);
  box-shadow: 0 0 14px rgba(54, 184, 255, 0.5);
}

.profile-avatar {
  width: 44px;
  height: 44px;
  display: block;
  border: 2px solid #60a5fa;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 35%, #dbeafe 0 16%, transparent 17%),
    radial-gradient(circle at 50% 76%, #93c5fd 0 28%, transparent 29%),
    #1d2940;
}

.profile-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.profile-section {
  padding-top: 128px;
}

.profile-dashboard {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.profile-sidebar,
.profile-content-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(14, 20, 34, 0.9);
  box-shadow: var(--shadow);
  padding: 28px;
  animation: panelIn 0.28s ease-out both;
}

.profile-sidebar {
  text-align: center;
}

.profile-large-avatar {
  width: 144px;
  height: 144px;
  object-fit: cover;
  border: 2px solid rgba(155, 239, 20, 0.6);
  border-radius: 999px;
  margin: 0 auto 22px;
  box-shadow: 0 0 30px rgba(155, 239, 20, 0.12);
}

.profile-sidebar h2 {
  margin: 0 0 4px;
}

.profile-sidebar p {
  color: var(--muted);
}

.profile-badge {
  margin: 18px 0 10px;
  padding: 10px 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 900;
}

.vip-card {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding: 22px;
  border: 1px solid rgba(54, 184, 255, 0.3);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(54, 184, 255, 0.12), rgba(155, 239, 20, 0.08));
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.vip-card:hover {
  transform: translateY(-2px);
  border-color: rgba(155, 239, 20, 0.5);
  background: linear-gradient(145deg, rgba(54, 184, 255, 0.16), rgba(155, 239, 20, 0.11));
}

.vip-card span {
  color: var(--muted);
}

.profile-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.profile-tabs button {
  min-height: 46px;
  border: 1px solid rgba(155, 239, 20, 0.45);
  border-radius: 6px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 900;
  font-size: 1rem;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.profile-tabs button:hover {
  transform: translateY(-1px);
  border-color: rgba(155, 239, 20, 0.72);
}

.profile-tabs button.is-active {
  color: #111827;
  background: var(--gold);
}

.profile-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.profile-table {
  overflow: auto;
}

.profile-table-head,
.profile-table-row {
  min-width: 760px;
  display: grid;
  grid-template-columns: 80px 80px 1.6fr 1.2fr 110px 110px;
  gap: 14px;
  align-items: center;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  transition: background 0.16s ease;
}

.profile-table-row:hover {
  background: rgba(255, 255, 255, 0.035);
}

.profile-table-head {
  color: #d8dee9;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 900;
}

.profile-table-empty {
  padding: 18px;
  color: var(--muted);
}

.payment-status {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 6px;
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.15);
}

.profile-heading img {
  width: 94px;
  height: 94px;
  object-fit: cover;
  border: 2px solid var(--gold);
  border-radius: 8px;
  background: #111827;
}

.profile-heading h2 {
  margin: 10px 0 4px;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 22px;
}

.profile-grid div {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.profile-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 900;
}

.profile-grid strong {
  display: block;
  overflow-wrap: anywhere;
}

.character-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.character-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.character-row span {
  color: var(--gold);
  font-weight: 900;
}

.ticket-history,
.ticket-chat {
  display: grid;
  gap: 12px;
}

.support-section {
  min-height: calc(100vh - 84px);
}

.support-frame {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(14, 20, 34, 0.98), rgba(14, 20, 34, 0.88)),
    rgba(14, 20, 34, 0.92);
  box-shadow: var(--shadow);
  padding: 28px;
  animation: panelIn 0.26s ease-out both;
}

.support-frame-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.support-tab {
  min-width: 176px;
  min-height: 46px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(155, 239, 20, 0.7);
  border-radius: 6px;
  color: var(--text);
  font-weight: 900;
  font-size: 1.25rem;
}

.support-workspace {
  display: grid;
  gap: 24px;
}

.support-workspace-history {
  grid-template-columns: 1fr;
}

.support-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 12, 22, 0.48);
  padding: 24px;
}

.support-titlebar,
.ticket-topline {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
}

.support-titlebar {
  margin-bottom: 18px;
}

.support-titlebar h2 {
  margin: 10px 0 0;
}

.support-titlebar > strong {
  color: var(--gold);
  font-size: 0.82rem;
}

.support-history {
  min-height: 560px;
}

.support-modal[hidden] {
  display: none;
}

.support-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  overflow: auto;
}

.support-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.support-modal-panel {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100vw - 36px));
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 24px;
  animation: modalIn 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.support-modal-panel .modal-close {
  right: 14px;
  top: 14px;
}

.support-modal-panel .support-titlebar {
  padding-right: 46px;
}

.support-modal-panel textarea {
  min-height: 132px;
  max-height: 220px;
}

.modal-open {
  overflow: hidden;
}

.support-empty,
.support-loading {
  padding: 18px;
  border: 1px dashed rgba(155, 239, 20, 0.32);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(155, 239, 20, 0.06);
}

.ticket-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.ticket-item summary {
  list-style: none;
  cursor: pointer;
}

.ticket-item summary::-webkit-details-marker {
  display: none;
}

.ticket-resolved {
  background: rgba(34, 197, 94, 0.055);
}

.ticket-resolved:not([open]) {
  padding-bottom: 16px;
}

.ticket-item:hover {
  transform: translateY(-1px);
  border-color: rgba(155, 239, 20, 0.28);
  background: rgba(255, 255, 255, 0.05);
}

.ticket-row-compact {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  transition: background 0.16s ease;
}

.ticket-row-compact:hover {
  background: rgba(255, 255, 255, 0.045);
}

.ticket-row-compact:first-child {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.ticket-row-compact:last-child {
  border-bottom: 0;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.ticket-row-compact small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.ticket-status {
  min-width: max-content;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 900;
  background: rgba(155, 239, 20, 0.1);
}

.ticket-status.progress {
  color: #dff6ff;
  background: rgba(54, 184, 255, 0.14);
}

.ticket-status.waiting {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.15);
}

.ticket-status.closed {
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.15);
}

.ticket-chat {
  margin: 12px 0;
  max-height: 360px;
  overflow: auto;
  padding-right: 6px;
}

.ticket-message {
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.ticket-message.staff {
  border: 1px solid rgba(155, 239, 20, 0.35);
  background: rgba(155, 239, 20, 0.08);
}

.ticket-message p {
  margin: 6px 0 0;
}

.donation-note,
.donation-modal-note {
  margin: -12px 0 24px;
  padding: 14px 16px;
  border: 1px solid rgba(155, 239, 20, 0.26);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(155, 239, 20, 0.07);
}

.donation-note {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.donation-note strong {
  color: var(--gold);
}

.donation-modal-note {
  margin: 12px 0 0;
}

.ticket-reply {
  display: grid;
  gap: 10px;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 6px 8px;
  border-radius: 999px;
  background: #fff;
}

.app-shell {
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 120px 20px 56px;
  background:
    radial-gradient(circle at 50% 22%, rgba(155, 239, 20, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(8, 11, 19, 0.18), #080b13 96%),
    linear-gradient(90deg, rgba(8, 11, 19, 0.98), rgba(8, 22, 18, 0.26) 48%, rgba(8, 11, 19, 0.98)),
    url('https://images.unsplash.com/photo-1449824913935-59a10b8d2000?auto=format&fit=crop&w=1800&q=85') center / cover;
}

.hero::before {
  content: 'Zap City';
  position: absolute;
  inset: 25% auto auto 6%;
  font-size: min(13vw, 160px);
  font-weight: 900;
  font-style: italic;
  color: rgba(155, 239, 20, 0.045);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: min(680px, 84vw);
  height: min(720px, 80vh);
  background:
    linear-gradient(180deg, transparent 70%, #080b13 99%),
    url('/site/assets/zapcity-logo.png') center top / contain no-repeat;
  filter: saturate(1.12) contrast(1.08);
  opacity: 0.6;
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: var(--shell);
  margin-top: 170px;
  text-align: center;
  animation: heroIn 0.46s ease-out both;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(155, 239, 20, 0.45);
  border-radius: 999px;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  background: var(--accent-soft);
}

.hero-title {
  max-width: 1000px;
  margin: 18px auto 22px;
  text-transform: uppercase;
  font-size: clamp(48px, 8vw, 94px);
  line-height: 0.98;
  letter-spacing: 0;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.75);
}

.hero-title strong {
  color: var(--gold);
}

.hero-subtitle {
  max-width: 720px;
  margin: 0 auto 26px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
  line-height: 1.7;
}

.hero-actions,
.social-bar,
.section-actions,
.button-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.primary-button,
.secondary-button,
.ghost-button,
.mini-button {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.26em;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease;
}

.primary-button {
  color: #111827;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 0 28px rgba(155, 239, 20, 0.16);
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover,
.mini-button:hover {
  transform: translateY(-1px);
}

.primary-button:hover {
  box-shadow: 0 14px 36px rgba(155, 239, 20, 0.22);
}

.secondary-button {
  color: #dff6ff;
  border-color: rgba(54, 184, 255, 0.34);
  background: rgba(54, 184, 255, 0.1);
}

.ghost-button {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.mini-button {
  min-height: 38px;
  padding: 0 14px;
  letter-spacing: 0.08em;
}

.social-bar {
  width: min(470px, 90vw);
  min-height: 54px;
  align-items: center;
  margin: 22px auto 0;
  border: 1px solid rgba(155, 239, 20, 0.42);
  border-radius: 6px;
  background: rgba(6, 10, 18, 0.52);
}

.social-bar a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.section {
  padding: 86px 0;
  background: var(--bg);
}

.section.alt {
  background: #0b101b;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 10px 0 0;
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1.04;
  text-transform: uppercase;
  letter-spacing: 0;
}

.section-heading p {
  max-width: 640px;
  color: var(--muted);
  line-height: 1.7;
}

.product-grid,
.feature-grid,
.news-grid,
.metric-grid {
  display: grid;
  gap: 20px;
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid,
.metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.news-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.community-layout {
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.community-callout {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.patch-grid {
  align-items: stretch;
}

.patch-card {
  position: relative;
  overflow: hidden;
}

.patch-card::after {
  content: '';
  position: absolute;
  inset: auto 18px 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.6;
}

.patch-dot {
  width: 12px;
  height: 12px;
  display: inline-block;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 20px rgba(155, 239, 20, 0.52);
}

.product-card,
.feature-card,
.news-card,
.access-card,
.quiz-card,
.order-modal,
.status-card,
.loading-screen {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.product-card {
  overflow: hidden;
}

.product-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.05);
}

.tag-row {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.tag {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  color: #111827;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  background: var(--gold);
}

.tag.blue {
  color: #dff6ff;
  background: rgba(54, 184, 255, 0.25);
}

.product-body,
.feature-card,
.news-card,
.access-card,
.quiz-card,
.status-card {
  padding: 22px;
}

.discord-widget-card iframe {
  width: 100%;
  max-width: 100%;
  min-height: 500px;
  margin-top: 16px;
  border-radius: 8px;
  background: #111827;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.5s ease,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.18s ease,
    background 0.18s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.product-body h3,
.feature-card h3,
.news-card h3 {
  margin: 0 0 10px;
  font-size: 1.16rem;
}

.product-body p,
.feature-card p,
.news-card p,
.access-card p,
.quiz-card p,
.status-card p {
  color: var(--muted);
  line-height: 1.65;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
}

.price-row strong {
  font-size: 1.35rem;
}

.category-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.category-tabs button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.04);
}

.category-tabs button.is-active {
  color: #111827;
  border-color: var(--gold);
  background: var(--gold);
}

.access-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 24px;
  align-items: start;
}

.access-card form,
.quiz-card form,
.order-modal {
  display: grid;
  gap: 14px;
}

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

label {
  display: grid;
  gap: 8px;
}

label span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--text);
  background: #080d17;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(155, 239, 20, 0.65);
  box-shadow: 0 0 0 3px rgba(155, 239, 20, 0.12);
}

.quiz-list {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.quiz-question {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.quiz-question strong {
  display: block;
  margin-bottom: 12px;
}

.quiz-options {
  display: grid;
  gap: 8px;
}

.quiz-options label {
  grid-template-columns: 18px 1fr;
  align-items: center;
  margin: 0;
  color: var(--muted);
}

.result-box {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.result-box.success {
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(34, 197, 94, 0.1);
}

.result-box.warning {
  border-color: rgba(155, 239, 20, 0.45);
  background: rgba(155, 239, 20, 0.1);
}

.result-box.error {
  border-color: rgba(239, 68, 68, 0.45);
  background: rgba(239, 68, 68, 0.1);
}

.order-dialog {
  width: min(620px, calc(100vw - 28px));
  border: 0;
  padding: 0;
  background: transparent;
}

.order-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.order-modal {
  position: relative;
  padding: 26px;
  color: var(--text);
}

.modal-close {
  position: absolute;
  right: 16px;
  top: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.loading-screen {
  width: min(480px, 92vw);
  min-height: 220px;
  display: grid;
  place-items: center;
  margin: 140px auto;
  padding: 28px;
}

.loader {
  width: 42px;
  height: 42px;
  border: 4px solid rgba(255, 255, 255, 0.16);
  border-top-color: var(--gold);
  border-radius: 999px;
  animation: spin 0.9s linear infinite;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  width: min(420px, calc(100vw - 36px));
}

.toast-message {
  margin-top: 10px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: #111827;
  box-shadow: var(--shadow);
}

.toast-message.success {
  border-color: rgba(34, 197, 94, 0.4);
}

.toast-message.error {
  border-color: rgba(239, 68, 68, 0.4);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes menuIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 190px 1fr 180px;
  }

  .main-nav {
    gap: 16px;
    font-size: 0.82rem;
  }

  .product-grid,
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid,
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .access-layout {
    grid-template-columns: 1fr;
  }

  .community-layout {
    grid-template-columns: 1fr;
  }

  .support-workspace {
    grid-template-columns: 1fr;
  }

  .profile-dashboard,
  .profile-form-grid,
  .profile-tabs {
    grid-template-columns: 1fr;
  }

  .profile-sidebar {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    text-align: left;
    column-gap: 22px;
  }

  .profile-large-avatar {
    grid-row: span 5;
    width: 118px;
    height: 118px;
    margin: 0;
  }

  .vip-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
    height: auto;
    min-height: 76px;
    padding: 12px 18px;
  }

  .menu-button {
    display: block;
  }

  .main-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px 0;
  }

  .header-actions {
    display: flex;
    grid-column: 1 / -1;
    justify-content: space-between;
    width: 100%;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .profile-dropdown {
    right: 0;
  }

  .hero {
    min-height: 780px;
  }

  .hero-content {
    margin-top: 250px;
  }

  .section-heading,
  .price-row,
  .field-row {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .product-grid,
  .news-grid,
  .feature-grid,
  .metric-grid,
  .community-layout {
    grid-template-columns: 1fr;
  }

  .discord-widget-card iframe {
    min-height: 430px;
  }

  .support-frame {
    padding: 18px;
  }

  .support-frame-head,
  .support-titlebar {
    flex-direction: column;
    align-items: stretch;
  }

  .support-tab {
    width: 100%;
  }

  .support-modal {
    align-items: start;
    padding: 10px;
  }

  .support-modal-panel {
    width: min(100%, calc(100vw - 20px));
    max-height: calc(100vh - 20px);
    padding: 18px;
  }

  .support-modal-panel .field-row {
    grid-template-columns: 1fr;
  }

  .profile-section {
    padding-top: 126px;
  }

  .profile-dashboard {
    gap: 18px;
  }

  .profile-sidebar,
  .profile-content-panel {
    padding: 20px;
  }

  .profile-sidebar {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .profile-large-avatar {
    width: 112px;
    height: 112px;
    margin: 0 auto 16px;
  }

  .profile-table-head,
  .profile-table-row {
    min-width: 680px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* Portal redesign */
:root {
  --bg: #050807;
  --bg-soft: #08100d;
  --panel: rgba(8, 14, 13, 0.76);
  --panel-strong: rgba(12, 22, 19, 0.94);
  --line: rgba(169, 255, 89, 0.14);
  --text: #f5f7f2;
  --muted: #a8b2a7;
  --gold: #a8ff2a;
  --accent: #a8ff2a;
  --accent-strong: #52d211;
  --accent-soft: rgba(168, 255, 42, 0.1);
  --blue: #7dd3fc;
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.54);
}

body {
  background:
    radial-gradient(circle at 80% 10%, rgba(168, 255, 42, 0.1), transparent 28%),
    radial-gradient(circle at 15% 35%, rgba(20, 184, 166, 0.08), transparent 28%),
    #050807;
}

.site-header {
  height: 78px;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  background: rgba(4, 8, 7, 0.78);
  border-bottom: 1px solid rgba(168, 255, 42, 0.18);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.32);
}

.main-nav {
  gap: clamp(12px, 1.5vw, 24px);
  font-size: 0.78rem;
}

.main-nav a {
  padding: 29px 0;
}

.header-actions {
  gap: 12px;
}

.header-play-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(168, 255, 42, 0.55);
  border-radius: 6px;
  padding: 0 15px;
  color: #071006;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: 0 0 26px rgba(168, 255, 42, 0.16);
  white-space: nowrap;
}

.coin-pill {
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid rgba(168, 255, 42, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
}

.diamond {
  width: 15px;
  height: 15px;
  border-color: var(--accent);
  box-shadow: 0 0 14px rgba(168, 255, 42, 0.36);
}

.portal-hero {
  min-height: 96vh;
  place-items: end start;
  padding: 130px 0 64px;
  background:
    linear-gradient(180deg, rgba(5, 8, 7, 0.18), #050807 96%),
    linear-gradient(90deg, rgba(5, 8, 7, 0.98) 0%, rgba(5, 8, 7, 0.74) 43%, rgba(5, 8, 7, 0.38) 72%, rgba(5, 8, 7, 0.92) 100%),
    url('https://images.unsplash.com/photo-1519501025264-65ba15a82390?auto=format&fit=crop&w=2200&q=86') center / cover;
}

.portal-hero::before {
  content: '';
  inset: 0;
  background:
    linear-gradient(rgba(168, 255, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 255, 42, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.62), transparent 82%);
}

.portal-hero::after {
  right: 5%;
  bottom: 4%;
  width: min(520px, 46vw);
  height: min(520px, 56vh);
  opacity: 0.24;
  filter: drop-shadow(0 0 42px rgba(168, 255, 42, 0.22));
}

.portal-hero-content {
  width: var(--shell);
  margin: 0 auto;
  text-align: left;
}

.portal-hero .hero-title {
  max-width: 940px;
  margin-left: 0;
  margin-right: 0;
  font-size: clamp(42px, 7vw, 92px);
}

.portal-hero .hero-subtitle {
  max-width: 760px;
  margin-left: 0;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.portal-hero .hero-actions,
.portal-hero .hero-proof-row {
  justify-content: flex-start;
}

.hero-proof-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero-proof-row span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(168, 255, 42, 0.18);
  border-radius: 999px;
  padding: 0 13px;
  color: rgba(245, 247, 242, 0.78);
  background: rgba(5, 8, 7, 0.56);
  font-size: 0.8rem;
  font-weight: 800;
}

.primary-button,
.secondary-button,
.ghost-button,
.mini-button {
  border-radius: 6px;
  letter-spacing: 0.12em;
}

.primary-button {
  color: #071006;
  box-shadow: 0 0 32px rgba(168, 255, 42, 0.14);
}

.primary-button:hover {
  box-shadow: 0 18px 44px rgba(168, 255, 42, 0.22);
}

.secondary-button {
  color: #edffdf;
  border-color: rgba(168, 255, 42, 0.28);
  background: rgba(168, 255, 42, 0.07);
}

.ghost-button {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
}

.section {
  position: relative;
  padding: 92px 0;
}

.section.alt {
  background:
    radial-gradient(circle at 10% 0%, rgba(168, 255, 42, 0.06), transparent 26%),
    #07100d;
}

.section-heading h2,
.store-copy h2,
.community-band h2 {
  letter-spacing: 0;
}

.status-strip-section {
  padding: 0;
  margin-top: -48px;
  background: transparent;
  z-index: 3;
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 1.35fr;
  gap: 12px;
}

.status-mini-card,
.path-card,
.step-card,
.store-mini-card,
.login-benefit-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    rgba(7, 13, 12, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.status-mini-card {
  min-height: 98px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px;
}

.status-mini-card span,
.store-mini-card span {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.status-mini-card strong {
  font-size: 1.35rem;
}

.status-mini-card.is-live strong {
  color: var(--accent);
  text-shadow: 0 0 22px rgba(168, 255, 42, 0.38);
}

.path-grid,
.steps-grid,
.store-mini-grid,
.login-benefit-grid {
  display: grid;
  gap: 18px;
}

.path-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.path-card {
  min-height: 218px;
  padding: 24px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.path-card:hover,
.store-mini-card:hover,
.login-benefit-card:hover,
.portal-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 255, 42, 0.42);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.6), 0 0 34px rgba(168, 255, 42, 0.08);
}

.path-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(168, 255, 42, 0.34);
  border-radius: 6px;
  color: var(--accent);
  background: rgba(168, 255, 42, 0.08);
  font-weight: 900;
}

.path-card h3,
.store-mini-card h3,
.login-benefit-card h3 {
  margin: 22px 0 10px;
}

.path-card p,
.store-mini-card p,
.login-benefit-card p {
  color: var(--muted);
  line-height: 1.65;
}

.steps-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.compact-heading {
  display: block;
  margin-bottom: 0;
}

.compact-heading .primary-button {
  margin-top: 24px;
}

.steps-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.step-card {
  min-height: 104px;
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 16px;
  padding: 18px;
}

.step-card span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #071006;
  background: var(--accent);
  font-weight: 900;
}

.portal-news-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.portal-card {
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.news-meta time {
  color: var(--accent);
  font-weight: 900;
}

.store-spotlight {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 28px;
  align-items: stretch;
  border: 1px solid rgba(168, 255, 42, 0.16);
  border-radius: 8px;
  padding: 28px;
  background:
    linear-gradient(120deg, rgba(168, 255, 42, 0.09), rgba(255, 255, 255, 0.03)),
    rgba(7, 13, 12, 0.72);
  box-shadow: var(--shadow);
}

.store-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.store-copy h2,
.community-band h2 {
  margin: 12px 0 14px;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.03;
  text-transform: uppercase;
}

.store-copy p,
.community-band p {
  color: var(--muted);
  line-height: 1.7;
}

.store-copy .primary-button {
  width: fit-content;
  margin-top: 22px;
}

.store-mini-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.store-mini-card {
  padding: 22px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.store-mini-card strong {
  display: block;
  margin: 16px 0;
  color: var(--accent);
  font-size: 1.25rem;
}

.community-band-section {
  padding-top: 40px;
}

.community-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(168, 255, 42, 0.2);
  border-radius: 8px;
  padding: 34px;
  background:
    linear-gradient(90deg, rgba(168, 255, 42, 0.12), rgba(20, 184, 166, 0.05)),
    rgba(7, 13, 12, 0.82);
  box-shadow: var(--shadow);
}

.login-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 24px;
  align-items: stretch;
}

.login-main-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 380px;
}

.login-main-card h2 {
  margin: 14px 0 12px;
  font-size: clamp(32px, 5vw, 54px);
  text-transform: uppercase;
}

.login-main-card .primary-button {
  width: fit-content;
  margin-top: 22px;
}

.login-benefit-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.login-benefit-card {
  padding: 24px;
}

.product-card,
.feature-card,
.news-card,
.access-card,
.quiz-card,
.order-modal,
.status-card,
.loading-screen,
.profile-sidebar,
.profile-content-panel,
.support-frame,
.support-card {
  border-color: rgba(168, 255, 42, 0.13);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    rgba(7, 13, 12, 0.78);
  backdrop-filter: blur(14px);
}

.product-card,
.feature-card,
.news-card,
.access-card,
.status-card {
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.product-card:hover,
.feature-card:hover,
.access-card:hover,
.status-card:hover {
  transform: translateY(-3px);
  border-color: rgba(168, 255, 42, 0.32);
}

.inner-page .hero-title {
  font-size: clamp(38px, 6vw, 72px);
}

.site-footer {
  border-top: 1px solid rgba(168, 255, 42, 0.14);
  background: #040706;
  padding: 44px 0;
}

.footer-shell {
  width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.7fr auto;
  gap: 26px;
  align-items: start;
}

.footer-logo {
  width: fit-content;
}

.site-footer p {
  max-width: 420px;
  color: var(--muted);
  line-height: 1.7;
}

.site-footer nav {
  display: grid;
  gap: 10px;
}

.site-footer a {
  color: rgba(245, 247, 242, 0.76);
}

.site-footer a:hover {
  color: var(--accent);
}

.site-footer small {
  color: var(--muted);
  text-align: right;
}

@media (max-width: 1280px) {
  .site-header {
    grid-template-columns: 176px minmax(0, 1fr) auto;
    gap: 14px;
  }

  .main-nav {
    gap: 12px;
  }

  .main-nav a {
    font-size: 0.72rem;
  }

  .header-play-button {
    display: none;
  }

  .portal-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .status-strip,
  .path-grid,
  .store-mini-grid,
  .login-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-layout,
  .store-spotlight,
  .login-layout {
    grid-template-columns: 1fr;
  }

  .community-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-shell {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer small {
    text-align: left;
  }
}

@media (max-width: 820px) {
  .site-header {
    background: rgba(4, 8, 7, 0.94);
  }

  .header-actions {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .header-play-button {
    display: inline-flex;
    grid-column: 1 / -1;
  }

  .portal-hero {
    min-height: 760px;
    padding: 230px 0 48px;
  }

  .portal-hero-content {
    text-align: left;
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
  }

  .portal-hero .hero-title {
    font-size: 38px;
    line-height: 1.05;
    overflow-wrap: break-word;
  }

  .portal-hero .hero-title strong {
    display: block;
  }

  .portal-hero .hero-subtitle {
    font-size: 0.95rem;
    width: min(100%, 31ch);
    overflow-wrap: break-word;
  }

  .portal-hero .hero-actions {
    justify-content: stretch;
  }

  .portal-hero .hero-actions > * {
    width: 100%;
  }

  .hero-proof-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-proof-row span {
    width: 100%;
    justify-content: center;
  }

  .status-strip-section {
    margin-top: 0;
    padding: 18px 0 0;
  }

  .status-strip,
  .path-grid,
  .steps-grid,
  .store-mini-grid,
  .login-benefit-grid,
  .portal-news-grid,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .store-spotlight,
  .community-band {
    padding: 22px;
  }
}
