:root {
  --bg-deep: #0c0808;
  --bg-card: #161018;
  --bg-card-hover: #1e1520;
  --border: rgba(255, 154, 77, 0.18);
  --border-strong: rgba(232, 92, 176, 0.35);
  --text: #f5f2ef;
  --text-muted: #a89a94;
  --sunset-1: #4a1520;
  --sunset-2: #8b3a28;
  --sunset-3: #d97838;
  --neon-1: #7b5cff;
  --neon-2: #e85cb0;
  --neon-3: #ff9a4d;
  --gradient-neon: linear-gradient(135deg, var(--neon-1), var(--neon-2), var(--neon-3));
  --gradient-sunset: linear-gradient(180deg, var(--sunset-1) 0%, var(--sunset-2) 45%, var(--sunset-3) 100%);
  --shadow-neon: 0 0 24px rgba(232, 92, 176, 0.25);
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 72px;
  --font: "Manrope", system-ui, sans-serif;
  --font-display: "Oswald", "Manrope", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"]:focus {
  outline: none;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(139, 58, 40, 0.35), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(123, 92, 255, 0.12), transparent);
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.container {
  width: min(1240px, 100% - 32px);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(12, 8, 8, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img.logo-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-text span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: var(--text-muted);
  font-weight: 400;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-main a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}

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

.nav-main a.is-active {
  box-shadow: inset 0 -2px 0 var(--neon-2);
}

.pl-nav-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: color 0.2s ease, filter 0.2s ease;
}

.nav-main a:hover .pl-nav-ico,
.nav-main a.is-active .pl-nav-ico {
  color: var(--neon-2);
  filter: drop-shadow(0 0 5px rgba(232, 92, 176, 0.45));
}

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

.mobile-nav .pl-nav-ico {
  width: 20px;
  height: 20px;
}

.pl-ico-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.pl-lang-flag-wrap {
  display: inline-flex;
  width: 16px;
  height: 11px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.pl-lang-flag {
  width: 100%;
  height: 100%;
}

.pl-steam-ico {
  display: inline-flex;
  width: 18px;
  height: 18px;
  color: #66c0f4;
  flex-shrink: 0;
}

.pl-steam-label {
  line-height: 1;
}

.btn-steam {
  gap: 8px;
}

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

/* Discord presence (UzRust-style, informational — not a link) */
.pl-discord-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(114, 137, 218, 0.35);
  background: linear-gradient(135deg, rgba(114, 137, 218, 0.22), rgba(87, 105, 172, 0.14));
  color: #eef1ff;
  user-select: none;
  pointer-events: none;
  flex-shrink: 0;
}

.pl-discord-status-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: #b8c4ff;
}

.pl-discord-status-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
  min-width: 2.75rem;
  padding: 3px 10px 4px;
  border-radius: 100px;
  background: rgba(87, 105, 172, 0.55);
}

.pl-discord-status-count {
  font-size: 0.82rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.pl-discord-status-label {
  font-size: 0.58rem;
  font-weight: 600;
  text-transform: lowercase;
  color: rgba(238, 241, 255, 0.85);
  letter-spacing: 0.03em;
}

.pl-discord-status.is-loading .pl-discord-status-count {
  opacity: 0.65;
}

.pl-discord-status.is-live .pl-discord-status-count::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  margin-bottom: 1px;
  border-radius: 50%;
  background: #3ee08f;
  box-shadow: 0 0 8px rgba(62, 224, 143, 0.65);
  vertical-align: middle;
}

.pl-discord-status.is-stale {
  opacity: 0.75;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.btn-ghost:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-accent {
  background: linear-gradient(135deg, #2a9d8f, #3dd6c8);
  color: #061412;
}

.btn-accent:hover {
  box-shadow: 0 4px 20px rgba(61, 214, 200, 0.35);
}

.btn-neon {
  background: var(--gradient-neon);
  color: #fff;
  box-shadow: var(--shadow-neon);
}

.btn-neon:hover {
  box-shadow: 0 0 32px rgba(232, 92, 176, 0.45);
}

.btn-steam {
  background: #1b2838;
  border: 1px solid #2a475e;
  color: #c7d5e0;
}

.btn-steam:hover {
  background: #2a475e;
}

.menu-toggle {
  display: none;
  padding: 8px;
  font-size: 1.4rem;
}

/* Hero */
.hero {
  position: relative;
  margin-top: 8px;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  min-height: 280px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../assets/banner.jpg") center / cover no-repeat;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(12, 8, 8, 0.92) 0%,
    rgba(12, 8, 8, 0.55) 45%,
    rgba(12, 8, 8, 0.75) 100%
  );
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 24px;
}

.promo-card {
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(22, 16, 24, 0.75);
  backdrop-filter: blur(8px);
}

.promo-card h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.promo-card p {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 36ch;
}

.promo-card--neon {
  border-color: var(--border-strong);
  background: linear-gradient(145deg, rgba(123, 92, 255, 0.12), rgba(22, 16, 24, 0.85));
}

/* Section */
.section {
  padding: 40px 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-desc {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Mode tabs */
.mode-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}

.mode-tab {
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: all 0.2s;
}

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

.mode-tab.is-active {
  color: #fff;
  background: var(--gradient-neon);
  box-shadow: var(--shadow-neon);
}

/* Products */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.product-card {
  position: relative;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-neon);
}

.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: #e63946;
  color: #fff;
}

.product-visual {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 3.5rem;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
}

.product-title {
  margin: 0 0 8px;
  font-weight: 600;
  font-size: 0.95rem;
}

.product-prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}

.price-old {
  color: var(--text-muted);
  text-decoration: line-through;
  font-size: 0.85rem;
}

.price-new {
  font-size: 1.15rem;
  font-weight: 700;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.product-card .btn-neon {
  width: 100%;
  padding: 12px;
}

.product-card.is-hidden {
  display: none;
}

.shop-rebuild-stage {
  position: relative;
  isolation: isolate;
}

.shop-rebuild .shop-rebuild-stage {
  max-height: 460px;
  overflow: hidden;
  border-radius: var(--radius);
}

.shop-rebuild-cover[hidden] {
  display: none !important;
}

.shop-rebuild .mode-tabs,
.shop-rebuild .products-grid {
  pointer-events: none;
  user-select: none;
  filter: blur(2.5px) saturate(0.55);
  opacity: 0.38;
}

.shop-rebuild .product-card:hover {
  transform: none;
  box-shadow: none;
}

.shop-rebuild-cover {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px 16px;
  background:
    radial-gradient(ellipse at center, rgba(12, 8, 8, 0.18) 0%, rgba(12, 8, 8, 0.62) 100%);
}

.shop-rebuild-tape {
  width: min(520px, 100%);
  height: 12px;
  border-radius: 999px;
  background: repeating-linear-gradient(
    -45deg,
    #ff9a4d 0 10px,
    #1a1014 10px 20px
  );
  box-shadow: 0 0 18px rgba(255, 154, 77, 0.35);
}

.shop-rebuild-card {
  width: min(420px, 100%);
  padding: 28px 26px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: linear-gradient(160deg, rgba(22, 16, 24, 0.96), rgba(12, 8, 8, 0.92));
  box-shadow: var(--shadow-neon);
  text-align: center;
}

.shop-rebuild-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  color: #f5f2ef;
}

.shop-rebuild-card h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.shop-rebuild-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  gap: 2px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(12, 8, 8, 0.65);
}

.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 36px;
  padding: 6px 9px;
  border: none;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}

.lang-switch-btn.is-active {
  color: var(--text);
  background: rgba(123, 92, 255, 0.35);
  box-shadow: 0 0 12px rgba(232, 92, 176, 0.2);
}

.lang-switch-btn:hover:not(.is-active) {
  color: var(--text);
}

.header-steam-menu {
  position: relative;
}

.header-steam-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(22, 16, 24, 0.85);
  color: var(--text);
  cursor: pointer;
  max-width: 220px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.header-steam-trigger:hover,
.header-steam-menu.is-open .header-steam-trigger {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-neon);
}

.header-steam-avatar {
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.header-steam-avatar--ph {
  display: inline-block;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--neon-1), var(--neon-2));
}

.header-steam-avatar--lg {
  width: 48px;
  height: 48px;
}

.header-steam-name {
  font-size: 0.88rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-steam-chevron {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--text-muted);
  margin-left: auto;
  flex-shrink: 0;
}

.header-steam-menu.is-open .header-steam-chevron {
  transform: rotate(180deg);
}

.header-steam-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 120;
  min-width: 240px;
  padding: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: linear-gradient(160deg, rgba(22, 16, 24, 0.98), rgba(12, 8, 8, 0.98));
  box-shadow: var(--shadow-neon);
}

.header-steam-dropdown-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}

.header-steam-dropdown-head img {
  border-radius: 50%;
  object-fit: cover;
}

.header-steam-dropdown-meta strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.header-steam-id {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.header-steam-dropdown-item {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text);
  transition: background 0.12s ease;
}

.header-steam-dropdown-item:hover {
  background: rgba(123, 92, 255, 0.15);
}

.header-steam-dropdown-item--logout {
  color: #ffb4b4;
}

/* Servers strip */
.servers-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.online-pill {
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(95, 212, 164, 0.15);
  color: #5fd4a4;
  font-size: 0.88rem;
}

.server-mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
}

.server-chip {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.server-chip strong {
  color: var(--text);
}

/* Servers page */
.filters-panel {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.filter-group legend {
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 10px;
  padding: 0;
}

.filter-group {
  border: none;
  margin: 0;
  padding: 0;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  cursor: pointer;
}

.filter-options input:checked + span {
  color: var(--text);
}

.servers-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.servers-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.servers-table th,
.servers-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.servers-table th {
  background: var(--bg-card);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.servers-table tr:hover td {
  background: var(--bg-card-hover);
}

.servers-table tr.is-hidden {
  display: none;
}

.server-bm {
  margin-left: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--neon-3);
  border-bottom: 1px solid rgba(255, 154, 77, 0.35);
}

.status-on {
  color: #5fd4a4;
}

.status-off {
  color: var(--text-muted);
}

.copy-connect {
  font-family: ui-monospace, monospace;
  font-size: 0.8rem;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  cursor: pointer;
}

.copy-connect:hover {
  border-color: var(--neon-2);
}

/* Tools */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tool-card {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 196px;
  padding: 0;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(32, 22, 40, 0.92), rgba(14, 12, 20, 0.98));
  border: 1px solid var(--border);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.25s, transform 0.15s;
}

.tool-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 100% 50%, rgba(123, 92, 255, 0.12), transparent 55%);
  pointer-events: none;
}

.tool-card--fps::before {
  background: radial-gradient(ellipse 65% 75% at 95% 45%, rgba(102, 192, 244, 0.14), transparent 50%);
}

.tool-card--raid::before {
  background: radial-gradient(ellipse 65% 75% at 95% 50%, rgba(255, 154, 77, 0.12), transparent 50%);
}

.tool-card:hover {
  border-color: rgba(232, 92, 176, 0.45);
  box-shadow: 0 0 28px rgba(123, 92, 255, 0.22), 0 8px 32px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

.tool-card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  max-width: 58%;
  padding: 22px 16px 22px 22px;
}

.tool-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
}

.tool-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.tool-card-cta {
  display: inline-block;
  margin-top: auto;
  padding-top: 18px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--neon-1);
  transition: color 0.2s ease;
}

.tool-card:hover .tool-card-cta {
  color: var(--neon-2);
}

.tool-card-visual {
  position: absolute;
  right: 0;
  bottom: 0;
  top: 0;
  width: 46%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 8px 10px 0 0;
  pointer-events: none;
}

.tool-card-visual .tool-card-illustration {
  max-width: 100%;
  max-height: 88%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.45));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.tool-card-visual img.tool-card-illustration {
  display: block;
}

.tool-card--raid .tool-card-visual .tool-card-illustration {
  filter: drop-shadow(0 8px 20px rgba(255, 154, 77, 0.25));
}

.tool-card:hover .tool-card-visual .tool-card-illustration {
  transform: scale(1.04) translateY(-4px);
  filter: drop-shadow(0 14px 28px rgba(123, 92, 255, 0.35));
}

.tool-card--raid:hover .tool-card-visual .tool-card-illustration {
  filter: drop-shadow(0 14px 26px rgba(255, 154, 77, 0.4));
}

@media (max-width: 820px) {
  .tools-grid {
    grid-template-columns: 1fr;
  }

  .tool-card-body {
    max-width: 55%;
  }
}

@media (max-width: 480px) {
  .tool-card {
    min-height: 172px;
  }

  .tool-card-body {
    max-width: 62%;
    padding: 18px 12px 18px 18px;
  }

  .tool-card h3 {
    font-size: 0.95rem;
  }

  .tool-card p {
    font-size: 0.82rem;
  }

  .tool-card-visual {
    width: 40%;
  }
}

/* Footer */
.site-footer {
  margin-top: 48px;
  padding: 32px 0 24px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: start;
}

.footer-note {
  margin: 12px 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 48ch;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
}

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

.footer-copy {
  grid-column: 1 / -1;
  padding-top: 20px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Cookie */
.cookie-bar {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  font-size: 0.88rem;
  max-width: min(520px, 100% - 32px);
}

.cookie-bar.is-hidden {
  display: none;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  width: min(420px, 100%);
  padding: 28px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-neon);
}

.modal h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  text-transform: uppercase;
}

.modal p {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  background: var(--bg-deep);
  padding: 20px;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border);
}

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

.mobile-nav a {
  padding: 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

@media (max-width: 900px) {
  .nav-main {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

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

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

  .btn-accent span.full {
    display: none;
  }
}

@media (max-width: 600px) {
  .brand-text {
    display: none;
  }

  .header-actions .btn-ghost {
    display: none;
  }

  .pl-discord-status-label {
    display: none;
  }

  .pl-discord-status {
    padding: 5px 8px;
    gap: 6px;
  }
}