@font-face {
  font-family: "IRANSans";
  src: url("../../fonts/IRANSansWeb.woff") format("woff");
  font-weight: 400;
}

@font-face {
  font-family: "IRANSans";
  src: url("../../fonts/IRANSansWeb_Bold.woff") format("woff");
  font-weight: 700;
}

:root {
  color-scheme: dark;
  --bg: #0a0d12;
  --panel: rgba(18, 23, 31, 0.82);
  --panel-solid: #121720;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f5f7fb;
  --muted: #a9b2c2;
  --accent: #ffcb45;
  --accent-2: #39d0ff;
  --danger: #ff5d73;
  --success: #42e3a2;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(10, 13, 18, 0.08), var(--bg) 88vh),
    url("../../wallpapers/3083e210-d04b-4122-9f17-8592161e87e6_selling_point_3_7713c429.webp") center 760px / min(1400px, 100%) auto no-repeat,
    #0a0d12;
  color: var(--text);
  direction: inherit;
  font-family: "IRANSans", Tahoma, sans-serif;
  line-height: 1.8;
}

html[dir="ltr"] body {
  font-family: Inter, "IRANSans", Arial, sans-serif;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 13, 18, 0.76);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 203, 69, 0.45);
  background: linear-gradient(135deg, rgba(255, 203, 69, 0.25), rgba(57, 208, 255, 0.12));
  color: var(--accent);
  font-size: 15px;
  border-radius: var(--radius);
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-toggle {
  display: grid;
  min-width: 44px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(57, 208, 255, 0.35);
  background: rgba(57, 208, 255, 0.1);
  color: #dff8ff;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 700;
}

.panel-language-toggle {
  margin-inline-start: auto;
}

.icon-button,
.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-radius: var(--radius);
  cursor: pointer;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-radius: var(--radius);
  font-weight: 700;
}

.button.primary {
  border-color: rgba(255, 203, 69, 0.7);
  background: var(--accent);
  color: #10131a;
}

.button.info {
  border-color: rgba(57, 208, 255, 0.42);
  color: #dff8ff;
}

.button.danger {
  border-color: rgba(255, 93, 115, 0.42);
  color: #ffd6de;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../../wallpapers/cyberpunk-vigilante4-k-art-3e4u3tp5mr28v4x3.jpg");
  background-size: cover;
  background-position: center center;
  content: "";
  filter: saturate(1.1) contrast(1.05);
  transform: scale(1.02);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 13, 18, 0.97), rgba(10, 13, 18, 0.62) 52%, rgba(10, 13, 18, 0.22)),
    linear-gradient(180deg, rgba(10, 13, 18, 0.12), rgba(10, 13, 18, 0.94) 88%);
  content: "";
}

html[dir="ltr"] .hero::after {
  background:
    linear-gradient(270deg, rgba(10, 13, 18, 0.97), rgba(10, 13, 18, 0.62) 52%, rgba(10, 13, 18, 0.22)),
    linear-gradient(180deg, rgba(10, 13, 18, 0.12), rgba(10, 13, 18, 0.94) 88%);
}

.hero-inner,
.section-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: end;
  gap: 28px;
  padding: 86px 0 46px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.live-dot {
  width: 9px;
  height: 9px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 18px var(--success);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 1.08;
}

.hero-copy {
  max-width: 710px;
  margin-bottom: 28px;
  color: #d8deea;
  font-size: 18px;
}

.hero-actions,
.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.status-panel,
.dashboard-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.status-panel {
  padding: 20px;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 12px;
}

.panel-title h2 {
  margin: 0;
  font-size: 18px;
}

.server-state {
  color: var(--success);
  font-size: 13px;
  font-weight: 700;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.stat {
  min-height: 96px;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
  border-radius: var(--radius);
}

.stat span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.stat strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
  line-height: 1.2;
}

.copy-box {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.copy-box input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
  border-radius: var(--radius);
  direction: ltr;
  padding: 0 12px;
}

html[dir="ltr"] .copy-box input {
  direction: ltr;
}

.section {
  padding: 72px 0;
}

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

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

.section-heading h2 {
  margin-bottom: 6px;
  font-size: clamp(26px, 4vw, 42px);
}

.section-heading p {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.feature-card,
.news-card,
.rule-card,
.leader-row {
  border: 1px solid var(--line);
  background: var(--panel-solid);
  border-radius: var(--radius);
}

.feature-card {
  position: relative;
  isolation: isolate;
  min-height: 206px;
  padding: 18px;
  overflow: hidden;
}

.feature-card::after {
  position: absolute;
  inset: auto 0 0 0;
  z-index: -1;
  height: 74px;
  background: linear-gradient(180deg, transparent, rgba(255, 203, 69, 0.08));
  content: "";
}

.feature-card.is-blue::after {
  background: linear-gradient(180deg, transparent, rgba(57, 208, 255, 0.08));
}

.feature-card.is-red::after {
  background: linear-gradient(180deg, transparent, rgba(255, 93, 115, 0.09));
}

.feature-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 18px;
  background: rgba(255, 203, 69, 0.12);
  color: var(--accent);
  border-radius: var(--radius);
}

.feature-card h3,
.news-card h3,
.rule-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.feature-card p,
.news-card p,
.rule-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.split {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.visual-strip {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 340px;
  margin-top: 30px;
  border: 1px solid var(--line);
  background: #0f131b;
  border-radius: var(--radius);
  overflow: hidden;
}

.visual-main {
  position: relative;
  min-height: 340px;
  background: url("../../wallpapers/wp14574295.jpg") center / cover no-repeat;
}

.visual-main::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 13, 18, 0.8), transparent 65%);
  content: "";
}

.visual-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
}

.visual-thumb {
  min-height: 170px;
  background-size: cover;
  background-position: center;
}

.visual-thumb.one {
  background-image: url("../../wallpapers/gta-5.jpg");
}

.visual-thumb.two {
  background-image: url("../../wallpapers/7dedeae0-961a-4aaf-b718-a8b10630485a_1456x816.jpg");
}

.image-callout {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  max-width: 330px;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(10, 13, 18, 0.74);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
}

html[dir="ltr"] .image-callout {
  right: auto;
  left: 22px;
}

.image-callout strong {
  display: block;
  margin-bottom: 6px;
}

.image-callout span {
  color: var(--muted);
  font-size: 13px;
}

.dashboard-visual {
  min-height: 240px;
  margin-top: 22px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(10, 13, 18, 0.08), rgba(10, 13, 18, 0.58)),
    url("../../wallpapers/3083e210-d04b-4122-9f17-8592161e87e6_selling_point_4_cbb436e0.webp") center / cover no-repeat;
  border-radius: var(--radius);
}

.dashboard-panel {
  padding: 22px;
  display: grid;
  gap: 12px;
}

.dashboard-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
  border-radius: var(--radius);
}

.dashboard-row span {
  color: var(--muted);
}

.dashboard-row strong {
  color: var(--text);
  font-size: 22px;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.store-loading {
  grid-column: 1 / -1;
  min-height: 120px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--panel-solid);
  border-radius: var(--radius);
  color: var(--muted);
}

.store-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel-solid);
  border-radius: var(--radius);
}

.store-card img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.store-card-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.store-badge {
  width: fit-content;
  padding: 3px 9px;
  border: 1px solid rgba(255, 203, 69, 0.34);
  color: #ffe8a3;
  border-radius: var(--radius);
  font-size: 12px;
}

.store-card h3 {
  margin-bottom: 0;
  font-size: 18px;
}

.store-card p {
  min-height: 54px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.store-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.store-card-footer strong {
  color: var(--accent);
}

.store-card-footer form {
  display: flex;
  align-items: end;
  gap: 8px;
}

.store-quantity {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 11px;
}

.store-quantity input {
  width: 92px;
  min-height: 44px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
  border-radius: var(--radius);
  padding: 8px 10px;
}

.rule-list {
  display: grid;
  gap: 12px;
}

.rule-card {
  padding: 18px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.news-card {
  overflow: hidden;
}

.news-card img {
  width: 100%;
  height: 158px;
  object-fit: cover;
  display: block;
}

.news-card:first-child img {
  object-position: center;
}

.news-card:nth-child(2) img {
  object-position: center;
}

.news-card:nth-child(3) img {
  object-position: center;
}

.news-content {
  padding: 18px;
}

.news-meta {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-2);
  font-size: 12px;
}

.leaderboard {
  display: grid;
  gap: 10px;
}

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

.leaderboard-panel {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 18, 29, 0.78);
  border-radius: 8px;
  padding: 16px;
}

.leaderboard-panel h3 {
  margin-bottom: 0;
  color: #fff;
  font-size: 17px;
}

.leader-stage {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.leader-art {
  min-height: 260px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(10, 13, 18, 0.08), rgba(10, 13, 18, 0.7)),
    url("../../wallpapers/3083e210-d04b-4122-9f17-8592161e87e6_selling_point_3_7713c429.webp") center / cover no-repeat;
  border-radius: var(--radius);
}

.leader-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  min-height: 68px;
  padding: 12px 16px;
  gap: 16px;
}

.rank {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  background: rgba(57, 208, 255, 0.12);
  color: var(--accent-2);
  border-radius: var(--radius);
  font-weight: 700;
}

.leader-row small {
  display: block;
  color: var(--muted);
}

.footer {
  border-top: 1px solid var(--line);
  background: #080b10;
  padding: 28px 0;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  gap: 18px;
}

.domains {
  direction: ltr;
}

.auth-page,
.dashboard-page,
.player-dashboard-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(10, 13, 18, 0.96), rgba(10, 13, 18, 0.56)),
    url("../../wallpapers/cyberpunk-vigilante4-k-art-3e4u3tp5mr28v4x3.jpg") center / cover fixed;
}

.auth-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 28px 16px;
}

.auth-card {
  width: min(100%, 440px);
  border: 1px solid var(--line);
  background: rgba(18, 23, 31, 0.9);
  border-radius: var(--radius);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.44);
  padding: 24px;
  backdrop-filter: blur(18px);
}

.auth-card-small {
  width: min(100%, 520px);
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-weight: 700;
}

.auth-brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.auth-heading h1 {
  margin-bottom: 10px;
  font-size: 34px;
}

.auth-heading p:not(.eyebrow) {
  margin-bottom: 22px;
  color: var(--muted);
}

.auth-alert {
  margin-bottom: 16px;
  border: 1px solid rgba(255, 93, 115, 0.38);
  background: rgba(255, 93, 115, 0.12);
  color: #ffd6de;
  border-radius: var(--radius);
  padding: 11px 12px;
  font-size: 14px;
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.auth-field input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.24);
  color: var(--text);
  border-radius: var(--radius);
  padding: 0 12px;
}

.auth-field input:focus {
  border-color: rgba(255, 203, 69, 0.62);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 203, 69, 0.12);
}

.auth-submit {
  width: 100%;
  margin-top: 4px;
  cursor: pointer;
}

.auth-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

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

.auth-links-wide {
  align-items: stretch;
}

.auth-links-wide .button {
  flex: 1;
}

.dashboard-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 82px 0;
}

.dashboard-welcome {
  max-width: 760px;
  border: 1px solid var(--line);
  background: rgba(18, 23, 31, 0.86);
  border-radius: var(--radius);
  padding: 28px;
}

.dashboard-welcome h1 {
  font-size: clamp(32px, 5vw, 52px);
}

.dashboard-welcome p:not(.eyebrow) {
  color: var(--muted);
}

.permission-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.permission-card {
  min-height: 118px;
  border: 1px solid var(--line);
  background: rgba(18, 23, 31, 0.86);
  border-radius: var(--radius);
  padding: 18px;
}

.permission-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
}

.permission-card strong {
  color: var(--text);
}

.role-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.role-badge {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  font-size: 13px;
}

.role-staff {
  border-color: rgba(66, 227, 162, 0.38);
  color: #c8ffe9;
}

.role-manager {
  border-color: rgba(57, 208, 255, 0.42);
  color: #dff8ff;
}

.role-gamemaster {
  border-color: rgba(255, 203, 69, 0.5);
  color: #ffe8a3;
}

.role-user {
  color: var(--muted);
}

.player-dashboard-page {
  display: grid;
  place-items: center;
  padding: 40px 16px;
  overflow-x: hidden;
}

.player-dashboard-frame {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  width: min(1120px, 100%);
  min-height: 650px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(11, 15, 24, 0.84);
  border-radius: 8px;
  box-shadow: 0 32px 110px rgba(0, 0, 0, 0.52);
  overflow: hidden;
  backdrop-filter: blur(14px);
}

.player-sidebar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 12, 20, 0.38);
  padding: 20px 18px;
}

.player-logo {
  display: grid;
  gap: 2px;
  margin-bottom: 44px;
  text-align: left;
  direction: ltr;
}

.player-logo span {
  color: #286dff;
  font-size: 18px;
  letter-spacing: 0;
  line-height: 1.1;
}

.player-logo strong {
  color: #f4f6ff;
  font-size: 18px;
  line-height: 1.1;
}

.player-menu {
  display: grid;
  gap: 12px;
}

.player-menu a,
.player-logout {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 38px;
  color: #d7dceb;
  font-size: 13px;
  font-weight: 700;
}

.player-menu a.is-active {
  color: #ffffff;
}

.menu-icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #b8c1d6;
  font-size: 12px;
}

.player-logout {
  margin-top: auto;
  color: #ff6576;
}

.player-dashboard-surface {
  padding: 24px;
}

.player-mini-actions {
  display: flex;
  gap: 6px;
  margin-bottom: 28px;
  direction: ltr;
}

.player-mini-actions span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2f74ff;
  box-shadow: 0 0 14px rgba(47, 116, 255, 0.8);
}

.player-mini-actions span:first-child {
  background: #ffffff;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.45);
}

.player-identity-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  min-height: 88px;
  align-items: center;
  margin-bottom: 42px;
  padding: 16px 20px;
  border: 1px solid rgba(60, 116, 255, 0.45);
  background:
    linear-gradient(90deg, rgba(25, 40, 70, 0.36), rgba(0, 91, 255, 0.6)),
    rgba(18, 23, 35, 0.88);
  border-radius: 8px;
  box-shadow: inset 0 0 34px rgba(0, 91, 255, 0.25);
}

.player-identity-strip span,
.player-section-title,
.license-card,
.vehicle-head {
  color: #aeb6c8;
}

.player-identity-strip span {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
}

.player-identity-strip strong {
  color: #ffffff;
  font-size: 12px;
}

.player-section {
  max-width: 820px;
  margin-bottom: 34px;
  padding: 18px;
  background: rgba(20, 25, 36, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}

.player-section-title {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 14px;
}

.player-section-title h1,
.player-section-title h2 {
  margin: 0;
  color: #ffffff;
  font-size: 17px;
}

.license-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.license-card {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 16, 27, 0.72);
  border-radius: 7px;
  font-size: 11px;
}

.license-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff405c;
  box-shadow: 0 0 14px rgba(255, 64, 92, 0.8);
}

.license-card::after,
.stat-ring {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px dashed rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  color: #dfe5f3;
  content: "!";
  font-size: 12px;
}

.license-card.is-ok .license-pulse {
  background: #18e89a;
  box-shadow: 0 0 14px rgba(24, 232, 154, 0.8);
}

.license-card.is-ok::after {
  border-color: rgba(24, 232, 154, 0.45);
  color: #bfffe4;
  content: "✓";
}

.player-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.player-stat {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 16, 27, 0.72);
  border-radius: 7px;
}

.player-stat.span-2 {
  grid-column: span 2;
}

.player-stat h2 {
  margin: 0;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.35;
}

.player-stat strong {
  display: block;
  color: #16e89b;
  font-size: 12px;
  line-height: 1.35;
}

.player-stat.is-red {
  background: rgba(129, 39, 52, 0.75);
}

.player-stat.is-gold {
  background: rgba(123, 92, 31, 0.78);
}

.player-stat.is-blue {
  background: rgba(28, 73, 134, 0.8);
}

.player-stat.is-job strong {
  color: #bfdc42;
}

.player-stat.is-gang strong {
  color: #41dec7;
}

.shield-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #91b7ff;
  border: 1px solid rgba(145, 183, 255, 0.38);
  border-radius: 50%;
}

.vehicle-section {
  max-width: 820px;
}

.vehicle-table {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 7px;
  background: rgba(14, 18, 29, 0.74);
}

.vehicle-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  min-height: 50px;
  align-items: center;
  padding: 0 18px;
  gap: 12px;
  font-size: 11px;
}

.vehicle-head {
  background: rgba(255, 255, 255, 0.035);
}

.vehicle-empty {
  display: grid;
  min-height: 58px;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
}

.management-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 18px;
  align-items: end;
  margin-bottom: 20px;
  padding: 20px;
  border: 1px solid rgba(60, 116, 255, 0.35);
  background:
    linear-gradient(90deg, rgba(18, 23, 35, 0.92), rgba(0, 91, 255, 0.34)),
    rgba(18, 23, 35, 0.82);
  border-radius: 8px;
}

.management-hero h1 {
  margin-bottom: 8px;
  font-size: clamp(28px, 4vw, 42px);
}

.management-hero p:not(.eyebrow) {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.management-access {
  display: grid;
  gap: 8px;
  min-height: 92px;
  align-content: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 14, 24, 0.48);
  border-radius: 8px;
}

.management-access span {
  color: var(--muted);
  font-size: 12px;
}

.management-access strong {
  color: #ffe8a3;
  font-size: 18px;
}

.management-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.management-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  min-height: 148px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 18, 29, 0.78);
  border-radius: 8px;
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.management-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(20, 26, 40, 0.9);
}

.management-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}

.management-card h2 {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 16px;
}

.management-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.management-card.is-blue .management-icon {
  background: rgba(47, 116, 255, 0.18);
  color: #8fb5ff;
}

.management-card.is-green .management-icon {
  background: rgba(24, 232, 154, 0.14);
  color: #a8f8d8;
}

.management-card.is-gold .management-icon {
  background: rgba(255, 203, 69, 0.16);
  color: #ffe8a3;
}

.management-card.is-purple .management-icon {
  background: rgba(147, 104, 255, 0.16);
  color: #c9b8ff;
}

.management-card.is-red .management-icon {
  background: rgba(255, 93, 115, 0.15);
  color: #ffb9c4;
}

.management-card.is-cyan .management-icon {
  background: rgba(57, 208, 255, 0.15);
  color: #b9f2ff;
}

.store-success {
  border-color: rgba(66, 227, 162, 0.38);
  background: rgba(66, 227, 162, 0.12);
  color: #c8ffe9;
}

.store-admin-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) 1fr;
  gap: 18px;
  align-items: start;
}

.store-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 18, 29, 0.78);
  border-radius: 8px;
  padding: 16px;
}

.store-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
}

.store-form input,
.store-form select,
.store-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
  border-radius: var(--radius);
  padding: 8px 10px;
}

.store-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.78) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.78) 50%, transparent 50%);
  background-position:
    left 14px center,
    left 9px center;
  background-size:
    5px 5px,
    5px 5px;
  background-repeat: no-repeat;
  padding-left: 28px;
}

.store-form select option {
  background: #121720;
  color: var(--text);
}

.store-form textarea {
  min-height: 132px;
  resize: vertical;
}

.store-form .span-full {
  grid-column: 1 / -1;
}

.store-check {
  grid-template-columns: 18px 1fr;
  align-items: center;
}

.store-check input {
  min-height: auto;
}

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

.store-admin-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 18, 29, 0.78);
  border-radius: 8px;
  padding: 10px;
}

.store-admin-item img {
  width: 92px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
}

.store-admin-item h2 {
  margin-bottom: 4px;
  color: #fff;
  font-size: 15px;
}

.store-admin-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
}

.store-admin-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.user-search-form {
  max-width: 680px;
  margin-bottom: 18px;
}

.user-admin-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.user-edit-form {
  max-width: 920px;
}

.staff-list {
  display: grid;
  gap: 10px;
}

.staff-row {
  display: grid;
  grid-template-columns: 96px 80px minmax(130px, 1fr) minmax(120px, 1fr) minmax(170px, 1.2fr) 220px;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 18, 29, 0.78);
  border-radius: 8px;
  padding: 12px;
}

.staff-head {
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 12px;
}

.staff-row strong {
  color: #ffe8a3;
  font-size: 18px;
}

.staff-row span {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #e8ecf7;
  font-size: 13px;
}

.staff-ap-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.staff-ap-form input {
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
  border-radius: var(--radius);
  padding: 8px 10px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 18px;
  align-items: start;
}

.cart-invoice {
  display: grid;
  gap: 12px;
}

.cart-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 18, 29, 0.78);
  border-radius: 8px;
  padding: 12px;
}

.cart-line h2 {
  margin-bottom: 4px;
  color: #fff;
  font-size: 15px;
}

.cart-line p,
.cart-help {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
}

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

.bank-card {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(255, 203, 69, 0.34);
  background: rgba(255, 203, 69, 0.1);
  border-radius: 8px;
  padding: 14px;
}

.bank-card span {
  color: var(--muted);
  font-size: 12px;
}

.bank-card strong {
  direction: ltr;
  color: #ffe8a3;
  font-size: 20px;
}

.bank-card p {
  margin-bottom: 0;
  color: #fff;
}

.transaction-list {
  display: grid;
  gap: 14px;
}

.transaction-card {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 18, 29, 0.78);
  border-radius: 8px;
  padding: 16px;
}

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

.transaction-head h2 {
  margin-bottom: 4px;
  color: #fff;
  font-size: 17px;
}

.transaction-head p,
.transaction-meta {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
}

.transaction-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.transaction-items span,
.status-pill,
.reject-note {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  color: #e8ecf7;
  font-size: 12px;
}

.status-pending {
  color: #ffe8a3;
  border-color: rgba(255, 203, 69, 0.32);
}

.status-approved {
  color: #c8ffe9;
  border-color: rgba(66, 227, 162, 0.32);
}

.status-rejected {
  color: #ffd6de;
  border-color: rgba(255, 93, 115, 0.32);
}

.reject-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.reject-form input {
  min-height: 44px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
  border-radius: var(--radius);
  padding: 8px 10px;
}

.ticket-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.ticket-sidebar-panel,
.ticket-chat-panel {
  display: grid;
  gap: 14px;
}

.ticket-create-form,
.ticket-reply-form,
.ticket-status-form {
  grid-template-columns: 1fr;
}

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

.ticket-list-item {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 18, 29, 0.78);
  border-radius: 8px;
  padding: 12px;
}

.ticket-list-item.is-active,
.ticket-list-item:hover {
  border-color: rgba(255, 203, 69, 0.38);
  background: rgba(255, 203, 69, 0.08);
}

.ticket-list-item strong {
  color: #fff;
  font-size: 14px;
}

.ticket-list-item span,
.ticket-empty-state p,
.ticket-chat-head p,
.ticket-message-meta {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
}

.ticket-chat-panel {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 18, 29, 0.68);
  border-radius: 8px;
  padding: 16px;
}

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

.ticket-chat-head h2,
.ticket-empty-state h2 {
  margin-bottom: 4px;
  color: #fff;
  font-size: 18px;
}

.ticket-messages {
  display: grid;
  gap: 12px;
  max-height: 560px;
  overflow: auto;
  padding-left: 4px;
}

.ticket-message {
  display: grid;
  gap: 8px;
  max-width: 82%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 12px;
}

.ticket-message.is-staff {
  justify-self: start;
  border-color: rgba(57, 208, 255, 0.25);
  background: rgba(57, 208, 255, 0.08);
}

.ticket-message.is-player {
  justify-self: end;
  border-color: rgba(255, 203, 69, 0.24);
  background: rgba(255, 203, 69, 0.08);
}

.ticket-message p {
  margin-bottom: 0;
  color: #eef3ff;
  font-size: 13px;
}

.ticket-message-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.ticket-message-meta strong {
  color: #fff;
}

.ticket-attachment {
  justify-self: start;
  color: #dff8ff;
  font-size: 12px;
  font-weight: 700;
}

.ticket-player-summary {
  margin-bottom: 0;
}

.account-subnav,
.gang-subnav {
  margin-bottom: 18px;
}

.account-subnav .management-card.is-active,
.gang-subnav .management-card.is-active {
  border-color: rgba(255, 203, 69, 0.46);
  background: rgba(255, 203, 69, 0.09);
}

.account-panel[hidden],
.gang-panel[hidden] {
  display: none;
}

.account-panel,
.gang-panel {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

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

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

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

.account-form-wide {
  max-width: 760px;
}

.gang-member-list,
.gang-log-list {
  display: grid;
  gap: 10px;
}

.gang-member-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(120px, 1fr) minmax(170px, 1.2fr) 120px minmax(320px, 1.6fr);
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 18, 29, 0.78);
  border-radius: 8px;
  padding: 12px;
}

.gang-member-head {
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 12px;
}

.gang-member-row span,
.gang-member-row strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.gang-member-row strong {
  color: #ffe8a3;
}

.gang-member-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.gang-grade-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.gang-grade-form select {
  min-height: 44px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
  border-radius: var(--radius);
  padding: 8px 10px;
}

.gang-permission-form {
  max-width: 980px;
}

.gang-log-item {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 18, 29, 0.78);
  border-radius: 8px;
  padding: 12px;
}

.gang-log-item div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.gang-log-item strong {
  color: #fff;
}

.gang-log-item span,
.gang-log-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
}

.status-open {
  color: #c8ffe9;
  border-color: rgba(66, 227, 162, 0.32);
}

.status-progress {
  color: #dff8ff;
  border-color: rgba(57, 208, 255, 0.32);
}

.status-closed {
  color: #ffd6de;
  border-color: rgba(255, 93, 115, 0.32);
}

@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    inset: 72px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-bottom: 1px solid var(--line);
    background: rgba(10, 13, 18, 0.96);
  }

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

  .menu-button {
    display: grid;
  }

  .hero-inner,
  .split,
  .leader-stage,
  .player-dashboard-frame {
    grid-template-columns: 1fr;
  }

  .player-sidebar {
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .player-logo {
    margin-bottom: 18px;
  }

  .player-menu {
    grid-template-columns: repeat(3, 1fr);
  }

  .player-logout {
    margin-top: 14px;
  }

  .player-identity-strip,
  .license-grid,
  .player-stat-grid,
  .management-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .status-panel {
    max-width: 520px;
  }

  .feature-grid,
  .news-grid,
  .leaderboards-grid,
  .visual-strip,
  .permission-panel,
  .store-grid,
  .store-admin-layout,
  .cart-layout {
    grid-template-columns: repeat(2, 1fr);
  }

  .visual-main {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .nav {
    width: min(100% - 24px, 1180px);
  }

  .nav-actions .button {
    display: none;
  }

  .icon-button {
    display: grid;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 72px;
  }

  .hero-copy {
    font-size: 15px;
  }

  .section {
    padding: 52px 0;
  }

  .section-heading,
  .footer-inner {
    align-items: start;
    flex-direction: column;
  }

  .feature-grid,
  .news-grid,
  .leaderboards-grid,
  .stat-grid,
  .visual-strip,
  .permission-panel,
  .store-grid,
  .store-admin-layout,
  .cart-layout,
  .ticket-layout,
  .account-verify-grid,
  .store-form,
  .user-admin-summary,
  .player-identity-strip,
  .license-grid,
  .player-stat-grid,
  .management-grid {
    grid-template-columns: 1fr;
  }

  .player-dashboard-page {
    padding: 0;
  }

  .player-dashboard-frame {
    min-height: 100vh;
    border-radius: 0;
  }

  .player-dashboard-surface {
    padding: 18px 14px;
  }

  .player-section,
  .vehicle-section {
    max-width: none;
  }

  .player-stat.span-2 {
    grid-column: span 1;
  }

  .player-menu {
    grid-template-columns: 1fr;
  }

  .vehicle-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .staff-row {
    grid-template-columns: 1fr;
  }

  .gang-member-row {
    grid-template-columns: 1fr;
  }

  .staff-head {
    display: none;
  }

  .gang-member-head {
    display: none;
  }

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

  .store-admin-item img {
    width: 100%;
    height: 160px;
  }

  .store-admin-actions {
    flex-wrap: wrap;
  }

  .cart-line,
  .transaction-head,
  .transaction-meta,
  .transaction-actions,
  .reject-form {
    align-items: stretch;
    flex-direction: column;
  }

  .cart-line {
    grid-template-columns: 1fr;
  }

  .visual-side {
    grid-template-rows: auto;
  }

  .image-callout {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: none;
    margin: 180px 12px 12px;
  }

  .leader-row {
    grid-template-columns: 44px 1fr;
  }

  .leader-row strong:last-child {
    grid-column: 2;
  }
}
