:root {
  --bg: #020617;
  --bg-soft: #071126;
  --panel: rgba(10, 18, 38, 0.8);
  --panel-strong: rgba(13, 24, 47, 0.96);
  --line: rgba(148, 163, 184, 0.16);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --subtle: #94a3b8;
  --primary: #38bdf8;
  --primary-strong: #2563eb;
  --accent: #f59e0b;
  --accent-soft: rgba(245, 158, 11, 0.18);
  --success: #22c55e;
  --shadow: 0 24px 70px rgba(2, 6, 23, 0.45);
  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --container: min(1180px, calc(100% - 32px));
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, Segoe UI, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(56, 189, 248, 0.14), transparent 32%),
    radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.12), transparent 24%),
    linear-gradient(180deg, #020617 0%, #020817 35%, #040b1d 100%);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
  touch-action: manipulation;
}

button {
  border: none;
  cursor: pointer;
}

body.menu-open {
  overflow: hidden;
}

.site-shell {
  position: relative;
  isolation: isolate;
}

.background-glow,
.background-grid,
.starfield {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.background-glow {
  background:
    radial-gradient(circle at 15% 20%, rgba(56, 189, 248, 0.16), transparent 24%),
    radial-gradient(circle at 82% 16%, rgba(245, 158, 11, 0.16), transparent 16%),
    radial-gradient(circle at 50% 85%, rgba(37, 99, 235, 0.16), transparent 24%);
  z-index: -3;
}

.background-grid {
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at center, black 55%, transparent 100%);
  z-index: -2;
}

.starfield {
  overflow: hidden;
  z-index: -1;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.7);
  animation: twinkle linear infinite;
}

.cursor-glow {
  position: fixed;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.14), transparent 68%);
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
  transform: translate(-50%, -50%);
  transition: opacity 0.25s ease;
  opacity: 0.9;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 96px 0;
  position: relative;
  z-index: 1;
}

.section-header {
  max-width: 700px;
  margin-bottom: 34px;
}

.section-header.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 999px;
  background: rgba(8, 15, 31, 0.62);
  color: var(--primary);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.7);
}

h1,
h2,
h3,
h4 {
  line-height: 1.05;
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.3rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.25rem;
}

p {
  line-height: 1.7;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.lead {
  font-size: 1.08rem;
  max-width: 62ch;
}

.text-gradient {
  background: linear-gradient(90deg, #67e8f9 0%, #38bdf8 40%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(2, 6, 23, 0.62);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.header-inner {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 86px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  min-width: 0;
}

.brand img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(56, 189, 248, 0.2));
}

.brand-copy strong {
  display: block;
  font-size: 1rem;
}

.brand-copy {
  min-width: 0;
}

.brand-copy span {
  display: block;
  color: var(--subtle);
  font-size: 0.8rem;
  margin-top: 2px;
  overflow-wrap: anywhere;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--subtle);
  transition: 0.25s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  background: rgba(56, 189, 248, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: 0 6px 16px rgba(2, 6, 23, 0.18);
  color: var(--text);
  justify-items: center;
  align-content: center;
  gap: 4px;
}

.mobile-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 0;
  background: currentColor;
  border-radius: 999px;
}

.nav-backdrop,
.nav-close,
.mobile-drawer,
.mobile-drawer-close {
  display: none;
}

.btn,
.btn-secondary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  padding: 14px 22px;
  min-height: 52px;
  font-weight: 700;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn {
  color: white;
  background: linear-gradient(90deg, var(--primary-strong), var(--primary));
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.26);
}

.btn:hover,
.btn-secondary:hover,
.btn-ghost:hover,
.card:hover,
.mini-card:hover,
.list-card:hover,
.pricing-card:hover,
.contact-card:hover,
.info-card:hover,
.ticket-card:hover,
.topic-card:hover {
  transform: translateY(-4px);
}

.btn:hover {
  box-shadow: 0 22px 46px rgba(56, 189, 248, 0.28);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.btn-ghost {
  color: var(--primary);
  background: transparent;
  border: 1px solid rgba(56, 189, 248, 0.24);
}

.glow {
  position: relative;
  overflow: hidden;
}

.glow::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(120deg, transparent 25%, rgba(255, 255, 255, 0.24), transparent 75%);
  transform: translateX(-100%);
}

.glow:hover::after {
  animation: shimmer 1s ease;
}

.hero {
  min-height: calc(100vh - 86px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.68) 0%, rgba(2, 6, 23, 0.42) 48%, rgba(2, 6, 23, 0.12) 82%, rgba(2, 6, 23, 0) 100%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.88) 0%, rgba(2, 6, 23, 0.68) 45%, rgba(2, 6, 23, 0.5) 100%),
    url("Images/background.png") center/cover no-repeat;
  z-index: -2;
  transform: scale(1.01);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 200px;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0) 0%, rgba(2, 6, 23, 0.28) 32%, rgba(2, 6, 23, 0.82) 78%, rgba(2, 6, 23, 1) 100%);
  z-index: -1;
}

.hero-grid {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 34px;
  padding: 52px 0;
}

.hero-grid-single {
  grid-template-columns: 1fr;
  justify-items: center;
  align-content: center;
  min-height: calc(100vh - 86px);
  place-items: center;
}

.hero-grid>*,
.forum-layout>*,
.contact-layout>*,
.ticket-layout>*,
.shop-layout>*,
.auth-layout>*,
.showcase>* {
  min-width: 0;
}

.hero-copy p {
  margin-top: 18px;
}

.hero-spectacle {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 20px 0;
  display: grid;
  justify-items: center;
  align-content: center;
  place-self: center;
  text-align: center;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-display {
  display: grid;
  width: 100%;
  max-width: 10.5ch;
  margin-inline: auto;
  gap: 0.08em;
  justify-items: center;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(56, 189, 248, 0.16);
}

.hero-display span {
  display: block;
  justify-self: center;
}

.hero-display span:first-child {
  font-size: clamp(2rem, 5vw, 3.8rem);
  letter-spacing: 0.08em;
}

.hero-display span:first-child {
  color: #f8fafc;
  text-shadow: 0 0 28px rgba(255, 255, 255, 0.1);
}

.hero-display .text-gradient {
  font-size: clamp(1.95rem, 5.2vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 1;
  filter: drop-shadow(0 0 24px rgba(56, 189, 248, 0.2));
  text-align: center;
}

.hero+.section {
  margin-top: -68px;
  padding-top: 154px;
}

.hero+.section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 180px;
  background: linear-gradient(180deg, rgba(4, 11, 29, 0) 0%, rgba(4, 11, 29, 0.42) 42%, rgba(4, 11, 29, 0.92) 100%);
  pointer-events: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.stat-card,
.mini-card,
.info-card,
.list-card,
.topic-card,
.contact-card,
.ticket-card,
.pricing-card,
.card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(7, 17, 38, 0.88));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 18px;
}

.stat-card strong {
  display: block;
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 6px;
}

.stat-card span {
  color: var(--subtle);
  font-size: 0.95rem;
}

.hero-panel {
  padding: 24px;
  background: linear-gradient(180deg, rgba(7, 12, 28, 0.86), rgba(9, 18, 38, 0.95));
  border-radius: var(--radius-xl);
  border: 1px solid rgba(56, 189, 248, 0.14);
  box-shadow: 0 24px 90px rgba(2, 6, 23, 0.55);
}

.hero-panel .panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #86efac;
  font-size: 0.88rem;
}

.status-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.server-address {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(2, 6, 23, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.server-address code {
  font-size: 1.08rem;
  color: var(--text);
}

.inline-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.inline-actions>* {
  min-width: 0;
}

.kicker-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.kicker-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
}

.kicker-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: rgba(56, 189, 248, 0.12);
  flex-shrink: 0;
}

.card-grid,
.info-grid,
.topic-grid,
.contact-grid,
.ticket-grid,
.pricing-grid,
.mode-grid,
.footer-grid {
  display: grid;
  gap: 22px;
}

.mode-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.card-body {
  padding: 22px;
}

.card-body p {
  margin-top: 8px;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.1);
  color: #7dd3fc;
  font-size: 0.82rem;
}

.mini-card,
.info-card,
.list-card,
.topic-card,
.contact-card,
.ticket-card,
.pricing-card {
  padding: 24px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.info-grid,
.contact-grid,
.ticket-grid,
.pricing-grid,
.topic-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.list-card {
  display: grid;
  gap: 14px;
}

.list-card ul,
.topic-card ul,
.pricing-card ul,
.ticket-card ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.list-card li,
.topic-card li,
.pricing-card li,
.ticket-card li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.list-card li::before,
.topic-card li::before,
.pricing-card li::before,
.ticket-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), #f97316);
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.45);
}

.showcase {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: stretch;
}

.showcase-visual {
  min-height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: var(--shadow);
}

.showcase-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-copy {
  display: grid;
  gap: 20px;
}

.callout {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(245, 158, 11, 0.14));
  border: 1px solid rgba(125, 211, 252, 0.14);
  box-shadow: var(--shadow);
}

.callout .inline-actions {
  margin-top: 18px;
}

.forum-layout,
.contact-layout,
.ticket-layout,
.shop-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}

.stack {
  display: grid;
  gap: 22px;
}

.thread-row,
.shop-row,
.ticket-row,
.contact-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.thread-row:last-child,
.shop-row:last-child,
.ticket-row:last-child,
.contact-row:last-child {
  border-bottom: none;
}

.row-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--bg);
  background: linear-gradient(180deg, #7dd3fc, #fbbf24);
}

.row-meta small {
  display: block;
  color: var(--subtle);
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.row-side {
  text-align: right;
  color: var(--subtle);
  font-size: 0.92rem;
  min-width: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  color: #fcd34d;
  font-size: 0.84rem;
  font-weight: 700;
}

.badge.blue {
  background: rgba(56, 189, 248, 0.12);
  color: #7dd3fc;
}

.badge.green {
  background: rgba(34, 197, 94, 0.12);
  color: #86efac;
}

.pricing-card.featured {
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-8px);
  background: linear-gradient(180deg, rgba(16, 27, 50, 0.98), rgba(10, 19, 39, 0.98));
}

.price {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 18px 0;
  flex-wrap: wrap;
}

.price strong {
  font-size: 2.6rem;
  line-height: 1;
}

.faq-item {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.84);
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.faq-item+.faq-item {
  margin-top: 16px;
}

.faq-item p {
  margin-top: 10px;
}

.form-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(8, 17, 35, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

input,
textarea,
select {
  width: 100%;
  border-radius: 14px;
  padding: 14px 16px;
  color: var(--text);
  background: rgba(2, 6, 23, 0.74);
  border: 1px solid rgba(148, 163, 184, 0.16);
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.notice {
  margin-top: 14px;
  color: var(--subtle);
  font-size: 0.9rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--subtle);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.breadcrumbs span {
  color: rgba(148, 163, 184, 0.5);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.1);
  color: #7dd3fc;
  font-size: 0.84rem;
  margin-bottom: 16px;
}

.thread-link,
.thread-preview {
  color: inherit;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  border-radius: 16px;
}

.thread-link:hover,
.thread-preview:hover {
  background: rgba(56, 189, 248, 0.05);
}

.thread-link .row-meta strong,
.thread-preview .row-meta strong {
  transition: color 0.25s ease;
}

.thread-link:hover .row-meta strong,
.thread-preview:hover .row-meta strong {
  color: #7dd3fc;
}

.forum-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(7, 17, 38, 0.88));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.forum-toolbar .inline-actions {
  align-items: center;
}

.post-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(12, 22, 43, 0.96), rgba(8, 16, 33, 0.95));
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: var(--shadow);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.author-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.author-avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--bg);
  background: linear-gradient(180deg, #7dd3fc, #fbbf24);
}

.post-content {
  display: grid;
  gap: 16px;
  overflow-wrap: anywhere;
}

.post-content h2,
.post-content h3 {
  margin-top: 6px;
}

.post-content ul,
.post-content ol {
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.8;
}

.post-content blockquote {
  padding: 18px 20px;
  border-left: 3px solid var(--primary);
  background: rgba(56, 189, 248, 0.06);
  border-radius: 0 16px 16px 0;
  color: var(--muted);
}

.reply-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(9, 17, 35, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.reply-card+.reply-card {
  margin-top: 18px;
}

.auth-shell {
  min-height: calc(100vh - 86px);
  display: grid;
  place-items: center;
  padding: 48px 0 84px;
}

.auth-layout {
  width: var(--container);
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 24px;
  align-items: stretch;
}

.auth-panel,
.auth-side {
  padding: 30px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(8, 17, 35, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: var(--shadow);
}

.auth-side {
  display: grid;
  align-content: start;
  gap: 18px;
}

.auth-panel .form-grid {
  margin-top: 22px;
}

.muted-link {
  color: #7dd3fc;
}

.muted-link:hover {
  color: white;
}

.site-footer {
  padding: 28px 0 46px;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  position: relative;
  z-index: 1;
}

.footer-grid {
  grid-template-columns: 1.1fr 0.9fr 0.9fr 0.9fr 0.9fr;
  align-items: start;
}

.footer-brand p {
  margin-top: 14px;
  max-width: 38ch;
}

.footer-column h4 {
  margin-bottom: 16px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: var(--muted);
}

.footer-links span {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  color: var(--subtle);
  font-size: 0.92rem;
}

.footer-bottom span {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes shimmer {
  to {
    transform: translateX(100%);
  }
}

@keyframes twinkle {
  0% {
    opacity: 0.15;
    transform: translateY(0) scale(1);
  }

  50% {
    opacity: 1;
    transform: translateY(-10px) scale(1.5);
  }

  100% {
    opacity: 0.2;
    transform: translateY(-20px) scale(1);
  }
}

@media (max-width: 1080px) {

  .hero-grid,
  .showcase,
  .forum-layout,
  .contact-layout,
  .ticket-layout,
  .shop-layout,
  .auth-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .mode-grid,
  .info-grid,
  .contact-grid,
  .ticket-grid,
  .pricing-grid,
  .topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 860px) {
  .mobile-toggle {
    display: grid;
    padding: 0;
  }

  .header-actions {
    gap: 8px;
  }

  .header-inner {
    min-height: 78px;
    gap: 12px;
  }

  .site-nav {
    display: none;
  }

  .mobile-drawer {
    position: fixed;
    top: 86px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: min(72vw, 248px);
    min-height: 260px;
    max-height: calc(100vh - 96px);
    padding: 60px 12px 14px;
    background: rgba(5, 11, 24, 0.985);
    border-left: 1px solid rgba(148, 163, 184, 0.12);
    box-shadow: -20px 0 36px rgba(2, 6, 23, 0.24);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    pointer-events: none;
    transition: opacity 0.18s ease, visibility 0.18s ease;
    border-radius: 18px;
    opacity: 0;
    visibility: hidden;
    z-index: 45;
  }

  body.menu-open .mobile-drawer {
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
  }

  .mobile-drawer-link {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    padding: 12px 13px;
    font-size: 0.93rem;
    color: var(--subtle);
    border-radius: 12px;
  }

  .mobile-drawer-link.active,
  .mobile-drawer-link:hover {
    color: var(--text);
    background: rgba(56, 189, 248, 0.08);
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    border: none;
    background: rgba(2, 6, 23, 0.56);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 40;
  }

  body.menu-open .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-drawer-close {
    display: inline-flex;
    position: absolute;
    top: 12px;
    right: 12px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 0;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(15, 23, 42, 0.82);
    color: var(--text);
    font-size: 1.7rem;
    line-height: 1;
  }

  .mobile-drawer-close span {
    transform: translateY(-1px);
  }

  .header-actions .btn-secondary {
    display: none;
  }

  .brand-copy span {
    display: none;
  }

  .hero-stats,
  .mode-grid,
  .info-grid,
  .contact-grid,
  .ticket-grid,
  .pricing-grid,
  .topic-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .thread-row,
  .shop-row,
  .ticket-row,
  .contact-row {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 10px;
  }

  .row-side {
    text-align: left;
  }

  .row-side .badge {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }

  .brand img {
    width: 52px;
    height: 52px;
  }

  .brand {
    gap: 10px;
  }

  .brand-copy strong {
    font-size: 0.92rem;
  }

  .brand-copy span {
    font-size: 0.74rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    gap: 22px;
    padding: 20px 0 48px;
  }

  .hero-grid-single {
    min-height: auto;
  }

  .hero-spectacle {
    padding: 12px 0;
  }

  .hero-display span:first-child {
    letter-spacing: 0.05em;
  }

  .hero+.section {
    margin-top: -18px;
    padding-top: 82px;
  }

  .hero-panel,
  .post-card,
  .form-card,
  .callout,
  .auth-panel,
  .auth-side,
  .mini-card,
  .info-card,
  .list-card,
  .topic-card,
  .contact-card,
  .ticket-card,
  .pricing-card,
  .faq-item {
    padding: 20px;
  }

  .row-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .card img {
    height: 170px;
  }

  .hero-actions,
  .inline-actions,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .forum-toolbar {
    padding: 18px;
  }

  .btn,
  .btn-secondary,
  .btn-ghost {
    width: 100%;
  }

  .site-nav {
    top: 84px;
    left: auto;
    right: 8px;
    width: min(76vw, 238px);
  }

  .mobile-drawer {
    top: 84px;
    right: 8px;
    width: min(76vw, 238px);
  }
}

@media (max-width: 480px) {
  .site-nav {
    top: 82px;
    left: auto;
    right: 8px;
    width: min(82vw, 228px);
    padding-inline: 10px;
  }

  .mobile-drawer {
    top: 82px;
    right: 8px;
    width: min(82vw, 228px);
    padding-inline: 10px;
  }

  .hero-display {
    max-width: 100%;
  }

  .hero-display span:first-child {
    font-size: clamp(1.75rem, 7vw, 2.4rem);
  }

  .hero-display .text-gradient {
    font-size: clamp(1.7rem, 8vw, 2.9rem);
  }
}

@media (max-width: 520px) {
  :root {
    --container: min(1180px, calc(100% - 24px));
  }

  .site-nav {
    top: 82px;
    left: auto;
    right: 8px;
    width: min(82vw, 228px);
  }

  .mobile-drawer {
    top: 82px;
    right: 8px;
    width: min(82vw, 228px);
  }

  .section-header {
    margin-bottom: 26px;
  }

  .card-meta,
  .post-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .price strong {
    font-size: 2.15rem;
  }
}

@media (max-width: 420px) {
  .brand-copy span {
    display: none;
  }

  .eyebrow,
  .section-label,
  .badge,
  .tag {
    font-size: 0.78rem;
  }
}

@media (hover: none),
(pointer: coarse) {
  .cursor-glow {
    display: none;
  }

  .btn:hover,
  .btn-secondary:hover,
  .btn-ghost:hover,
  .card:hover,
  .mini-card:hover,
  .list-card:hover,
  .pricing-card:hover,
  .contact-card:hover,
  .info-card:hover,
  .ticket-card:hover,
  .topic-card:hover {
    transform: none;
  }

  .glow::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}