﻿:root {
  --bg: #050505;
  --bg-alt: #101010;
  /* Neon glow hues (site-wide) */
  --hue1: 174; /* teal */
  --hue2: 160; /* greenish */
  --neon-1: hsl(var(--hue1) 95% 50%);
  --neon-2: hsl(var(--hue2) 95% 50%);
  --neon-soft: rgba(0, 248, 185, 0.14);
  --panel: #161616;
  --panel-soft: #1e1e1e;
  --text: #f4f4f4;
  --muted: #a0a0a0;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #00f8b9;
  --accent-soft: #00f8b9;
  --ok: #00f8b9;
  --warn: #a7ffe5;
  --danger: #ff5d5d;
  --radius-lg: 24px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  --container: min(1160px, calc(100vw - 2.4rem));
  --header-container: min(1320px, calc(100vw - 2.2rem));
}

@keyframes neon-glow {
  0% { box-shadow: 0 3px 8px rgba(0,0,0,0.22), 0 0 0 rgba(0,0,0,0); }
  50% { box-shadow: 0 6px 12px rgba(0,0,0,0.28), 0 0 8px rgba(0,248,185,0.06); }
  100% { box-shadow: 0 8px 14px rgba(0,0,0,0.3), 0 0 12px rgba(0,200,160,0.08); }
}

/* Neon hover styles applied site-wide */
.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
  border-color: var(--accent);
  background: rgba(0,248,185,0.08);
  box-shadow: 0 2px 6px rgba(0,0,0,0.18), 0 0 4px rgba(0,248,185,0.04);
}

.card:hover,
.banking-entry-btn:hover,
.map-entry-btn:hover,
.case-entry-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(0,0,0,0.30), 0 0 6px rgba(0,248,185,0.06);
  border-color: rgba(0,248,185,0.12);
}

.btn.btn-solid:hover,
.btn.btn-ghost:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.28), 0 0 6px rgba(0,200,160,0.06);
}

/* utility neon outline */
.neon-outline {
  border: 1px solid rgba(0,248,185,0.12);
  transition: box-shadow 0.25s ease, transform 0.18s ease;
}

.neon-outline:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,0.32), 0 0 8px rgba(0,248,185,0.06);
  transform: translateY(-1px);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Outfit", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 14% -10%, rgba(255, 255, 255, 0.05), transparent 48%),
    radial-gradient(circle at 90% 4%, rgba(255, 255, 255, 0.04), transparent 42%),
    linear-gradient(170deg, #020202 0%, #0a0a0a 45%, #141414 100%);
  line-height: 1.5;
  overflow-x: hidden;
}

body.page-banking {
  background:
    linear-gradient(165deg, rgba(4, 6, 6, 0.9), rgba(7, 8, 8, 0.94)),
    radial-gradient(circle at 14% -10%, rgba(255, 255, 255, 0.05), transparent 48%),
    url("../../bankingprofile.png") center center / cover no-repeat fixed;
}

body.page-banking .split {
  align-items: start;
}

body.page-livemap {
  background:
    linear-gradient(165deg, rgba(4, 6, 6, 0.9), rgba(7, 8, 8, 0.94)),
    radial-gradient(circle at 14% -10%, rgba(255, 255, 255, 0.05), transparent 48%),
    url("../../map_image.png") center center / cover no-repeat fixed;
}

body.page-dashboard {
  background:
    linear-gradient(165deg, rgba(4, 6, 6, 0.9), rgba(7, 8, 8, 0.94)),
    radial-gradient(circle at 14% -10%, rgba(255, 255, 255, 0.05), transparent 48%),
    url("../../illegal_meeting.png") center center / cover no-repeat fixed;
}

body.page-roster {
  background:
    linear-gradient(165deg, rgba(4, 6, 6, 0.9), rgba(7, 8, 8, 0.94)),
    radial-gradient(circle at 14% -10%, rgba(255, 255, 255, 0.05), transparent 48%),
    url("/assets/images/weazelnews.png") center center / cover no-repeat fixed;
}

body.page-team {
  background:
    linear-gradient(165deg, rgba(4, 6, 6, 0.9), rgba(7, 8, 8, 0.94)),
    radial-gradient(circle at 14% -10%, rgba(255, 255, 255, 0.05), transparent 48%),
    url("../../ekipimage.png") center center / cover no-repeat fixed;
}

body.page-case-opening {
  background:
    linear-gradient(165deg, rgba(4, 6, 6, 0.92), rgba(7, 8, 8, 0.95)),
    radial-gradient(circle at 14% -10%, rgba(255, 255, 255, 0.05), transparent 48%),
    url("../../borderpatrol1.png") center center / cover no-repeat fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: radial-gradient(circle at 0 0, #fff 0.4px, transparent 0.7px);
  background-size: 8px 8px;
  z-index: -1;
}

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

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

.main-wrap {
  width: var(--container);
  margin: 0 auto;
}

.bg-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  overflow: hidden;
}

.bg-orbs span {
  position: absolute;
  border-radius: 50%;
  filter: blur(0);
  opacity: 0.2;
  animation: orb-float 14s linear infinite;
}

.bg-orbs span:nth-child(1) {
  width: 360px;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(0, 248, 185, 0.33), transparent 70%);
  top: -100px;
  left: -90px;
}

.bg-orbs span:nth-child(2) {
  width: 280px;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(0, 248, 185, 0.22), transparent 66%);
  bottom: -120px;
  right: -70px;
  animation-delay: -6s;
}

.bg-orbs span:nth-child(3) {
  width: 210px;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(82, 255, 211, 0.2), transparent 70%);
  top: 48%;
  right: 12%;
  animation-delay: -9s;
}

@keyframes orb-float {
  0% {
    transform: translateY(0) translateX(0) scale(1);
  }
  50% {
    transform: translateY(-18px) translateX(15px) scale(1.04);
  }
  100% {
    transform: translateY(0) translateX(0) scale(1);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(12, 12, 12, 0.86), rgba(12, 12, 12, 0.64));
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: var(--container);
  margin: 0 auto;
  padding: 0.8rem 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 0.85rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.08em;
  font-size: 1.55rem;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.site-nav {
  margin-left: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.2rem;
  width: 100%;
  min-width: 0;
  justify-self: end;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  padding: 0.45rem 0.68rem;
  border: 1.2px solid transparent;
  border-radius: 999px;
  font-size: 0.88rem;
  white-space: nowrap;
  color: var(--muted);
  transition: 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
  border-color: var(--accent);
  background: rgba(0, 248, 185, 0.16);
}

.header-actions {
  margin-left: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  justify-self: end;
}

.is-hidden-auth {
  display: none !important;
}

.profile-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.28rem 0.45rem 0.28rem 0.3rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  min-width: 0;
}

.profile-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
  border: 0;
  flex: 0 0 30px;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-meta {
  display: grid;
  line-height: 1.05;
}

.profile-meta strong {
  font-size: 0.8rem;
  color: #e6fff7;
}

.profile-meta small {
  font-size: 0.72rem;
  color: #9decd6;
}

.map-entry-btn {
  margin-top: 0.75rem;
  border: 1px solid rgba(0, 248, 185, 0.34);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(0, 248, 185, 0.14), rgba(0, 248, 185, 0.05));
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 0.65rem 0.45rem 0.45rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.map-entry-btn img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(0, 248, 185, 0.32);
}

.map-entry-btn span {
  font-weight: 600;
  line-height: 1.2;
}

.map-entry-btn:hover,
.map-entry-btn:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 12px 26px rgba(0, 248, 185, 0.22);
  background: linear-gradient(145deg, rgba(0, 248, 185, 0.2), rgba(0, 248, 185, 0.08));
  transform: translateY(-1px);
}

.banking-entry-btn {
  border: 1px solid rgba(0, 248, 185, 0.34);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(0, 248, 185, 0.14), rgba(0, 248, 185, 0.05));
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 0.7rem;
  padding: 0.4rem 0.65rem 0.4rem 0.4rem;
  min-width: min(100%, 240px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.banking-entry-btn img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(0, 248, 185, 0.3);
}

.banking-entry-btn span {
  font-weight: 600;
  line-height: 1.2;
}

.banking-entry-btn:hover,
.banking-entry-btn:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 12px 26px rgba(0, 248, 185, 0.22);
  background: linear-gradient(145deg, rgba(0, 248, 185, 0.2), rgba(0, 248, 185, 0.08));
  transform: translateY(-1px);
}

.live-map-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(22, 22, 22, 0.88), rgba(12, 12, 12, 0.92));
  box-shadow: var(--shadow);
  padding: 0.8rem;
}

.map-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
}

/* Apartment labels shown under the count */
.apartment-labels {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.2;
  word-break: break-word;
}

.live-map {
  width: 100%;
  height: min(72vh, 760px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 248, 185, 0.22);
  overflow: hidden;
}

.profile-banner-intro {
  display: grid;
  grid-template-columns: 1.35fr auto;
  gap: 1rem;
  align-items: stretch;
}

.profile-banner-copy {
  display: flex;
  flex-direction: column;
}

.profile-banner-copy p {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.profile-banner-actions {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.profile-quick-actions {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.profile-quick-actions .map-entry-btn {
  margin-top: 0;
}

.profile-quick-actions .banking-entry-btn,
.profile-quick-actions .map-entry-btn,
.profile-quick-actions .case-entry-btn {
  position: relative;
  display: block;
  width: 100%;
  height: clamp(140px, 18vw, 190px);
  padding: 0;
  gap: 0;
  grid-template-columns: none;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1.2px solid rgba(0, 248, 185, 0.24);
  background: #121212;
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  min-width: 0;
}

.profile-quick-actions .banking-entry-btn img,
.profile-quick-actions .map-entry-btn img,
.profile-quick-actions .case-entry-btn img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border: 0;
  border-radius: 12px;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.profile-quick-actions .banking-entry-btn::after,
.profile-quick-actions .map-entry-btn::after,
.profile-quick-actions .case-entry-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 35%, rgba(0, 0, 0, 0.72) 100%);
  pointer-events: none;
}

.profile-quick-actions .banking-entry-btn span,
.profile-quick-actions .map-entry-btn span,
.profile-quick-actions .case-entry-btn span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 0.7rem 0.75rem;
  color: var(--text);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
}

.profile-quick-actions .banking-entry-btn:hover,
.profile-quick-actions .banking-entry-btn:focus-visible,
.profile-quick-actions .map-entry-btn:hover,
.profile-quick-actions .map-entry-btn:focus-visible,
.profile-quick-actions .case-entry-btn:hover,
.profile-quick-actions .case-entry-btn:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.profile-quick-actions .banking-entry-btn:hover img,
.profile-quick-actions .banking-entry-btn:focus-visible img,
.profile-quick-actions .map-entry-btn:hover img,
.profile-quick-actions .map-entry-btn:focus-visible img,
.profile-quick-actions .case-entry-btn:hover img,
.profile-quick-actions .case-entry-btn:focus-visible img {
  transform: scale(1.04);
  filter: saturate(1.05);
}

.case-opening-panel {
  border-color: rgba(0, 248, 185, 0.22);
  background: linear-gradient(165deg, rgba(17, 17, 17, 0.92), rgba(10, 10, 10, 0.97));
}

.case-opening-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.case-opening-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.case-roller {
  margin-top: 1rem;
}

.case-roller__holder {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 248, 185, 0.22);
  background: rgba(0, 0, 0, 0.32);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.case-roller__track {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  height: 118px;
  transform: translateX(0);
  transition: transform 8s cubic-bezier(.08, .6, 0, 1);
  will-change: transform;
}

.case-roller__pointer {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-1px);
  background: var(--accent);
  box-shadow: 0 0 18px rgba(0, 248, 185, 0.55);
  opacity: 0.95;
  pointer-events: none;
}

.case-item {
  width: 92px;
  height: 92px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0f1416;
  overflow: hidden;
  position: relative;
  flex: 0 0 auto;
}

.case-item[data-tier="rare"] {
  border-color: rgba(0, 248, 185, 0.28);
}

.case-item[data-tier="legendary"] {
  border-color: rgba(0, 248, 185, 0.5);
}

.case-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(1.05);
}

.case-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06) 34%, rgba(0, 0, 0, 0.75) 100%);
}

.case-item__badge {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 1;
  padding: 0.22rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.4);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case-item__name {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 1;
  font-weight: 600;
  font-size: 0.72rem;
  line-height: 1.15;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}

.case-item.is-winning {
  border-color: rgba(0, 248, 185, 0.85);
  box-shadow: 0 0 0 2px rgba(0, 248, 185, 0.12), 0 16px 34px rgba(0, 0, 0, 0.35);
}

.case-opening-status {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.5rem 0.9rem;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
}

.case-opening-result {
  font-size: 1.05rem;
}

.case-opening-hint {
  grid-column: 1 / -1;
  color: var(--muted);
}

.case-inventory {
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1rem;
}

.case-inventory-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.case-inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.55rem;
}

.case-inventory-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(10, 10, 10, 0.7);
  display: grid;
  grid-template-rows: 96px 1fr;
  min-height: 140px;
}

.case-inventory-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-inventory-item .case-inventory-meta {
  padding: 0.6rem 0.7rem 0.75rem;
  display: grid;
  gap: 0.2rem;
}

.case-inventory-item .case-inventory-meta strong {
  font-size: 0.9rem;
  line-height: 1.15;
}

.case-inventory-item .case-inventory-meta small {
  color: var(--muted);
}

.profile-status-panel {
  border-color: rgba(0, 248, 185, 0.24);
  background: linear-gradient(165deg, rgba(17, 17, 17, 0.94), rgba(9, 9, 9, 0.98));
}

.profile-status-panel .card {
  border-color: rgba(0, 248, 185, 0.22);
  background: linear-gradient(165deg, rgba(20, 20, 20, 0.94), rgba(12, 12, 12, 0.98));
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.profile-status-panel .card:hover {
  border-color: rgba(0, 248, 185, 0.55);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.26);
  background: linear-gradient(165deg, rgba(23, 23, 23, 0.96), rgba(14, 14, 14, 0.99));
}

.profile-status-panel .badge {
  border-color: rgba(0, 248, 185, 0.48);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.profile-status-panel .card p {
  color: var(--muted);
}

.profile-data-cards {
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
}

.profile-data-cards .card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.profile-data-cards .badge {
  margin-left: auto;
  margin-right: auto;
}

.profile-data-cards .card p {
  text-align: center;
}

.profile-id-value {
  font-size: clamp(0.95rem, 1.9vw, 1.2rem);
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
  line-height: 1.2;
}

.profile-jobs-value {
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  line-height: 1.25;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}

.profile-banner-photo {
  margin: 0;
  width: clamp(120px, 16vw, 176px);
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  overflow: hidden;
  justify-self: end;
  align-self: center;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

.profile-banner-photo img {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.bank-balance-card {
  border: 1px solid rgba(0, 248, 185, 0.36);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(0, 248, 185, 0.14), rgba(0, 248, 185, 0.05));
  padding: 1rem;
}

.bank-balance-card span {
  display: block;
  color: #a8f3df;
  font-size: 0.85rem;
}

.bank-balance-card strong {
  display: block;
  margin-top: 0.25rem;
  font-size: clamp(1.9rem, 4.2vw, 2.5rem);
  line-height: 1;
}

.bank-balance-card small {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
}

.bank-history {
  margin-top: 0.9rem;
  border: 1px solid rgba(0, 248, 185, 0.22);
  border-radius: var(--radius-md);
  background: linear-gradient(165deg, rgba(20, 20, 20, 0.9), rgba(12, 12, 12, 0.96));
  padding: 0.75rem;
}

.bank-history-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.55rem;
}

.bank-history-head h4 {
  margin: 0;
  font-size: 1.2rem;
}

.bank-history-head small {
  color: var(--muted);
}

.bank-history-list {
  display: grid;
  gap: 0.45rem;
}

.bank-history-item {
  display: grid;
  gap: 0.15rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.01);
  padding: 0.5rem 0.6rem;
}

.bank-history-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.bank-history-row strong {
  font-size: 0.9rem;
}

.bank-history-amount {
  font-weight: 700;
  font-size: 0.88rem;
}

.bank-history-amount.is-minus {
  color: #ff8484;
}

.bank-history-amount.is-plus {
  color: #80f8cf;
}

.bank-history-meta {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.3;
}

.bank-history-empty {
  color: var(--muted);
  font-size: 0.86rem;
  padding: 0.4rem 0.1rem;
}

.bank-actions {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.btn {
  border: 1.2px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-solid {
  color: #001b13;
  background: linear-gradient(130deg, var(--accent), var(--accent-soft));
  box-shadow: 0 10px 28px rgba(0, 248, 185, 0.24);
}

.btn-solid:hover {
  box-shadow: 0 14px 30px rgba(0, 248, 185, 0.35);
}

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

.btn-ghost:hover {
  background: rgba(0, 248, 185, 0.1);
}

.btn-solid:hover,
.btn-solid:focus-visible,
.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--accent);
}

.page-hero {
  position: relative;
  padding: 4.4rem 0 3rem;
}

.page-hero-landing {
  min-height: 86vh;
  display: flex;
  align-items: center;
  isolation: isolate;
}

.page-hero-landing::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/image4.png");
  background-size: cover;
  background-position: center top;
  z-index: -2;
}

.page-hero-landing::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0) 56%, rgba(5, 5, 5, 0.78) 83%, #050505 100%),
    linear-gradient(0deg, rgba(5, 5, 5, 0.92), rgba(5, 5, 5, 0.62)),
    linear-gradient(110deg, rgba(5, 5, 5, 0.9) 10%, rgba(5, 5, 5, 0.42) 55%, rgba(5, 5, 5, 0.82) 100%);
  z-index: -1;
}

.landing-section-start {
  position: relative;
  margin-top: -1.5rem;
  padding-top: 3rem;
}

.landing-section-start::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 120px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.95), rgba(5, 5, 5, 0));
}

.landing-section-start > .main-wrap {
  position: relative;
  z-index: 1;
}

.page-hero-landing > .main-wrap {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.hero-card,
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(22, 22, 22, 0.88), rgba(12, 12, 12, 0.92));
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.hero-card.is-photo {
  background-size: cover;
  background-position: center;
}

.hero-card.is-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(1, 11, 14, 0.9) 8%, rgba(2, 13, 17, 0.68) 48%, rgba(3, 18, 23, 0.38) 100%);
  z-index: 1;
}

.hero-card.is-photo > * {
  position: relative;
  z-index: 2;
}

.hero-card::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -90px;
  top: -95px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 248, 185, 0.24), transparent 70%);
}

.eyebrow {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  color: #d6fff2;
  border: 1px solid rgba(0, 248, 185, 0.42);
  background: rgba(0, 248, 185, 0.12);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 7px rgba(0, 248, 185, 0.16);
}

h1,
h2,
h3,
h4 {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  margin: 0;
  line-height: 1;
  letter-spacing: 0.03em;
}

h1 {
  margin-top: 1.05rem;
  font-size: clamp(2.6rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.05rem;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 620px;
}

.hero-lead {
  margin: 1.1rem 0;
  color: var(--muted);
  max-width: 59ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-metrics {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.metric {
  border: 1px solid rgba(92, 233, 228, 0.26);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.015);
  padding: 0.7rem 0.8rem;
}

.metric strong {
  display: block;
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.1rem;
}

.metric span {
  color: var(--muted);
  font-size: 0.82rem;
}

.stack {
  display: grid;
  gap: 0.9rem;
}

.panel {
  padding: 1.15rem;
}

.panel-photo {
  min-height: 196px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: end;
  background-size: cover;
  background-position: center;
}

.panel-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(1, 11, 14, 0.88), rgba(1, 11, 14, 0.26));
}

.panel-photo .panel-photo-body {
  position: relative;
  z-index: 1;
}

.status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.status-item {
  border: 1px solid rgba(0, 248, 185, 0.26);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.75rem;
  background: rgba(255, 255, 255, 0.01);
}

.status-item strong {
  display: block;
  font-size: 1.05rem;
}

.status-item small {
  color: var(--muted);
}

.server-bar {
  margin-top: 0.7rem;
  height: 8px;
  width: 100%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.server-bar > span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #1cd7d0, #7bf9ee);
  transition: width 0.35s ease;
}

main section {
  padding: 1.1rem 0 3.2rem;
}

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

.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.shot-card {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
}

.shot-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 14, 18, 0.82), rgba(2, 14, 18, 0.18));
}

.shot-card .shot-info {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.8rem;
  z-index: 1;
}

.shot-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.shot-card p {
  margin: 0;
  font-size: 0.88rem;
  color: #c9f9f8;
}

.card {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(165deg, rgba(24, 24, 24, 0.9), rgba(14, 14, 14, 0.95));
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 248, 185, 0.42);
}

.card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.45rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.74rem;
  border: 1px solid rgba(0, 248, 185, 0.34);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  margin-bottom: 0.55rem;
  color: #d9fff2;
}

.tab-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(170deg, rgba(23, 23, 23, 0.9), rgba(12, 12, 12, 0.96));
  overflow: hidden;
}

.tab-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.tab-controls button {
  border: 1px solid rgba(100, 236, 231, 0.3);
  background: rgba(255, 255, 255, 0.015);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-weight: 500;
  cursor: pointer;
}

.tab-controls button[aria-selected="true"] {
  color: #032022;
  border-color: transparent;
  background: linear-gradient(135deg, #00f8b9, #00f8b9);
}

.tab-panels {
  padding: 1rem;
}

.tab-panel {
  display: none;
}

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

.tab-panel h3 {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.tab-panel p {
  margin-top: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.timeline {
  display: grid;
  gap: 0.65rem;
}

.timeline-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.015);
  padding: 0.85rem;
}

.timeline-item strong {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.76rem;
  color: #8fffe0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.timeline-item h4 {
  font-size: 1.35rem;
  margin: 0.3rem 0;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
}

.countdown {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.countdown .slot {
  border: 1px solid rgba(0, 248, 185, 0.28);
  border-radius: var(--radius-sm);
  min-width: 70px;
  text-align: center;
  padding: 0.6rem 0.4rem;
  background: rgba(255, 255, 255, 0.015);
}

.countdown .slot strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1;
}

.countdown .slot span {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
}

.faq {
  display: grid;
  gap: 0.65rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.01);
  overflow: hidden;
}

.faq-btn {
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--text);
  text-align: left;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0.95rem;
  cursor: pointer;
}

.faq-btn::after {
  content: "+";
  font-size: 1.1rem;
  color: var(--muted);
}

.faq-item.is-open .faq-btn::after {
  content: "-";
}

.faq-panel {
  display: none;
  padding: 0 0.95rem 0.85rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.faq-item.is-open .faq-panel {
  display: block;
}

.cta-strip {
  display: grid;
  grid-template-columns: 1.3fr auto;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(0, 248, 185, 0.2), rgba(82, 255, 211, 0.1));
  padding: 1rem 1.2rem;
}

.cta-strip p {
  margin: 0.35rem 0 0;
  color: #ddfff4;
}

.footer {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
}

.footer-inner {
  width: var(--container);
  margin: 0 auto;
  padding: 1.15rem 0 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer small {
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 0.7rem;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
}

.page-banner {
  padding: 3.4rem 0 2rem;
}

.banner-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(22, 22, 22, 0.9), rgba(12, 12, 12, 0.96));
  padding: 1.45rem;
}

.banner-card--team {
  background: linear-gradient(150deg, rgba(22, 22, 22, 0.9), rgba(12, 12, 12, 0.96));
}

.banner-card p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  max-width: 67ch;
}

.rule-toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.input,
select,
textarea {
  border-radius: 12px;
  border: 1px solid rgba(0, 248, 185, 0.25);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  padding: 0.62rem 0.75rem;
  font: inherit;
  width: 100%;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.input::placeholder,
textarea::placeholder {
  color: #7ca9ad;
}

.rule-list {
  display: grid;
  gap: 0.65rem;
}

.rule-item {
  padding: 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

.rule-item h4 {
  font-size: 1.35rem;
  margin-bottom: 0.3rem;
}

.rule-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.rule-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.45rem;
}

.pill {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid rgba(0, 248, 185, 0.28);
  border-radius: 999px;
  padding: 0.16rem 0.52rem;
  color: #d8fff1;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.step {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.015);
}

.step strong {
  display: block;
  font-size: 0.75rem;
  color: #8fffe0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.step h4 {
  font-size: 1.35rem;
  margin: 0.35rem 0;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: start;
  gap: 0.45rem;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-top: 0.35rem;
  background: linear-gradient(140deg, #00f8b9, #00f8b9);
}

.form-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr 1fr;
}

.form-grid .wide {
  grid-column: 1 / -1;
}

.admin-keygen-panel {
  width: 100%;
}

.admin-key-output {
  width: 100%;
  min-height: 72px;
  max-height: 110px;
  resize: none;
  border-radius: 12px;
  border: 1px solid rgba(0, 248, 185, 0.25);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  padding: 0.62rem 0.75rem;
  font: 600 0.86rem/1.45 "Courier New", monospace;
  letter-spacing: 0.02em;
  white-space: pre;
}

.admin-key-registry {
  border: 1px solid rgba(0, 248, 185, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.7rem 0.75rem;
}

.admin-key-summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.84rem;
  margin-bottom: 0.65rem;
}

.admin-key-summary strong {
  color: var(--text);
}

.admin-key-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
  max-height: 260px;
  overflow: auto;
}

.admin-key-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.48rem 0.55rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 248, 185, 0.18);
  background: rgba(0, 0, 0, 0.22);
}

.admin-key-actions {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.admin-key-delete {
  border-color: rgba(255, 127, 127, 0.38);
}

.admin-key-delete:hover,
.admin-key-delete:focus-visible {
  border-color: rgba(255, 127, 127, 0.75);
  background: rgba(255, 127, 127, 0.12);
}

.admin-key-meta {
  display: grid;
  gap: 0.16rem;
}

.admin-key-item-empty {
  justify-content: center;
  color: var(--muted);
  border-style: dashed;
}

.admin-key-code {
  font: 600 0.86rem/1.35 "Courier New", monospace;
  letter-spacing: 0.03em;
  color: #dffef5;
}

.admin-key-citizen {
  color: var(--muted);
  font-size: 0.72rem;
}

.admin-key-player {
  color: #d5efe8;
  font-size: 0.72rem;
}

.admin-key-status {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 248, 185, 0.3);
  font-size: 0.76rem;
  font-weight: 600;
}

.admin-key-status.is-used {
  color: #ffcfcc;
  border-color: rgba(255, 127, 127, 0.45);
  background: rgba(255, 127, 127, 0.12);
}

.admin-key-status.is-unused {
  color: #cbffee;
  border-color: rgba(0, 248, 185, 0.4);
  background: rgba(0, 248, 185, 0.1);
}

.admin-key-status.is-expired {
  color: #efddc5;
  border-color: rgba(255, 186, 97, 0.45);
  background: rgba(255, 186, 97, 0.12);
}

.notice {
  font-size: 0.85rem;
  color: #cef8f8;
  border-left: 3px solid #00f8b9;
  padding-left: 0.55rem;
}

.panel-title {
  font-size: 1.8rem;
  margin: 0 0 0.65rem;
}

.form-actions {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.whitelist-hero {
  display: grid;
  gap: 0.95rem;
}

.whitelist-hero .eyebrow {
  justify-self: start;
}

.whitelist-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.whitelist-meta .meta-chip {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.018);
  padding: 0.7rem 0.8rem;
}

.whitelist-meta .meta-chip span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8fffe0;
}

.whitelist-meta .meta-chip strong {
  font-size: 1.05rem;
}

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

.whitelist-note {
  margin-top: 0.85rem;
}

.filter-row {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.filter-row button {
  border-radius: 999px;
  border: 1px solid rgba(0, 248, 185, 0.28);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  padding: 0.45rem 0.75rem;
  cursor: pointer;
}

.filter-row button.is-active {
  color: #022224;
  border-color: transparent;
  background: linear-gradient(130deg, #00f8b9, #00f8b9);
}

.roster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.roster .card {
  min-height: 174px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.55rem;
}

.tag {
  font-size: 0.72rem;
  border-radius: 999px;
  padding: 0.2rem 0.45rem;
  border: 1px solid rgba(0, 248, 185, 0.25);
  color: #d8fff1;
}

.creator-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.creator-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(165deg, rgba(24, 24, 24, 0.9), rgba(14, 14, 14, 0.95));
  padding: 0.95rem;
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 13px;
  background: linear-gradient(140deg, #00f8b9, #00f8b9);
  display: grid;
  place-items: center;
  color: #022224;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.creator-card h4 {
  margin: 0;
  font-size: 1.35rem;
}

.creator-card p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.meta-line {
  margin-top: 0.55rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.forum-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0.9rem;
}

.forum-list {
  display: grid;
  gap: 0.6rem;
}

.forum-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.015);
  padding: 0.85rem;
}

.forum-item h4 {
  font-size: 1.35rem;
  margin-bottom: 0.2rem;
}

.forum-item p {
  margin: 0;
  color: var(--muted);
}

.job-list {
  display: grid;
  gap: 0.6rem;
}

.job-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.8rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.015);
}

.job-item h4 {
  font-size: 1.4rem;
  margin-bottom: 0.2rem;
}

.job-item p {
  margin: 0;
  color: var(--muted);
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.media-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 220px;
  border: 1px solid var(--line);
  cursor: pointer;
  isolation: isolate;
  background: linear-gradient(155deg, #1f1f1f, #101010);
  background-size: cover;
  background-position: center;
}

.media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.15));
  z-index: 0;
}

.media-card:hover .media-info {
  transform: translateY(-3px);
}

.media-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.85rem;
  transition: transform 0.2s ease;
  z-index: 1;
}

.media-info h4 {
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.media-info p {
  margin: 0;
  color: #d8fff2;
  font-size: 0.85rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(3, 11, 14, 0.86);
  display: none;
  place-items: center;
  z-index: 120;
  padding: 1rem;
}

.lightbox.is-open {
  display: grid;
}

.lightbox-inner {
  width: min(760px, 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(150deg, #1f1f1f, #121212);
  padding: 1rem;
}

.lightbox-close {
  margin-left: auto;
  display: inline-flex;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.price {
  font-size: 1.5rem;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.03em;
  margin: 0.35rem 0;
}

.cart-box {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.85rem;
}

.cart-items {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.cart-line {
  display: flex;
  justify-content: space-between;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.total-row {
  margin-top: 0.8rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(92, 232, 228, 0.3);
  display: flex;
  justify-content: space-between;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  padding: 0.24rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(92, 232, 228, 0.3);
  color: #d9fff2;
}

.status-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
}

.ticket-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.ticket-grid .card {
  min-height: 164px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.table th,
.table td {
  border-bottom: 1px solid rgba(92, 232, 228, 0.2);
  padding: 0.62rem;
  text-align: left;
  font-size: 0.9rem;
}

.table th {
  color: #d4fff0;
  font-weight: 600;
  background: rgba(0, 248, 185, 0.12);
}

.table td {
  color: var(--muted);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 130;
  border: 1px solid rgba(0, 248, 185, 0.34);
  border-radius: 11px;
  background: linear-gradient(145deg, #15333d, #0b2129);
  color: var(--text);
  padding: 0.65rem 0.8rem;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: 0.25s ease;
  font-size: 0.9rem;
}

.toast.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hidden {
  display: none !important;
}

@media (max-width: 1050px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .profile-banner-intro {
    grid-template-columns: 1fr;
  }

  .profile-banner-photo {
    justify-self: center;
  }

  .profile-quick-actions {
    grid-template-columns: 1fr;
  }

  .cards,
  .shot-grid,
  .roster,
  .creator-grid,
  .media-grid,
  .shop-grid,
  .ticket-grid,
  .doc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .cta-strip {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .header-inner {
    display: flex;
    gap: 1rem;
  }

  .header-actions {
    display: none;
  }

  .profile-chip {
    display: none !important;
  }

  .site-nav {
    position: fixed;
    left: 0.7rem;
    right: 0.7rem;
    top: 66px;
    width: auto;
    margin-left: 0;
    justify-content: flex-start;
    justify-self: auto;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: rgba(7, 17, 22, 0.96);
    backdrop-filter: blur(10px);
    padding: 0.6rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

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

  .site-nav a {
    padding: 0.6rem 0.75rem;
    border-radius: 10px;
  }

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

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

  .rule-toolbar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .cards,
  .shot-grid,
  .roster,
  .creator-grid,
  .media-grid,
  .shop-grid,
  .ticket-grid,
  .steps,
  .form-grid,
  .doc-grid {
    grid-template-columns: 1fr;
  }

  .job-item {
    grid-template-columns: 1fr;
  }

  .map-entry-btn {
    grid-template-columns: 1fr;
  }

  .banking-entry-btn {
    grid-template-columns: 1fr;
    width: 100%;
    min-width: 0;
  }

  .case-entry-btn {
    grid-template-columns: 1fr;
    width: 100%;
    min-width: 0;
  }

  .map-entry-btn img {
    width: 100%;
    height: auto;
    min-height: 110px;
  }

  .banking-entry-btn img {
    width: 100%;
    height: auto;
    min-height: 110px;
  }

  .case-entry-btn img {
    width: 100%;
    height: auto;
    min-height: 110px;
  }

  .profile-banner-photo {
    width: 140px;
  }

  .whitelist-meta {
    grid-template-columns: 1fr;
  }

  .form-grid .wide {
    grid-column: auto;
  }

  .page-hero {
    padding-top: 3.4rem;
  }

  h1 {
    font-size: clamp(2.25rem, 12vw, 3.2rem);
  }
}


