@import url('/css/tippy.css');

:root {
  --bg-0: #0b1015;
  --bg-1: #11171d;
  --bg-2: #182028;
  --card: #182129;
  --card-strong: #202b35;
  --text: #ffffff;
  --muted: #bcc7d3;
  --line: #2c3945;
  --cyan: #13cfff;
  --lime: #6f8cff;
  --primary: #6f8cff;
  --primary_color: 111, 140, 255;
  --rose: #9bc3ff;
  --orange: #6bc2ff;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-soft: 0 22px 70px rgba(0, 0, 0, 0.35);
}

[data-theme="tds"] {
  --bg-0: #070d1a;
  --bg-1: #0c1528;
  --bg-2: #141f38;
  --card: #14213a;
  --card-strong: #1c2b4b;
  --text: #f3f7ff;
  --muted: #b0c0e3;
  --line: #2d4168;
  --cyan: #7c8eff;
  --lime: #4c5fe9;
  --primary: #4c5fe9;
  --primary_color: 76, 95, 233;
  --rose: #f4c95d;
  --orange: #f4c95d;
  --shadow-soft: 0 24px 74px rgba(0, 0, 0, 0.45);
}

[data-theme="tds"] body {
  background:
    radial-gradient(circle at 10% 6%, rgba(124, 142, 255, 0.14) 0%, transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(76, 95, 233, 0.12) 0%, transparent 47%),
    radial-gradient(circle at 54% 24%, rgba(244, 201, 93, 0.05) 0%, transparent 58%),
    linear-gradient(180deg, #0c172c 0%, var(--bg-1) 42%, var(--bg-0) 100%);
}

[data-theme="tds"] .hero {
  position: relative;
  isolation: isolate;
  overflow: visible;
}

[data-theme="tds"] .hero::before,
[data-theme="tds"] .hero::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

[data-theme="tds"] .hero::before {
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  border-radius: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(124, 142, 255, 0.2) 0%, transparent 42%),
    radial-gradient(circle at 82% 18%, rgba(76, 95, 233, 0.2) 0%, transparent 46%),
    radial-gradient(circle at 56% 72%, rgba(244, 201, 93, 0.1) 0%, transparent 50%),
    linear-gradient(145deg, rgba(23, 36, 63, 0.78) 0%, rgba(17, 29, 52, 0.66) 54%, rgba(12, 21, 40, 0.8) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(124, 142, 255, 0.16),
    inset 0 -40px 70px rgba(7, 13, 26, 0.42);
  opacity: 1;
}

[data-theme="tds"] .hero::after {
  width: clamp(220px, 28vw, 420px);
  height: clamp(220px, 28vw, 420px);
  left: -8%;
  bottom: -26%;
  border-radius: 44% 56% 52% 48%;
  background:
    conic-gradient(from 145deg, rgba(244, 201, 93, 0.18), rgba(124, 142, 255, 0.26), rgba(76, 95, 233, 0.08), rgba(244, 201, 93, 0.18));
  filter: blur(14px);
  opacity: 0.64;
}

[data-theme="tds"] .hero-panel::before {
  content: '';
  position: absolute;
  left: -12%;
  top: -20%;
  width: clamp(160px, 18vw, 260px);
  height: clamp(160px, 18vw, 260px);
  border-radius: 56% 44% 46% 54%;
  background:
    radial-gradient(circle at 45% 35%, rgba(244, 201, 93, 0.2), rgba(124, 142, 255, 0.1) 58%, transparent 74%);
  filter: blur(10px);
  opacity: 0.58;
  pointer-events: none;
  z-index: 0;
}

[data-theme="tds"] .hero-panel > * {
  position: relative;
  z-index: 1;
}

[data-theme="tds"] .hero > * {
  position: relative;
  z-index: 1;
}

[data-theme="tds"] .site-header {
  background: linear-gradient(180deg, rgba(10, 16, 32, 0.96), rgba(10, 16, 32, 0.78));
  border-bottom-color: rgba(124, 142, 255, 0.26);
}

[data-theme="tds"] .btn {
  font-weight: 700;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.28);
}

[data-theme="tds"] .btn-primary {
  color: #0e1632;
  background: linear-gradient(125deg, #f4c95d 0%, #7c8eff 52%, #4c5fe9 100%);
  border-color: rgba(244, 201, 93, 0.52);
  box-shadow:
    0 16px 34px rgba(76, 95, 233, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.22) inset;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.22);
}[data-theme="tds"] .btn,
[data-theme="tds"] .servers-table-link,
[data-theme="tds"] .hero-sub,
[data-theme="tds"] .server-name-meta,
[data-theme="tds"] .section-head p {
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}

[data-theme="tds"] .btn-primary:hover {
  box-shadow:
    0 19px 38px rgba(76, 95, 233, 0.46),
    0 0 0 1px rgba(255, 255, 255, 0.26) inset;
}

[data-theme="tds"] .btn-ghost {
  border-color: rgba(124, 142, 255, 0.42);
  background: linear-gradient(180deg, rgba(25, 39, 70, 0.82), rgba(18, 30, 56, 0.84));
  color: #e8efff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

[data-theme="tds"] .btn-glass {
  border-color: rgba(124, 142, 255, 0.46);
  background: linear-gradient(180deg, rgba(30, 46, 78, 0.74), rgba(22, 36, 64, 0.72));
  color: #eef4ff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

[data-theme="tds"] .vote-button {
  border-color: rgba(124, 142, 255, 0.5);
  background: linear-gradient(125deg, rgba(244, 201, 93, 0.2), rgba(76, 95, 233, 0.42));
  color: #f3f7ff;
  box-shadow: 0 16px 30px rgba(76, 95, 233, 0.28);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

[data-theme="tds"] .vote-button-feature {
  border-color: rgba(255, 214, 116, 0.64);
  color: #ffffff;
  box-shadow:
    0 14px 34px rgba(233, 170, 47, 0.34),
    0 0 0 1px rgba(255, 243, 206, 0.3) inset,
    0 0 20px rgba(244, 201, 93, 0.24);
  text-shadow: 3px 3px 2px #000000;
}

[data-theme="tds"] .vote-button-feature::after {
  display: none;
  background: none;
}

[data-theme="tds"] .servers-table-shell {
  border-color: rgba(124, 142, 255, 0.42);
  background: linear-gradient(180deg, rgba(14, 24, 44, 0.95), rgba(10, 18, 34, 0.98));
  box-shadow:
    0 24px 52px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(76, 95, 233, 0.2) inset;
}

[data-theme="tds"] .servers-table-shell::before {
  background: linear-gradient(90deg, rgba(244, 201, 93, 0.88), rgba(124, 142, 255, 0.84), rgba(76, 95, 233, 0.8));
}

[data-theme="tds"] .servers-footable thead th {
  border-bottom-color: rgba(124, 142, 255, 0.34);
  background: linear-gradient(180deg, rgba(28, 43, 76, 0.94), rgba(21, 34, 60, 0.92));
  color: #f3f7ff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}

[data-theme="tds"] .servers-footable tbody tr {
  border-bottom-color: rgba(124, 142, 255, 0.22);
  background: rgba(14, 22, 42, 0.8);
}

[data-theme="tds"] .servers-footable tbody tr:nth-child(even) {
  background: rgba(16, 26, 49, 0.82);
}

[data-theme="tds"] .servers-footable tbody tr:hover {
  background: rgba(23, 37, 68, 0.9);
  box-shadow: inset 0 0 0 1px rgba(124, 142, 255, 0.28);
}

[data-theme="tds"] .servers-table-link {
  color: #f6f9ff;
  border-bottom-color: rgba(244, 201, 93, 0.72);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.42);
}

[data-theme="tds"] .servers-table-link:hover {
  color: #ffffff;
  border-bottom-color: rgba(124, 142, 255, 0.88);
}

[data-theme="tds"] .server-name-meta {
  color: #b9c8e8;
}

[data-theme="tds"] .server-name-meta i {
  color: #f4c95d;
}[data-theme="tds"] .server-icon,
[data-theme="tds"] .server-icon.cyan,
[data-theme="tds"] .server-icon.orange {
  color: #132344;
  background: linear-gradient(135deg, #f4c95d 0%, #7c8eff 54%, #4c5fe9 100%);
  box-shadow:
    0 10px 22px rgba(76, 95, 233, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.24) inset;
}[data-theme="tds"] .hero h1,
[data-theme="tds"] .section-head h2,
[data-theme="tds"] .trust-bottom {
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.48),
    0 10px 22px rgba(0, 0, 0, 0.5);
}

[data-theme="tds"] .categories-kpi-icon i {
  color: color-mix(in srgb, #f4c95d 74%, transparent);
  -webkit-text-stroke: 1px rgba(124, 142, 255, 0.42);
  text-shadow:
    0 0 12px rgba(124, 142, 255, 0.3),
    0 0 28px rgba(76, 95, 233, 0.22);
}

[data-theme="tds"] .categories-kpis article {
  border-color: rgba(124, 142, 255, 0.34);
  background: linear-gradient(180deg, rgba(24, 38, 66, 0.9), rgba(12, 21, 40, 0.96));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
}

[data-theme="tds"] .category-card {
  border-color: rgba(124, 142, 255, 0.34);
  background: linear-gradient(180deg, rgba(23, 37, 64, 0.9), rgba(10, 18, 34, 0.96));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
}

[data-theme="tds"] .category-card:hover,
[data-theme="tds"] .category-card:focus-within {
  border-color: rgba(244, 201, 93, 0.62);
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(124, 142, 255, 0.24) inset;
}

[data-theme="tds"] .category-card.vibe-0::before {
  background: radial-gradient(circle at 20% 15%, rgba(124, 142, 255, 0.52), transparent 48%);
}

[data-theme="tds"] .category-card.vibe-1::before {
  background: radial-gradient(circle at 78% 14%, rgba(76, 95, 233, 0.46), transparent 50%);
}

[data-theme="tds"] .category-card.vibe-2::before {
  background: radial-gradient(circle at 50% 10%, rgba(244, 201, 93, 0.34), transparent 50%);
}

[data-theme="tds"] .category-card.vibe-3::before {
  background: radial-gradient(circle at 18% 82%, rgba(124, 142, 255, 0.36), transparent 52%);
}

[data-theme="tds"] .category-icon {
  color: #132344;
  background: linear-gradient(125deg, #f4c95d 0%, #7c8eff 54%, #4c5fe9 100%);
  box-shadow:
    0 12px 28px rgba(76, 95, 233, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

[data-theme="tds"] .category-stats i {
  color: #f4c95d;
}



[data-theme="tds"] .category-actions-divider {
  border-top-color: rgba(244, 201, 93, 0.42);
}

[data-theme="tds"] .category-actions .btn-glass .category-name-emphasis {
  color: #f4d77f;
}

[data-theme="tds"] .category-actions .btn-glass:hover .category-name-emphasis,
[data-theme="tds"] .category-actions .btn-glass:focus-visible .category-name-emphasis {
  color: #ffe6a1;
  text-shadow: 0 0 12px rgba(244, 201, 93, 0.44);
}

[data-theme="tds"] .features-hero-copy,
[data-theme="tds"] .features-hero-panel,
[data-theme="tds"] .features-bet-copy {
  border-color: rgba(124, 142, 255, 0.34);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(124, 142, 255, 0.14), transparent 58%),
    linear-gradient(180deg, rgba(21, 33, 58, 0.92), rgba(10, 18, 34, 0.98));
}

[data-theme="tds"] .features-bet-badge {
  background: #f4c95d;
  color: #101a32;
}



[data-theme="tds"] .features-bet-title em {
  color: #f4c95d;
  text-shadow: 0 0 14px rgba(244, 201, 93, 0.28);
}[data-theme="tds"] .features-bet-duo-icon,
[data-theme="tds"] .features-page-card-icon {
  color: #132344;
  background: linear-gradient(135deg, #f4c95d 0%, #7c8eff 54%, #4c5fe9 100%);
  box-shadow:
    0 12px 28px rgba(76, 95, 233, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

[data-theme="tds"] .features-bet-btn {
  color: #101a32;
  background: linear-gradient(125deg, #f4c95d 0%, #7c8eff 54%, #4c5fe9 100%);
  border-color: rgba(244, 201, 93, 0.52);
  box-shadow: 0 14px 30px rgba(76, 95, 233, 0.32);
}

[data-theme="tds"] .features-globe {
  border-color: rgba(124, 142, 255, 0.4);
  background:
    radial-gradient(circle at 32% 28%, rgba(244, 201, 93, 0.22), transparent 52%),
    radial-gradient(circle at 70% 74%, rgba(124, 142, 255, 0.34), transparent 56%),
    linear-gradient(180deg, rgba(17, 31, 56, 0.9), rgba(10, 19, 35, 0.96));
  box-shadow: inset 0 0 40px rgba(76, 95, 233, 0.2), 0 14px 34px rgba(5, 10, 20, 0.34);
}

[data-theme="tds"] .features-globe-pill {
  border-color: rgba(124, 142, 255, 0.44);
  background: rgba(10, 21, 39, 0.9);
  color: #e2ecff;
}

[data-theme="tds"] .features-globe-pill i {
  color: #f4c95d;
}

[data-theme="tds"] .features-v2-ticker {
  border-color: rgba(124, 142, 255, 0.32);
  background: linear-gradient(180deg, rgba(14, 24, 42, 0.92), rgba(9, 16, 29, 0.98));
}

[data-theme="tds"] .features-v2-ticker span {
  border-color: rgba(124, 142, 255, 0.34);
  background: rgba(16, 27, 47, 0.86);
  color: #dce9ff;
}

[data-theme="tds"] .features-v2-ticker i {
  color: #f4c95d;
}

[data-theme="tds"] .features-esports-split {
  border-color: rgba(124, 142, 255, 0.34);
  background: linear-gradient(180deg, rgba(12, 18, 31, 0.97), rgba(8, 13, 24, 0.99));
}

[data-theme="tds"] .features-esports-visual {
  border-right-color: rgba(124, 142, 255, 0.4);
  border-left-color: rgba(124, 142, 255, 0.4);
}

[data-theme="tds"] .features-esports-grid {
  background-image:
    linear-gradient(rgba(124, 142, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 142, 255, 0.1) 1px, transparent 1px);
}

[data-theme="tds"] .features-esports-kicker,
[data-theme="tds"] .features-esports-stats strong {
  color: #f4c95d;
}

[data-theme="tds"] .features-v2-card {
  border-color: rgba(124, 142, 255, 0.34);
  background: linear-gradient(180deg, rgba(22, 34, 59, 0.92), rgba(10, 17, 32, 0.98));
}

[data-theme="tds"] .features-v2-card::before {
  background: radial-gradient(circle, rgba(244, 201, 93, 0.15), rgba(76, 95, 233, 0));
}

[data-theme="tds"] .features-v2-card::after {
  border-top-color: rgba(124, 142, 255, 0.34);
  border-right-color: rgba(124, 142, 255, 0.34);
}

[data-theme="tds"] .feature-chip-row span,
[data-theme="tds"] .features-v2-card .feature-chip-row span {
  border-color: rgba(124, 142, 255, 0.34);
  background: rgba(10, 18, 34, 0.86);
  color: #dce9ff;
}

[data-theme="tds"] .categories-chart-window-tab {
  color: #b8c8e8;
}

[data-theme="tds"] .categories-chart-window-tab:hover,
[data-theme="tds"] .categories-chart-window-tab:focus-visible {
  color: #ecf3ff;
  background: rgba(124, 142, 255, 0.22);
}

[data-theme="tds"] .sort-tab.is-active {
  color: #101a32;
  background: linear-gradient(125deg, #f4c95d, #7c8eff 54%, #4c5fe9);
  box-shadow: 0 10px 20px rgba(76, 95, 233, 0.26);
}[data-theme="tds"] .trust-metric,
[data-theme="tds"] .account-badge {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.24);
}

[data-theme="tds"] .server-hero {
  position: relative;
  isolation: isolate;
  padding-top: 4.6rem;
}

[data-theme="tds"] .server-hero::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  border-top: 1px solid rgba(124, 142, 255, 0.28);
  border-bottom: 1px solid rgba(124, 142, 255, 0.2);
  background:
    radial-gradient(130% 120% at 6% 4%, rgb(95 113 242 / 54%), transparent 52%),
    radial-gradient(130% 120% at 94% 8%, rgba(124, 142, 255, 0.2), transparent 56%),
    linear-gradient(180deg, rgba(16, 27, 47, 0.9), rgba(9, 16, 30, 0.96));
  box-shadow:
    0 24px 44px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(124, 142, 255, 0.08) inset;
  z-index: 0;
}

[data-theme="tds"] .server-hero::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.06), transparent 20%),
    linear-gradient(180deg, rgba(244, 201, 93, 0.08), transparent 22%);
  z-index: 0;
}

[data-theme="tds"] .server-hero > * {
  position: relative;
  z-index: 1;
}

[data-theme="tds"] .server-hero-copy::before {
  content: none;
}

[data-theme="tds"] .server-hero-copy {
  position: relative;
  z-index: 1;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

[data-theme="tds"] .server-hero-copy::after {
  content: none;
}

[data-theme="tds"] .server-hero-copy > * {
  position: relative;
  z-index: 1;
}

[data-theme="tds"] .server-hero-copy h1 {
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.4),
    0 0 20px rgba(124, 142, 255, 0.24),
    0 0 28px rgba(244, 201, 93, 0.18);
}

[data-theme="tds"] .hero-route {
  color: #f4dca1;
}

[data-theme="tds"] .hero-route i,
[data-theme="tds"] .hero-platform strong {
  color: #f4c95d;
}

[data-theme="tds"] .server-cover {
  border-color: rgba(124, 142, 255, 0.48);
  background:
    radial-gradient(circle at 24% 18%, rgba(244, 201, 93, 0.36), transparent 45%),
    radial-gradient(circle at 82% 78%, rgba(124, 142, 255, 0.34), transparent 52%),
    linear-gradient(180deg, rgba(18, 29, 50, 0.94), rgba(10, 17, 32, 0.98));
  color: #f8d892;
  box-shadow:
    0 14px 32px rgba(76, 95, 233, 0.3),
    0 0 0 1px rgba(244, 201, 93, 0.22) inset;
}

[data-theme="tds"] .server-trust-row .trust-metric {
  border: 1px solid rgba(124, 142, 255, 0.26);
  background: linear-gradient(180deg, rgba(20, 31, 54, 0.88), rgba(10, 17, 31, 0.94));
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(124, 142, 255, 0.1) inset;
}

[data-theme="tds"] .server-trust-row .trust-metric:hover,
[data-theme="tds"] .server-trust-row .trust-metric:focus-visible {
  border-color: rgba(244, 201, 93, 0.52);
  background:
    radial-gradient(circle at 8% 8%, rgba(244, 201, 93, 0.14), transparent 45%),
    linear-gradient(180deg, rgba(24, 38, 66, 0.94), rgba(12, 20, 36, 0.98));
}

[data-theme="tds"] .server-trust-row .trust-top i {
  color: #f4c95d;
}

[data-theme="tds"] .vote-rail {
  border-color: rgba(244, 201, 93, 0.34);
  background:
    radial-gradient(circle at 14% 20%, rgba(244, 201, 93, 0.2), transparent 43%),
    radial-gradient(circle at 88% 22%, rgba(124, 142, 255, 0.2), transparent 44%),
    linear-gradient(180deg, rgba(16, 28, 47, 0.9), rgba(10, 19, 35, 0.96));
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.44),
    0 0 0 1px rgba(124, 142, 255, 0.2) inset;
}

[data-theme="tds"] .monitor-screen {
  border-color: rgba(124, 142, 255, 0.42);
  background:
    radial-gradient(circle at 10% 8%, rgba(244, 201, 93, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(25, 39, 66, 0.96), rgba(13, 21, 38, 0.98));
}

[data-theme="tds"] .monitor-chart-wrap {
  border-color: rgba(124, 142, 255, 0.34);
  background: linear-gradient(180deg, rgba(20, 31, 54, 0.94), rgba(11, 18, 31, 0.98));
}

[data-theme="tds"] .monitor-range-btn.is-active {
  color: #101a32;
  background: linear-gradient(130deg, #f4c95d, #7c8eff 58%, #4c5fe9);
}

[data-theme="tds"] .stats-wrap {
  position: relative;
  isolation: isolate;
  overflow: visible;
  border-top-color: rgba(124, 142, 255, 0.22);
  border-bottom-color: rgba(124, 142, 255, 0.22);
  background: linear-gradient(180deg, rgba(124, 142, 255, 0.06), rgba(11, 18, 34, 0));
}

[data-theme="tds"] .stats-wrap::before,
[data-theme="tds"] .stats-wrap::after {
  content: '';
  position: absolute;
  left: calc(50% - 50vw);
  width: 100vw;
  pointer-events: none;
  z-index: 0;
}

[data-theme="tds"] .stats-wrap::before {
  top: -54px;
  height: 130px;
  background:
    radial-gradient(130% 120% at 50% -28%, rgba(244, 201, 93, 0.18) 0%, rgba(124, 142, 255, 0.1) 38%, rgba(11, 18, 34, 0) 72%);
  opacity: 0.9;
}

[data-theme="tds"] .stats-wrap::after {
  bottom: -66px;
  height: 160px;
  background:
    radial-gradient(130% 120% at 50% 126%, rgba(124, 142, 255, 0.16) 0%, rgba(76, 95, 233, 0.08) 42%, rgba(11, 18, 34, 0) 76%);
  opacity: 0.86;
}

[data-theme="tds"] .stats-wrap .container {
  position: relative;
  z-index: 1;
}[data-theme="tds"] .latest-blog,
[data-theme="tds"] .steps,
[data-theme="tds"] .reviews {
  position: relative;
  z-index: 1;
}[data-theme="tds"] .latest-blog > *,
[data-theme="tds"] .steps > *,
[data-theme="tds"] .reviews > * {
  position: relative;
  z-index: 1;
}

[data-theme="tds"] .steps .section-head h2 {
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.56),
    0 10px 24px rgba(0, 0, 0, 0.46);
}




* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter var", "Inter", "Gotham", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 8%, rgba(19, 207, 255, 0.11) 0%, transparent 44%),
    radial-gradient(circle at 84% 10%, rgba(111, 140, 255, 0.05) 0%, transparent 46%),
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.018) 0%, transparent 54%),
    linear-gradient(180deg, #121920 0%, var(--bg-1) 42%, var(--bg-0) 100%);
  min-height: 100vh;
  line-height: 1.5;
}

a,
a:visited {
  color: #a5b4fc;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(146, 172, 198, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(146, 172, 198, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at center, #000 44%, transparent 100%);
  opacity: 0.09;
  z-index: -1;
}

body.home-page {
  position: relative;
  overflow-x: hidden;
}

.home-bg-art {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 100%, rgba(43, 96, 168, 0.2), transparent 40%),
    linear-gradient(180deg, rgba(8, 13, 20, 0.96), rgba(6, 10, 16, 0.98));
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
  background-size: cover, cover;
}

.home-bg-art__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 84% 18%, rgba(124, 142, 255, 0.2), transparent 34%),
    radial-gradient(circle at 12% 78%, rgba(76, 95, 233, 0.18), transparent 38%),
    radial-gradient(circle at 46% 40%, rgba(244, 201, 93, 0.08), transparent 38%);
}

.home-bg-art__mascot {
  position: absolute;
  display: block;
  object-fit: contain;
  object-position: center;
  height: auto;
  filter: drop-shadow(0 20px 38px rgba(7, 13, 26, 0.45));
}

.home-bg-art__mascot--primary {
  width: clamp(260px, 26vw, 520px);
  aspect-ratio: 768 / 1152;
  right: clamp(-70px, -3vw, -26px);
  bottom: clamp(18px, 5vh, 70px);
  opacity: 0.06;
}

.home-bg-art__mascot--secondary {
  width: clamp(180px, 16vw, 300px);
  aspect-ratio: 768 / 1152;
  left: clamp(-54px, -2vw, -12px);
  top: clamp(120px, 18vh, 220px);
  opacity: 0.025;
  transform: scaleX(-1) rotate(-6deg);
}

body.home-page .site-header,
body.home-page main,
body.home-page .site-footer {
  position: relative;
  z-index: 1;
}

/* Keep homepage dropdowns above hero/content layers. */
body.home-page .site-header {
  z-index: 1400;
}

body.servers-page,
body.bots-page,
body.categories-page,
body.category-page,
body.category-bots-page {
  position: relative;
}

body.faq-page,
body.blog-page {
  position: relative;
}

.servers-bg-art {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(13, 21, 34, 0.58) 0%, rgba(12, 20, 33, 0.66) 58%, rgba(9, 15, 25, 0.8) 100%),
    url('/images/tds-servers.webp') center -90px / min(2400px, 100vw) auto no-repeat;
  opacity: 0.24;
  filter: contrast(1) brightness(1);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.58) 56%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.58) 56%, rgba(0, 0, 0, 0) 100%);
}

.faq-bg-art,
.blog-bg-art,
.statistics-bg-art,
.partners-bg-art,
.features-bg-art,
.community-rules-bg-art {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.24;
  filter: contrast(1) brightness(1);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.58) 56%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.58) 56%, rgba(0, 0, 0, 0) 100%);
}

.faq-bg-art {
  background:
    linear-gradient(180deg, rgba(13, 21, 34, 0.58) 0%, rgba(12, 20, 33, 0.66) 58%, rgba(9, 15, 25, 0.8) 100%),
    url('/images/tds-faq.webp') center -300px / min(2400px, 100vw) auto no-repeat;
}

.blog-bg-art {
  background:
    linear-gradient(180deg, rgba(13, 21, 34, 0.58) 0%, rgba(12, 20, 33, 0.66) 58%, rgba(9, 15, 25, 0.8) 100%),
    url('/images/tds-blog-bg.webp') center -300px / min(2400px, 100vw) auto no-repeat;
}

.statistics-bg-art {
  background:
    linear-gradient(180deg, rgba(13, 21, 34, 0.58) 0%, rgba(12, 20, 33, 0.66) 58%, rgba(9, 15, 25, 0.8) 100%),
    url('/images/tds-stats.webp') center -300px / min(2400px, 100vw) auto no-repeat;
}

.partners-bg-art {
  background:
    linear-gradient(180deg, rgba(13, 21, 34, 0.58) 0%, rgba(12, 20, 33, 0.66) 58%, rgba(9, 15, 25, 0.8) 100%),
    url('/images/tds-partners.webp') center -300px / min(2400px, 100vw) auto no-repeat;
}

.features-bg-art {
  background:
    linear-gradient(180deg, rgba(13, 21, 34, 0.58) 0%, rgba(12, 20, 33, 0.66) 58%, rgba(9, 15, 25, 0.8) 100%),
    url('/images/tds-features.webp') center -300px / min(2400px, 100vw) auto no-repeat;
}

.community-rules-bg-art {
  background:
    linear-gradient(180deg, rgba(13, 21, 34, 0.58) 0%, rgba(12, 20, 33, 0.66) 58%, rgba(9, 15, 25, 0.8) 100%),
    url('/images/tds-community.webp') center -300px / min(2400px, 100vw) auto no-repeat;
}

body.server-porto-page .site-footer,
body.servers-page .site-header,
body.servers-page main,
body.servers-page .site-footer,
body.bots-page .site-header,
body.bots-page main,
body.bots-page .site-footer,
body.categories-page .site-header,
body.categories-page main,
body.categories-page .site-footer,
body.category-page .site-header,
body.category-page main,
body.category-page .site-footer,
body.category-bots-page .site-header,
body.category-bots-page main,
body.category-bots-page .site-footer,
body.faq-page .site-header,
body.faq-page main,
body.faq-page .site-footer,
body.blog-page .site-header,
body.blog-page main,
body.blog-page .site-footer {
  position: relative;
  z-index: 1;
}

/* Keep account/nav dropdowns clickable above directory content layers. */
body.servers-page .site-header,
body.bots-page .site-header,
body.categories-page .site-header,
body.category-page .site-header,
body.category-bots-page .site-header,
body.faq-page .site-header,
body.blog-page .site-header {
  z-index: 1400;
}

.container {
  width: min(1380px, calc(100% - 3rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1300;
  padding-top: max(env(safe-area-inset-top), 0px);
  backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(11, 16, 21, 0.94), rgba(11, 16, 21, 0.68));
  border-bottom: 1px solid rgba(153, 182, 209, 0.16);
}

.nav-wrap {
  min-height: 86px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.tds-logo {
  --tds-primary: #4c5fe9;
  --tds-primary-light: #7c8eff;
  --tds-accent: #f4c95d;
  --tds-text: #ffffff;
  --tds-muted: #aeb4c7;
  --tds-surface: #171922;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--tds-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-decoration: none;
  user-select: none;
}

.tds-logo--image-only {
  gap: 0;
  line-height: 0;
}

.tds-logo__image {
  display: block;
  width: auto;
  height: 90px;
  object-fit: contain;
}



.main-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.main-nav-menu {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 5px;
  padding: 0;
  border: 1px solid rgba(153, 182, 209, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.mobile-nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav a,
.panel-head a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 550;
  transition: color 0.2s ease;
}

.main-nav-menu > a,
.nav-dropdown-trigger {
  position: relative;
}

.main-nav-menu > a::after,
.nav-dropdown-trigger::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.38rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f4c95d 0%, #7c8eff 55%, #4c5fe9 100%);
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.main-nav-menu > a.is-active,
.nav-dropdown.is-active .nav-dropdown-trigger {
  color: var(--text);
}

.main-nav-menu > a.is-active::after,
.nav-dropdown.is-active .nav-dropdown-trigger::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 550;
  cursor: pointer;
  transition: color 0.2s ease;
}

.nav-dropdown.is-active .nav-dropdown-trigger,
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger:focus-visible {
  color: var(--text);
}

.nav-dropdown-trigger:focus-visible {
  outline: 2px solid rgba(87, 200, 255, 0.6);
  outline-offset: 4px;
  border-radius: 8px;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 16.2rem;
  display: grid;
  gap: 0.2rem;
  padding: 0.48rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(145, 172, 197, 0.26);
  background: rgba(12, 20, 31, 0.99);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 1100;
}

.nav-dropdown-menu a,
.nav-dropdown-menu a:visited {
  padding: 0.58rem 0.64rem;
  border-radius: 0.56rem;
  color: #dce8f8;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 610;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  color: #f5f9ff;
  background: rgba(124, 142, 255, 0.14);
}

.nav-dropdown.is-open .nav-dropdown-menu,
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

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

.auth-card {
  width: min(100%, 520px);
  border-radius: 28px;
  border: 1px solid rgba(137, 162, 186, 0.22);
  background: linear-gradient(180deg, rgba(18, 28, 39, 0.92), rgba(10, 15, 22, 0.96));
  padding: 2rem;
}

.auth-alert {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(137, 162, 186, 0.2);
}

.auth-alert-success {
  background: rgba(37, 128, 73, 0.18);
  color: #dbffe5;
}

.auth-alert-error {
  background: rgba(140, 31, 49, 0.2);
  color: #ffd8de;
}

.auth-alert ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

/* Auth page — split premium login */
.auth-page {
  overflow-x: hidden;
  min-height: 100vh;
}

.auth-page .bg-grid {
  opacity: 0.05;
}

.auth-welcome-art {
  position: fixed;
  top: 86px;
  left: 1vw;
  width: min(60vw, 980px);
  height: calc(100vh - 86px);
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(9, 14, 22, 0.2) 0%, rgba(9, 14, 22, 0.58) 70%, rgba(9, 14, 22, 0.9) 100%),
    url('/images/tds-welcome.webp') left center / contain no-repeat;
  opacity: 0.24;
  filter: brightness(0.82) saturate(0.94);
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.72) 62%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.72) 62%, rgba(0, 0, 0, 0) 100%);
}

.auth-spotlight {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(110px);
}

.auth-spotlight--top {
  width: min(70vw, 720px);
  height: min(70vw, 720px);
  top: -20%;
  right: -12%;
  background: radial-gradient(circle at 50% 50%, rgba(88, 101, 242, 0.32), transparent 58%);
}

.auth-spotlight--bottom {
  width: min(55vw, 540px);
  height: min(55vw, 540px);
  bottom: -16%;
  left: -10%;
  background: radial-gradient(circle at 50% 50%, rgba(125, 225, 248, 0.22), transparent 58%);
}

.auth-stage {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: calc(100vh - 86px);
  padding: clamp(1.25rem, 4vw, 2.5rem) 1rem;
}

.auth-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, #5865f2, #4752c4);
  color: #fff;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(88, 101, 242, 0.3);
}

.auth-feature-grid {
  position: relative;
  display: grid;
  gap: 0.75rem;
}

.auth-feature-grid article {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(137, 162, 186, 0.14);
  background: rgba(8, 12, 19, 0.45);
  backdrop-filter: blur(8px);
}

.auth-feature-grid article i {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.22), rgba(125, 225, 248, 0.18));
  color: var(--cyan);
  flex: none;
  font-size: 1rem;
}

.auth-feature-grid strong,
.auth-feature-grid span {
  display: block;
  text-align: left;
}

.auth-feature-grid strong {
  color: var(--text);
  font-weight: 700;
  font-size: 0.95rem;
}

.auth-feature-grid span {
  color: var(--muted);
  font-size: 0.86rem;
  margin-top: 0.1rem;
}

.auth-card {
  width: min(100%, 420px);
  border-radius: 28px;
  border: 1px solid rgba(137, 162, 186, 0.18);
  background: linear-gradient(180deg, rgba(20, 31, 43, 0.94), rgba(12, 18, 26, 0.98));
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  text-align: center;
  position: relative;
}

.auth-card--glass {
  border-color: rgba(137, 162, 186, 0.16);
  background: linear-gradient(180deg, rgba(22, 33, 46, 0.82), rgba(14, 21, 30, 0.88));
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.auth-card--glass::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 29px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.55), rgba(125, 225, 248, 0.28), transparent 55%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}

.auth-card-intro {
  position: relative;
  z-index: 1;
}

.auth-mini-eyebrow {
  display: inline-block;
  color: var(--cyan);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-card-intro h2 {
  margin: 0.35rem 0 0;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.5rem, 3.6vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.auth-card-intro p {
  margin: 0.45rem auto 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.auth-alert {
  position: relative;
  z-index: 1;
  margin-top: 1.1rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(137, 162, 186, 0.2);
  text-align: left;
}

.auth-alert-success {
  background: rgba(37, 128, 73, 0.18);
  color: #dbffe5;
}

.auth-alert-error {
  background: rgba(140, 31, 49, 0.2);
  color: #ffd8de;
}

.auth-alert ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.auth-cta {
  width: 100%;
  min-height: 60px;
  padding: 1.05rem 1.4rem;
  font-size: 1.08rem;
  font-weight: 700;
}

.btn-discord {
  color: #f5f7ff;
  background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
  box-shadow: 0 18px 34px rgba(88, 101, 242, 0.3);
  overflow: hidden;
}

.btn-discord::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-discord:hover::before {
  transform: translateX(100%);
}

.btn-discord:hover {
  box-shadow: 0 24px 44px rgba(88, 101, 242, 0.4);
}

.btn-discord-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 1.3rem;
}

.btn-discord-text {
  flex: 1;
}

@media (max-width: 980px) {

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

@media (max-width: 640px) {
  .auth-stage {
    min-height: calc(100vh - 68px);
    padding: 1rem;
  }

  .auth-feature-grid {
    grid-template-columns: 1fr;
  }

  .auth-card {
    border-radius: 22px;
    padding: 1.5rem;
  }
}


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

  .footer-bottom p {
    font-size: 0.9rem;
  }
}


@media (max-width: 500px) {
  .tds-logo {
    gap: 10px;
  }

  .nav-cta {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}


.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.nav-cta form {
  margin: 0;
}

.account-menu {
  position: relative;
  z-index: 1301;
  isolation: isolate;
}

.account-menu-trigger {
  gap: 0.52rem;
  min-width: 9.8rem;
}

.account-menu-avatar {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(125deg, #f4c95d 0%, #7c8eff 54%, #4c5fe9 100%);
  color: #101a32;
  font-size: 0.78rem;
  font-weight: 800;
  flex-shrink: 0;
}

.account-menu-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-menu-cash-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.16rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 201, 93, 0.4);
  background: rgba(244, 201, 93, 0.12);
  color: #f4c95d;
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
}

.account-menu-cash-meta {
  color: #f4c95d;
}

.account-menu-cash-meta strong {
  color: #f4c95d;
}

.account-menu-panel {
  position: absolute;
  top: calc(100% + 0.48rem);
  right: 0;
  min-width: 15.2rem;
  padding: 0.52rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(145, 172, 197, 0.26);
  background: rgba(13, 21, 32, 0.97);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  display: grid;
  gap: 0.2rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1302;
}

.account-menu.is-open .account-menu-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.account-menu-meta {
  margin: 0.16rem 0.18rem 0.48rem;
  padding-bottom: 0.38rem;
  border-bottom: 1px solid rgba(145, 172, 197, 0.18);
  color: #a9bbcf;
  font-size: 0.8rem;
}

.account-menu-meta strong {
  color: #e7f1ff;
}

.account-menu-panel a,
.account-menu-logout {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.58rem 0.66rem;
  border-radius: 0.6rem;
  border: 0;
  background: transparent;
  color: #dce8f8;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 620;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.account-menu-panel a i,
.account-menu-logout i {
  width: 1rem;
  text-align: center;
  opacity: 0.9;
}

.account-menu-panel a:hover,
.account-menu-logout:hover {
  background: rgba(124, 142, 255, 0.14);
}

.account-menu-logout {
  color: #ffd2da;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.62rem 1.1rem;
  text-decoration: none;
  font-weight: 650;
  font: inherit;
  line-height: 1;
  cursor: pointer;
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}

.btn:focus-visible {
  outline: 2px solid rgba(87, 200, 255, 0.75);
  outline-offset: 3px;
}

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

.btn-primary {
  color: #1a2837;
  background: linear-gradient(125deg, var(--lime) 0%, var(--cyan) 100%);
  box-shadow: 0 14px 28px rgba(111, 140, 255, 0.2);
}

.btn-ghost {
  color: var(--text);
  border-color: rgba(145, 172, 197, 0.3);
  background: rgba(19, 28, 37, 0.62);
}

.btn-glass {
  color: var(--text);
  border-color: rgba(143, 172, 198, 0.44);
  background: rgba(20, 31, 42, 0.5);
}

.btn-lg {
  padding: 0.95rem 1.38rem;
  font-size: 0.95rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  padding: 4.6rem 0 3rem;
}

.hero .hero-copy > *,
.hero .hero-panel .panel-head,
.hero .hero-panel .server-row,
.hero .hero-panel .server-row-link {
  --reveal-delay: 0ms;
}

.hero .hero-copy h1 {
  --reveal-delay: 120ms;
}

.hero .hero-copy .hero-sub {
  --reveal-delay: 200ms;
}

.hero .hero-panel .panel-head {
  --reveal-delay: 170ms;
}

.hero .hero-panel .server-row:nth-of-type(1),
.hero .hero-panel .server-row-link:nth-of-type(1) {
  --reveal-delay: 250ms;
}

.hero .hero-panel .server-row:nth-of-type(2),
.hero .hero-panel .server-row-link:nth-of-type(2) {
  --reveal-delay: 320ms;
}

.hero .hero-panel .server-row:nth-of-type(3),
.hero .hero-panel .server-row-link:nth-of-type(3) {
  --reveal-delay: 390ms;
}

.hero .hero-panel .server-row:nth-of-type(4),
.hero .hero-panel .server-row-link:nth-of-type(4) {
  --reveal-delay: 460ms;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--cyan);
  font-size: 0.88rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.85rem);
  line-height: 1.06;
  max-width: 18ch;
}

.hero-sub {
  margin: 1.12rem 0 0;
  color: var(--muted);
  max-width: 54ch;
  font-size: 1.06rem;
}

.hero-panel {
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, rgba(27, 37, 47, 0.92) 0%, rgba(18, 26, 34, 0.96) 100%);
  border: 1px solid rgba(144, 171, 196, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  box-shadow: var(--shadow-soft);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.panel-head h2 {
  margin: 0;
  font-size: 1.12rem;
}

.server-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.72rem;
  padding: 0.76rem;
  border: 1px solid rgba(142, 170, 194, 0.2);
  border-radius: 14px;
  background: rgba(16, 23, 31, 0.62);
}

.server-row-link {
  color: inherit;
  text-decoration: none;
  transition: transform 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}

.server-row-link:hover,
.server-row-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(111, 140, 255, 0.45);
  background: rgba(22, 31, 40, 0.88);
}

.server-row + .server-row {
  margin-top: 0.62rem;
}

.server-row h3 {
  margin: 0;
  font-size: 0.98rem;
}

.trending-server-name {
  display: inline-block;
  border-bottom: 1px solid rgba(111, 201, 255, 0.36);
  transition: border-color 0.16s ease, color 0.16s ease;
}

.server-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  overflow: hidden;
  display: grid;
  place-items: center;
  font-size: 1.06rem;
  color: #112338;
  background: linear-gradient(130deg, #7ad4ff, #49bfff);
}

.server-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.server-row-link:hover .trending-server-name,
.server-row-link:focus-visible .trending-server-name {
  color: #ffffff;
  border-bottom-color: rgba(111, 140, 255, 0.6);
}

.server-row p {
  margin: 0.1rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.server-icon.cyan {
  color: #112338;
  background: linear-gradient(130deg, #8de0ff, #50c4ff);
}

.server-icon.orange {
  color: #112338;
  background: linear-gradient(130deg, #8dd8ff, #64c9ff);
}

.row-actions {
  display: grid;
  justify-items: end;
  gap: 0.35rem;
}

.vote-total {
  color: #eaf5ff;
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.vote-button {
  border: 1px solid rgba(111, 140, 255, 0.5);
  border-radius: 999px;
  background:
    radial-gradient(circle at 20% 12%, rgba(255, 255, 255, 0.42), transparent 45%),
    linear-gradient(120deg, #9fb7ff, #6f8cff 52%, #5879ff);
  color: #1a2837;
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.4rem 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  cursor: pointer;
  box-shadow:
    0 12px 30px rgba(111, 140, 255, 0.18),
    0 0 0 1px rgba(195, 255, 121, 0.22) inset;
  transition: transform 0.14s ease, box-shadow 0.2s ease, filter 0.2s ease;
  position: relative;
  overflow: hidden;
}

.vote-button::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.45) 45%, transparent 70%);
  transform: translateX(-135%);
  transition: transform 0.45s ease;
}

.vote-button:hover {
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.04);
  box-shadow:
    0 16px 32px rgba(111, 140, 255, 0.24),
    0 0 0 1px rgba(208, 255, 153, 0.34) inset;
}

.vote-button:hover::after {
  transform: translateX(135%);
}

.vote-button:active {
  transform: translateY(0) scale(0.98);
}

.vote-button-sm {
  font-size: 0.73rem;
  padding: 0.33rem 0.66rem;
}



.vote-button.is-voted {
  background: linear-gradient(120deg, #c4d2ff, #6f8cff);
  border-color: rgba(111, 140, 255, 0.62);
  color: #1a2837;
  box-shadow: 0 14px 30px rgba(111, 140, 255, 0.22);
}

.vote-button.is-voted::after {
  display: none;
}

@keyframes votePulse {
  0% {
    box-shadow:
      0 14px 28px rgba(111, 140, 255, 0.2),
      0 0 0 0 rgba(111, 140, 255, 0.34);
  }
  70% {
    box-shadow:
      0 14px 32px rgba(111, 140, 255, 0.28),
      0 0 0 12px rgba(111, 140, 255, 0);
  }
  100% {
    box-shadow:
      0 14px 28px rgba(111, 140, 255, 0.2),
      0 0 0 0 rgba(111, 140, 255, 0);
  }
}

.stats-wrap {
  margin-top: 1rem;
  border-top: 1px solid rgba(143, 171, 196, 0.18);
  border-bottom: 1px solid rgba(143, 171, 196, 0.18);
  background: linear-gradient(180deg, rgba(87, 200, 255, 0.05), rgba(0, 0, 0, 0));
}

.section-head {
  margin-bottom: 1.45rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.58rem, 2.65vw, 2.5rem);
  line-height: 1.14;
}.server-achievements .section-head h2 i {
  display: inline-grid;
  place-items: center;
  width: 1.46em;
  height: 1.46em;
  margin-right: 0.46em;
  border-radius: 0.38em;
  background: linear-gradient(135deg, #b5c6ff, #6f8cff);
  color: #1a2837;
  box-shadow: 0 0.3em 0.78em rgba(111, 140, 255, 0.26);
  font-size: 0.76em;
  line-height: 1;
  vertical-align: -0.12em;
}




















.browse-all-banner {
  margin-top: 100px;
  margin-bottom: 100px;
  position: relative;
  z-index: 2;
  border-radius: 28px;
  border: 1px solid rgba(154, 129, 218, 0.64);
  background:
    radial-gradient(120% 120% at 20% 0%, rgba(166, 117, 224, 0.2), transparent 52%),
    linear-gradient(180deg, rgba(18, 24, 56, 0.96), rgba(15, 20, 45, 0.98));
  box-shadow:
    0 24px 50px rgba(4, 8, 24, 0.48),
    inset 0 0 0 1px rgba(174, 149, 236, 0.12);
  padding: 3rem 2rem 2rem;
  display: grid;
  gap: 1.25rem;
  text-align: center;
  animation: browsePanelPulse 8s ease-in-out infinite;
}

.browse-all-banner::before {
  content: '';
  position: absolute;
  left: 2.8%;
  right: 2.8%;
  bottom: 18px;
  height: 44%;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(120, 94, 202, 0.12), rgba(120, 94, 202, 0));
  pointer-events: none;
}

.browse-all-ribbon,
.browse-all-copy,
.browse-all-trust,
.browse-all-actions {
  position: relative;
  z-index: 1;
}

.browse-all-ribbon {
  width: min(82%, 920px);
  margin: -4.1rem auto 0.1rem;
  border-radius: 16px;
  border: 1px solid rgba(180, 146, 236, 0.75);
  background: linear-gradient(90deg, rgba(33, 39, 85, 0.96), rgba(53, 39, 94, 0.96));
  display: grid;
  gap: 0.68rem;
  justify-items: center;
  padding: 0.92rem 1rem 1.02rem;
  animation: browseRibbonFloat 5.6s ease-in-out infinite;
}

.browse-all-ribbon-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.browse-all-ribbon-title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.15rem, 0.98rem + 0.92vw, 2rem);
  font-weight: 820;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.browse-all-ribbon-view-bottom {
  grid-column: 1 / -1;
  justify-self: stretch;
  border-radius: 999px;
  border: 1px solid rgba(182, 154, 241, 0.68);
  background: linear-gradient(180deg, rgba(35, 48, 88, 0.86), rgba(27, 40, 76, 0.92));
  color: #edf2ff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.36rem;
  padding: 0.5rem 0.78rem;
  margin-top: 0.12rem;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
  cursor: pointer;
  font-family: inherit;
}

.browse-all-ribbon-view-bottom:hover,
.browse-all-ribbon-view-bottom:focus-visible {
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(53, 68, 118, 0.96), rgba(39, 55, 99, 0.98));
  border-color: rgba(210, 186, 255, 0.82);
}

.browse-all-ribbon-cats {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.48rem;
}

.browse-all-ribbon-cats a,
.browse-all-ribbon-cats button {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(174, 147, 233, 0.34);
  background: rgba(20, 28, 58, 0.78);
  color: #e9efff;
  text-decoration: none;
  padding: 0.36rem 0.66rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  font-size: 0.86rem;
  font-weight: 650;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease;
  cursor: pointer;
  font-family: inherit;
}

.browse-all-ribbon-cats a::after,
.browse-all-ribbon-cats button::after {
  content: '';
  position: absolute;
  top: -130%;
  left: -20%;
  width: 34%;
  height: 340%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0), rgba(226, 216, 255, 0.25), rgba(255, 255, 255, 0));
  transform: rotate(13deg);
  opacity: 0;
  transition: left 0.24s ease, opacity 0.24s ease;
}

.browse-all-ribbon-cats a i,
.browse-all-ribbon-cats button i {
  color: #bf9bf0;
  font-size: 0.88em;
  transition: color 0.16s ease;
}

.browse-all-ribbon-cats a:hover,
.browse-all-ribbon-cats a:focus-visible,
.browse-all-ribbon-cats button:hover,
.browse-all-ribbon-cats button:focus-visible {
  border-color: rgba(204, 176, 255, 0.68);
  background: linear-gradient(180deg, rgba(64, 56, 126, 0.88), rgba(43, 40, 95, 0.94));
  box-shadow: 0 0 0 1px rgba(211, 183, 255, 0.24), 0 10px 20px rgba(9, 12, 33, 0.34);
  transform: translateY(-1px);
  color: #ffffff;
}

.browse-all-ribbon-cats a.is-active {
  border-color: rgba(204, 176, 255, 0.68);
  background: linear-gradient(180deg, rgba(64, 56, 126, 0.88), rgba(43, 40, 95, 0.94));
  box-shadow: 0 0 0 1px rgba(211, 183, 255, 0.24), 0 10px 20px rgba(9, 12, 33, 0.34);
  color: #ffffff;
}

.browse-all-ribbon-cats button.is-active {
  border-color: rgba(204, 176, 255, 0.68);
  background: linear-gradient(180deg, rgba(64, 56, 126, 0.88), rgba(43, 40, 95, 0.94));
  box-shadow: 0 0 0 1px rgba(211, 183, 255, 0.24), 0 10px 20px rgba(9, 12, 33, 0.34);
  color: #ffffff;
}

.browse-all-ribbon-cats a:hover::after,
.browse-all-ribbon-cats a:focus-visible::after,
.browse-all-ribbon-cats button:hover::after,
.browse-all-ribbon-cats button:focus-visible::after {
  left: 116%;
  opacity: 1;
}

.browse-all-ribbon-cats a.is-active::after {
  left: 116%;
  opacity: 1;
}

.browse-all-ribbon-cats button.is-active::after {
  left: 116%;
  opacity: 1;
}

.browse-all-ribbon-cats a:hover i,
.browse-all-ribbon-cats a:focus-visible i,
.browse-all-ribbon-cats button:hover i,
.browse-all-ribbon-cats button:focus-visible i {
  color: #e7ceff;
}

.browse-all-ribbon-cats a.is-active i {
  color: #e7ceff;
}

.browse-all-ribbon-cats button.is-active i {
  color: #e7ceff;
}

.browse-all-copy {
  margin: 0 auto;
  max-width: 88ch;
  font-size: clamp(1rem, 0.88rem + 0.36vw, 1.32rem);
  line-height: 1.45;
  color: #edf1ff;
}

.browse-all-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.62rem;
  margin: 0 auto;
  width: min(92%, 980px);
  border-radius: 12px;
  background: rgba(29, 33, 73, 0.78);
  border: 1px solid rgba(173, 146, 235, 0.28);
  padding: 0.78rem 1rem;
  animation: browseTrustGlow 5.4s ease-in-out infinite;
}

.browse-all-trust-label,
.browse-all-trust-score {
  font-weight: 760;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.browse-all-btn {
  min-width: clamp(170px, 18vw, 290px);
  padding: 0.88rem 1.35rem;
  border-radius: 16px;
  border: 1px solid transparent;
  color: #ffffff;
  font-size: clamp(0.92rem, 0.86rem + 0.12vw, 1.08rem);
  font-weight: 790;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.browse-all-stars {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  color: #2ae2b8;
}

.browse-all-trust-count {
  color: #f0f3ff;
}

.browse-all-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.95rem;
  animation: browseActionsDrift 5.8s ease-in-out infinite;
}

.browse-all-btn-ghost {
  background: #f4f6ff;
  color: #304ad0;
  box-shadow: 0 10px 24px rgba(8, 12, 30, 0.3);
}

.browse-all-btn-primary {
  background: linear-gradient(135deg, #4755d0, #3947bc);
  color: #f8f9ff;
  box-shadow: 0 10px 24px rgba(57, 71, 188, 0.44);
}

.browse-all-btn:hover,
.browse-all-btn:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

@keyframes browsePanelPulse {
  0%,
  100% {
    box-shadow:
      0 24px 50px rgba(4, 8, 24, 0.48),
      inset 0 0 0 1px rgba(174, 149, 236, 0.12);
  }
  50% {
    box-shadow:
      0 28px 58px rgba(4, 8, 24, 0.54),
      inset 0 0 0 1px rgba(190, 166, 244, 0.2);
  }
}

@keyframes browseRibbonFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

@keyframes browseTrustGlow {
  0%,
  100% {
    border-color: rgba(124, 142, 255, 0.34);
    box-shadow: inset 0 0 0 1px rgba(244, 201, 93, 0.08);
  }
  50% {
    border-color: rgba(244, 201, 93, 0.5);
    box-shadow: inset 0 0 0 1px rgba(124, 142, 255, 0.16);
  }
}

@keyframes browseActionsDrift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-1px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .browse-all-banner,
.browse-all-ribbon,
.browse-all-trust,
.browse-all-actions {
    animation: none !important;
  }

  .browse-all-ribbon-cats a,
.browse-all-ribbon-cats a::after,
.browse-all-btn {
    transition: none !important;
  }
}


.latest-blog {
  padding-top: 2.3rem;
}

.blog-head {
  text-align: center;
}

.blog-intro {
  margin: 0.62rem auto 0;
  max-width: 72ch;
  color: #b3c4d4;
  font-size: 1.02rem;
}

.latest-blog .blog-grid {
  margin-top: 0.5rem;
  display: grid;
  gap: 0.82rem;
  grid-template-columns: repeat(3, minmax(260px, 320px));
  justify-content: center;
}

.latest-blog .blog-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(143, 170, 194, 0.22);
  background: linear-gradient(180deg, rgba(19, 29, 40, 0.78), rgba(11, 18, 25, 0.96));
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

.blog-image {
  aspect-ratio: 16 / 8.1;
  background-image: var(--blog-image);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.shadow {
  text-shadow: 3px 3px 2px #000000;
}

.latest-blog .blog-content {
  padding: 0.6rem 0.66rem 0.72rem;
}

.latest-blog .blog-meta {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  color: #9db2c6;
  font-size: 0.74rem;
}

.latest-blog .blog-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.26rem;
}

.latest-blog .blog-meta em {
  font-style: normal;
  color: #ffd571;
  background: rgba(120, 187, 255, 0.14);
  border: 1px solid rgba(120, 187, 255, 0.3);
  border-radius: 999px;
  padding: 0.16rem 0.42rem;
}

.latest-blog .blog-card h3 {
  margin: 0.56rem 0 0;
  font-size: clamp(0.92rem, 1.05vw, 1.05rem);
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.latest-blog .blog-card p {
  margin: 0.48rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.3;
}

.latest-blog .blog-content > p:last-of-type {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.latest-blog .blog-link {
  display: inline-flex;
  margin-top: 0.54rem;
  color: #ffc74f;
  font-weight: 650;
  text-decoration: none;
  font-size: 0.84rem;
}

@media (max-width: 900px) {
  .latest-blog .blog-grid {
    grid-template-columns: repeat(2, minmax(240px, 300px));
  }
}

@media (max-width: 700px) {
  .latest-blog .blog-grid {
    grid-template-columns: 1fr;
  }
}

.blog-link:hover {
  color: #ffe08c;
}

/* Reusable utility for rich text blocks that may include embedded media. */
.responsive-content img,
.responsive-content video,
.responsive-content iframe,
.responsive-content canvas,
.responsive-content svg {
  max-width: 100%;
}

.responsive-content img,
.responsive-content video,
.responsive-content canvas,
.responsive-content svg {
  height: auto !important;
  display: block;
}

.responsive-content figure {
  max-width: 100%;
  margin: 1rem 0;
}

.responsive-content figure > img {
  width: 100%;
}

.responsive-content iframe {
  width: 100%;
}

/* Moved from inline style attributes ------------------------------------------------ */

/* Admin mini-card accent variants */
.admin-mini-head--users { --mini-accent: #57c8ff; }
.admin-mini-head--servers { --mini-accent: #8fe342; }
.admin-mini-head--votes { --mini-accent: #f4c95d; }
.admin-mini-head--bots { --mini-accent: #7f87ff; }

/* Blog article layout */
.blog-article-breadcrumbs {
  padding-top: 4.6rem;
  padding-bottom: 1rem;
}

.blog-article {
  max-width: 860px;
  padding-bottom: 2.2rem;
}

.blog-article__hero {
  height: auto;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(137, 162, 186, 0.22);
}

.blog-article__category {
  margin-top: 1rem;
}

.blog-article__title {
  margin: 0.2rem 0 0.4rem;
}

.blog-article__body {
  line-height: 1.7;
  color: #dce8f4;
}

.blog-article__ad-slot {
  max-width: 860px;
}

.blog-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.25rem;
  align-items: start;
  padding-bottom: 3rem;
}

.blog-article {
  max-width: none;
  border-radius: 22px;
  border: 1px solid rgba(137, 162, 186, 0.22);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(88, 101, 242, 0.11), transparent 52%),
    linear-gradient(180deg, rgba(16, 24, 36, 0.96), rgba(10, 16, 24, 0.98));
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.36);
  padding: 1rem 1rem 1.4rem;
}

.blog-article__hero {
  margin: 0;
  min-height: 0;
  max-height: none;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(137, 162, 186, 0.22);
  background: rgba(8, 13, 19, 0.8);
  display: block;
}

.blog-article__hero img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  display: block;
}

.blog-article__header {
  padding: 1.1rem 0.4rem 0;
}

.blog-article__category {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  color: #c8f55d;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
}

.blog-article__category::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #c8f55d;
  box-shadow: 0 0 0 5px rgba(200, 245, 93, 0.13);
}

.blog-article__title {
  margin: 0.5rem 0 0;
  color: #ffffff;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.blog-article__meta-row {
  margin-top: 1rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(137, 162, 186, 0.2);
  display: flex;
  gap: 0.95rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.blog-article__author {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.blog-article__author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(145deg, rgba(88, 101, 242, 0.8), rgba(67, 78, 206, 0.85));
  overflow: hidden;
}

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

.blog-article__author small {
  display: block;
  color: #8ea4b6;
  line-height: 1;
}

.blog-article__author strong {
  color: #f3f7ff;
  font-weight: 700;
}

.blog-article__meta-list {
  display: flex;
  gap: 1rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  color: #9ab1c5;
  font-size: 0.93rem;
}

.blog-article__meta-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.blog-article__meta-list i {
  color: #89a2ba;
}

.blog-article__body {
  margin-top: 1rem;
  padding: 0 0.4rem;
  font-size: 1.02rem;
  line-height: 1.8;
}

.blog-article__body > :first-child {
  margin-top: 0;
}

.blog-article__body h2,
.blog-article__body h3,
.blog-article__body h4 {
  color: #ffffff;
}

.blog-article__body a {
  color: #9fc7ff;
}

.blog-article__ad-slot {
  margin-top: 1.4rem;
  max-width: none;
}

.blog-article-sidebar {
  display: grid;
  gap: 1rem;
  align-self: start;
  position: sticky;
  top: 86px;
}

.blog-sidebar-card {
  border-radius: 18px;
  border: 1px solid rgba(137, 162, 186, 0.22);
  background:
    radial-gradient(130% 120% at 96% 8%, rgba(88, 101, 242, 0.12), transparent 46%),
    linear-gradient(180deg, rgba(17, 24, 34, 0.96), rgba(10, 15, 22, 0.98));
  padding: 1rem;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
}

.blog-sidebar-card h2 {
  margin: 0 0 0.8rem;
  color: #ffffff;
  font-size: 1.25rem;
}

.blog-sidebar-search {
  display: flex;
  gap: 0.55rem;
}

.blog-sidebar-search input {
  flex: 1;
  border: 1px solid rgba(137, 162, 186, 0.28);
  border-radius: 12px;
  background: rgba(6, 10, 16, 0.66);
  color: #f1f7ff;
  padding: 0.7rem 0.8rem;
}

.blog-sidebar-search input::placeholder {
  color: #8ea4b6;
}

.blog-sidebar-search button {
  width: 42px;
  border: 1px solid rgba(137, 162, 186, 0.3);
  border-radius: 12px;
  color: #f1f7ff;
  background: linear-gradient(160deg, rgba(33, 49, 71, 0.95), rgba(22, 34, 50, 0.95));
  cursor: pointer;
}

.blog-sidebar-search button:hover {
  border-color: rgba(124, 142, 255, 0.55);
}

.blog-sidebar-category-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.blog-sidebar-category-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.78rem 0;
  border-bottom: 1px solid rgba(137, 162, 186, 0.14);
  color: #e4edf7;
  text-decoration: none;
}

.blog-sidebar-category-list li:last-child a {
  border-bottom: none;
}

.blog-sidebar-category-list a span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.blog-sidebar-category-list a i {
  color: #c3d2e0;
}

.blog-sidebar-category-list a strong {
  color: #8ea4b6;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.blog-sidebar-category-list a:hover,
.blog-sidebar-category-list a.is-active {
  color: #d4e6ff;
}

.blog-sidebar-category-list a:hover strong,
.blog-sidebar-category-list a.is-active strong {
  color: #f0f6ff;
}

.blog-sidebar-related-list {
  display: grid;
  gap: 0.85rem;
}

.blog-sidebar-related-item {
  display: grid;
  gap: 0.62rem;
  text-decoration: none;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(137, 162, 186, 0.14);
}

.blog-sidebar-related-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.blog-sidebar-related-item.is-compact {
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: start;
  gap: 0.7rem;
}

.blog-sidebar-related-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  border: 1px solid rgba(124, 142, 255, 0.42);
  background:
    linear-gradient(180deg, rgba(16, 24, 36, 0.82), rgba(10, 16, 24, 0.94));
  background-size: cover;
  background-position: center;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.32),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.blog-sidebar-related-item.is-compact .blog-sidebar-related-image {
  border-radius: 10px;
  aspect-ratio: 16 / 10;
}

.blog-sidebar-related-item:hover .blog-sidebar-related-image {
  border-color: rgba(244, 201, 93, 0.62);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(244, 201, 93, 0.24);
  transform: translateY(-1px);
}

[data-theme="tds"] .blog-sidebar-related-image {
  border-color: rgba(124, 142, 255, 0.56);
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(76, 95, 233, 0.2) inset;
}

[data-theme="tds"] .blog-sidebar-related-item:hover .blog-sidebar-related-image {
  border-color: rgba(244, 201, 93, 0.72);
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(244, 201, 93, 0.28);
}

.blog-sidebar-related-copy small {
  color: #8ea4b6;
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.86rem;
}

.blog-sidebar-related-copy small i {
  margin-right: 0.2rem;
}

.blog-sidebar-related-copy small i + i {
  margin-left: 0.52rem;
}

.blog-sidebar-related-copy strong {
  color: #f2f7ff;
  display: block;
  line-height: 1.32;
}

.blog-sidebar-related-item.is-featured .blog-sidebar-related-copy strong {
  font-size: 1.12rem;
  line-height: 1.28;
}

.blog-sidebar-related-item.is-compact .blog-sidebar-related-copy strong {
  font-size: 0.98rem;
  line-height: 1.25;
}

.blog-sidebar-related-copy em {
  margin-top: 0.32rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.34;
  color: #a9bed0;
}

.blog-sidebar-related-item.is-featured .blog-sidebar-related-copy em {
  -webkit-line-clamp: 3;
}

.blog-sidebar-related-item:hover .blog-sidebar-related-copy strong {
  color: #b8d4ff;
}

.blog-sidebar-empty {
  margin: 0;
  color: #8ea4b6;
}

@media (max-width: 1180px) {
  .blog-article-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .blog-article-sidebar {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .blog-article-layout {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .blog-article__meta-list {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .blog-article-sidebar {
    order: -1;
    position: static;
    grid-template-columns: 1fr;
  }

  .blog-sidebar-card {
    padding: 0.9rem;
  }
}

@media (max-width: 700px) {
  .blog-article {
    border-radius: 16px;
    padding: 0.7rem 0.7rem 1rem;
  }

  .blog-article__hero {
    border-radius: 12px;
  }

  .blog-article__header,
  .blog-article__body {
    padding-left: 0.12rem;
    padding-right: 0.12rem;
  }

  .blog-sidebar-card {
    border-radius: 14px;
  }
}

/* Bot page description area */
.server-description-scroll--open {
  max-height: none;
}

/* Homepage blog section */
.latest-blog__cta {
  margin-top: 0.8rem;
}

/* Partners page callouts */
.partners-notice {
  margin-bottom: 1rem;
  border: 1px solid rgba(124, 142, 255, 0.25);
  background: rgba(124, 142, 255, 0.08);
  color: #dfe7ff;
  border-radius: 12px;
  padding: 0.8rem 1rem;
}

.partners-notice__title {
  display: block;
  margin-bottom: 0.3rem;
}

.partners-errors {
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 107, 129, 0.4);
  background: rgba(255, 107, 129, 0.08);
  color: #ffd8df;
  border-radius: 12px;
  padding: 0.8rem 1rem;
}

.partners-errors__title {
  display: block;
  margin-bottom: 0.4rem;
}

.partners-errors__list {
  margin: 0;
  padding-left: 1.1rem;
}

.partners-form__submit {
  width: 100%;
  justify-content: center;
}

/* Bot add page token hint */
.bot-token-reset-hint {
  color: #dc2626;
}

.cloud-discovery {
  margin-top: 100px;
  margin-bottom: 100px;
  position: relative;
  isolation: isolate;
}

.cloud-discovery::before {
  display: none;
}

.cloud-discovery-head {
  max-width: 82ch;
}

.cloud-discovery-intro {
  margin: 0.78rem 0 0;
  color: #bfd2e5;
  font-size: 1.03rem;
  line-height: 1.55;
}

.cloud-stage {
  margin-top: 1.1rem;
  position: relative;
  overflow: visible;
  padding: clamp(0.36rem, 1.5vw, 0.9rem) 0;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.cloud-stage::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(980px, 100%);
  height: min(420px, 100%);
  transform: translate(-50%, -50%);
  border-radius: 46% 54% 44% 56% / 58% 48% 52% 42%;
  background:
    radial-gradient(circle at 18% 24%, rgba(160, 214, 255, 0.14), rgba(160, 214, 255, 0) 48%),
    radial-gradient(circle at 82% 26%, rgba(134, 151, 255, 0.14), rgba(134, 151, 255, 0) 48%),
    radial-gradient(circle at 52% 66%, rgba(102, 183, 255, 0.12), rgba(102, 183, 255, 0) 55%);
  filter: blur(6px);
  pointer-events: none;
  z-index: 0;
}

.float-cloud {
  position: absolute;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 28%, rgba(221, 241, 255, 0.5), rgba(136, 193, 255, 0.16) 52%, rgba(136, 193, 255, 0) 72%);
  filter: blur(0.3px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  animation: cloudFloat 14s ease-in-out infinite;
}

.float-cloud::before,
.float-cloud::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  background: inherit;
}

.float-cloud::before {
  width: 68%;
  height: 68%;
  top: -28%;
  left: 12%;
}

.float-cloud::after {
  width: 56%;
  height: 56%;
  top: -18%;
  right: 4%;
}

.cloud-1 {
  width: 180px;
  height: 78px;
  top: 9%;
  left: -42px;
  animation-duration: 18s;
}

.cloud-2 {
  width: 220px;
  height: 94px;
  top: 14%;
  right: -52px;
  animation-duration: 20s;
  animation-delay: -4s;
}

.cloud-3 {
  width: 160px;
  height: 68px;
  bottom: 16%;
  left: 18%;
  animation-duration: 16s;
  animation-delay: -6s;
}

.cloud-4 {
  width: 146px;
  height: 62px;
  bottom: 8%;
  right: 14%;
  animation-duration: 22s;
  animation-delay: -9s;
}

.tag-cloud-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.78rem;
  justify-items: center;
  perspective: 1400px;
  transform-style: preserve-3d;
}

.tag-cloud-row {
  width: min(100%, var(--cloud-row-width, 100%));
  display: flex;
  flex-wrap: wrap;
  gap: 0.62rem;
  align-items: center;
  justify-content: center;
}

.cloud-tag {
  --tag-pop: 1;
  --tag-glow: rgba(127, 212, 255, 0.45);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(136, 172, 200, 0.34);
  padding: 0.58rem 1.05rem;
  text-decoration: none;
  color: #ebf6ff;
  background:
    radial-gradient(circle at 18% 0%, rgba(188, 226, 255, 0.2), transparent 48%),
    linear-gradient(145deg, rgba(17, 28, 43, 0.92), rgba(11, 18, 29, 0.96));
  box-shadow:
    0 9px 24px rgba(3, 8, 17, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 20px var(--tag-glow);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  animation: tagBob 6.2s ease-in-out infinite;
  animation-delay: var(--tag-float-delay, 0ms);
  transform-style: preserve-3d;
  will-change: transform;
}

.cloud-size-sm {
  --tag-glow: rgba(127, 212, 255, 0.32);
  font-size: 0.82rem;
}

.cloud-size-md {
  --tag-glow: rgba(124, 142, 255, 0.42);
  font-size: 0.92rem;
}

.cloud-size-lg {
  --tag-glow: rgba(244, 201, 93, 0.5);
  font-size: 1.02rem;
  padding: 0.64rem 1.18rem;
}

.cloud-size-xl {
  --tag-glow: rgba(255, 120, 180, 0.55);
  font-size: 1.13rem;
  padding: 0.74rem 1.34rem;
  font-weight: 800;
}

.cloud-size-sm i { color: #7fd4ff; }
.cloud-size-md i { color: #9ab3ff; }
.cloud-size-lg i { color: #f4c95d; }
.cloud-size-xl i { color: #ff8ec6; }

.cloud-tag i {
  color: #7fd4ff;
}

.cloud-tag span {
  font-weight: 760;
  letter-spacing: 0.01em;
}

.cloud-tag em {
  font-style: normal;
  color: #9ab3cb;
  font-size: 0.75rem;
  border-left: 1px solid rgba(129, 161, 188, 0.32);
  padding-left: 0.42rem;
}

.cloud-tag::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, 0.32) 48%, transparent 72%);
  transform: translateX(-150%);
  transition: transform 0.55s ease, opacity 0.35s ease;
  pointer-events: none;
  opacity: 0;
}

.cloud-tag:hover,
.cloud-tag:focus-visible {
  transform: translateY(-5px) scale(1.06) rotateX(2deg) rotateY(2deg);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow:
    0 22px 42px rgba(4, 9, 18, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 0 32px var(--tag-glow);
  z-index: 2;
}

.cloud-tag:active {
  transform: translateY(-2px) scale(1.02);
}

.cloud-tag:hover::after,
.cloud-tag:focus-visible::after {
  opacity: 1;
  transform: translateX(140%);
}









[data-theme="tds"] .browse-all-banner {
  border-color: rgba(124, 142, 255, 0.46);
  background:
    radial-gradient(120% 120% at 20% 0%, rgba(244, 201, 93, 0.16), rgba(0, 0, 0, 0) 52%),
    radial-gradient(100% 90% at 86% 12%, rgba(124, 142, 255, 0.2), rgba(0, 0, 0, 0) 54%),
    linear-gradient(180deg, rgba(14, 24, 44, 0.97), rgba(10, 18, 34, 0.99));
}

[data-theme="tds"] .browse-all-ribbon {
  border-color: rgba(124, 142, 255, 0.56);
  background:
    linear-gradient(90deg, rgba(27, 39, 70, 0.96), rgba(32, 45, 82, 0.95));
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.32),
    inset 0 0 0 1px rgba(244, 201, 93, 0.16);
}

[data-theme="tds"] .browse-all-ribbon-title {
  color: #f4dba0;
}

[data-theme="tds"] .browse-all-ribbon-view-bottom,
[data-theme="tds"] .browse-all-ribbon-cats a {
  border-color: rgba(124, 142, 255, 0.34);
}

[data-theme="tds"] .browse-all-ribbon-cats a:hover,
[data-theme="tds"] .browse-all-ribbon-cats a:focus-visible {
  border-color: rgba(244, 201, 93, 0.52);
  background: rgba(24, 38, 66, 0.84);
}

[data-theme="tds"] .browse-all-trust {
  border-color: rgba(124, 142, 255, 0.42);
  background: rgba(19, 30, 56, 0.78);
}

[data-theme="tds"] .browse-all-stars {
  color: #f4c95d;
}

[data-theme="tds"] .browse-all-btn-ghost {
  background: linear-gradient(180deg, rgba(31, 45, 76, 0.9), rgba(24, 37, 64, 0.92));
  border-color: rgba(124, 142, 255, 0.52);
  color: #e9f0ff;
}

[data-theme="tds"] .browse-all-btn-primary {
  background: linear-gradient(125deg, #f4c95d 0%, #7c8eff 52%, #4c5fe9 100%);
  color: #121d37;
  border-color: rgba(244, 201, 93, 0.52);
  box-shadow: 0 12px 28px rgba(76, 95, 233, 0.4);
}

[data-theme="tds"] .cloud-stage::before {
  background:
    radial-gradient(circle at 18% 24%, rgba(244, 201, 93, 0.16), rgba(244, 201, 93, 0) 48%),
    radial-gradient(circle at 82% 26%, rgba(124, 142, 255, 0.18), rgba(124, 142, 255, 0) 48%),
    radial-gradient(circle at 52% 66%, rgba(76, 95, 233, 0.14), rgba(76, 95, 233, 0) 55%);
}

[data-theme="tds"] .float-cloud {
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 246, 220, 0.44), rgba(164, 181, 255, 0.14) 52%, rgba(164, 181, 255, 0) 72%);
}

[data-theme="tds"] .cloud-tag {
  border-color: rgba(124, 142, 255, 0.42);
  color: #edf3ff;
  background:
    radial-gradient(circle at 18% 0%, rgba(244, 201, 93, 0.18), rgba(0, 0, 0, 0) 50%),
    linear-gradient(145deg, rgba(19, 30, 50, 0.95), rgba(11, 18, 33, 0.96));
  box-shadow:
    0 10px 26px rgba(6, 10, 20, 0.44),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 20px var(--tag-glow);
}

[data-theme="tds"] .cloud-tag i {
  color: #f4c95d;
}

[data-theme="tds"] .cloud-tag em {
  color: #b9c8e3;
  border-left-color: rgba(124, 142, 255, 0.36);
}

[data-theme="tds"] .cloud-tag:hover,
[data-theme="tds"] .cloud-tag:focus-visible {
  border-color: rgba(244, 201, 93, 0.65);
  box-shadow:
    0 22px 42px rgba(6, 10, 20, 0.55),
    0 0 0 1px rgba(124, 142, 255, 0.28) inset,
    0 0 32px var(--tag-glow);
}

.tag-cloud-grid .cloud-tag:nth-child(3n + 1) {
  --tag-float-delay: 0ms;
}

.tag-cloud-grid .cloud-tag:nth-child(3n + 2) {
  --tag-float-delay: 420ms;
}

.tag-cloud-grid .cloud-tag:nth-child(3n + 3) {
  --tag-float-delay: 840ms;
}

@keyframes cloudFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -12px, 0);
  }
}

@keyframes tagBob {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -4px, 0);
  }
}

@media (max-width: 900px) {
  .auth-welcome-art {
    display: none;
  }

  .cloud-stage {
    padding: 0.72rem 0;
  }

  .tag-cloud-row {
    width: 100% !important;
  }

  .cloud-tag {
    padding: 0.46rem 0.72rem;
  }

  .cloud-tag em {
    display: none;
  }

  .cloud-1,
.cloud-2,
.cloud-3,
.cloud-4 {
    opacity: 0.34;
  }
}


@media (prefers-reduced-motion: reduce) {
  .float-cloud,
.cloud-tag {
    animation: none !important;
  }
}.faq p {
  margin: 0;
  color: var(--muted);
}

.features-page-hero {
  padding-top: 4.6rem;
}

.features-page-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 3.25vw, 3.3rem);
  line-height: 1.07;
}

.features-page-sub {
  margin: 0.95rem 0 0;
  max-width: 74ch;
  color: #b2c6d8;
  font-size: 1.03rem;
}











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

.features-page-card {
  border-radius: 18px;
  border: 1px solid rgba(139, 173, 196, 0.24);
  background: linear-gradient(180deg, rgba(22, 35, 48, 0.84), rgba(12, 20, 30, 0.98));
  padding: 1.08rem 1.08rem 1.02rem;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.features-page-card:hover {
  transform: translateY(-2px);
  border-color: rgba(111, 201, 255, 0.42);
  box-shadow: 0 16px 32px rgba(3, 12, 20, 0.35);
}

.features-page-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: inline-grid;
  place-items: center;
  font-size: 1.1rem;
  color: #1a2837;
  background: linear-gradient(135deg, #b5c6ff, #6f8cff);
  box-shadow: 0 14px 28px rgba(111, 140, 255, 0.2);
}

.features-page-card h3 {
  margin: 0.82rem 0 0.42rem;
  font-size: 1.1rem;
  line-height: 1.2;
}

.features-page-card p {
  margin: 0;
  color: #a7bdd2;
}

.feature-chip-row {
  margin-top: 0.78rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.44rem;
}

.feature-chip-row span {
  border-radius: 999px;
  border: 1px solid rgba(120, 171, 200, 0.32);
  background: rgba(15, 26, 37, 0.88);
  color: #c9dced;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.24rem 0.52rem;
}

.features-cta-banner {
  border-radius: 24px;
  border: 1px solid rgba(139, 173, 196, 0.26);
  background:
    radial-gradient(110% 90% at 0% 0%, rgba(111, 140, 255, 0.12), transparent 58%),
    linear-gradient(180deg, rgba(20, 32, 44, 0.86), rgba(11, 19, 28, 0.98));
  padding: clamp(1.05rem, 2vw, 1.55rem);
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.features-cta-banner h2 {
  margin: 0;
  font-size: clamp(1.38rem, 2.2vw, 2rem);
  line-height: 1.12;
}

.features-cta-banner p {
  margin: 0.62rem 0 0;
  color: #a8bfd2;
}

.features-cta-actions {
  display: flex;
  gap: 0.62rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.features-v2 {
  padding-top: 4.5rem;
}

.features-v2 .eyebrow {
  letter-spacing: 0.18em;
}

.features-bet-copy {
  background: linear-gradient(180deg, rgba(24, 29, 40, 0.92), rgba(14, 20, 30, 0.98));
  padding: clamp(1.35rem, 2.3vw, 2rem);
}

.features-bet-badge-row {
  display: flex;
  align-items: center;
  gap: 0.58rem;
  padding-bottom: 0.48rem;
}

.features-bet-badge {
  border-radius: 0;
  background: #ffbe32;
  color: #101722;
  font-weight: 900;
  font-size: 1.02rem;
  line-height: 1;
  padding: 0.42rem 0.7rem;
}



.features-bet-title {
  margin: 1.3rem 0 0;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: clamp(2.05rem, 4vw, 4rem);
  letter-spacing: 0.01em;
  line-height: 1.03;
}

.features-bet-title span {
  display: block;
}

.features-bet-title em {
  font-style: normal;
  color: #8de1f8;
}

.features-bet-sub {
  margin-top: 1.2rem;
  max-width: 68ch;
  color: #d3dbe4;
  font-size: 1.06rem;
  line-height: 1.45;
}

.features-bet-divider {
  border: 0;
  border-top: 1px solid rgba(146, 170, 192, 0.34);
  margin: 1.45rem 0 0;
}

.features-bet-duo {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.features-bet-duo article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.8rem;
  align-items: start;
}

.features-bet-duo-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  color: #1a2837;
  border: 0;
  background: linear-gradient(135deg, #b5c6ff, #6f8cff);
  box-shadow: 0 14px 28px rgba(111, 140, 255, 0.2);
  flex-shrink: 0;
}

.features-bet-duo h2 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.1;
}

.features-bet-duo p {
  margin: 0.5rem 0 0;
  color: #b8c8d7;
  font-size: 0.96rem;
  line-height: 1.42;
}

.features-bet-list-grid {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.features-bet-list-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.features-bet-list-grid li {
  color: #dde6ee;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  line-height: 1.35;
}

.features-bet-list-grid i {
  color: #ffbe32;
  font-size: 0.88rem;
}

.features-bet-btn {
  border-radius: 999px;
  color: #183a58;
  background: linear-gradient(135deg, #8ee5f8, #75d7ef);
  border-color: rgba(124, 219, 242, 0.76);
  box-shadow: 0 14px 28px rgba(78, 160, 188, 0.28);
}

.features-bet-copy .features-hero-actions {
  margin-top: 1.45rem;
}

.features-bet-art {
  position: relative;
  min-height: 590px;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 1.6vw, 1.3rem);
  background:
    radial-gradient(74% 58% at 88% -8%, rgba(88, 101, 242, 0.28), transparent 72%),
    radial-gradient(62% 44% at 8% 4%, rgba(115, 213, 255, 0.17), transparent 74%),
    linear-gradient(180deg, rgba(14, 22, 36, 0.96), rgba(9, 16, 27, 0.99));
}

.features-bet-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(36% 32% at 18% 88%, rgba(88, 101, 242, 0.18), transparent 72%),
    radial-gradient(28% 24% at 84% 80%, rgba(87, 200, 255, 0.16), transparent 76%);
  pointer-events: none;
}

.features-globe-wrap {
  position: relative;
  z-index: 2;
  width: min(100%, 390px);
  display: grid;
  place-items: center;
  gap: 0;
  padding: 0.6rem 0.4rem 0.8rem;
}

.features-globe {
  position: relative;
  width: clamp(240px, 27vw, 320px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(128, 185, 246, 0.36);
  background:
    radial-gradient(circle at 32% 28%, rgba(126, 220, 255, 0.34), transparent 52%),
    radial-gradient(circle at 70% 74%, rgba(88, 101, 242, 0.34), transparent 56%),
    linear-gradient(180deg, rgba(15, 31, 52, 0.88), rgba(11, 21, 37, 0.95));
  box-shadow: inset 0 0 40px rgba(73, 152, 235, 0.18), 0 14px 34px rgba(5, 10, 20, 0.3);
  overflow: hidden;
}

.features-globe::before {
  content: '';
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px solid rgba(133, 191, 255, 0.2);
}

.features-globe::after {
  content: '';
  position: absolute;
  left: 16%;
  top: 12%;
  width: 32%;
  height: 24%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(188, 233, 255, 0.3), rgba(188, 233, 255, 0));
}

.features-globe-lat,
.features-globe-lon {
  position: absolute;
  border: 1px solid rgba(136, 198, 255, 0.34);
  border-radius: 50%;
}

.features-globe-lat {
  left: 14%;
  right: 14%;
}

.features-globe-lat.lat-1 {
  top: 25%;
  height: 16%;
}

.features-globe-lat.lat-2 {
  top: 42%;
  height: 16%;
}

.features-globe-lat.lat-3 {
  top: 59%;
  height: 16%;
}

.features-globe-lon {
  top: 10%;
  bottom: 10%;
  width: 28%;
}

.features-globe-lon.lon-1 {
  left: 22%;
  transform: rotateY(20deg);
}

.features-globe-lon.lon-2 {
  left: 36%;
  transform: rotateY(0deg);
}

.features-globe-lon.lon-3 {
  left: 50%;
  transform: rotateY(-20deg);
}

.features-globe-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #d8f1ff, #63c8ff 54%, #5668ee 100%);
  box-shadow: 0 0 16px rgba(102, 184, 255, 0.74);
}

.features-globe-pill {
  border-radius: 999px;
  border: 1px solid rgba(126, 185, 248, 0.42);
  background: rgba(14, 30, 49, 0.9);
  color: #d9ecff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  padding: 0.34rem 0.64rem;
}

.features-globe-pill i {
  color: #8fd6ff;
  font-size: 0.78em;
}

.features-globe-pill-cloud {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.features-globe-pill-cloud .features-globe-pill {
  position: absolute;
  pointer-events: auto;
  white-space: nowrap;
}

.features-globe-pill-cloud .pill-1 {
  top: 4%;
  left: -10%;
}

.features-globe-pill-cloud .pill-2 {
  top: 8%;
  right: -14%;
}

.features-globe-pill-cloud .pill-3 {
  top: 34%;
  right: -20%;
}

.features-globe-pill-cloud .pill-4 {
  bottom: 34%;
  left: -18%;
}

.features-globe-pill-cloud .pill-5 {
  bottom: 20%;
  right: -16%;
}

.features-globe-pill-cloud .pill-6 {
  bottom: 8%;
  left: -8%;
}

.features-globe-pill-cloud .pill-7 {
  bottom: 2%;
  right: -8%;
}

.features-bet-ring {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(115, 178, 255, 0.2);
  box-shadow: 0 0 0 1px rgba(88, 101, 242, 0.1) inset;
}

.features-bet-ring.ring-a {
  width: 450px;
  height: 450px;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
}

.features-bet-ring.ring-b {
  width: 370px;
  height: 370px;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
}

.features-bet-ring.ring-c {
  width: 300px;
  height: 300px;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
}

.features-hero-layout {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 1rem;
  align-items: stretch;
}

.features-hero-copy,
.features-hero-panel {
  position: relative;
  border-radius: 22px;
  border: 1px solid rgba(138, 174, 197, 0.24);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(111, 140, 255, 0.11), transparent 58%),
    linear-gradient(180deg, rgba(19, 31, 44, 0.9), rgba(10, 18, 28, 0.98));
  padding: clamp(1rem, 1.8vw, 1.35rem);
  overflow: hidden;
}

.features-hero-copy::before,
.features-hero-panel::before {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 14px;
  border: 1px solid rgba(122, 167, 197, 0.14);
  pointer-events: none;
}

.features-hero-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 3.15vw, 3.2rem);
  line-height: 1.05;
}





.features-title-accent {
  margin-top: 0.1rem;
  color: #7fc4ff;
  background: linear-gradient(120deg, var(--lime), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 16px rgba(111, 201, 255, 0.22);
}

.features-hero-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.58rem;
}

















.features-hero-panel {
  position: relative;
  overflow: hidden;
}

.features-hero-panel::after {
  content: '';
  position: absolute;
  right: -52px;
  top: -52px;
  width: 170px;
  height: 170px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(87, 200, 255, 0.2), rgba(87, 200, 255, 0));
  pointer-events: none;
}



.features-hero-panel h2 {
  margin: 0.42rem 0 0;
  font-size: clamp(1.3rem, 2vw, 1.9rem);
}















.features-v2-ticker {
  border-radius: 16px;
  border: 1px solid rgba(129, 170, 195, 0.24);
  background: linear-gradient(180deg, rgba(14, 23, 34, 0.9), rgba(8, 14, 22, 0.98));
  padding: 0.72rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.features-v2-ticker span {
  border-radius: 999px;
  border: 1px solid rgba(120, 169, 195, 0.3);
  background: rgba(17, 28, 40, 0.85);
  color: #d5e8f7;
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.34rem 0.6rem;
}

.features-v2-ticker i {
  color: #b9ff58;
}

.features-esports-mid {
  padding-top: 1.35rem;
}

.features-esports-split {
  border: 1px solid rgba(131, 166, 190, 0.24);
  border-radius: 0;
  background: linear-gradient(180deg, rgba(11, 16, 24, 0.96), rgba(8, 13, 19, 0.99));
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  overflow: hidden;
}

.features-esports-visual {
  position: relative;
  min-height: 620px;
  border-right: 1px solid rgba(164, 255, 39, 0.32);
  border-left: 1px solid rgba(164, 255, 39, 0.32);
  background:
    linear-gradient(180deg, rgba(5, 9, 14, 0.3), rgba(5, 9, 14, 0.62)),
    url('images/features/feature.webp');
  background-size: auto, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}

.features-esports-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(111, 201, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 201, 255, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.25;
}





.features-esports-glow {
  display: none;
}

.features-esports-wordmark {
  display: none;
}

.features-esports-wordmark span:first-child {
  font-size: clamp(3rem, 7.1vw, 7.25rem);
  letter-spacing: 0.02em;
}

.features-esports-wordmark span:last-child {
  font-size: clamp(2.55rem, 6.1vw, 6rem);
  letter-spacing: 0.03em;
  justify-self: end;
}

.features-esports-copy {
  padding: clamp(1.25rem, 2.5vw, 2rem);
  display: grid;
  align-content: center;
  gap: 0.86rem;
}

.features-esports-kicker {
  margin: 0;
  color: #c0ff3e;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.features-esports-copy h2 {
  margin: 0;
  max-width: 12ch;
  color: #f7faff;
  font-size: clamp(2rem, 3.8vw, 3.8rem);
  line-height: 1.08;
  font-weight: 900;
}

.features-esports-copy p {
  margin: 0;
  color: #9aa9b7;
  text-transform: uppercase;
  line-height: 1.58;
  letter-spacing: 0.015em;
  max-width: 64ch;
  font-size: 0.98rem;
}

.features-esports-stats {
  margin-top: 0.46rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(112, 141, 168, 0.34);
  border-bottom: 1px solid rgba(112, 141, 168, 0.34);
  background: rgba(12, 20, 30, 0.42);
}

.features-esports-stats article {
  padding: 1rem 0.84rem 0.9rem;
}

.features-esports-stats article + article {
  border-left: 1px solid rgba(112, 141, 168, 0.34);
}

.features-esports-stats strong {
  display: block;
  color: #bfff31;
  font-size: clamp(2rem, 2.8vw, 3.1rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.features-esports-stats span {
  display: block;
  margin-top: 0.46rem;
  color: #95a5b5;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.045em;
}


.features-v2-head h2 {
  margin-top: 0.14rem;
}

.features-v2-grid {
  gap: 0.96rem;
}

.features-v2-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(130, 171, 198, 0.24);
  background:
    linear-gradient(180deg, rgba(24, 36, 49, 0.9), rgba(11, 18, 27, 0.98));
  box-shadow: inset 0 1px 0 rgba(180, 227, 255, 0.09);
}

.features-v2-card::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 12px;
  width: 28px;
  height: 28px;
  border-top: 1px solid rgba(157, 194, 219, 0.26);
  border-right: 1px solid rgba(157, 194, 219, 0.26);
  border-radius: 0 8px 0 0;
  pointer-events: none;
}

.features-v2-card::before {
  content: '';
  position: absolute;
  left: -60px;
  top: -60px;
  width: 140px;
  height: 140px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(87, 200, 255, 0.16), rgba(87, 200, 255, 0));
  pointer-events: none;
}

.features-v2-card .features-page-card-icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  border-radius: 14px;
}

.features-v2-card h3 {
  margin-top: 0.84rem;
}

.features-v2-card p {
  font-size: 0.95rem;
}

.features-v2-card h3,
.features-v2-card p,
.features-v2-card .feature-chip-row {
  position: relative;
  z-index: 1;
}

.features-v2-card .feature-chip-row span {
  background: rgba(11, 20, 30, 0.9);
}

.features-v2-cta {
  background:
    radial-gradient(110% 90% at 0% 0%, rgba(111, 140, 255, 0.14), transparent 58%),
    linear-gradient(180deg, rgba(22, 34, 46, 0.9), rgba(10, 17, 26, 0.98));
}

.faq {
  padding-top: 1.2rem;
}

/* ── SERVER DETAIL TWO-COLUMN LAYOUT ── */

.server-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: clamp(1.4rem, 3vw, 2.2rem);
  align-items: start;
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.server-detail-col {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2rem);
}

.server-detail-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(88, 101, 242, 0.18);
  background:
    radial-gradient(circle at 0% 0%, rgba(87, 200, 255, 0.14), transparent 38%),
    linear-gradient(180deg, rgba(24, 36, 52, 0.9), rgba(10, 17, 28, 0.98));
  box-shadow:
    0 18px 38px rgba(3, 12, 20, 0.28),
    inset 0 1px 0 rgba(180, 227, 255, 0.09);
  padding: 1.1rem 1.15rem;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.server-detail-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, #5865f2, #7de1f8, #a5b4fc);
  opacity: 0.55;
  transition: opacity 0.28s ease;
}

.server-detail-card::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 12px;
  width: 28px;
  height: 28px;
  border-top: 1px solid rgba(165, 180, 252, 0.22);
  border-right: 1px solid rgba(165, 180, 252, 0.22);
  border-radius: 0 8px 0 0;
  pointer-events: none;
}

.server-detail-card:hover {
  transform: translateY(-6px);
  border-color: rgba(88, 101, 242, 0.45);
  box-shadow:
    0 22px 44px rgba(3, 10, 22, 0.45),
    0 0 0 1px rgba(88, 101, 242, 0.18) inset,
    0 0 36px rgba(88, 101, 242, 0.14);
}

.server-detail-card:hover::before {
  opacity: 1;
}

.server-detail-card > * {
  position: relative;
  z-index: 1;
}

.server-detail-card h3 {
  margin: 0.84rem 0 0;
  color: #f0f4ff;
  font-weight: 800;
  font-size: clamp(1.12rem, 1.8vw, 1.35rem);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.server-detail-card > p {
  margin: 0.5rem 0 0.9rem;
  color: #b0c0e3;
  font-size: 0.95rem;
  line-height: 1.5;
}

.server-chip-row {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.44rem;
  position: relative;
  z-index: 1;
}

.server-chip-row:empty {
  display: none;
}

.server-chip-row .server-chip,
.server-chip-row > span,
.server-chip-row > a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(88, 101, 242, 0.28);
  background: rgba(10, 18, 32, 0.9);
  color: #c9d5ff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.26rem 0.58rem;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.server-chip-row .server-chip i,
.server-chip-row > span i,
.server-chip-row > a i {
  font-size: 0.72rem;
  color: #a5b4fc;
}

.server-chip-row .server-chip:hover,
.server-chip-row > a:hover {
  border-color: rgba(88, 101, 242, 0.45);
  background: rgba(88, 101, 242, 0.12);
  color: #e8edff;
}

.server-detail-card:hover .server-chip-row .server-chip,
.server-detail-card:hover .server-chip-row > span,
.server-detail-card:hover .server-chip-row > a {
  border-color: rgba(88, 101, 242, 0.45);
}

.server-card-icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  background: linear-gradient(135deg, #5865f2, #7de1f8);
  color: #070d1a;
  box-shadow: 0 12px 26px rgba(88, 101, 242, 0.28);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.server-detail-card:hover .server-card-icon {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 16px 34px rgba(88, 101, 242, 0.38);
}

.server-description-card {
  display: flex;
  flex-direction: column;
}

.server-description-card--centered .server-card-icon {
  margin-inline: auto;
}

.server-description-card--centered .server-description-title,
.server-description-card--centered > p {
  text-align: center;
}

.server-description-card h3.server-description-title {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.78rem;
  width: 100%;
}

.server-description-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  font-size: 1.25rem;
  line-height: 1;
  color: #070d1a;
  background: linear-gradient(135deg, #5865f2, #7de1f8);
  box-shadow:
    0 12px 26px rgba(88, 101, 242, 0.3),
    0 0 0 1px rgba(196, 241, 255, 0.18) inset;
}

.server-description-title-accent {
  background: linear-gradient(120deg, #7de1f8 0%, #5865f2 55%, #a5b4fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.server-description-divider {
  position: relative;
  width: min(92%, 840px);
  height: 14px;
  margin: 0.35rem auto 1rem;
}

.server-description-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(125, 225, 248, 0) 0%,
    rgba(125, 225, 248, 0.72) 18%,
    rgba(88, 101, 242, 0.78) 50%,
    rgba(125, 225, 248, 0.72) 82%,
    rgba(125, 225, 248, 0) 100%
  );
  box-shadow:
    0 0 12px rgba(88, 101, 242, 0.35),
    0 0 24px rgba(125, 225, 248, 0.18);
}

.server-description-divider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 2px;
  background: linear-gradient(135deg, #7de1f8, #5865f2);
  box-shadow:
    0 0 0 2px rgba(8, 14, 26, 0.88),
    0 0 18px rgba(107, 184, 255, 0.45);
}

.server-description-scroll {
  max-height: 420px;
  overflow-y: auto;
  padding-right: 0.6rem;
  margin-right: -0.6rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(124, 142, 255, 0.35) transparent;
}

.server-description-scroll::-webkit-scrollbar {
  width: 7px;
}

.server-description-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.server-description-scroll::-webkit-scrollbar-thumb {
  background: rgba(124, 142, 255, 0.35);
  border-radius: 999px;
}

.server-description-scroll .server-description {
  margin: 0;
  color: #c9d7e8;
  line-height: 1.65;
  font-size: 1rem;
}

.server-description-scroll .server-description h1,
.server-description-scroll .server-description h2,
.server-description-scroll .server-description h3,
.server-description-scroll .server-description h4 {
  color: #f0f4ff;
  margin: 1.2rem 0 0.6rem;
}

.server-description-scroll .server-description p {
  margin: 0 0 0.9rem;
}

.server-description-scroll .server-description ul,
.server-description-scroll .server-description ol {
  margin: 0 0 0.9rem;
  padding-left: 1.25rem;
}

.server-description-scroll .server-description li {
  margin-bottom: 0.35rem;
}

.server-description-scroll .server-description a {
  color: #a5b4fc;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.server-description-scroll .server-description a:hover {
  color: #f4c95d;
}

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

.server-description-card.is-expanded .server-description-scroll {
  max-height: none;
  overflow-y: visible;
}

.server-comments-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto minmax(0, 1fr);
  column-gap: 0.78rem;
  row-gap: 0.35rem;
  align-items: center;
  justify-content: stretch;
  padding-inline: 0.85rem;
}

.server-comments-card > .server-card-icon {
  grid-column: 2;
}

.server-comments-card > h3 {
  grid-column: 3;
  margin-left: 0.08rem;
}

.server-detail-col--side .server-detail-card {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.78rem;
  row-gap: 0.35rem;
  align-items: center;
}

.server-detail-col--side .server-detail-card > .server-card-icon {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
}

.server-detail-col--side .server-detail-card > h3 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
}

.server-comments-card > h3,
.server-detail-col--side .server-detail-card > h3 {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.06;
  color: #f0f4ff;
}

.server-comments-card > h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.server-detail-col--side .server-detail-card > h3 {
  font-size: clamp(1.26rem, 2.05vw, 1.7rem);
}

.server-section-title-accent {
  background: linear-gradient(120deg, #7de1f8 0%, #5865f2 55%, #a5b4fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.server-section-divider {
  position: relative;
  width: 100%;
  height: 12px;
  margin: 0.15rem 0 0.5rem;
}

.server-section-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(125, 225, 248, 0) 0%,
    rgba(125, 225, 248, 0.58) 20%,
    rgba(88, 101, 242, 0.72) 50%,
    rgba(125, 225, 248, 0.58) 80%,
    rgba(125, 225, 248, 0) 100%
  );
  box-shadow:
    0 0 10px rgba(88, 101, 242, 0.25),
    0 0 20px rgba(125, 225, 248, 0.14);
}

.server-section-divider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 2px;
  background: linear-gradient(135deg, #7de1f8, #5865f2);
  box-shadow:
    0 0 0 2px rgba(8, 14, 26, 0.9),
    0 0 14px rgba(107, 184, 255, 0.34);
}

.server-comments-card > :not(.server-card-icon):not(h3),
.server-detail-col--side .server-detail-card > :not(.server-card-icon):not(h3) {
  grid-column: 1 / -1;
}

.server-comments-card > :not(.server-card-icon):not(h3) {
  width: 100%;
}

.server-comments-card > p,
.server-detail-col--side .server-detail-card > p {
  text-align: center;
}

.server-similar-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.server-similar-card .server-section-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
}

.server-similar-card .server-section-head .server-card-icon {
  grid-column: 1;
  justify-self: end;
  margin-right: clamp(1rem, 1.8vw, 1.45rem);
}

.server-similar-card .server-section-head h3 {
  grid-column: 2;
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #f0f4ff;
}

.server-similar-card > p {
  text-align: center;
}

.server-status-list {
  display: grid;
  gap: 0.55rem;
}

.server-status-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.75rem;
  padding: 0.72rem 0.85rem;
  border-radius: 14px;
  background: rgba(10, 18, 32, 0.9);
  border: 1px solid rgba(88, 101, 242, 0.28);
  color: #c9d7e8;
  font-size: 0.92rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.server-detail-card:hover .server-status-row {
  border-color: rgba(88, 101, 242, 0.45);
  background: rgba(88, 101, 242, 0.12);
}

.server-status-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.server-status-row span i {
  color: #a5b4fc;
  width: 18px;
  text-align: center;
}

.server-status-row strong {
  display: block;
  padding-left: 1.5rem;
  font-weight: 800;
  color: #f0f4ff;
}

.status-ok {
  color: #86efac;
}

.server-porto-page .porto-stat .trust-bottom.status-ok,
.server-porto-page .porto-stat .trust-bottom.status-ok i {
  color: #86efac;
}

.status-pending {
  color: #f4c95d;
}

.status-boosted {
  color: #f4c95d;
}

.porto-info-list .boosted-status-favicon {
  width: 1rem;
  height: 1rem;
  margin-right: 0.22rem;
  vertical-align: -0.16rem;
  animation: server-boost-favicon-spin 2.2s linear infinite;
}

.server-porto-page .porto-info-list strong.status-boosted {
  color: #86efac;
  font-weight: 850;
}

.boost-server-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.72rem 0.9rem;
  border: 1px solid rgba(244, 201, 93, 0.55);
  border-radius: 10px;
  background: linear-gradient(135deg, #f4c95d, #e7a93b);
  color: #15120b;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(244, 201, 93, 0.16);
}

.boost-server-button--mobile {
  display: none;
}

.server-porto-page .porto-head-boost-button {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  z-index: 3;
  width: auto;
}

.boost-server-button:hover,
.boost-server-button:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.server-rank-badge-boosted {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.server-rank-badge-boosted img {
  width: 36px;
  height: 36px;
  animation: server-boost-favicon-spin 2.2s linear infinite;
}

.achievement-icon--boosted img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: server-boost-favicon-spin 2.2s linear infinite;
}

.achievement-icon--rank1 img {
  width: 48px;
  height: 48px;
  animation: none;
}

.server-achievement-chip--image img {
  width: 1.1rem;
  height: 1.1rem;
  object-fit: contain;
  animation: none;
}

.server-achievement-chip--rank1-image {
  width: 48px;
  height: 48px;
}

.server-achievement-chip--rank1-image img {
  width: 48px;
  height: 48px;
  animation: none;
}

.servers-footable .server-achievement-chip--image img[src*="favicon-96x96"],
.server-porto-page .server-achievement-chip--image img[src*="favicon-96x96"],
.home-hero-panel .server-achievement-chip--image img[src*="favicon-96x96"] {
  animation: server-boost-favicon-spin 2.2s linear infinite;
}

.servers-footable .server-achievements-row {
  align-items: center;
  gap: 0.38rem;
}

.servers-footable .server-achievement-chip,
.servers-footable .server-achievement-chip--rank1-image {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.servers-footable .server-achievement-chip i,
.servers-footable .server-achievement-chip__rank,
.servers-footable .server-achievement-chip--image img,
.servers-footable .server-achievement-chip--rank1-image img {
  width: 42px;
  height: 42px;
}

.servers-footable .server-achievement-chip i,
.servers-footable .server-achievement-chip__rank {
  border-radius: 11px;
}

.servers-footable .server-achievement-chip__rank {
  font-size: 0.9rem;
}

.servers-footable .server-achievement-chip--image img,
.servers-footable .server-achievement-chip--rank1-image img {
  display: block;
  object-fit: contain;
}

.home-trending-country-flag {
  display: inline-flex;
  width: 1.2rem;
  height: 0.9rem;
  margin-left: 0.35rem;
  vertical-align: -0.1rem;
}

.home-trending-country-flag--votes {
  margin-left: 0;
  margin-bottom: 0.1rem;
  align-self: end;
}

.home-trending-country-flag .flag {
  width: 100%;
  height: 100%;
}

.home-hero-panel .server-achievements-row {
  align-items: center;
  gap: 0.45rem;
}

.home-hero-panel .server-achievement-chip {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-hero-panel .server-achievement-chip i,
.home-hero-panel .server-achievement-chip__rank,
.home-hero-panel .server-achievement-chip--image img {
  width: 48px;
  height: 48px;
}

.home-hero-panel .server-achievement-chip i,
.home-hero-panel .server-achievement-chip__rank {
  border-radius: 12px;
}

.home-hero-panel .server-achievement-chip__rank {
  font-size: 0.95rem;
}

.home-hero-panel .server-achievement-chip--image img {
  animation: none;
}

@keyframes server-boost-favicon-spin {
  to { transform: rotate(360deg); }
}

.boost-dialog-intro,
.boost-dialog-note {
  color: #9fb4cb;
}

.donate-owner-line {
  display: flex;
  align-items: center;
  gap: 0.58rem;
  margin: 0.65rem auto 0.8rem;
  padding: 0.6rem 0.72rem;
  max-width: 420px;
  border: 1px solid rgba(88, 166, 255, 0.28);
  border-radius: 10px;
  background: rgba(17, 24, 39, 0.72);
  color: #c7d7ea;
  text-align: left;
}

.donate-owner-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  overflow: hidden;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid rgba(129, 201, 255, 0.65);
  color: #8fc9ff;
  background: rgba(56, 80, 110, 0.35);
}

.donate-owner-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.boost-price-grid.boost-price-grid--single {
  grid-template-columns: 200px;
  justify-content: center;
  margin: 1rem auto;
}

.boost-price-option {
  display: grid;
  gap: 0.35rem;
  padding: 0.8rem 0.65rem;
  border: 1px solid rgba(88, 166, 255, 0.35);
  border-radius: 8px;
  background: #111827;
  color: #f0f6fc;
  font: inherit;
  cursor: pointer;
  text-align: center;
}

.boost-price-option:hover,
.boost-price-option:focus-visible {
  border-color: #58a6ff;
  background: #17233a;
}

.boost-price-option span {
  color: #9fb4cb;
  font-size: 0.78rem;
}

.boost-price-grid.boost-price-grid--actions {
  display: grid !important;
  grid-template-columns: repeat(2, 170px);
  justify-content: center !important;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  margin: 1rem auto;
}

.boost-price-grid.boost-price-grid--actions .boost-price-option--action {
  width: 170px;
  justify-items: center;
  align-content: center;
  min-height: 142px;
  text-align: center;
}

.boost-price-option--action strong {
  font-size: 1.95rem;
  line-height: 1;
}

.boost-promo-icon {
  font-size: 2.25rem;
  line-height: 1;
  color: #f4c95d;
  filter: drop-shadow(0 4px 10px rgba(244, 201, 93, 0.35));
}

.boost-source-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 1rem auto;
  max-width: 420px;
  justify-content: center;
}

.boost-source-grid.boost-source-grid--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 240px;
}

.boost-source-grid.boost-source-grid--single .boost-source-option {
  width: 100%;
}

.boost-source-option strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
}

.boost-source-option.is-selected {
  border-color: rgba(244, 201, 93, 0.82);
  background: linear-gradient(180deg, rgba(33, 49, 74, 0.94), rgba(20, 35, 57, 0.96));
  box-shadow: 0 0 0 1px rgba(244, 201, 93, 0.3) inset, 0 10px 24px rgba(0, 0, 0, 0.22);
}

.boost-source-option.is-selected strong,
.boost-source-option.is-selected i {
  color: #f4c95d;
}

.boost-balance-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  margin-left: 0.28rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 201, 93, 0.45);
  color: #f4c95d;
  background: rgba(244, 201, 93, 0.08);
  cursor: help;
  vertical-align: text-bottom;
}

.boost-balance-info:focus-visible,
.boost-balance-info:hover {
  border-color: rgba(244, 201, 93, 0.78);
  background: rgba(244, 201, 93, 0.18);
  outline: none;
}

.boost-balance-info i {
  font-size: 0.72rem;
  line-height: 1;
}

@media (max-width: 768px) {
  .server-porto-page .porto-head-boost-button {
    position: relative;
    top: auto;
    right: auto;
    display: inline-flex;
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
    order: -1;
    z-index: 3;
    margin: 0 0 0.2rem;
  }

  .server-porto-page .boost-server-button--desktop,
  .server-porto-page .boost-server-button--desktop.server-action-image-btn {
    display: none;
  }

  .server-porto-page .boost-server-button--mobile,
  .server-porto-page .boost-server-button--mobile.server-action-image-btn {
    display: inline-flex;
    width: 100%;
    min-height: 44px;
    order: -1;
  }

  .boost-price-grid {
    grid-template-columns: 1fr;
  }

  .boost-price-grid.boost-price-grid--actions {
    grid-template-columns: repeat(2, minmax(0, 140px));
    justify-content: center;
  }

  .boost-price-grid.boost-price-grid--actions .boost-price-option--action {
    width: 100%;
  }

  .boost-source-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
  }

  .boost-source-grid.boost-source-grid--single {
    max-width: 240px;
  }

  .server-porto-page .server-action-image-btn img {
    width: min(100%, 188px);
    max-height: 48px;
  }
}

.server-tags-card .server-chip-row {
  margin-top: 0.85rem;
}

.server-owner-avatar {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  overflow: hidden;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: #1a2837;
  background: linear-gradient(135deg, #5865f2, #7de1f8);
  box-shadow: 0 10px 22px rgba(88, 101, 242, 0.28);
  flex-shrink: 0;
}

.server-owner-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.server-comments-card {
  align-items: center;
}

.server-comments-card .comments-list {
  border-radius: 14px;
  border: 1px solid rgba(88, 101, 242, 0.18);
  background: rgba(10, 18, 27, 0.72);
  max-height: 420px;
}

.server-comments-card .comment-composer {
  border-radius: 14px;
  border: 1px solid rgba(88, 101, 242, 0.18);
  background: rgba(10, 18, 27, 0.72);
}

.server-comments-card .comment-composer textarea {
  background: rgba(7, 12, 22, 0.86);
  border-color: rgba(88, 101, 242, 0.22);
}

.server-comments-card .comment-composer textarea:focus {
  border-color: rgba(88, 101, 242, 0.55);
  box-shadow: 0 0 0 2px rgba(88, 101, 242, 0.15);
}

.server-comments-card .comment-bubble {
  background: linear-gradient(180deg, rgba(22, 35, 48, 0.94), rgba(12, 20, 30, 0.98));
  border-color: rgba(88, 101, 242, 0.18);
}

.server-comments-card .comment-item.is-self .comment-bubble {
  border-color: rgba(88, 101, 242, 0.32);
  background: linear-gradient(180deg, rgba(88, 101, 242, 0.18), rgba(76, 95, 233, 0.28));
}

.similar-server-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  width: 100%;
}

.similar-server-item {
  position: relative;
  border-radius: 14px;
  border: 1px solid rgba(126, 154, 181, 0.24);
  background:
    radial-gradient(circle at 85% 5%, rgba(111, 201, 255, 0.11), transparent 48%),
    linear-gradient(180deg, rgba(10, 18, 28, 0.92), rgba(8, 14, 22, 0.98));
  padding: 0.78rem;
}

.similar-server-icon {
  position: absolute;
  top: 0.62rem;
  right: 0.62rem;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(126, 154, 181, 0.35);
  background: linear-gradient(160deg, rgba(38, 54, 78, 0.96), rgba(18, 28, 44, 0.98));
  box-shadow: 0 8px 18px rgba(4, 10, 18, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.similar-server-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.similar-server-icon-fallback {
  color: #d8ebff;
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.02em;
}

.similar-server-category {
  margin: 0;
  padding-right: 2.6rem;
  color: #8ec9f4;
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.similar-server-item h4 {
  margin: 0.3rem 0 0;
  color: #eff7ff;
  font-size: 1rem;
  line-height: 1.22;
}

.similar-server-description {
  margin: 0.4rem 0 0;
  color: #9fb6ca;
  font-size: 0.83rem;
  line-height: 1.45;
}

.similar-server-meta {
  margin-top: 0.58rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.similar-server-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  color: #bfd7eb;
  font-size: 0.78rem;
  font-weight: 650;
}

.similar-server-meta i {
  color: #7ec5ff;
  font-size: 0.74rem;
}

.similar-server-link {
  margin-top: 0.64rem;
  width: 100%;
  justify-content: center;
}

.account-hero {
  padding-top: 4.6rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: stretch;
}

.account-user-card,
.account-stats,
.account-panel {
  border: 1px solid rgba(124, 142, 255, 0.28);
  border-radius: 22px;
  background:
    radial-gradient(circle at 10% 10%, rgba(244, 201, 93, 0.12), transparent 46%),
    linear-gradient(180deg, rgba(17, 28, 39, 0.92), rgba(8, 14, 21, 0.96));
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(124, 142, 255, 0.12) inset;
}

.account-user-card {
  padding: 1.3rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
}

.account-user-card.account-discord-profile-card {
  display: block;
  padding: 0;
}

.account-user-card.account-discord-profile-card .account-discord-profile-main {
  padding-bottom: 1.25rem;
}

.account-avatar {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  place-items: center;
  font-size: 1.65rem;
  font-weight: 800;
  color: #101a32;
  background: linear-gradient(125deg, #f4c95d 0%, #7c8eff 54%, #4c5fe9 100%);
  box-shadow: 0 14px 28px rgba(76, 95, 233, 0.28);
}

.account-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-user-card h1 {
  margin: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.35rem);
}

.account-sub {
  margin: 0.32rem 0 0;
  color: var(--muted);
}

.account-hero-actions {
  margin-top: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
}

.account-hero-link {
  border-radius: 999px;
  border: 1px solid rgba(124, 142, 255, 0.34);
  background: rgba(10, 18, 34, 0.74);
  color: #e4eeff;
  text-decoration: none;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.46rem 0.72rem;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.account-hero-link i {
  color: #f4c95d;
}

.account-hero-link:hover,
.account-hero-link:focus-visible {
  border-color: rgba(244, 201, 93, 0.6);
  background: rgba(16, 27, 47, 0.9);
  transform: translateY(-1px);
}

.account-stats {
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.7rem;
}

.account-stats article {
  border-radius: 16px;
  border: 1px solid rgba(124, 142, 255, 0.26);
  background: rgba(10, 16, 29, 0.74);
  padding: 0.78rem;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    'title title'
    'icon value';
  align-items: center;
  gap: 0.55rem 0.9rem;
  min-height: 142px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.account-stats article:hover,
.account-stats article:focus-within {
  transform: translateY(-5px) scale(1.015);
  border-color: rgba(244, 201, 93, 0.55);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(244, 201, 93, 0.16) inset;
}

.account-stats article::after {
  content: '';
  position: absolute;
  inset: auto -20px -20px auto;
  width: 90px;
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(124, 142, 255, 0.35), transparent 70%);
  pointer-events: none;
}

.account-stats article i {
  color: #f4dca1;
  font-size: 2.5rem;
  grid-area: icon;
  line-height: 1;
  justify-self: start;
}

.account-stats-cash {
  border-color: rgba(244, 201, 93, 0.45) !important;
}

.account-stats-cash i {
  color: #f4c95d;
}

.account-stats-cash strong {
  color: #f4c95d;
}

.account-stats p {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-align: center;
  grid-area: title;
  color: #fff;
  position: relative;
  padding-bottom: 0.42rem;
}

.account-stats p::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: min(78%, 200px);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f4c95d 0%, #7c8eff 55%, #4c5fe9 100%);
}

.account-stats strong {
  display: block;
  margin-top: 0;
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 900;
  grid-area: value;
  justify-self: end;
}

@media (max-width: 900px) {
  .account-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .account-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .account-stats {
    grid-template-columns: 1fr;
  }
}

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

.account-analytics-card {
  border: 1px solid rgba(124, 142, 255, 0.24);
  border-radius: 18px;
  background:
    radial-gradient(circle at 90% 2%, rgba(124, 142, 255, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(12, 20, 31, 0.96), rgba(8, 14, 24, 0.94));
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(124, 142, 255, 0.1) inset;
  padding: 1rem;
}

.account-analytics-card-wide {
  grid-column: 1 / -1;
}

.account-analytics-card header {
  margin-bottom: 0.7rem;
}

.account-analytics-card h3 {
  margin: 0.12rem 0 0;
  font-size: 1.02rem;
}

.account-chart-wrap {
  border-radius: 12px;
  border: 1px solid rgba(124, 142, 255, 0.22);
  background:
    repeating-linear-gradient(
      0deg,
      rgba(124, 142, 255, 0.06) 0,
      rgba(124, 142, 255, 0.06) 1px,
      transparent 1px,
      transparent 28px
    ),
    rgba(8, 14, 23, 0.9);
  padding: 0.6rem;
  min-height: 190px;
}

.account-chart-wrap canvas {
  width: 100%;
  height: auto;
  display: block;
}

.account-chart-mount {
  width: 100%;
}

.account-chart-mount-line,
.account-chart-mount-donut {
  min-height: 260px;
}

.account-chart-mount-bar {
  min-height: 300px;
}

.account-analytics-caption {
  margin-top: 0.62rem;
  color: #9db3c9;
  font-size: 0.85rem;
}

.account-legend-list {
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.account-legend-list span {
  border: 1px solid rgba(124, 142, 255, 0.2);
  border-radius: 10px;
  background: rgba(9, 15, 25, 0.86);
  padding: 0.5rem 0.58rem;
  display: grid;
  gap: 0.18rem;
}

.account-legend-list strong {
  color: #e8f2fc;
  font-size: 0.82rem;
  font-weight: 700;
}

.account-legend-list em {
  color: #f4dca1;
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 700;
}



.account-workspace {
  padding-top: 1.2rem;
  display: grid;
  grid-template-columns: 245px 1fr;
  gap: 1rem;
  align-items: start;
}

.account-sidebar {
  position: sticky;
  top: 94px;
  border: 1px solid rgba(124, 142, 255, 0.28);
  border-radius: 18px;
  background:
    radial-gradient(circle at 14% 8%, rgba(244, 201, 93, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(16, 27, 47, 0.92), rgba(9, 16, 30, 0.97));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.3);
  padding: 0.75rem;
  display: grid;
  gap: 0.5rem;
}

.account-sidebar-title {
  margin: 0 0 0.1rem;
  color: #f4dca1;
}

.account-sidebar-note {
  margin: 0.35rem 0 0;
  color: #9fb4cb;
  font-size: 0.8rem;
  line-height: 1.4;
}

.account-nav-btn {
  border: 1px solid rgba(145, 173, 196, 0.24);
  border-radius: 12px;
  background: rgba(10, 16, 24, 0.82);
  color: #dce9f6;
  text-decoration: none;
  font: inherit;
  text-align: left;
  font-weight: 650;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.8rem;
  width: 100%;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.account-nav-btn:visited {
  color: #dce9f6;
}

.account-nav-btn i {
  color: #f4c95d;
}

.account-nav-count {
  margin-left: auto;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(124, 142, 255, 0.35);
  background: rgba(124, 142, 255, 0.18);
  color: #e8f2ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1;
}

.account-nav-btn:hover,
.account-nav-btn:focus-visible {
  border-color: rgba(244, 201, 93, 0.56);
  background: rgba(16, 27, 47, 0.9);
  transform: translateY(-1px);
}

.account-nav-btn.is-active {
  border-color: rgba(244, 201, 93, 0.64);
  background: linear-gradient(125deg, #f4c95d 0%, #7c8eff 54%, #4c5fe9 100%);
  color: #101a32;
}

.account-nav-btn.is-active i {
  color: #101a32;
}

.account-nav-btn.is-active .account-nav-count {
  border-color: rgba(16, 26, 50, 0.28);
  background: rgba(16, 26, 50, 0.16);
  color: #101a32;
}

.account-nav-btn--danger {
  margin-top: 0.3rem;
  border-color: rgba(226, 79, 101, 0.36);
  color: #ffdce3;
  background: rgba(91, 21, 37, 0.3);
}

.account-nav-btn--danger i {
  color: #ff7690;
}

.account-nav-btn--danger:hover,
.account-nav-btn--danger:focus-visible {
  border-color: rgba(255, 118, 144, 0.76);
  background: rgba(119, 29, 49, 0.52);
}

.account-delete-warning {
  margin: 0;
  color: #dce8f5;
  line-height: 1.55;
}

.account-delete-instruction {
  margin: 1.15rem 0 0.68rem;
  color: #f7d2da;
}

.account-delete-code {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.account-delete-code-input {
  width: 42px;
  height: 48px;
  border: 1px solid rgba(255, 118, 144, 0.5);
  border-radius: 9px;
  background: rgba(8, 14, 25, 0.9);
  color: #ffffff;
  font: inherit;
  font-size: 1.2rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  caret-color: #ff7690;
  outline: none;
}

.account-delete-code-input::placeholder {
  color: rgba(255, 214, 222, 0.3);
}

.account-delete-code-input:focus {
  border-color: #ff7690;
  box-shadow: 0 0 0 3px rgba(255, 118, 144, 0.16);
}

@media (max-width: 420px) {
  .account-delete-code {
    gap: 0.3rem;
  }

  .account-delete-code-input {
    width: 36px;
    height: 44px;
  }
}

.account-content-stack {
  display: grid;
  gap: 1rem;
}

.account-panel {
  padding: 1.25rem;
}



.account-panel-head {
  margin-bottom: 1rem;
}

.account-transactions-shell {
  border-color: rgba(114, 166, 255, 0.34);
  box-shadow:
    0 22px 46px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(79, 209, 197, 0.12) inset;
}

.account-transactions-shell::before {
  background: linear-gradient(90deg, rgba(244, 201, 93, 0.8), rgba(74, 222, 255, 0.82), rgba(99, 102, 241, 0.76));
}

.account-transactions-shell .account-transactions-table {
  border-spacing: 0 8px;
  table-layout: auto;
  min-width: 920px;
}

.account-transactions-shell .account-transactions-table th:nth-child(1),
.account-transactions-shell .account-transactions-table td:nth-child(1) {
  width: 70px;
}

.account-transactions-shell .account-transactions-table th:nth-child(2),
.account-transactions-shell .account-transactions-table td:nth-child(2) {
  width: 1%;
  white-space: nowrap;
}

.account-transactions-shell .account-transactions-table th:nth-child(3),
.account-transactions-shell .account-transactions-table td:nth-child(3) {
  width: 160px;
}

.account-transactions-shell .account-transactions-table th:nth-child(4),
.account-transactions-shell .account-transactions-table td:nth-child(4) {
  width: 1%;
  white-space: nowrap;
}

.account-transactions-shell .account-transactions-table th:nth-child(4) {
  white-space: normal;
}

.account-transactions-shell .account-transactions-table th:nth-child(5),
.account-transactions-shell .account-transactions-table td:nth-child(5) {
  width: auto;
  min-width: 320px;
}

.account-transactions-shell .account-transactions-table th:nth-child(6),
.account-transactions-shell .account-transactions-table td:nth-child(6) {
  width: 170px;
}

.account-transactions-table tbody tr {
  box-shadow: inset 0 0 0 1px rgba(128, 184, 228, 0.08);
}

.account-transactions-table tbody tr.is-credit {
  box-shadow:
    inset 3px 0 0 rgba(74, 222, 128, 0.88),
    inset 0 0 0 1px rgba(128, 184, 228, 0.08);
}

.account-transactions-table tbody tr.is-debit {
  box-shadow:
    inset 3px 0 0 rgba(251, 113, 133, 0.88),
    inset 0 0 0 1px rgba(128, 184, 228, 0.08);
}

.account-transactions-table .server-rank-badge {
  min-width: 46px;
  font-size: 0.95rem;
}

.account-transaction-type {
  text-transform: capitalize;
  letter-spacing: 0.02em;
}

.account-transaction-amount {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 94px;
  justify-content: center;
}

.account-transaction-amount.is-credit {
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(34, 197, 94, 0.4);
  color: #8cf3b1;
}

.account-transaction-amount.is-debit {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.35);
  color: #ffb7b7;
}

.account-transaction-amount i {
  font-size: 0.76rem;
}

.account-badge.account-transaction-balance {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  white-space: nowrap;
  background: rgba(244, 201, 93, 0.12);
  border-color: rgba(244, 201, 93, 0.44);
  color: #f4c95d;
}

.account-transaction-balance i {
  font-size: 0.76rem;
}

.account-transaction-date {
  background: rgba(13, 22, 30, 0.78);
}

.account-transaction-details {
  margin: 0;
  color: #dce8f5;
  line-height: 1.35;
  font-size: 0.92rem;
  font-weight: 540;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.account-transaction-details-stack {
  max-width: 100%;
}

.account-skeleton {
  display: inline-block;
  height: 1.15rem;
  min-width: 24px;
  border-radius: 8px;
  background: linear-gradient(110deg, rgba(148, 173, 196, 0.1) 8%, rgba(203, 231, 255, 0.18) 18%, rgba(148, 173, 196, 0.1) 33%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.15s linear infinite;
}

.account-skeleton-row td {
  vertical-align: middle;
}

.account-skeleton-card {
  display: grid;
  gap: 0.7rem;
}

.account-skeleton-card > .account-skeleton {
  display: block;
}

.account-skeleton-card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.account-skeleton-avatar {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
}

.account-skeleton-card-lines {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.42rem;
}

.account-skeleton-card-lines .account-skeleton {
  display: block;
}

.account-chart-skeleton {
  width: 100%;
  min-height: 240px;
  border-radius: 10px;
  background: linear-gradient(110deg, rgba(148, 173, 196, 0.1) 8%, rgba(203, 231, 255, 0.18) 18%, rgba(148, 173, 196, 0.1) 33%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.15s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .account-skeleton {
    animation: none;
  }

  .account-chart-skeleton {
    animation: none;
  }
}

@media (max-width: 900px) {
  .account-transactions-shell .account-transactions-table {
    min-width: 860px;
  }
}

.account-help {
  margin: 0;
  color: var(--muted);
}

.account-api-key-shell {
  border: 1px solid rgba(124, 142, 255, 0.28);
  border-radius: 16px;
  background:
    radial-gradient(circle at 12% 10%, rgba(244, 201, 93, 0.08), transparent 44%),
    linear-gradient(180deg, rgba(16, 27, 47, 0.72), rgba(9, 16, 30, 0.86));
  padding: 1rem;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.account-api-key-shell-top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.75rem;
}

.account-api-key-status {
  margin: 0;
  color: #b7cbe0;
  font-size: 0.95rem;
}

.account-api-key-row {
  margin-top: 0.95rem;
  display: grid;
  gap: 0.45rem;
}

.account-api-key-row label {
  font-weight: 700;
  color: #e6f1fc;
}

.account-api-key-input-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
}

.account-api-key-input-wrap input {
  min-width: 0;
  border-radius: 12px;
  border: 1px solid rgba(142, 170, 197, 0.26);
  background: rgba(7, 13, 22, 0.76);
  color: #e8f2ff;
  font: inherit;
  font-size: 0.92rem;
  padding: 0.72rem 0.8rem;
}

.account-api-key-actions {
  margin-top: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.account-api-key-example {
  margin-top: 1rem;
}

.account-api-key-head-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.6rem 0.9rem;
  margin-bottom: 0.35rem;
}

.account-api-key-head-top .eyebrow {
  margin: 0;
}

.account-api-key-docs-btn {
  border-color: rgba(124, 142, 255, 0.48);
  background: rgba(27, 44, 79, 0.58);
  color: #dbe9f8;
}

.account-api-key-docs-btn:hover,
.account-api-key-docs-btn:focus-visible {
  border-color: rgba(150, 188, 255, 0.72);
  background: rgba(44, 66, 108, 0.72);
  color: #ffffff;
}

@media (max-width: 700px) {
  .account-api-key-shell-top {
    justify-content: flex-start;
  }
}

.account-api-key-example-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem 0.9rem;
}

.account-api-key-example h3 {
  margin: 0 0 0.48rem;
  font-size: 1rem;
}

.account-api-key-lang-tabs {
  margin: 0 0 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.account-api-key-lang-tabs .btn {
  padding: 0.4rem 0.66rem;
}

.account-api-key-example pre {
  margin: 0;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(124, 142, 255, 0.28);
  background: rgba(7, 13, 22, 0.86);
  color: #d8e7f7;
  overflow-x: auto;
}





.account-field-note {
  display: block;
  margin-top: 0.4rem;
  color: #9eb5cb;
  font-size: 0.8rem;
  line-height: 1.35;
}

.account-field-note.is-error {
  color: #f26b7a;
}

.account-description-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 0.8rem;
  margin-top: 0.4rem;
}

.account-description-meta .account-field-note {
  margin-top: 0;
}







.account-feedback {
  margin-top: 0.8rem;
  min-height: 1.4rem;
  font-weight: 600;
}

.account-feedback.is-success {
  color: #c8ffd7;
}

.account-feedback.is-error {
  color: #ffd1db;
}

.account-list {
  display: grid;
  gap: 0.75rem;
}

.account-item {
  border: 1px solid rgba(124, 142, 255, 0.22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 10% 10%, rgba(244, 201, 93, 0.08), transparent 52%),
    linear-gradient(180deg, rgba(8, 14, 20, 0.9), rgba(8, 14, 20, 0.78));
  padding: 0.95rem;
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.account-item:hover {
  border-color: rgba(244, 201, 93, 0.42);
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.24);
}





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

.account-owned-guild-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 0.65rem;
  align-content: start;
  position: relative;
}

.account-owned-incomplete {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin: 0.35rem 0 0;
  padding: 0.5rem 0.7rem;
  border-radius: 10px;
  background: rgba(240, 178, 50, 0.12);
  border: 1px solid rgba(240, 178, 50, 0.35);
  color: #f0b232;
  font-size: 0.82rem;
  font-weight: 600;
}

.account-owned-incomplete-cta {
  border: 0;
  background: #f0b232;
  color: #1a1207;
  font-weight: 700;
  border-radius: 8px;
  padding: 0.25rem 0.6rem;
  cursor: pointer;
  font-size: 0.78rem;
}

.account-owned-incomplete-cta:hover {
  filter: brightness(1.05);
}

.account-owned-corner-link {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(145, 173, 196, 0.28);
  color: #dbe8f4;
  background: rgba(10, 16, 24, 0.72);
  text-decoration: none;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.account-owned-corner-link:hover,
.account-owned-corner-link:focus-visible {
  border-color: rgba(244, 201, 93, 0.7);
  color: #f4dca1;
  background: rgba(27, 40, 58, 0.88);
  transform: translateY(-1px);
}

.account-owned-wallet-chip {
  position: absolute;
  top: 0.65rem;
  right: 2.9rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 201, 93, 0.4);
  background: rgba(244, 201, 93, 0.12);
  color: #f4c95d;
  padding: 0 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.16s ease, transform 0.16s ease, background 0.16s ease;
}

.account-owned-wallet-chip:hover,
.account-owned-wallet-chip:focus-visible {
  border-color: rgba(244, 201, 93, 0.7);
  background: rgba(244, 201, 93, 0.18);
  transform: translateY(-1px);
}

.account-owned-main {
  display: grid;
  gap: 0.5rem;
}

.account-owned-card-head {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0.72rem;
  align-items: center;
}

.account-owned-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #101a32;
  background: linear-gradient(135deg, #f4c95d 0%, #7c8eff 54%, #4c5fe9 100%);
}

.account-owned-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.account-owned-copy {
  min-width: 0;
}

.account-owned-copy h3,
.account-owned-copy p {
  margin: 0;
}

.account-owned-copy h3 {
  font-size: 1.06rem;
}

.account-owned-copy small {
  color: #9eb5cb;
  font-size: 0.82rem;
}

.account-owned-meta {
  margin: 0;
  color: #9eb5cb;
  font-size: 0.95rem;
}

.account-owned-rail {
  margin-top: 0.7rem;
}

.account-owned-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding-right: 8rem;
}

.account-owned-title-row h3 {
  min-width: 0;
}

.account-owned-approved-check {
  color: #49d17d;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.account-owned-status {
  flex: 0 0 auto;
  display: inline-flex;
  align-self: center;
  text-align: center;
  font-size: 0.68rem;
  padding: 0.18rem 0.52rem;
}

.account-owned-country-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 32px;
  height: 24px;
  cursor: help;
}

.account-owned-country-flag .flag {
  display: block;
  transform: scale(0.82);
  transform-origin: center;
}

.account-owned-country-flag:focus-visible {
  outline: 2px solid rgba(124, 142, 255, 0.8);
  outline-offset: 2px;
}

.account-owned-rail-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  justify-items: stretch;
}

.account-owned-rail-link,
.account-owned-rail-btn {
  width: 100%;
  min-width: 0;
  justify-content: center;
  font-size: 12px;
  min-height: 0;
  padding: 0.46rem 0.92rem;
}

.account-owned-voter-search {
  width: min(320px, 100%);
}

.account-owned-donate-btn {
  border-color: rgba(220, 53, 69, 0.75);
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.4), rgba(176, 33, 49, 0.42));
}

.account-owned-donate-btn:hover,
.account-owned-donate-btn:focus-visible {
  border-color: rgba(255, 122, 132, 0.9);
  background: linear-gradient(135deg, rgba(233, 74, 90, 0.52), rgba(184, 40, 56, 0.56));
}

.account-owned-voter-history-head-main {
  min-width: 0;
}

.account-owned-voter-history-head-side {
  display: grid;
  gap: 0.35rem;
  justify-items: end;
  min-width: min(320px, 100%);
}

.account-owned-voter-count {
  margin: 0;
  text-align: right;
}

.account-owned-voter-history-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  margin-top: 0.65rem;
}

#accountOwnedVoterHistoryPageLabel {
  font-weight: 700;
  color: #d6e6f7;
}

.account-owned-skeleton {
  pointer-events: none;
}

.account-owned-skeleton-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.account-owned-skeleton-title {
  height: 16px;
  width: 68%;
  margin-bottom: 0.4rem;
}

.account-owned-skeleton-trend {
  height: 40px;
  width: 100%;
}

.account-widget-hot-btn {
  position: relative;
  overflow: visible;
  z-index: 1;
}

/* small square clip box sits flush inside the button's own corner so nothing pokes past its edges */
.account-widget-hot-clip {
  position: absolute;
  top: 0;
  right: 0;
  width: 32px;
  height: 32px;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}

.account-widget-hot-label {
  position: absolute;
  top: 5px;
  right: -9px;
  width: 50px;
  padding: 2px 0;
  color: #fff;
  background: linear-gradient(180deg, #ff7079 0%, #e23b49 54%, #c92e3c 100%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  font-size: 0.5rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-align: center;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
  transform: rotate(45deg);
  transform-origin: center;
}

.account-owned-rail-link-muted {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(145, 173, 196, 0.24);
  border-radius: 12px;
  background: rgba(10, 16, 24, 0.6);
  color: #95adc4;
  font-size: 0.86rem;
}

.account-widget-preview {
  display: grid;
  place-items: center;
  min-height: 8.5rem;
  margin: 1rem 0;
  border: 1px dashed rgba(145, 173, 196, 0.3);
  border-radius: 12px;
  background: rgba(5, 10, 17, 0.58);
}

.account-widget-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.account-widget-option {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  border: 1px solid rgba(145, 173, 196, 0.22);
  border-radius: 12px;
  padding: 0.65rem;
  color: var(--muted);
  text-align: left;
  background: rgba(10, 16, 24, 0.68);
  cursor: pointer;
}

.account-widget-option:hover,
.account-widget-option.is-active {
  border-color: rgba(244, 201, 93, 0.72);
  color: var(--text);
  background: rgba(244, 201, 93, 0.1);
}

.account-widget-option img {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  object-fit: contain;
}

.account-widget-option span {
  display: grid;
  gap: 0.16rem;
  min-width: 0;
}

.account-widget-option strong {
  font-size: 0.88rem;
}

.account-widget-option small {
  color: #9eb5cb;
  font-size: 0.74rem;
  line-height: 1.25;
}

.account-widget-preview img {
  display: block;
  width: 120px;
  height: 120px;
  image-rendering: auto;
}

.account-widget-code-list {
  display: grid;
  gap: 0.8rem;
}

.account-widget-code-list label {
  display: grid;
  gap: 0.35rem;
  color: #c6d6e5;
  font-size: 0.82rem;
  font-weight: 700;
}

.account-widget-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.45rem;
  align-items: stretch;
}

.account-widget-code-row textarea {
  width: 100%;
  min-width: 0;
  resize: vertical;
  border: 1px solid rgba(145, 173, 196, 0.22);
  border-radius: 9px;
  padding: 0.55rem 0.65rem;
  color: #dce9f4;
  background: #080d13;
  font: 0.78rem/1.35 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.account-widget-copy {
  align-self: stretch;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .account-owned-guild-card {
    grid-template-columns: 1fr;
  }

  .account-owned-rail {
    min-height: auto;
  }

  .account-owned-rail-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: stretch;
  }

  .account-owned-status {
    justify-self: start;
  }

  .account-owned-corner-link {
    top: 0.52rem;
    right: 0.52rem;
    width: 1.9rem;
    height: 1.9rem;
  }

  .account-owned-wallet-chip {
    top: 0.52rem;
    right: 2.72rem;
    height: 1.9rem;
    font-size: 0.7rem;
    padding: 0 0.44rem;
  }

  .account-owned-voter-history-head-side {
    width: 100%;
    justify-items: stretch;
  }

  .account-owned-voter-search {
    width: 100%;
  }

  .account-owned-voter-count {
    text-align: left;
  }

  .account-owned-voter-history-pagination {
    justify-content: space-between;
  }

  .account-owned-voter-history-pagination .btn {
    min-width: 0;
    width: 48%;
  }

  .account-owned-rail-link,
  .account-owned-rail-btn {
    width: 100%;
  }

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

  .account-widget-code-row {
    grid-template-columns: 1fr;
  }
}

.account-item h3 {
  margin: 0;
  font-size: 1rem;
}

.account-item h3 a {
  color: var(--text);
  text-decoration: none;
}

.account-item h3 a:hover {
  color: #f4dca1;
}

.account-item p {
  margin: 0.28rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.account-btn-danger {
  border-color: rgba(255, 123, 151, 0.42);
  color: #ffd8e4;
  background: rgba(99, 20, 39, 0.34);
}

.account-btn-danger:hover {
  border-color: rgba(255, 123, 151, 0.65);
}





.account-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.24rem 0.64rem;
  border: 1px solid rgba(150, 176, 198, 0.3);
  background: rgba(13, 22, 30, 0.6);
  color: #dbe8f4;
  font-size: 0.78rem;
  font-weight: 700;
}

.account-badge.verified {
  color: #072335;
  background: linear-gradient(130deg, #9fefff, #7ee1ff);
  border-color: rgba(141, 224, 255, 0.55);
}

.account-badge.pending {
  color: #29300f;
  background: linear-gradient(130deg, #d8e1ff, #a7bcff);
  border-color: rgba(217, 255, 111, 0.5);
}

.account-badge.draft {
  color: #dbe8f4;
  background: rgba(13, 22, 30, 0.8);
  border-color: rgba(150, 176, 198, 0.42);
}

.account-badge.rejected {
  color: #ffd8e4;
  background: rgba(99, 20, 39, 0.34);
  border-color: rgba(255, 123, 151, 0.42);
}

.account-trend {
  margin-top: 0.8rem;
}

.account-trend-empty {
  margin: 0;
  color: #9eb2c5;
  font-size: 0.82rem;
}

.account-trend-bars {
  height: 50px;
  display: flex;
  align-items: flex-end;
  gap: 0.32rem;
}

.account-trend-bar {
  flex: 1;
  min-width: 0;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #6f8cff, #2ec9f8);
  box-shadow: 0 8px 18px rgba(46, 201, 248, 0.2);
}

.account-inline-form {
  margin-top: 0.85rem;
  padding: 0.82rem;
  border-radius: 14px;
  border: 1px solid rgba(124, 142, 255, 0.22);
  background: rgba(12, 20, 28, 0.94);
  display: none;
  gap: 0.66rem;
}

.account-inline-form.is-open {
  display: grid;
}

.account-inline-form label {
  min-width: 0;
}

.account-inline-form .account-description-field {
  margin-top: 1.1rem;
}

.account-inline-form .account-tags-field {
  margin-top: 4.1rem;
}

.account-inline-form label span {
  display: block;
  margin-bottom: 0.35rem;
  color: #dce8f4;
  font-size: 0.88rem;
  font-weight: 620;
}

#accountOwnedEditorDescription,
#discordEditorDescription {
  display: none !important;
}

#accountOwnedEditorDescription ~ .ql-toolbar,
#discordEditorDescription ~ .ql-toolbar,
#accountOwnedEditorDescriptionQuill,
#discordEditorDescriptionQuill,
#accountOwnedEditorDescriptionMeta,
#discordEditorDescriptionMeta {
  position: static !important;
}

#accountOwnedEditorDescription ~ .ql-toolbar,
#discordEditorDescription ~ .ql-toolbar {
  margin-top: 0.42rem;
}

/* Target the Quill container by its own id (not by DOM order) because JS
   inserts a metadata div between the textarea and the toolbar. */
#accountOwnedEditorDescriptionQuill,
#discordEditorDescriptionQuill {
  margin-top: 0;
  width: 100%;
  max-width: 100%;
  min-height: 10.5rem;
  max-height: 14rem;
  overflow: hidden;
}

#accountOwnedEditorDescriptionQuill .ql-editor,
#discordEditorDescriptionQuill .ql-editor {
  position: relative;
  min-height: 10.5rem;
  max-height: 14rem;
  overflow-y: auto;
  overflow-x: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
}

#accountOwnedEditorDescriptionQuill .ql-editor *,
#discordEditorDescriptionQuill .ql-editor * {
  overflow-wrap: anywhere;
  word-break: break-word;
}

#accountOwnedEditorDescriptionQuill .ql-editor.is-empty::before,
#discordEditorDescriptionQuill .ql-editor.is-empty::before {
  content: attr(data-placeholder);
  position: absolute;
  top: 0.72rem;
  left: 0.78rem;
  right: 0.78rem;
  color: rgba(169, 190, 211, 0.88) !important;
  font-style: italic;
  pointer-events: none;
}

.account-inline-form .ql-snow .ql-editor.ql-blank::before,
.account-inline-form .ql-editor.is-empty::before,
#accountOwnedEditorDescriptionQuill .ql-editor.ql-blank::before,
#discordEditorDescriptionQuill .ql-editor.ql-blank::before {
  color: rgba(169, 190, 211, 0.88) !important;
  opacity: 1 !important;
}

.account-inline-form input,
.account-inline-form select,
.account-inline-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(147, 174, 197, 0.3);
  background: rgba(8, 14, 20, 0.88);
  color: var(--text);
  padding: 0.6rem 0.7rem;
  font: inherit;
}

.account-inline-form input[readonly],
.account-inline-form input:disabled {
  opacity: 0.78;
  cursor: not-allowed;
}

.toggle-switch {
  --switch-width: 44px;
  --switch-height: 24px;
  --switch-bg-off: rgba(110, 128, 162, 0.55);
  --switch-bg-on: rgba(244, 201, 93, 0.85);
  --switch-knob: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  user-select: none;
}

.toggle-switch-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.toggle-switch-slider {
  width: var(--switch-width);
  height: var(--switch-height);
  border-radius: 999px;
  background: var(--switch-bg-off);
  position: relative;
  transition: background-color 0.2s ease;
  flex: 0 0 var(--switch-width);
}

.toggle-switch-slider::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--switch-knob);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}

.toggle-switch-input:checked + .toggle-switch-slider {
  background: var(--switch-bg-on);
}

.toggle-switch-input:checked + .toggle-switch-slider::after {
  transform: translateX(20px);
}

.toggle-switch-input:focus-visible + .toggle-switch-slider {
  outline: 2px solid rgba(244, 201, 93, 0.9);
  outline-offset: 2px;
}

.toggle-switch-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.discord-editor-inline-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  align-items: end;
}

.discord-editor-inline-fields > label {
  margin: 0;
}

.discord-editor-inline-fields .account-toggle-field.toggle-switch {
  min-height: 44px;
  border: 1px solid rgba(124, 142, 255, 0.24);
  border-radius: 12px;
  padding: 0.65rem 0.8rem;
}

.discord-editor-inline-fields .toggle-switch-label {
  color: #e7f2ff;
  font-weight: 700;
}

.account-tags-select {
  min-height: 2.65rem;
  max-height: 9rem;
}

.account-tags-select.is-enhanced-hidden {
  display: none;
}

.account-category-search {
  display: block;
  width: 100%;
}

.account-category-select.is-enhanced-hidden {
  display: none;
}

.account-tag-search {
  display: block;
  width: 100%;
  margin-top: 0.45rem;
}

.account-tag-search::placeholder {
  color: #9fb4cb;
  opacity: 1;
}

#discordEditorTagSearchMeta {
  display: block;
  margin-top: 0.35rem;
  color: #a5b8cc;
}

#accountOwnedEditorTagSearchMeta {
  display: block;
  margin-top: 0.35rem;
  color: #a5b8cc;
}

.account-tag-chip-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.45rem;
}

.account-tag-chip {
  border: 1px solid rgba(145, 173, 195, 0.34);
  background: rgba(8, 14, 20, 0.76);
  color: #dce8f4;
  border-radius: 999px;
  padding: 0.34rem 0.64rem;
  font-size: 0.84rem;
  font-weight: 620;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.account-tag-chip:hover,
.account-tag-chip:focus-visible {
  border-color: rgba(244, 220, 161, 0.65);
  background: rgba(24, 34, 48, 0.9);
}

.account-tag-chip.is-selected {
  border-color: rgba(125, 142, 255, 0.8);
  background: linear-gradient(135deg, rgba(96, 122, 255, 0.36), rgba(244, 220, 161, 0.24));
  color: #f4f8ff;
  box-shadow: 0 0 0 1px rgba(125, 142, 255, 0.22) inset;
}

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

.account-inline-feedback {
  margin: 0;
  min-height: 1.15rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.account-inline-feedback.is-success {
  color: #c7ffd8;
}

.account-inline-feedback.is-error {
  color: #ffd5df;
}

@media (max-width: 1100px) {
  .discord-editor-inline-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .discord-editor-inline-fields {
    grid-template-columns: 1fr;
  }
}

.account-empty {
  margin: 0;
  border-radius: 15px;
  border: 1px dashed rgba(145, 173, 195, 0.33);
  background: rgba(10, 16, 24, 0.65);
  color: var(--muted);
  padding: 0.95rem;
}

.account-discord-hero {
  padding-top: 4.6rem;
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

.account-discord-profile-card,
.account-discord-kpis,
.account-discord-panel,
.account-discord-submit-panel {
  border: 1px solid rgba(124, 142, 255, 0.28);
  border-radius: 22px;
  background:
    radial-gradient(circle at 10% 10%, rgba(244, 201, 93, 0.1), transparent 46%),
    linear-gradient(180deg, rgba(16, 27, 47, 0.92), rgba(9, 16, 30, 0.97));
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(124, 142, 255, 0.12) inset;
}

.account-discord-profile-card {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.account-discord-cover {
  min-height: 118px;
  background:
    radial-gradient(circle at 80% 18%, rgba(124, 142, 255, 0.42), transparent 36%),
    radial-gradient(circle at 18% 72%, rgba(244, 201, 93, 0.28), transparent 38%),
    linear-gradient(120deg, rgba(38, 58, 104, 0.93), rgba(17, 28, 49, 0.96));
}

.account-discord-profile-main {
  margin-top: -34px;
  padding: 0 1.2rem 1.1rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: end;
}

.account-discord-avatar {
  width: 92px;
  height: 92px;
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  place-items: center;
  font-size: 1.9rem;
  font-weight: 800;
  color: #101a32;
  background: linear-gradient(125deg, #f4c95d 0%, #7c8eff 54%, #4c5fe9 100%);
  box-shadow:
    0 14px 28px rgba(76, 95, 233, 0.28),
    0 0 0 4px rgba(10, 17, 31, 0.94);
}

.account-discord-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-discord-profile-card h1 {
  margin: 0.12rem 0 0;
  font-size: clamp(1.45rem, 2.5vw, 2.3rem);
}

.account-discord-sub {
  margin: 0.38rem 0 0;
  color: #b8cadb;
}

.account-discord-sub strong {
  color: #f4dca1;
}

/* Account dashboard: "Add Our Voting Bot" CTA (right of the header) */
.account-discord-profile-main:has(.account-votebot-cta) {
  grid-template-columns: auto minmax(0, 1fr) minmax(320px, 390px);
}

.account-votebot-cta {
  position: relative;
  isolation: isolate;
  align-self: end;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 0.95rem;
  width: 100%;
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(130, 149, 255, 0.48);
  border-radius: 12px 22px 12px 22px;
  background:
    linear-gradient(90deg, rgba(124, 142, 255, 0.1) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(rgba(124, 142, 255, 0.1) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(125deg, rgba(12, 19, 34, 0.98), rgba(7, 12, 24, 0.99));
  box-shadow:
    0 16px 34px rgba(4, 8, 24, 0.42),
    0 0 24px rgba(88, 101, 242, 0.13),
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
  overflow: hidden;
}

.account-votebot-cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 auto auto 0;
  width: 42%;
  height: 3px;
  background: #f4c95d;
  box-shadow: 0 0 16px rgba(244, 201, 93, 0.72);
}

.account-votebot-cta::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -22px;
  width: 70px;
  height: 70px;
  border: 1px solid rgba(124, 142, 255, 0.34);
  transform: rotate(45deg);
  pointer-events: none;
}

.account-votebot-glow {
  position: absolute;
  z-index: -1;
  inset: -35% -16% auto auto;
  width: 170px;
  height: 170px;
  background: radial-gradient(circle, rgba(88, 101, 242, 0.36), transparent 66%);
  filter: blur(6px);
  opacity: 0.75;
  pointer-events: none;
  animation: votebotGlow 5s ease-in-out infinite;
}

@keyframes votebotGlow {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.55; }
  50% { transform: translate(-10px, 10px) scale(1.08); opacity: 0.82; }
}

.account-votebot-bot {
  position: relative;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 10px 18px 10px 18px;
  border: 1px solid rgba(175, 186, 255, 0.72);
  font-size: 1.65rem;
  color: #ffffff;
  background: linear-gradient(145deg, #7483ff, #3d49be);
  box-shadow:
    0 12px 25px rgba(48, 60, 177, 0.44),
    0 0 0 3px rgba(7, 13, 28, 0.88),
    0 1px 0 rgba(255, 255, 255, 0.22) inset;
  animation: votebotFloat 3.6s ease-in-out infinite;
}

@keyframes votebotFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-5px) rotate(2deg); }
}

.account-votebot-spark {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f4dca1;
  box-shadow: 0 0 10px rgba(244, 220, 161, 0.9);
  animation: votebotSpark 2.8s ease-in-out infinite;
}

.account-votebot-spark--1 { --spark-x: 38px; --spark-y: -34px; top: -4px; right: 2px; }
.account-votebot-spark--2 { --spark-x: -38px; --spark-y: 32px; bottom: -2px; left: -3px; animation-delay: 1.2s; }
.account-votebot-spark--3 { --spark-x: 48px; --spark-y: 5px; background: #7c8eff; }
.account-votebot-spark--4 { --spark-x: -48px; --spark-y: -8px; background: #7ec5ff; }
.account-votebot-spark--5 { --spark-x: 24px; --spark-y: 42px; background: #6de39b; }
.account-votebot-spark--6 { --spark-x: -20px; --spark-y: -44px; background: #ffffff; }
.account-votebot-spark--7 { --spark-x: 46px; --spark-y: -22px; background: #f4c95d; }
.account-votebot-spark--8 { --spark-x: -44px; --spark-y: 18px; background: #aebcff; }

.account-votebot-spark--3,
.account-votebot-spark--4,
.account-votebot-spark--5,
.account-votebot-spark--6,
.account-votebot-spark--7,
.account-votebot-spark--8 {
  top: 50%;
  left: 50%;
  opacity: 0;
  animation: none;
}

@keyframes votebotSpark {
  0%, 100% { transform: scale(0.6); opacity: 0.3; }
  50% { transform: scale(1.15); opacity: 1; }
}

.account-votebot-cta:has(.account-votebot-btn:hover) .account-votebot-bot,
.account-votebot-cta:has(.account-votebot-btn:focus-visible) .account-votebot-bot {
  animation: votebotExcited 0.13s ease-in-out infinite;
}

.account-votebot-cta:has(.account-votebot-btn:hover) .account-votebot-spark,
.account-votebot-cta:has(.account-votebot-btn:focus-visible) .account-votebot-spark {
  top: 50%;
  right: auto;
  bottom: auto;
  left: 50%;
  animation: votebotParticleBurst 0.72s ease-out infinite;
}

.account-votebot-cta:has(.account-votebot-btn:hover) .account-votebot-spark--2,
.account-votebot-cta:has(.account-votebot-btn:focus-visible) .account-votebot-spark--2 { animation-delay: 0.08s; }
.account-votebot-cta:has(.account-votebot-btn:hover) .account-votebot-spark--3,
.account-votebot-cta:has(.account-votebot-btn:focus-visible) .account-votebot-spark--3 { animation-delay: 0.16s; }
.account-votebot-cta:has(.account-votebot-btn:hover) .account-votebot-spark--4,
.account-votebot-cta:has(.account-votebot-btn:focus-visible) .account-votebot-spark--4 { animation-delay: 0.24s; }
.account-votebot-cta:has(.account-votebot-btn:hover) .account-votebot-spark--5,
.account-votebot-cta:has(.account-votebot-btn:focus-visible) .account-votebot-spark--5 { animation-delay: 0.32s; }
.account-votebot-cta:has(.account-votebot-btn:hover) .account-votebot-spark--6,
.account-votebot-cta:has(.account-votebot-btn:focus-visible) .account-votebot-spark--6 { animation-delay: 0.4s; }
.account-votebot-cta:has(.account-votebot-btn:hover) .account-votebot-spark--7,
.account-votebot-cta:has(.account-votebot-btn:focus-visible) .account-votebot-spark--7 { animation-delay: 0.48s; }
.account-votebot-cta:has(.account-votebot-btn:hover) .account-votebot-spark--8,
.account-votebot-cta:has(.account-votebot-btn:focus-visible) .account-votebot-spark--8 { animation-delay: 0.56s; }

@keyframes votebotExcited {
  0%, 100% { transform: translate(0, 0) rotate(-2deg) scale(1); }
  25% { transform: translate(-2px, 1px) rotate(-5deg) scale(1.03); }
  50% { transform: translate(2px, -1px) rotate(3deg) scale(1.04); }
  75% { transform: translate(-1px, -2px) rotate(5deg) scale(1.03); }
}

@keyframes votebotParticleBurst {
  0% { transform: translate(-50%, -50%) scale(0.3); opacity: 0; }
  18% { opacity: 1; }
  75% { opacity: 0.9; }
  100% { transform: translate(calc(-50% + var(--spark-x)), calc(-50% + var(--spark-y))) scale(0); opacity: 0; }
}

.account-votebot-body {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.2rem 0.7rem;
  min-width: 0;
}

.account-votebot-kicker {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #aebcff;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.account-votebot-kicker span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6de39b;
  box-shadow: 0 0 9px rgba(109, 227, 155, 0.9);
}

.account-votebot-title {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  color: #f2f6ff;
  line-height: 1.12;
}

.account-votebot-copy {
  grid-column: 1;
  margin: 0;
  color: #dce6f7;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

.account-votebot-btn {
  grid-column: 2;
  grid-row: 3;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.58rem 0.72rem;
  border-radius: 8px 12px 8px 12px;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  text-decoration: none;
  background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
  border: 1px solid rgba(174, 186, 255, 0.72);
  box-shadow:
    0 10px 22px rgba(76, 95, 233, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  text-shadow: 0 1px 2px rgba(10, 16, 40, 0.72);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.account-votebot-btn:visited {
  color: #ffffff;
}

.account-votebot-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 28px rgba(76, 95, 233, 0.46),
    0 0 0 1px rgba(255, 255, 255, 0.26) inset;
  filter: brightness(1.05);
}

.account-votebot-btn:focus-visible {
  outline: 2px solid rgba(126, 197, 255, 0.85);
  outline-offset: 3px;
}

.account-votebot-btn:active { transform: translateY(0); }

@media (max-width: 1180px) {
  .account-discord-profile-main:has(.account-votebot-cta) {
    grid-template-columns: 1fr;
  }

  .account-votebot-cta {
    min-width: 0;
    max-width: none;
  }
}

@media (max-width: 560px) {
  .account-votebot-cta {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .account-votebot-bot {
    width: 52px;
    height: 52px;
  }

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

  .account-votebot-btn {
    grid-column: 1;
    grid-row: auto;
    margin-top: 0.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .account-votebot-glow,
  .account-votebot-bot,
  .account-votebot-spark {
    animation: none !important;
  }
}

.account-discord-meta {
  margin-top: 0.78rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.52rem;
}

.account-discord-chip {
  border: 1px solid rgba(145, 173, 195, 0.28);
  border-radius: 999px;
  background: rgba(9, 16, 29, 0.76);
  color: #cbd8e6;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.36rem 0.62rem;
}

.account-discord-chip i {
  color: #f4d18a;
}

.account-discord-chip.is-link:hover,
.account-discord-chip.is-link:focus-visible {
  border-color: rgba(244, 201, 93, 0.58);
  color: #fff2d2;
}

.account-discord-kpis {
  padding: 0.9rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.account-discord-kpis article {
  border-radius: 14px;
  border: 1px solid rgba(124, 142, 255, 0.24);
  background: rgba(10, 16, 29, 0.74);
  padding: 0.75rem;
}

.account-discord-kpis p {
  margin: 0;
  font-size: 0.84rem;
  color: #a8bdd3;
}

.account-discord-kpis strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.36rem;
  color: #f6fbff;
}

.account-discord-layout {
  padding-top: 1.2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1rem;
  align-items: start;
}

.account-discord-panel {
  padding: 1.25rem;
}

#discordClaimSection {
  grid-template-columns: minmax(0, 1fr);
}

#discordClaimChooserStage {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1rem;
  align-items: start;
}

#discordPostClaimEditorSection {
  grid-column: 1 / -1;
}

#accountOwnedPanelHead[hidden] {
  display: none !important;
}

#accountOwnedBotsPanelHead[hidden] {
  display: none !important;
}

#discordClaimSection.is-editing #discordClaimChooserStage {
  display: none;
}

#discordClaimSection.is-editing #discordPostClaimEditorSection {
  display: block;
}

.account-discord-editor-shell {
  display: grid;
  gap: 0.72rem;
}

#discordPostClaimEditorSection .account-owned-card-head,
#accountOwnedEditorStage .account-owned-card-head {
  grid-template-columns: 56px 1fr auto;
  gap: 0.9rem;
}

#discordPostClaimEditorSection .account-owned-avatar,
#accountOwnedEditorStage .account-owned-avatar {
  width: 56px;
  height: 56px;
  border-radius: 14px;
}

#discordEditorServerName,
#accountOwnedEditorName {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  font-weight: 880;
  color: #ffffff;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.26);
}

#discordEditorServerMeta,
#accountOwnedEditorMeta {
  font-size: 0.92rem;
  color: #b3cae0;
}

#discordPostClaimEditorSection label > div[style*="width: 100px"],
#accountOwnedEditorStage label > div[style*="width: 100px"] {
  width: 100% !important;
  border-radius: 10px;
  overflow: hidden;
}

#discordPostClaimEditorSection .account-required-note,
#accountOwnedEditorStage .account-required-note,
#accountOwnedBotEditorStage .account-required-note {
  display: inline;
  margin-left: 0.3rem;
  margin-bottom: 0;
  color: #f26b7a;
  font-weight: 700;
}

#discordPostClaimEditorSection .account-inline-form select,
#discordPostClaimEditorSection .account-inline-form select option,
#accountOwnedEditorStage .account-inline-form select,
#accountOwnedEditorStage .account-inline-form select option {
  color: #e9f4ff;
  background: #0d1723;
}

.account-discord-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.account-discord-search {
  width: min(290px, 100%);
  border: 1px solid rgba(145, 173, 195, 0.28);
  border-radius: 12px;
  background: rgba(8, 14, 24, 0.8);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.58rem 0.68rem;
}

.account-discord-search i {
  color: #f4dca1;
  font-size: 0.9rem;
}

.account-discord-search input {
  border: 0;
  outline: 0;
  background: transparent;
  color: #e9f4ff;
  font: inherit;
  width: 100%;
}

.account-discord-search input::placeholder {
  color: #89a3bd;
}

.account-discord-filters {
  margin-top: 2.1rem;
  margin-bottom: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.46rem;
}

.account-discord-filters .btn {
  padding: 0.4rem 0.72rem;
  min-height: 0;
}

.account-discord-filters .btn.is-active {
  border-color: rgba(244, 201, 93, 0.62);
  background: linear-gradient(125deg, rgba(244, 201, 93, 0.25), rgba(124, 142, 255, 0.24));
  color: #fff3d4;
}

@media (max-width: 768px) {
  .account-discord-filters {
    margin-top: 1rem;
  }
}

.account-discord-controls {
  margin-bottom: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.account-discord-grid {
  display: grid;
  gap: 0.78rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-discord-guild-card {
  border: 1px solid rgba(124, 142, 255, 0.2);
  border-radius: 18px;
  background: rgba(8, 14, 24, 0.74);
  padding: 0.78rem;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

.account-discord-guild-card:hover {
  border-color: rgba(244, 201, 93, 0.4);
  box-shadow: 0 12px 24px rgba(7, 12, 22, 0.32);
  transform: translateY(-1px);
}

.account-discord-guild-card.is-selected {
  border-color: rgba(244, 201, 93, 0.58);
  background:
    radial-gradient(circle at 10% 10%, rgba(244, 201, 93, 0.08), transparent 50%),
    rgba(16, 27, 47, 0.9);
}

.account-discord-guild-hitbox {
  display: grid;
  grid-template-columns: auto 46px 1fr auto;
  align-items: center;
  gap: 0.7rem;
  cursor: pointer;
}

.account-discord-guild-hitbox input[type='checkbox'] {
  width: 1rem;
  height: 1rem;
}

.account-discord-guild-avatar {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #101a32;
  font-weight: 800;
  background: linear-gradient(135deg, #f4c95d 0%, #7c8eff 54%, #4c5fe9 100%);
}

.account-discord-guild-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-discord-guild-copy {
  min-width: 0;
  display: grid;
}

.account-discord-guild-copy strong {
  font-size: 0.98rem;
  color: #f1f7ff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-discord-guild-copy small {
  color: #9eb5cb;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-discord-source-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  margin-left: 0.45rem;
  padding: 0.1rem 0.36rem 0.1rem 0.12rem;
  border-radius: 999px;
  border: 1px solid rgba(124, 142, 255, 0.24);
  background: rgba(124, 142, 255, 0.08);
  color: #dce8f4;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  max-width: 100%;
  vertical-align: middle;
}

.account-discord-source-tag img {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  object-fit: cover;
  flex: 0 0 auto;
}

.account-discord-source-tag span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-discord-preview-link {
  margin-top: 0.55rem;
  margin-left: calc(1rem + 44px + 0.7rem);
  display: inline-flex;
  color: #f4dca1;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
}

.account-discord-preview-link:hover,
.account-discord-preview-link:focus-visible {
  color: #ffe8b6;
}

.account-discord-submit-panel {
  padding: 1rem;
  position: sticky;
  top: 94px;
  display: grid;
  gap: 0.75rem;
}

.account-discord-submit-panel h3 {
  margin: 0;
  font-size: 1.12rem;
}

.account-discord-submit-panel p {
  margin: 0;
  color: #b3c7da;
  line-height: 1.45;
}

.account-discord-progress {
  display: grid;
  gap: 0.36rem;
}

.account-discord-progress-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(124, 142, 255, 0.2);
  overflow: hidden;
}

.account-discord-progress-track span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #f4c95d, #7c8eff);
  transition: width 0.2s ease;
}

.account-discord-progress small {
  color: #a9bed3;
  font-size: 0.79rem;
}

.account-discord-submit-panel .btn {
  justify-content: center;
}

@media (max-width: 900px) {
  .account-discord-profile-main {
    grid-template-columns: 1fr;
    align-items: start;
    margin-top: -24px;
  }

  .account-discord-avatar {
    width: 80px;
    height: 80px;
  }

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

  .account-discord-panel-head {
    align-items: start;
  }

  .account-discord-search {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .account-discord-guild-hitbox {
    grid-template-columns: auto 42px minmax(0, 1fr);
    align-items: start;
    row-gap: 0.45rem;
    column-gap: 0.62rem;
  }

  .account-discord-guild-hitbox input[type='checkbox'] {
    margin-top: 0.35rem;
  }

  .account-discord-guild-avatar {
    width: 42px;
    height: 42px;
  }

  .account-discord-guild-copy strong,
  .account-discord-guild-copy small {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .account-discord-guild-hitbox > .account-badge {
    grid-column: 2 / -1;
    justify-self: start;
  }

  .account-discord-preview-link {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .account-country-chip,
  .account-discord-source-tag {
    margin-left: 0.3rem;
    margin-top: 0.25rem;
  }

  .account-discord-chip {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}


.faq details {
  border: 1px solid rgba(149, 177, 201, 0.24);
  border-radius: 12px;
  padding: 0.88rem 1rem;
  background: rgba(14, 24, 33, 0.72);
}

.faq details + details {
  margin-top: 0.6rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
}

.faq p {
  margin-top: 0.5rem;
}

.site-footer {
  margin-top: 4rem;
  border-top: 1px solid rgba(151, 181, 204, 0.2);
  background:
    radial-gradient(circle at 50% 100%, rgba(43, 96, 168, 0.2), transparent 40%),
    linear-gradient(180deg, rgba(8, 13, 20, 0.96), rgba(6, 10, 16, 0.98));
}

.footer-shell {
  padding: 2.6rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.25fr) repeat(4, minmax(0, 1fr));
  column-gap: 1.15rem;
  row-gap: 1rem;
  align-items: start;
}

.footer-col h3 {
  margin: 0;
  color: #f1f8ff;
  font-size: 1.12rem;
  font-weight: 760;
}

.site-footer .server-section-divider {
  width: min(100%, 100px);
}

.footer-brand-col {
  max-width: 38ch;
  padding: 0;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  font-size: 1.12rem;
  margin-top: 0;
}

.footer-brand .tds-logo__image {
  height: 90px;
}

.footer-description {
  margin: 0.7rem 0 0;
  color: #9bb1c7;
  line-height: 1.5;
  font-size: 0.96rem;
}

.footer-social {
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.68rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: #c7d9ec;
  background: rgba(21, 33, 48, 0.92);
  border: 1px solid rgba(116, 150, 182, 0.26);
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.footer-social a:hover {
  transform: translateY(-1px);
  border-color: rgba(121, 194, 255, 0.55);
  color: #e8f4ff;
}

.footer-link-list {
  margin-top: 0.72rem;
  display: grid;
  gap: 0.42rem;
}

.footer-link-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  color: #9eb3c8;
  text-decoration: none;
  font-weight: 560;
  transition: color 0.18s ease;
}

.footer-link-list a:hover {
  color: #e6f3ff;
}

.footer-badge-new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.06rem 0.42rem;
  border-radius: 999px;
  border: 1px solid rgba(106, 227, 154, 0.45);
  background: rgba(36, 152, 86, 0.24);
  color: #9af2c2;
  font-size: 0.62rem;
  line-height: 1;
  font-weight: 780;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-bottom {
  margin-top: 1.8rem;
  border-top: 1px solid rgba(129, 157, 180, 0.22);
  padding-top: 1rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: #7f98b2;
  font-size: 0.98rem;
}


















/* ── FEATURES PAGE V3 REVAMP ── */

.features-bet-badge-row .features-bet-badge {
  border-radius: 999px;
  background: linear-gradient(135deg, #5865f2, #4752c4);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  padding: 0.38rem 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.28);
}

.features-bet-badge-row .features-bet-badge i {
  font-size: 1rem;
}



.features-page-hero .features-bet-title,
.features-hero-copy .features-bet-title {
  margin: 1.1rem 0 0;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(2.4rem, 5.2vw, 4.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.02;
}

.features-page-hero .features-bet-title span,
.features-hero-copy .features-bet-title span {
  display: block;
}

.features-title-accent {
  background: linear-gradient(120deg, #7de1f8 0%, #5865f2 50%, #a5b4fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 42px rgba(88, 101, 242, 0.28);
}

.features-bet-sub {
  margin-top: 1.1rem;
  color: #c9d7e8;
  font-size: 1.08rem;
  line-height: 1.55;
}

.features-bet-divider {
  border-color: rgba(88, 101, 242, 0.28);
}

.features-bet-duo .features-bet-duo-icon {
  background: linear-gradient(135deg, #5865f2, #7de1f8);
  color: #070d1a;
  box-shadow: 0 10px 24px rgba(88, 101, 242, 0.28);
}

.features-bet-list-grid i {
  color: #a5b4fc;
}

.features-bet-copy .features-bet-btn,
.features-hero-actions .features-bet-btn {
  border-radius: 999px;
  color: #070d1a;
  background: linear-gradient(135deg, #a5b4fc, #5865f2);
  border-color: rgba(165, 180, 252, 0.8);
  box-shadow: 0 14px 32px rgba(88, 101, 242, 0.32);
  font-weight: 800;
}

/* ── LEGAL PAGES: PRIVACY, TERMS, COMMUNITY RULES ── */

.legal-page {
  --legal-accent: #5865f2;
  --legal-accent-soft: rgba(88, 101, 242, 0.14);
  --legal-glow: rgba(88, 101, 242, 0.22);
  overflow-x: hidden;
}

.legal-page .bg-grid {
  opacity: 0.06;
}

.legal-hero {
  position: relative;
  padding-top: 4.6rem;
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.legal-hero .crumbs {
  margin-bottom: 1.4rem;
}

.legal-hero::before {
  content: '';
  position: absolute;
  inset: -8rem 0 auto;
  height: 36rem;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(88, 101, 242, 0.18), transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(125, 225, 248, 0.1), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.legal-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.legal-hero-inner--with-media {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 360px);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: none;
}

.legal-hero-inner--with-media .legal-hero-copy {
  min-width: 0;
}

.legal-hero-inner--with-media .legal-hero-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.legal-hero-inner--with-media .legal-hero-media::before {
  content: '';
  position: absolute;
  inset: -1.5rem;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(88, 101, 242, 0.22), transparent 70%),
    radial-gradient(ellipse 50% 50% at 30% 70%, rgba(125, 225, 248, 0.14), transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.legal-hero-inner--with-media .legal-hero-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 240px;
  height: auto;
  border-radius: 24px;
  object-fit: contain;
}

@media (max-width: 960px) {
  .legal-hero-inner--with-media {
    grid-template-columns: 1fr;
  }

  .legal-hero-inner--with-media .legal-hero-media {
    order: -1;
  }

  .legal-hero-inner--with-media .legal-hero-media img {
    max-width: 180px;
  }
}

.legal-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #5865f2, #4752c4);
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.3);
}

.legal-hero-badge i {
  font-size: 0.95rem;
}

.legal-hero h1 {
  margin: 1.2rem 0 0;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.legal-hero h1 .legal-title-accent {
  background: linear-gradient(120deg, #7de1f8 0%, #5865f2 55%, #a5b4fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.legal-hero-sub {
  margin-top: 1rem;
  color: #c9d7e8;
  font-size: 1.08rem;
  line-height: 1.6;
  max-width: 720px;
}

.legal-meta-row {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  color: #94a3b8;
  font-size: 0.88rem;
}

.legal-meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.legal-meta-row i {
  color: #a5b4fc;
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding-bottom: clamp(4rem, 10vw, 7rem);
}

.legal-toc {
  position: sticky;
  top: 6rem;
  padding: 1.25rem;
  background: rgba(11, 17, 28, 0.65);
  border: 1px solid rgba(146, 172, 198, 0.12);
  border-radius: 18px;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.legal-toc h2 {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e2e8f0;
  margin: 0 0 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(146, 172, 198, 0.12);
}

.legal-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.legal-toc a {
  display: block;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  color: #94a3b8;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
  line-height: 1.35;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  background: var(--legal-accent-soft);
  color: #e2e8f0;
}

.legal-toc a.is-active {
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.22), rgba(125, 225, 248, 0.12));
  color: #fff;
  font-weight: 700;
}

.legal-content {
  min-width: 0;
}

.legal-section {
  scroll-margin-top: 5.5rem;
  padding: 2.25rem 0;
  border-bottom: 1px solid rgba(146, 172, 198, 0.1);
}

.legal-section:first-child {
  padding-top: 0;
}

.legal-section:last-child {
  border-bottom: 0;
}

.legal-section h2 {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.legal-section h2 .legal-section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  flex: 0 0 2.1rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #5865f2, #4752c4);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(88, 101, 242, 0.28);
}

.legal-section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #e2e8f0;
  margin: 1.6rem 0 0.6rem;
}

.legal-section p,
.legal-section li {
  color: #b8c6dc;
  font-size: 0.98rem;
  line-height: 1.7;
}

.legal-section p + p {
  margin-top: 0.85rem;
}

.legal-section ul,
.legal-section ol {
  margin: 0.75rem 0 0;
  padding-left: 1.4rem;
}

.legal-section li + li {
  margin-top: 0.45rem;
}

.legal-section a {
  color: #a5b4fc;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-section a:hover {
  color: #7de1f8;
}

.legal-highlight-box {
  margin: 1.25rem 0 0;
  padding: 1.1rem 1.25rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.14), rgba(125, 225, 248, 0.08));
  border: 1px solid rgba(88, 101, 242, 0.22);
}

.legal-highlight-box p:last-child {
  margin-bottom: 0;
}

.legal-highlight-box strong {
  color: #e2e8f0;
}

.legal-highlight-box i {
  color: #a5b4fc;
  margin-right: 0.5rem;
}

.legal-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.legal-card {
  padding: 1.15rem;
  border-radius: 14px;
  background: rgba(146, 172, 198, 0.06);
  border: 1px solid rgba(146, 172, 198, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.legal-card:hover {
  transform: translateY(-3px);
  border-color: rgba(88, 101, 242, 0.35);
  box-shadow: 0 14px 32px rgba(88, 101, 242, 0.14);
}

.legal-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #5865f2, #7de1f8);
  color: #070d1a;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.legal-card h4 {
  font-size: 0.98rem;
  font-weight: 800;
  color: #e2e8f0;
  margin: 0 0 0.35rem;
}

.legal-card p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #94a3b8;
  margin: 0;
}

.legal-cta-banner {
  position: relative;
  margin-top: 3rem;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(88, 101, 242, 0.25), transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(125, 225, 248, 0.14), transparent 50%),
    linear-gradient(135deg, rgba(88, 101, 242, 0.12), rgba(11, 17, 28, 0.8));
  border: 1px solid rgba(88, 101, 242, 0.25);
  text-align: center;
}

.legal-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
  pointer-events: none;
}

.legal-cta-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  margin: 0 0 0.6rem;
  position: relative;
  z-index: 1;
}

.legal-cta-banner p {
  color: #b8c6dc;
  max-width: 560px;
  margin: 0 auto 1.4rem;
  position: relative;
  z-index: 1;
}

.legal-cta-banner .features-cta-actions {
  position: relative;
  z-index: 1;
  justify-content: center;
}

.legal-hero-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.legal-hero-media::before {
  content: '';
  position: absolute;
  inset: -1.5rem;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(88, 101, 242, 0.22), transparent 70%),
    radial-gradient(ellipse 50% 50% at 30% 70%, rgba(125, 225, 248, 0.14), transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.legal-hero-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 24px;
  object-fit: contain;
}

@media (max-width: 960px) {

  .legal-hero-media {
    order: -1;
  }

  .legal-hero-media img {
    max-width: 180px;
  }

  .legal-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 2.5rem);
  }

  .legal-toc {
    top: 5rem;
    padding: 1rem;
  }
}

@media (max-width: 720px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }


@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }
}
  .legal-toc {
    position: static;
    order: -1;
  }

  .legal-toc ul {
    display: flex;
    flex-direction: column;
  }

  .legal-meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .legal-section h2 {
    align-items: flex-start;
  }

  .legal-section h2 .legal-section-num {
    margin-top: 0.15rem;
  }
}

.features-bet-copy .features-bet-btn:hover,
.features-hero-actions .features-bet-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(88, 101, 242, 0.42);
}

.features-hero-copy,
.features-hero-panel {
  border-color: rgba(88, 101, 242, 0.22);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(88, 101, 242, 0.12), transparent 58%),
    linear-gradient(180deg, rgba(20, 32, 52, 0.92), rgba(8, 14, 24, 0.98));
}

/* Marquee ticker */
.features-v2-ticker {
  position: relative;
  overflow: hidden;
  padding: 0.85rem 0;
}

.features-v2-ticker::before,
.features-v2-ticker::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 56px;
  pointer-events: none;
  z-index: 2;
}

.features-v2-ticker::before {
  left: 0;
  background: linear-gradient(90deg, rgba(14, 24, 42, 0.98), transparent);
}

.features-v2-ticker::after {
  right: 0;
  background: linear-gradient(-90deg, rgba(14, 24, 42, 0.98), transparent);
}

.features-marquee-track {
  display: flex;
  gap: 0.65rem;
  width: max-content;
  animation: marqueeScroll 26s linear infinite;
}

.features-v2-ticker:hover .features-marquee-track {
  animation-play-state: paused;
}

.features-v2-ticker span {
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid rgba(88, 101, 242, 0.32);
  background: rgba(13, 22, 40, 0.85);
  color: #d8e0ff;
  font-size: 0.84rem;
  font-weight: 760;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.38rem 0.74rem;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.features-v2-ticker span:hover {
  border-color: rgba(165, 180, 252, 0.7);
  background: rgba(88, 101, 242, 0.14);
  transform: translateY(-2px);
}

.features-v2-ticker i {
  color: #a5b4fc;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Home server ticker */
.home-ticker-section {
  padding: 0.7rem 0 1.4rem;
  margin-top: 10px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.home-ticker-container {
  position: relative;
}

.home-ticker-side {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(78px, 9vw, 122px);
  display: grid;
  place-items: center;
  z-index: 5;
  pointer-events: none;
}

.home-ticker-side--left {
  left: -120px;
}

.home-ticker-side--right {
  right: -120px;
}

.home-ticker-side__brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(124, 142, 255, 0.34);
  border-radius: 16px;
  background:
    radial-gradient(circle at 18% 10%, rgba(125, 225, 248, 0.16), transparent 38%),
    radial-gradient(circle at 82% 8%, rgba(88, 101, 242, 0.18), transparent 44%),
    linear-gradient(180deg, rgba(16, 27, 49, 0.9), rgba(9, 16, 32, 0.96));
  box-shadow:
    0 16px 34px rgba(5, 9, 18, 0.52),
    0 0 0 1px rgba(88, 101, 242, 0.14) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  overflow: hidden;
}

.home-ticker-side__brand-mark::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(12px, 1.8vw, 22px);
  right: calc(clamp(12px, 1.8vw, 22px) * -1);
  background: linear-gradient(90deg, rgba(88, 101, 242, 0.55), rgba(88, 101, 242, 0));
}

.home-ticker-side__brand-server {
  display: flex;
  width: 78%;
  height: 86%;
  flex-direction: column;
  gap: clamp(4px, 0.45vw, 6px);
}

.home-ticker-side__brand-row {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  min-height: 0;
  padding: 0 clamp(5px, 0.55vw, 8px);
  border: 1px solid rgba(165, 180, 252, 0.34);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(24, 36, 62, 0.92), rgba(14, 22, 40, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 1px rgba(7, 13, 26, 0.42);
}

.home-ticker-side__brand-row i {
  width: 4px;
  height: 4px;
  margin-right: auto;
  border-radius: 50%;
  background: #7de1f8;
  box-shadow: 0 0 8px rgba(125, 225, 248, 0.9);
}

.home-ticker-side__brand-row b {
  width: 3px;
  height: 3px;
  margin-left: 3px;
  border-radius: 50%;
  background: rgba(165, 180, 252, 0.78);
}

.home-ticker-side--right .home-ticker-side__brand-mark::after {
  right: auto;
  left: calc(clamp(12px, 1.8vw, 22px) * -1);
  background: linear-gradient(-90deg, rgba(88, 101, 242, 0.55), rgba(88, 101, 242, 0));
}

.home-ticker-wrap {
  position: relative;
  display: grid;
  gap: 0.85rem;
  padding: 0.7rem 0;
}

@media (max-width: 980px) {
  .home-ticker-side {
    width: clamp(62px, 10vw, 86px);
  }

  .home-ticker-side--left {
    left: -52px;
  }

  .home-ticker-side--right {
    right: -52px;
  }
}

@media (max-width: 640px) {
  .home-ticker-section {
    margin-top: 0;
    margin-bottom: 20px;
  }

  .home-ticker-wrap {
    gap: 0.6rem;
    padding: 0.4rem 0;
  }

  .home-ticker-side {
    display: none;
  }
}



.home-ticker-row {
  position: relative;
  overflow: hidden;
  padding: 0.2rem 0;
}

.home-ticker-track {
  --ticker-duration: 15s;
  display: flex;
  gap: 0.65rem;
  width: max-content;
  animation: tickerScrollLeft var(--ticker-duration, 120s) linear infinite;
}

.home-ticker-track--reverse {
  animation-name: tickerScrollRight;
}

.home-ticker-track--single-left,
.home-ticker-track--single-right {
  animation-duration: 54s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-direction: normal;
}

.home-ticker-track--single-left {
  animation-name: tickerSingleLeft;
}

.home-ticker-track--single-right {
  animation-name: tickerSingleRight;
}

.home-ticker-row:hover .home-ticker-track,
.home-ticker-row:hover .home-ticker-track--reverse,
.home-ticker-row:hover .home-ticker-track--single-left,
.home-ticker-row:hover .home-ticker-track--single-right {
  animation-play-state: paused;
}

.home-ticker-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(88, 101, 242, 0.28);
  background: rgba(13, 22, 40, 0.85);
  color: #e4ebff;
  text-decoration: none;
  padding: 0.35rem 0.72rem 0.35rem 0.42rem;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.home-ticker-chip:hover,
.home-ticker-chip:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(165, 180, 252, 0.7);
  background: rgba(88, 101, 242, 0.14);
  box-shadow: 0 10px 24px rgba(88, 101, 242, 0.18);
}

.home-ticker-chip--bot {
  border-color: rgba(165, 180, 252, 0.8);
  background: rgba(88, 101, 242, 0.12);
  box-shadow: 0 10px 24px rgba(88, 101, 242, 0.22);
}

.home-ticker-chip--bot:hover,
.home-ticker-chip--bot:focus-visible {
  border-color: rgba(165, 180, 252, 0.95);
  background: rgba(88, 101, 242, 0.18);
  box-shadow: 0 14px 32px rgba(88, 101, 242, 0.32);
}

.home-ticker-chip--bot .home-ticker-chip__icon {
  background: linear-gradient(135deg, #a5b4fc, #5865f2);
  color: #070d1a;
}

.home-ticker-chip--bot .home-ticker-chip__meta {
  border-left-color: rgba(165, 180, 252, 0.45);
}

.home-ticker-chip__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, #5865f2, #7de1f8);
  color: #070d1a;
  font-size: 0.78rem;
}

.home-ticker-chip__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-ticker-chip__name {
  font-size: 0.86rem;
  font-weight: 760;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.home-ticker-chip__meta {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.08rem;
  font-size: 0.75rem;
  color: #a5b4fc;
  border-left: 1px solid rgba(124, 142, 255, 0.32);
  padding-left: 0.5rem;
  white-space: nowrap;
}

.home-ticker-chip__meta-value {
  font-size: 0.75rem;
  line-height: 1.1;
}

.home-ticker-chip__meta-type {
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(165, 180, 252, 0.8);
  line-height: 1;
}

@keyframes tickerScrollRight {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes tickerScrollLeft {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

@keyframes tickerSingleLeft {
  0% { transform: translateX(calc(100vw - 120px)); }
  100% { transform: translateX(-260px); }
}

@keyframes tickerSingleRight {
  0% { transform: translateX(-260px); }
  100% { transform: translateX(calc(100vw - 120px)); }
}

@media (max-width: 640px) {
  .home-ticker-chip__meta {
    display: none;
  }

  .home-ticker-chip__name {
    max-width: 16ch;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-ticker-track,
  .home-ticker-track--reverse,
  .home-ticker-track--single-left,
  .home-ticker-track--single-right {
    animation: none !important;
  }
}

/* Gaming zone visual */
.features-esports-split .features-esports-visual {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-right: 0;
  border-left: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(88, 101, 242, 0.22), transparent 48%),
    radial-gradient(circle at 80% 70%, rgba(125, 225, 248, 0.16), transparent 46%),
    linear-gradient(180deg, rgba(12, 20, 36, 0.96), rgba(6, 11, 20, 0.99));
}

.features-esports-wordmark {
  display: grid;
  gap: 0.2rem;
  position: relative;
  z-index: 2;
  text-align: center;
}

.features-esports-wordmark span {
  display: block;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, #f0f4ff 0%, #a5b4fc 40%, #5865f2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 48px rgba(88, 101, 242, 0.35);
}

.features-esports-wordmark span:first-child {
  font-size: clamp(2.4rem, 5.5vw, 5rem);
}

.features-esports-wordmark span:last-child {
  font-size: clamp(1.9rem, 4.2vw, 3.8rem);
  justify-self: center;
}

.features-esports-glow {
  display: block;
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88, 101, 242, 0.28), transparent 66%);
  filter: blur(20px);
  animation: pulseGlow 5s ease-in-out infinite;
}

.features-esports-pulse {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid rgba(165, 180, 252, 0.35);
  animation: ripplePulse 3s ease-out infinite;
}

.features-esports-pulse::before,
.features-esports-pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(165, 180, 252, 0.22);
  animation: ripplePulse 3s ease-out infinite;
}

.features-esports-pulse::before { animation-delay: 1s; }
.features-esports-pulse::after { animation-delay: 2s; }

.features-esports-kicker {
  color: #a5b4fc;
  text-decoration: none;
  letter-spacing: 0.08em;
}

.features-esports-copy h2 {
  max-width: none;
  color: #f0f4ff;
  font-weight: 900;
}

.features-esports-copy > p {
  color: #b0c0e3;
  text-transform: none;
  font-size: 1.02rem;
  line-height: 1.55;
}

.features-esports-stats {
  border-color: rgba(88, 101, 242, 0.25);
  background: rgba(88, 101, 242, 0.05);
  border-radius: 14px;
  overflow: hidden;
}

.features-esports-stats article + article {
  border-color: rgba(88, 101, 242, 0.2);
}

.features-esports-stats strong {
  color: #f0f4ff;
  text-shadow: 0 0 24px rgba(88, 101, 242, 0.35);
}

.features-esports-stats span {
  color: #a5b4fc;
}

/* Feature cards */
.features-v2-grid {
  gap: 1.1rem;
}

.features-v2-grid .features-v2-card {
  border-radius: 18px;
  border: 1px solid rgba(88, 101, 242, 0.18);
  background:
    linear-gradient(180deg, rgba(24, 36, 52, 0.9), rgba(10, 17, 28, 0.98));
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.features-v2-grid .features-v2-card::before {
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, #5865f2, #7de1f8, #a5b4fc);
  opacity: 0.55;
  transition: opacity 0.28s ease;
}

.features-v2-grid .features-v2-card::after {
  border-color: rgba(165, 180, 252, 0.22);
}

.features-v2-grid .features-v2-card:hover {
  transform: translateY(-6px);
  border-color: rgba(88, 101, 242, 0.45);
  box-shadow:
    0 22px 44px rgba(3, 10, 22, 0.45),
    0 0 0 1px rgba(88, 101, 242, 0.18) inset,
    0 0 36px rgba(88, 101, 242, 0.14);
}

.features-v2-grid .features-v2-card:hover::before {
  opacity: 1;
}

.features-v2-grid .features-v2-card .features-page-card-icon {
  background: linear-gradient(135deg, #5865f2, #7de1f8);
  color: #070d1a;
  box-shadow: 0 12px 26px rgba(88, 101, 242, 0.28);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.features-v2-grid .features-v2-card:hover .features-page-card-icon {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 16px 34px rgba(88, 101, 242, 0.38);
}

.features-v2-grid .features-v2-card h3 {
  color: #f0f4ff;
  font-weight: 800;
}

.features-v2-grid .features-v2-card p {
  color: #b0c0e3;
}

.features-v2-grid .features-v2-card .feature-chip-row span {
  border-color: rgba(88, 101, 242, 0.28);
  background: rgba(10, 18, 32, 0.9);
  color: #c9d5ff;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.features-v2-grid .features-v2-card:hover .feature-chip-row span {
  border-color: rgba(88, 101, 242, 0.45);
  background: rgba(88, 101, 242, 0.12);
}

/* CTA */
.features-v3-cta {
  position: relative;
  overflow: hidden;
  border-color: rgba(88, 101, 242, 0.32);
  background:
    radial-gradient(120% 120% at 20% 0%, rgba(88, 101, 242, 0.18), transparent 55%),
    linear-gradient(145deg, rgba(24, 36, 60, 0.92), rgba(10, 17, 32, 0.98));
}

.features-cta-glow {
  position: absolute;
  right: -10%;
  top: -80%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88, 101, 242, 0.25), transparent 62%);
  filter: blur(30px);
  pointer-events: none;
}

.features-v3-cta h2 {
  color: #f0f4ff;
}

.features-v3-cta p {
  color: #b0c0e3;
}

/* New animations */
@keyframes pulseGlow {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.08); }
}

@keyframes ripplePulse {
  0% { transform: scale(0.6); opacity: 0.7; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Home hero heading matches Features page heading style */
.hero .hero-copy h1 {
  font-size: clamp(2rem, 3.8vw, 3.8rem);
  line-height: 1.08;
  font-weight: 900;
  color: #f0f4ff;
  max-width: none;
}

/* Responsive */
@media (max-width: 980px) {
  .features-hero-layout {
    grid-template-columns: 1fr;
  }

  .features-bet-art {
    min-height: 420px;
  }

  .features-esports-split {
    grid-template-columns: 1fr;
  }

  .features-esports-split .features-esports-visual {
    min-height: 320px;
    border-right: 0;
    border-bottom: 1px solid rgba(88, 101, 242, 0.22);
  }

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

@media (max-width: 640px) {
  .features-page-grid,
  .features-v2-grid {
    grid-template-columns: 1fr;
  }

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

  .features-esports-stats article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(88, 101, 242, 0.2);
  }

  .features-esports-stats article:nth-child(4) {
    border-top: 1px solid rgba(88, 101, 242, 0.2);
  }

  .features-cta-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .features-cta-actions {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {.features-marquee-track,
.features-esports-glow,
.features-esports-pulse,
.features-cta-glow {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}


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

.crumbs {
  margin: 0 0 1rem;
  padding-top: 0;
}

.crumbs ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.crumbs li {
  display: inline-flex;
  align-items: center;
  color: #90acc7;
  font-size: 0.84rem;
  line-height: 1.5;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.crumbs li + li::before {
  content: ">";
  margin-right: 0.45rem;
  line-height: 1.5;
  color: rgba(121, 194, 255, 0.62);
}

.crumbs a {
  color: color-mix(in srgb, var(--cyan) 78%, #d8f5ff 22%);
  text-decoration: none;
  border-bottom: 1px solid rgba(87, 200, 255, 0.3);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.crumbs a:hover {
  color: #dcf5ff;
  border-bottom-color: rgba(87, 200, 255, 0.62);
}

.crumbs .is-current {
  color: #dbeeff;
}

.crumbs .is-current span {
  text-shadow: 0 0 14px rgba(111, 201, 255, 0.2);
}

.server-hero .crumbs .is-current span {
  color: #7fc4ff;
  background: linear-gradient(120deg, var(--lime), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 16px rgba(111, 201, 255, 0.22);
}

.directory-hero {
  padding: 4.6rem 0 2rem;
}

.directory-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3.3rem);
  line-height: 1.07;
}

.category-title-highlight {
  color: #7fc4ff;
  background: linear-gradient(120deg, var(--lime), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 16px rgba(111, 201, 255, 0.22);
}

.directory-subtitle {
  margin: 0.95rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.directory-controls {
  /* margin-top: 1.4rem; */
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 0.7rem;
}

.search-wrap,
.filter-wrap {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(146, 175, 198, 0.3);
  border-radius: 12px;
  background: rgb(15 25 46);
  padding: 0.72rem 0.8rem;
}

.search-wrap i,
.filter-wrap i {
  color: #8fdfff;
}

.search-wrap input,
.filter-wrap select {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  outline: none;
}

.filter-wrap select option {
  color: #eaf4ff;
  background: #11171d;
}

.sort-tabs {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 4rem;
}

.sort-tab {
  border: 1px solid rgba(146, 174, 197, 0.32);
  border-radius: 999px;
  background: rgba(17, 26, 36, 0.66);
  color: #dbe9f6;
  font: inherit;
  font-weight: 620;
  padding: 0.46rem 0.85rem;
  cursor: pointer;
}

.sort-tab.is-active {
  color: #0b141f;
  border-color: transparent;
  background: linear-gradient(120deg, var(--lime), var(--cyan));
}

.sort-direction-icon {
  font-size: 0.85em;
  margin-right: 0.2rem;
}

.servers-table-shell {
  position: relative;
  isolation: isolate;
  margin-top: 1rem;
  border: 1px solid rgba(120, 177, 222, 0.34);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(13, 21, 31, 0.95), rgba(9, 15, 22, 0.98));
  box-shadow:
    0 22px 46px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(88, 101, 242, 0.14) inset;
}

.servers-table-shell::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(143, 255, 197, 0.82), rgba(19, 207, 255, 0.78), rgba(88, 101, 242, 0.72));
  pointer-events: none;
  z-index: 1;
}

.servers-footable {
  width: 100%;
  min-width: 980px;
  border-collapse: separate;
  border-spacing: 0 10px;
  table-layout: fixed;
}

.servers-footable thead th {
  border-bottom: 1px solid rgba(128, 184, 228, 0.28);
  background:
    linear-gradient(180deg, rgba(24, 39, 55, 0.94), rgba(16, 28, 40, 0.92));
  color: #e3f1ff;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
}

.servers-footable tbody tr {
  background: rgba(11, 18, 27, 0.74);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.servers-footable tbody tr td:first-child {
  border-radius: 10px 0 0 10px;
}

.servers-footable tbody tr td:last-child {
  border-radius: 0 10px 10px 0;
}

.servers-footable tbody tr:nth-child(even) {
  background: rgba(14, 24, 36, 0.76);
}

.servers-footable tbody tr:hover {
  background: rgba(21, 36, 50, 0.82);
  box-shadow: inset 0 0 0 1px rgba(111, 201, 255, 0.2);
}

.servers-footable tbody tr.servers-row-has-banner td:nth-child(3),
.servers-footable tbody tr.servers-row-has-banner td:nth-child(4),
.servers-footable tbody tr.servers-row-has-banner td:nth-child(5) {
  position: relative;
}

.servers-footable tbody tr.servers-row-has-banner.servers-row-banner-compact td:nth-child(2),
.servers-footable tbody tr.servers-row-has-banner.servers-row-banner-compact td:nth-child(3),
.servers-footable tbody tr.servers-row-has-banner.servers-row-banner-compact td:nth-child(4) {
  position: relative;
}

.servers-footable tbody tr.servers-row-has-banner:not(.servers-row-banner-compact) td:nth-child(3)::before,
.servers-footable tbody tr.servers-row-has-banner.servers-row-banner-compact td:nth-child(2)::before {
  content: '';
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--server-banner-span-width, 100%);
  border-radius: 10px;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(8, 13, 21, 0.64), rgba(8, 13, 21, 0.4) 42%, rgba(8, 13, 21, 0.58)),
    var(--server-row-banner-url);
  background-size: var(--server-banner-render-width, 100%) var(--server-banner-render-height, 100%),
    var(--server-banner-render-width, 100%) var(--server-banner-render-height, 100%);
  background-repeat: no-repeat;
  background-position: var(--server-banner-pos-start, left) center, var(--server-banner-pos-start, left) center;
  background-origin: border-box, border-box;
  background-clip: border-box, border-box;
}

.servers-footable tbody tr.servers-row-has-banner td:nth-child(2) > *,
.servers-footable tbody tr.servers-row-has-banner td:nth-child(3) > *,
.servers-footable tbody tr.servers-row-has-banner td:nth-child(4) > *,
.servers-footable tbody tr.servers-row-has-banner td:nth-child(5) > * {
  position: relative;
  z-index: 1;
}

.servers-footable tbody tr.servers-row-has-banner:not(.servers-row-banner-compact):hover td:nth-child(3)::before,
.servers-footable tbody tr.servers-row-has-banner.servers-row-banner-compact:hover td:nth-child(2)::before {
  background-image:
    linear-gradient(90deg, rgba(11, 19, 30, 0.7), rgba(11, 19, 30, 0.46) 42%, rgba(11, 19, 30, 0.62)),
    var(--server-row-banner-url);
}

.servers-footable tbody tr.servers-row-has-banner td:nth-child(3) {
  border-radius: 10px 0 0 10px;
}

.servers-footable tbody tr.servers-row-has-banner td:nth-child(5) {
  border-radius: 0 10px 10px 0;
}

.servers-footable tbody tr.servers-row-has-banner td:nth-child(4) {
  border-radius: 0;
}

.servers-footable tbody tr.servers-row-has-banner.servers-row-banner-compact td:nth-child(2) {
  border-radius: 10px 0 0 10px;
}

.servers-footable tbody tr.servers-row-has-banner.servers-row-banner-compact td:nth-child(4) {
  border-radius: 0 10px 10px 0;
}

.servers-footable tbody tr.servers-row-has-banner.servers-row-banner-compact td:nth-child(3) {
  border-radius: 0;
}

.servers-footable tbody tr.servers-row-has-banner.servers-row-banner-compact td:nth-child(5) {
  border-radius: 0;
}

/* shown briefly while the discord banner image is probed, before it's confirmed usable */
.servers-footable tbody tr.servers-row-banner-loading td:nth-child(3),
.servers-footable tbody tr.servers-row-banner-loading td:nth-child(4),
.servers-footable tbody tr.servers-row-banner-loading td:nth-child(5) {
  background-image: linear-gradient(110deg, rgba(148, 173, 196, 0.1) 8%, rgba(203, 231, 255, 0.17) 18%, rgba(148, 173, 196, 0.1) 33%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.15s linear infinite;
}

.servers-footable tbody tr.servers-row-banner-loading td:nth-child(3) {
  border-radius: 10px 0 0 10px;
}

.servers-footable tbody tr.servers-row-banner-loading td:nth-child(5) {
  border-radius: 0 10px 10px 0;
}

.servers-footable tbody tr.servers-row-banner-loading td:nth-child(4) {
  border-radius: 0;
}

.servers-footable td,
.servers-footable th {
  padding: 0.86rem 0.9rem;
  vertical-align: middle;
}

.servers-footable td:nth-child(1),
.servers-footable th:nth-child(1) {
  width: 8%;
}

.servers-footable td:nth-child(2),
.servers-footable th:nth-child(2) {
  width: 26%;
}

.servers-footable td:nth-child(3),
.servers-footable th:nth-child(3) {
  width: 25%;
}

.servers-footable td:nth-child(4),
.servers-footable th:nth-child(4) {
  width: 18%;
}

.servers-footable td:nth-child(5),
.servers-footable th:nth-child(5) {
  width: 8%;
}

.servers-footable td:nth-child(6),
.servers-footable th:nth-child(6) {
  width: 15%;
}

.servers-footable td:nth-child(1),
.servers-footable th:nth-child(1),
.servers-footable td:nth-child(4),
.servers-footable th:nth-child(4),
.servers-footable td:nth-child(5),
.servers-footable th:nth-child(5),
.servers-footable td:nth-child(6),
.servers-footable th:nth-child(6) {
  text-align: center;
}

/* Bots table uses a different column order than servers; remap widths so description reads naturally. */
.bots-page #botsFootable td:nth-child(1),
.bots-page #botsFootable th:nth-child(1),
.category-bots-page #botsFootable td:nth-child(1),
.category-bots-page #botsFootable th:nth-child(1) {
  width: 8%;
}

.bots-page #botsFootable td:nth-child(2),
.bots-page #botsFootable th:nth-child(2),
.category-bots-page #botsFootable td:nth-child(2),
.category-bots-page #botsFootable th:nth-child(2) {
  width: 28%;
}

.bots-page #botsFootable td:nth-child(3),
.bots-page #botsFootable th:nth-child(3),
.category-bots-page #botsFootable td:nth-child(3),
.category-bots-page #botsFootable th:nth-child(3) {
  width: 24%;
}

.bots-page #botsFootable td:nth-child(4),
.bots-page #botsFootable th:nth-child(4),
.category-bots-page #botsFootable td:nth-child(4),
.category-bots-page #botsFootable th:nth-child(4) {
  width: 9%;
}

.bots-page #botsFootable td:nth-child(5),
.bots-page #botsFootable th:nth-child(5),
.category-bots-page #botsFootable td:nth-child(5),
.category-bots-page #botsFootable th:nth-child(5) {
  width: 21%;
}

.bots-page #botsFootable td:nth-child(6),
.bots-page #botsFootable th:nth-child(6),
.category-bots-page #botsFootable td:nth-child(6),
.category-bots-page #botsFootable th:nth-child(6) {
  width: 10%;
}

.bots-page #botsFootable td:nth-child(1),
.bots-page #botsFootable th:nth-child(1),
.bots-page #botsFootable td:nth-child(4),
.bots-page #botsFootable th:nth-child(4),
.bots-page #botsFootable td:nth-child(6),
.bots-page #botsFootable th:nth-child(6),
.category-bots-page #botsFootable td:nth-child(1),
.category-bots-page #botsFootable th:nth-child(1),
.category-bots-page #botsFootable td:nth-child(4),
.category-bots-page #botsFootable th:nth-child(4),
.category-bots-page #botsFootable td:nth-child(6),
.category-bots-page #botsFootable th:nth-child(6) {
  text-align: center;
}

.server-description-cell {
  text-align: left;
  max-width: 38ch;
  line-height: 1.4;
  color: #d7e6f4;
  word-break: break-word;
}

.bots-page #botsFootable tbody tr.server-row-official td,
.category-bots-page #botsFootable tbody tr.server-row-official td {
  position: relative;
  border-top: 1px solid rgba(79, 220, 122, 0.66);
  border-bottom: 1px solid rgba(79, 220, 122, 0.42);
}

.bots-page #botsFootable tbody tr.server-row-official td:first-child,
.category-bots-page #botsFootable tbody tr.server-row-official td:first-child {
  border-left: 1px solid rgba(79, 220, 122, 0.6);
}

.bots-page #botsFootable tbody tr.server-row-official td:last-child,
.category-bots-page #botsFootable tbody tr.server-row-official td:last-child {
  border-right: 1px solid rgba(79, 220, 122, 0.6);
}

.bots-page #botsFootable tbody tr.server-row-official td:first-child::before,
.category-bots-page #botsFootable tbody tr.server-row-official td:first-child::before {
  content: 'OFFICIAL   OFFICIAL   OFFICIAL   OFFICIAL   OFFICIAL   OFFICIAL   OFFICIAL   OFFICIAL';
  position: absolute;
  left: 0;
  top: -0.56rem;
  width: min(1700px, 92vw);
  overflow: hidden;
  white-space: nowrap;
  color: rgba(102, 255, 140, 0.96);
  font-size: 0.54rem;
  letter-spacing: 0.16em;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(80, 231, 127, 0.5);
  pointer-events: none;
}

.server-rank-badge {
  position: relative;
  min-width: 48px;
  display: inline-grid;
  place-items: center;
  padding: 0.48rem 0.78rem;
  border-radius: 11px;
  border: 1px solid rgba(123, 223, 249, 0.35);
  background: linear-gradient(180deg, rgba(13, 25, 38, 0.96), rgba(9, 16, 26, 0.94));
  color: #ffffff;
  font-weight: 800;
  font-size: 1.02rem;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.26), inset 0 0 0 1px rgba(88, 101, 242, 0.16);
  cursor: help;
}

.servers-footable tbody tr:hover .server-rank-badge,
.servers-footable tbody tr:focus-within .server-rank-badge,
.server-rank-badge:hover,
.server-rank-badge:focus-visible {
  color: rgba(125, 225, 248, 0.95);
  border-color: rgba(125, 225, 248, 0.62);
  text-shadow:
    0 0 10px rgba(125, 225, 248, 0.52),
    0 0 22px rgba(88, 101, 242, 0.42);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.32),
    0 0 16px rgba(125, 225, 248, 0.28),
    inset 0 0 0 1px rgba(88, 101, 242, 0.22);
  transform: scale(1.04);
}

.server-rank-badge-new {
  color: #7de1f8;
  border-color: rgba(125, 225, 248, 0.45);
}

.server-rank-badge-new i {
  font-size: 1.05em;
}

.server-rank-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.34rem;
}

.listing-click-count {
  min-width: 68px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.26rem;
  padding: 0.22rem 0.48rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 201, 93, 0.34);
  background: linear-gradient(180deg, rgba(18, 30, 47, 0.92), rgba(12, 20, 34, 0.94));
  color: #b8cadb;
  font-size: 0.74rem;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(124, 142, 255, 0.16);
}

.listing-click-count i {
  font-size: 0.68rem;
  color: #f4c95d;
}

.listing-click-count strong {
  color: #f0f4ff;
  font-size: 1.02rem;
  font-weight: 850;
}

.listing-click-count span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: lowercase;
}

.server-name-stack {
  display: grid;
  justify-items: start;
  align-content: center;
  gap: 0.28rem;
  padding: 0.18rem 0.25rem;
  min-width: 0;
}

.server-title-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 0.92rem;
  min-height: 96px;
}

.servers-footable tbody td.server-name-cell {
  height: 104px;
  max-height: 104px;
  vertical-align: middle;
}

.server-list-avatar {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  place-items: center;
  font-size: 2.2rem;
  font-weight: 800;
  color: #101a32;
  background: linear-gradient(135deg, #f4c95d 0%, #7c8eff 54%, #4c5fe9 100%);
  box-shadow: 0 8px 16px rgba(12, 22, 42, 0.35);
  border: 2px solid var(--line);
}

.server-list-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.server-achievements-row {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.12rem;
}

.server-achievement-chip {
  position: relative;
  width: 22px;
  height: 22px;
  border: 0;
  padding: 0;
  background: transparent;
  display: inline-grid;
  place-items: center;
  color: #070d1a;
  font-size: 0.68rem;
  cursor: help;
  filter: drop-shadow(0 4px 8px rgba(88, 101, 242, 0.28));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.server-achievement-chip i {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #5865f2, #7de1f8);
  box-shadow: 0 4px 8px rgba(88, 101, 242, 0.28);
  color: #070d1a;
  font-size: 0.68rem;
  pointer-events: none;
}

.server-achievement-chip__rank {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f4c95d, #7de1f8);
  box-shadow: 0 4px 8px rgba(88, 101, 242, 0.28);
  color: #070d1a;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1;
  pointer-events: none;
}

.server-achievement-chip:hover,
.server-achievement-chip:focus-visible {
  transform: translateY(-2px) scale(1.06);
  filter: drop-shadow(0 6px 12px rgba(88, 101, 242, 0.38));
}

.server-achievement-chip:focus-visible {
  outline: 2px solid rgba(111, 201, 255, 0.7);
  outline-offset: 3px;
}

.server-country-flag {
  position: relative;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  line-height: 1;
  cursor: help;
}

.server-country-flag .flag {
  display: block;
}

.server-country-flag:focus-visible {
  outline: 2px solid rgba(111, 201, 255, 0.7);
  outline-offset: 3px;
}

.bot-language-flags {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.servers-table-link {
  color: #deeeff;
  text-decoration: none;
  border-bottom: 1px solid rgba(111, 201, 255, 0.56);
  font-weight: 800;
  font-size: clamp(1.08rem, 1.18vw, 1.3rem);
  line-height: 1.18;
  text-align: center;
  transition: color 150ms ease, border-color 150ms ease;
}

.servers-table-link:hover {
  color: #f3fbff;
  border-bottom-color: rgba(143, 255, 197, 0.72);
}

.server-name-meta {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: #95adc4;
  font-size: 0.78rem;
  font-weight: 600;
}

.server-name-meta i {
  color: #8fdfff;
}

.server-meta-tag-icon {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.28rem;
  padding: 0.08rem 0.38rem 0.08rem 0.14rem;
  border-radius: 999px;
  border: 1px solid rgba(120, 216, 238, 0.5);
  background: linear-gradient(180deg, rgba(25, 40, 70, 0.92), rgba(14, 22, 42, 0.96));
  color: #d5f2ff;
  flex: 0 0 auto;
}

.server-meta-tag-icon i {
  color: inherit;
  font-size: 0.62rem;
}

.server-meta-tag-icon img {
  width: 0.82rem;
  height: 0.82rem;
  border-radius: 999px;
  object-fit: cover;
}

.server-meta-tag-icon__label {
  display: inline-block;
  max-width: 5.6rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
}



.server-tag-pills {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  justify-content: center;
}

.server-tag-pill,
a.server-tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgb(120 216 238);
  background: linear-gradient(180deg, rgb(25 40 70), rgb(14 22 42));
  color: #d9edff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

a.server-tag-pill:hover {
  background: linear-gradient(180deg, rgba(76, 95, 233, 0.85), rgba(46, 71, 108, 0.95));
  border-color: rgba(132, 198, 255, 0.65);
  transform: translateY(-1px);
}

.server-tag-pills-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
}

.server-tag-empty {
  color: #8fa9c2;
  font-size: 0.78rem;
  font-weight: 600;
}

.servers-footable .verified,
.servers-footable .pending {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.82rem;
}

.servers-footable .verified {
  color: #9af7d1;
}

.servers-footable .pending {
  color: #b8cbdd;
}

.servers-loading-row,
.servers-empty-row {
  text-align: center;
  color: var(--muted);
  font-weight: 620;
  padding: 1.25rem 0.7rem;
}

.servers-table-footer {
  margin-top: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  border: 1px solid rgba(129, 180, 223, 0.22);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(13, 21, 31, 0.8), rgba(9, 15, 22, 0.86));
  padding: 0.72rem 0.85rem;
}

.servers-table-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 768px) {
  .servers-table-shell {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .servers-footable {
    min-width: 0;
  }

  .servers-footable tbody {
    display: block;
    width: 100%;
  }

  .servers-footable tbody tr,
  .servers-footable tbody td {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .servers-footable thead {
    display: none;
  }

  .servers-footable tbody tr {
    display: block;
    margin-bottom: 0.72rem;
    padding: 0.72rem 0.82rem;
    border: 1px solid rgba(142, 171, 195, 0.24);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(15, 24, 35, 0.94), rgba(10, 16, 24, 0.98));
  }

  .servers-footable tbody tr.servers-table-state-row {
    display: table-row;
    margin-bottom: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .servers-footable tbody td {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.6rem;
    width: 100%;
    padding: 0.48rem 0;
    text-align: left;
    border-bottom: 1px dashed rgba(139, 167, 191, 0.2);
  }

  /* Cells stack into a card on mobile, so the banner spans only the rank cell instead of category/tags/votes. */
  .servers-footable tbody tr.servers-row-has-banner td:nth-child(3),
  .servers-footable tbody tr.servers-row-has-banner td:nth-child(4),
  .servers-footable tbody tr.servers-row-has-banner td:nth-child(5) {
    background-image: none;
    border-radius: 0;
  }

  /* The unconditional desktop :hover rule (higher specificity than a plain override) would otherwise still paint these cells on tap/hover. */
  .servers-footable tbody tr.servers-row-has-banner:hover td:nth-child(3),
  .servers-footable tbody tr.servers-row-has-banner:hover td:nth-child(4),
  .servers-footable tbody tr.servers-row-has-banner:hover td:nth-child(5),
  .servers-footable tbody tr.servers-row-has-banner.servers-row-banner-compact td:nth-child(2),
  .servers-footable tbody tr.servers-row-has-banner.servers-row-banner-compact td:nth-child(3),
  .servers-footable tbody tr.servers-row-has-banner.servers-row-banner-compact td:nth-child(4),
  .servers-footable tbody tr.servers-row-has-banner.servers-row-banner-compact:hover td:nth-child(2),
  .servers-footable tbody tr.servers-row-has-banner.servers-row-banner-compact:hover td:nth-child(3),
  .servers-footable tbody tr.servers-row-has-banner.servers-row-banner-compact:hover td:nth-child(4) {
    background-image: none;
  }

  .servers-footable tbody tr.servers-row-has-banner:not(.servers-row-banner-compact) td:nth-child(3)::before,
  .servers-footable tbody tr.servers-row-has-banner.servers-row-banner-compact td:nth-child(2)::before {
    display: none;
  }

  .servers-footable tbody tr.servers-row-has-banner td:nth-child(1) {
    background-image:
      linear-gradient(90deg, rgba(8, 13, 21, 0.64), rgba(8, 13, 21, 0.4) 42%, rgba(8, 13, 21, 0.58)),
      var(--server-row-banner-url);
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat;
    border-radius: 10px;
  }

  .servers-footable tbody tr.servers-row-has-banner:hover td:nth-child(1) {
    background-image:
      linear-gradient(90deg, rgba(11, 19, 30, 0.7), rgba(11, 19, 30, 0.46) 42%, rgba(11, 19, 30, 0.62)),
      var(--server-row-banner-url);
  }

  .servers-footable tbody tr.servers-row-banner-loading td:nth-child(1) {
    background-image: linear-gradient(110deg, rgba(148, 173, 196, 0.1) 8%, rgba(203, 231, 255, 0.17) 18%, rgba(148, 173, 196, 0.1) 33%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.15s linear infinite;
    border-radius: 10px;
  }

  .servers-footable tbody tr.servers-table-state-row td {
    display: table-cell;
    border-bottom: 0;
    width: auto;
    padding: 1rem 0.7rem;
  }

  .servers-footable tbody td:last-child {
    border-bottom: 0;
  }

  .servers-footable tbody td::before {
    content: attr(data-label);
    color: #9ab2c9;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 760;
    flex: 0 0 100%;
    padding-top: 0;
    margin-bottom: 0.14rem;
  }

  .servers-footable tbody tr.servers-table-state-row td::before {
    content: none;
  }

  .servers-footable tbody td.server-name-cell,
.servers-footable tbody td.server-description-cell {
    display: block;
  }

  .servers-footable tbody td.server-name-cell::before,
.servers-footable tbody td.server-description-cell::before {
    display: block;
    margin-bottom: 0.32rem;
  }

  .servers-footable tbody td > * {
    max-width: 100%;
  }

  .servers-footable tbody td .server-tag-pills,
  .servers-footable tbody td .server-tag-pills-stack {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: nowrap;
  }

  .servers-footable tbody td .server-tag-pill,
  .servers-footable tbody td a.server-tag-pill,
  .servers-footable tbody td .servers-table-link {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .server-rank-badge {
    min-width: 42px;
    padding: 0.4rem 0.64rem;
    font-size: 0.96rem;
  }

  .server-name-stack {
    justify-items: start;
    padding: 0;
    width: 100%;
  }

  .servers-table-link {
    text-align: left;
  }

  .server-name-meta {
    flex-wrap: wrap;
    row-gap: 0.34rem;
  }

  .server-title-row {
    grid-template-columns: 72px 1fr;
    gap: 0.78rem;
  }

  .servers-footable tbody td.server-name-cell {
    height: auto;
    max-height: none;
  }

  .server-list-avatar {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    font-size: 1.72rem;
  }

  

  .server-description-cell {
    max-width: none;
  }

  .bots-page #botsFootable tbody tr.server-row-official td:first-child::before,
  .category-bots-page #botsFootable tbody tr.server-row-official td:first-child::before {
    display: none;
  }

  .server-achievements-row {
    flex-wrap: wrap;
  }
}


@media (max-width: 560px) {
  .server-title-row {
    grid-template-columns: 64px 1fr;
    gap: 0.72rem;
  }

  .server-list-avatar {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    font-size: 1.6rem;
  }

  .servers-table-link {
    font-size: clamp(0.98rem, 4.6vw, 1.18rem);
  }
}


@media (max-width: 360px) {
  .servers-footable tbody tr {
    padding: 0.52rem 0.58rem;
    margin-bottom: 0.58rem;
    border-radius: 12px;
  }

  .servers-footable tbody td {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.26rem;
    padding: 0.42rem 0;
  }

  .servers-footable tbody td::before {
    flex-basis: auto;
    padding-top: 0;
    font-size: 0.68rem;
  }

  .servers-footable tbody td.server-name-cell .server-title-row,
.server-title-row {
    grid-template-columns: 52px 1fr;
    gap: 0.58rem;
  }

  .servers-footable tbody td.server-name-cell .server-list-avatar,
.server-list-avatar {
    width: 52px;
    height: 52px;
    border-radius: 11px;
    font-size: 1.34rem;
  }

  .servers-table-link {
    font-size: clamp(0.92rem, 4.6vw, 1.1rem);
  }

  .server-name-meta {
    font-size: 0.72rem;
  }
}


.servers-pagination-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.servers-pagination-controls .btn {
  min-width: 110px;
  border-color: rgba(111, 201, 255, 0.36);
}

.servers-pagination-controls .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

#serversPageLabel {
  font-weight: 700;
  color: #d6e6f7;
}



.directory-list {
  padding-top: 1rem;
}

.categories-page-hero {
  padding: 4.6rem 0 1.8rem;
}

.categories-page-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.6rem);
  line-height: 1.05;
}

.categories-page-sub {
  margin: 0.92rem 0 0;
  color: var(--muted);
  max-width: 66ch;
}

.categories-controls {
  margin: 1.1rem auto 0;
  max-width: 560px;
  width: 100%;
}

.categories-sort-tabs {
  margin-top: 0.85rem;
  justify-content: center;
}

.categories-separator {
  margin-top: 2.4rem;
}

.categories-kpis {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.categories-kpis-trio {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 980px;
  margin-inline: auto;
}

.categories-kpis article {
  border: 1px solid rgba(144, 173, 197, 0.24);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(17, 27, 38, 0.84), rgba(11, 17, 24, 0.92));
  padding: 0.86rem;
  padding-right: 4.4rem;
  position: relative;
  overflow: hidden;
}

.categories-kpis article > *:not(.categories-kpi-icon) {
  position: relative;
  z-index: 1;
}

.categories-kpi-icon {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
  width: auto;
  height: auto;
  margin: 0;
  line-height: 0;
  color: transparent;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}

.categories-kpi-icon i {
  display: block;
  font-size: 5.1rem;
  line-height: 1;
  color: color-mix(in srgb, var(--cyan) 56%, transparent);
  -webkit-text-stroke: 1px rgba(111, 201, 255, 0.24);
  text-shadow:
    0 0 12px rgba(87, 200, 255, 0.22),
    0 0 26px rgba(111, 201, 255, 0.14);
  pointer-events: none;
}

.categories-kpis p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.categories-kpis strong {
  display: block;
  margin-top: 0.4rem;
  font-size: clamp(1.22rem, 2.2vw, 2rem);
}

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

/* Empty/no-results state should span the full grid row and stay centered, not stick to column 1. */
.category-wall > .account-empty {
  grid-column: 1 / -1;
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.category-card {
  border-radius: 18px;
  border: 1px solid rgba(145, 173, 198, 0.25);
  background: linear-gradient(180deg, rgba(17, 28, 39, 0.88), rgba(8, 14, 20, 0.96));
  padding: 1rem;
  display: grid;
  gap: 0.85rem;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
  position: relative;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  transition: opacity 0.2s ease;
}

.category-card::after {
  content: '';
  position: absolute;
  inset: -60% -28%;
  background: linear-gradient(120deg, transparent 38%, rgba(255, 255, 255, 0.2) 50%, transparent 62%);
  transform: translateX(-120%) rotate(8deg);
  transition: transform 0.72s ease;
  pointer-events: none;
  opacity: 0;
}

.category-card:hover,
.category-card:focus-within {
  transform: translate3d(0, -4px, 0) rotate(-0.45deg);
  border-color: rgba(123, 214, 247, 0.62);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.33);
}

.category-card:hover::before,
.category-card:focus-within::before {
  opacity: 0.3;
}

.category-card:hover::after,
.category-card:focus-within::after {
  opacity: 1;
  transform: translateX(120%) rotate(8deg);
}

.category-card-enter {
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.99);
  animation: categoryCardEnter 0.62s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  animation-delay: var(--card-enter-delay, 0ms);
}

@keyframes categoryCardEnter {
  0% {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.99);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.category-card.vibe-0::before {
  background: radial-gradient(circle at 20% 15%, rgba(87, 200, 255, 0.54), transparent 48%);
}

.category-card.vibe-1::before {
  background: radial-gradient(circle at 78% 14%, rgba(111, 201, 255, 0.48), transparent 50%);
}

.category-card.vibe-2::before {
  background: radial-gradient(circle at 50% 10%, rgba(90, 168, 255, 0.46), transparent 50%);
}

.category-card.vibe-3::before {
  background: radial-gradient(circle at 18% 82%, rgba(255, 79, 130, 0.44), transparent 52%);
}

.category-head {
  display: flex;
  align-items: center;
  gap: 0.62rem;
}

.category-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #0e1b27;
  background: linear-gradient(125deg, #8dc4ff, #7ce8ff);
  box-shadow: 0 12px 28px rgba(124, 232, 255, 0.28);
}

.category-head h2 {
  margin: 0;
  font-size: 1.14rem;
}

.category-stats {
  margin: 0;
  color: #cbdaea;
  font-size: 0.98rem;
  line-height: 1.35;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.28rem;
  justify-content: center;
  width: 100%;
}

.category-stats i {
  color: #8fdfff;
  font-size: 1.62rem;
}

.category-stat-separator {
  color: rgba(154, 179, 202, 0.78);
  margin: 0 0.18rem;
}

.category-stats strong {
  color: #f2f9ff;
  font-size: clamp(1.16rem, 1.8vw, 1.42rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  margin: 0 0.16rem 0 0.08rem;
}



.category-meta-copy {
  margin: 0.4rem 0 0.65rem;
  color: var(--muted);
  font-size: 0.9rem;
}



.category-actions {
  margin-top: 0.12rem;
  display: grid;
  gap: 0.5rem;
}

.category-actions .btn {
  width: 100%;
  justify-content: center;
}

.category-actions-divider {
  margin: 0.02rem 0 0.06rem;
  border: 0;
  border-top: 1px dashed rgba(111, 201, 255, 0.38);
  width: 100%;
}

.category-actions .btn-glass .category-name-emphasis {
  font-weight: 850;
  color: #9cd2ff;
  letter-spacing: 0.01em;
  transition: color 0.16s ease, text-shadow 0.16s ease;
}

.category-actions .btn-glass:hover .category-name-emphasis,
.category-actions .btn-glass:focus-visible .category-name-emphasis {
  color: #cbe8ff;
  text-shadow: 0 0 12px rgba(111, 201, 255, 0.5);
}

.categories-load-more-wrap {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

.categories-load-more-wrap .btn {
  min-width: 260px;
}

.categories-chart-window-tab {
  border: 0;
  border-radius: 999px;
  padding: 0.32rem 0.66rem;
  min-width: 62px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.02em;
  color: #9bb1c5;
  background: transparent;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease;
}

.categories-chart-window-tab:hover,
.categories-chart-window-tab:focus-visible {
  color: #ecf8ff;
  background: rgba(127, 151, 171, 0.18);
}

.categories-chart-window-tab.is-active {
  color: #0a1b27;
  background: linear-gradient(120deg, var(--lime), var(--cyan));
}

.category-card-skeleton {
  pointer-events: none;
}

.skeleton-row {
  border-radius: 10px;
  background: linear-gradient(110deg, rgba(148, 173, 196, 0.12) 8%, rgba(203, 231, 255, 0.23) 18%, rgba(148, 173, 196, 0.12) 33%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.15s linear infinite;
  animation-delay: var(--skeleton-delay, 0ms);
}

.skeleton-row-head {
  height: 34px;
  width: 72%;
}

.skeleton-row-copy {
  height: 12px;
  width: 96%;
}

.skeleton-row-copy.short {
  width: 74%;
}

.skeleton-row-stats {
  height: 28px;
  width: 90%;
}

.skeleton-row-button {
  height: 38px;
  width: 100%;
}

@keyframes skeletonShimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .category-card,
.category-card::before,
.category-card::after,
.category-card-enter,
.skeleton-row,
.servers-footable tbody tr.servers-row-banner-loading td {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  .category-card-enter {
    opacity: 1 !important;
  }
}

.verified,
.pending {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  font-size: 0.76rem;
  padding: 0.28rem 0.46rem;
  border-radius: 999px;
  border: 1px solid rgba(135, 165, 188, 0.28);
}

.verified {
  color: #132413;
  background: linear-gradient(130deg, #acf55f, #d8ffa2);
  border-color: transparent;
}

.pending {
  color: #cad9e8;
  background: rgba(17, 29, 40, 0.74);
}

.rating,
.server_votes {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.34rem;
  min-width: 44px;
  margin: 1px;
  padding: 5px 8px;
  text-align: right;
  white-space: nowrap;
  border-radius: 6px;
  border: 1px solid rgba(126, 154, 178, 0.34);
  background: rgba(26, 36, 46, 0.9);
  color: #cedaE6;
  font-size: 0.8rem;
  font-weight: 760;
  box-shadow: 1px 1px 3px rgba(8, 12, 16, 0.72);
  cursor: help;
}

.rating i,
.server_votes i {
  font-size: 0.74rem;
}

.rating:focus-visible,
.server_votes:focus-visible {
  outline: 2px solid rgba(124, 214, 255, 0.58);
  outline-offset: 3px;
}

.rating.high,
.server_votes.high {
  color: #dffdf3;
  border-color: rgba(113, 225, 192, 0.44);
  background: linear-gradient(130deg, rgba(25, 84, 79, 0.96), rgba(18, 57, 66, 0.95));
}

.rating.mid,
.server_votes.mid {
  color: #e2f4ff;
  border-color: rgba(120, 196, 236, 0.42);
  background: linear-gradient(130deg, rgba(30, 71, 101, 0.95), rgba(22, 49, 73, 0.94));
}

.rating.base,
.server_votes.base,
.server_votes.baseSpecificity {
  color: #ffffff;
  border-color: rgb(196 167 105);
  background: rgb(21 31 59);
  font-size: 20px;
}

.rating.negative,
.server_votes.negative {
  color: #ffe8eb;
  border-color: rgba(245, 117, 117, 0.5);
  background: linear-gradient(130deg, rgba(114, 31, 42, 0.96), rgba(73, 22, 31, 0.95));
}





.empty-state {
  padding: 2.4rem 1rem;
  border: 1px solid rgba(145, 174, 197, 0.24);
  border-radius: 16px;
  text-align: center;
  color: var(--muted);
  background: rgba(12, 20, 29, 0.72);
}

.empty-state i {
  color: var(--cyan);
  font-size: 1.3rem;
  margin-bottom: 0.45rem;
}

.server-hero {
  padding: 4.6rem 0 2rem !important;
  display: grid;
  grid-template-columns: 1.03fr 1.17fr;
  gap: 1.8rem;
  align-items: start;
}

.server-hero-copy {
  display: grid;
  gap: 0.9rem;
}

.server-hero-copy h1 {
  margin: 0;
  font-size: clamp(1.9rem, 3.3vw, 3rem);
  line-height: 1.1;
  max-width: 12ch;
  letter-spacing: -0.02em;
  color: #ffffff;
  font-weight: 900;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12),
    0 10px 20px rgba(0, 0, 0, 0.32);
}

.hero-route {
  color: #b8dcff;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 1.02rem;
}

.hero-title-row {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 1rem;
  align-items: start;
}

.server-cover {
  height: 210px;
  border-radius: 14px;
  border: 1px solid rgba(152, 181, 205, 0.24);
  background:
    radial-gradient(circle at 28% 24%, rgba(21, 209, 255, 0.22), transparent 44%),
    linear-gradient(180deg, rgba(16, 24, 34, 0.88), rgba(9, 13, 19, 0.98));
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.34);
  display: grid;
  place-items: center;
  color: #8ce9ff;
  font-size: 2.2rem;
}

.server-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.hero-platform {
  margin: 0.68rem 0 0;
  color: #adbed0;
  font-size: 1.02rem;
}

.hero-platform strong {
  color: #eaf6ff;
}

.hero-platform a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(111, 201, 255, 0.45);
}

.hero-platform a:hover {
  color: #eaf6ff;
  border-bottom-color: rgba(87, 200, 255, 0.65);
}

.hero-owner-line {
  margin: 0.48rem 0 0;
  color: #abc3d8;
  font-size: clamp(1.02rem, 1.65vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
}

.hero-owner-label {
  color: #b8d1e6;
}

.hero-owner-value {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.hero-owner-line #serverOwnerNameHeroInline {
  color: #eaf5ff;
  font-weight: 820;
}

.server-description {
  margin: 1rem 0 0;
  color: var(--muted);
  max-width: 62ch;
}

.server-trust-row {
  margin-top: 0.2rem;
  display: flex;
  align-items: stretch;
  gap: 0.9rem;
}

.trust-metric {
  .server-trust-row .trust-metric {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.5rem;
  }
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  box-sizing: border-box;
  padding: 0.78rem 0.95rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.5rem;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.trust-metric + .trust-metric {
  margin-left: 0;
  padding-left: 0.8rem;
  border-left: 0;
}

.trust-top {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.08rem;
  font-weight: 800;
  color: #c9d7e8;
}

.trust-metric:hover,
.trust-metric:focus-visible {
  transform: translateY(-4px) scale(1.02);
  background: rgba(23, 39, 62, 0.5);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22), inset 0 0 0 1px rgba(114, 177, 236, 0.25);
}

.trust-metric:focus-visible {
  outline: 2px solid rgba(119, 196, 255, 0.62);
  outline-offset: 3px;
}

.trust-top i {
  color: #79c8ff;
  width: 18px;
  text-align: center;
  font-size: 1rem;
}

.trust-bottom {
  .server-trust-row .trust-bottom {
    margin-left: 0;
    justify-content: flex-start;
    text-align: left;
  }
  .server-detail-col--side .server-status-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .server-detail-col--side .server-status-row strong {
    display: block;
    padding-left: 1.5rem;
  }
  margin: 0;
  margin-left: 0;
  color: #f0f4ff;
  font-size: 1.96rem;
  font-weight: 850;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
}

.owner-avatar-mini {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 2px solid rgba(132, 206, 255, 0.85);
  background: linear-gradient(135deg, #5865f2, #7de1f8);
  color: #070d1a;
  font-size: 0.92rem;
  box-shadow:
    0 0 0 2px rgba(10, 18, 30, 0.9),
    0 8px 18px rgba(88, 101, 242, 0.32);
}

.owner-avatar-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trust-metric.trust-pending .trust-top i {
  color: #97abc1;
}

.vote-rail {
  margin-top: 1.2rem;
  border-radius: 20px;
  border: 1px solid rgba(121, 190, 255, 0.3);
  background:
    radial-gradient(circle at 10% 20%, rgba(119, 192, 255, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(15, 32, 52, 0.9), rgba(9, 20, 34, 0.96));
  display: grid;
  gap: 0.72rem;
  padding: 0.78rem;
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(17, 33, 52, 0.88) inset,
    0 0 18px rgba(87, 174, 255, 0.14);
}

.action-rail-buttons {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.62rem;
  align-items: stretch;
}

.action-rail-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0 0.24rem;
}

.action-rail-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  border: 1px solid rgba(128, 190, 255, 0.28);
  border-radius: 999px;
  padding: 0.28rem 0.62rem;
  background: rgba(13, 26, 42, 0.8);
  color: #cde5fb;
  font-size: 0.74rem;
  font-weight: 720;
  letter-spacing: 0.01em;
}

.action-rail-pill i {
  color: #84e6ff;
}

.vote-rail p {
  margin: 0;
  color: #a8bfd3;
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.vote-rail strong {
  color: #e7f4ff;
  font-weight: 800;
}

.vote-button-xl {
  font-size: 1.05rem;
  min-width: 0;
  justify-content: center;
  padding: 0.88rem 1.3rem;
  line-height: 1.08;
  letter-spacing: 0.01em;
  font-weight: 900;
  white-space: nowrap;
  animation: votePulse 2.1s ease-in-out infinite;
}

.join-server-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
  min-height: 52px;
  padding: 0.82rem 1.08rem;
  border-radius: 13px;
  border: 1px solid rgba(122, 210, 255, 0.46);
  background:
    radial-gradient(circle at 26% 26%, rgba(44, 205, 255, 0.24), transparent 54%),
    linear-gradient(140deg, rgba(30, 102, 156, 0.9), rgba(19, 61, 106, 0.96));
  color: #eff8ff;
  font-size: 0.93rem;
  font-weight: 820;
  text-decoration: none;
  letter-spacing: 0.01em;
  box-shadow:
    0 12px 24px rgba(9, 17, 26, 0.34),
    0 0 0 1px rgba(186, 233, 255, 0.16) inset;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.join-server-button:hover {
  transform: translateY(-2px);
  border-color: rgba(144, 223, 255, 0.62);
  box-shadow:
    0 16px 28px rgba(11, 20, 31, 0.38),
    0 0 0 1px rgba(201, 241, 255, 0.26) inset,
    0 0 24px rgba(99, 202, 255, 0.2);
}

.join-server-button:focus-visible {
  outline: 2px solid rgba(146, 219, 255, 0.86);
  outline-offset: 2px;
}

.join-server-button.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: auto;
  background: linear-gradient(140deg, rgba(45, 57, 72, 0.92), rgba(28, 37, 49, 0.94));
  border-color: rgba(116, 138, 158, 0.34);
  box-shadow: none;
}

.vote-button-feature {
  border-color: rgba(255, 214, 116, 0.64);
  color: #ffffff;
  background: transparent;
  box-shadow:
    0 14px 34px rgba(233, 170, 47, 0.34),
    0 0 0 1px rgba(255, 243, 206, 0.3) inset,
    0 0 20px rgba(244, 201, 93, 0.24);
  text-shadow: 3px 3px 2px #000000;
}

.vote-button-feature:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 18px 36px rgba(233, 170, 47, 0.4),
    0 0 0 1px rgba(255, 246, 222, 0.34) inset,
    0 0 28px rgba(244, 201, 93, 0.32);
}

.vote-button-feature i {
  color: #ffffff;
  text-shadow: 3px 3px 2px #000000;
}

.hero-ad-slot {
  margin-top: 0.95rem;
}

.hero-ad-label {
  margin: 0 0 0.38rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8ea2b6;
}

.hero-ad-size {
  margin-left: 0.45rem;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: #a7bdd6;
}

.hero-ad-slot-id {
  margin-left: 0.45rem;
  font-size: 0.66rem;
  letter-spacing: 0.03em;
  color: #c4d4e6;
  opacity: 0.92;
  text-transform: none;
}

.hero-ad-box {
  min-height: 90px;
  border-radius: 12px;
  border: 1px dashed rgba(140, 167, 190, 0.34);
  background: linear-gradient(180deg, rgba(10, 15, 22, 0.92), rgba(6, 10, 16, 0.98));
  color: #94a9bc;
  display: grid;
  place-items: center;
  padding: 0.85rem;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 600;
}

.hero-ad-box iframe,
.hero-ad-box img,
.hero-ad-box ins,
.hero-ad-box > div {
  max-width: 100% !important;
}



.ad-slot {
  padding-top: 0.6rem;
  padding-bottom: 0.8rem;
}

.directory-listing-with-ads {
  --directory-rail-width: 160px;
  --directory-main-width: 1600px;
  display: grid;
  grid-template-columns: var(--directory-rail-width) minmax(0, 1fr) var(--directory-rail-width);
  gap: 1rem;
  align-items: start;
}

body.servers-page .directory-listing-with-ads,
body.bots-page .directory-listing-with-ads,
body.category-page .directory-listing-with-ads,
body.category-bots-page .directory-listing-with-ads {
  grid-template-columns: var(--directory-rail-width) minmax(0, var(--directory-main-width)) var(--directory-rail-width);
}

/* Wide rail width only applies once the side ads are actually shown (see max-width: 1540px below); otherwise this falls back to the plain .container width shared with categories-kpis. */
@media (min-width: 1541px) {
  body.servers-page .directory-listing-with-ads,
  body.bots-page .directory-listing-with-ads,
  body.category-page .directory-listing-with-ads,
  body.category-bots-page .directory-listing-with-ads {
    width: min(1952px, calc(100% - 3rem));
  }
}

.directory-listing-main {
  min-width: 0;
  /* Explicit column keeps this centered even when a side ad is taken out of grid flow (fixed). */
  grid-column: 2;
}

.directory-listing-main .directory-list {
  margin: 0;
}

.directory-side-ad {
  position: sticky;
  top: 104px;
  align-self: start;
}

.directory-side-ad--left {
  grid-column: 1;
}

.directory-side-ad--right {
  grid-column: 3;
}

.directory-side-ad:empty {
  display: none;
}

.directory-listing-with-ads:has(.directory-side-ad--left:empty):has(.directory-side-ad--right:empty) {
  grid-template-columns: 1fr;
}

.directory-listing-with-ads:has(.directory-side-ad--left:empty):not(:has(.directory-side-ad--right:empty)) {
  grid-template-columns: minmax(0, 1fr) var(--directory-rail-width);
}

.directory-listing-with-ads:has(.directory-side-ad--right:empty):not(:has(.directory-side-ad--left:empty)) {
  grid-template-columns: var(--directory-rail-width) minmax(0, 1fr);
}

.directory-side-ad .ad-slot {
  position: static;
  padding-top: 0;
  padding-bottom: 0;
}

.directory-rail-ad .hero-ad-label {
  text-align: center;
  color: #a7bdd6;
}

.directory-rail-ad .hero-ad-slot-id {
  display: block;
  margin-left: 0;
  margin-top: 0.2rem;
}

.directory-rail-ad .hero-ad-box {
  width: 160px;
  min-width: 160px;
  max-width: 160px;
  min-height: 600px;
  height: 600px;
  max-height: 600px;
  font-size: 0.78rem;
  line-height: 1.25;
  padding: 0.5rem;
  border: 1px dashed rgba(167, 189, 214, 0.52);
  background: linear-gradient(180deg, rgba(14, 24, 44, 0.72), rgba(8, 14, 26, 0.84));
  color: #a7bdd6;
}

.directory-rail-ad .hero-ad-box.is-vertical-placeholder {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0.04em;
  white-space: pre-line;
}

.directory-side-ad--left .directory-rail-ad .hero-ad-box.is-vertical-placeholder {
  writing-mode: vertical-rl;
}

.directory-side-ad--right .directory-rail-ad .hero-ad-box.is-vertical-placeholder {
  writing-mode: vertical-lr;
}

.account-sidebar-ad {
  margin-top: 1.2rem;
}

.category-inline-ad,
.servers-list-ad {
  padding-top: 1.2rem;
}

@media (max-width: 1540px) {
  .directory-listing-with-ads {
    grid-template-columns: 1fr;
  }

  body.servers-page .directory-listing-with-ads,
  body.bots-page .directory-listing-with-ads,
  body.category-page .directory-listing-with-ads,
  body.category-bots-page .directory-listing-with-ads {
    grid-template-columns: 1fr;
  }

  /* Otherwise this stale column-2 placement forces an extra implicit grid track once the rail columns collapse to 1fr, eating the freed-up width. */
  .directory-listing-main {
    grid-column: auto;
  }

  .directory-side-ad {
    display: none;
  }
}

@media (max-width: 980px) {
  .container.directory-listing-with-ads,
  .directory-listing-with-ads {
    grid-template-columns: 1fr;
    gap: 0;
  }

  body.servers-page .directory-listing-with-ads,
  body.bots-page .directory-listing-with-ads,
  body.category-page .directory-listing-with-ads,
  body.category-bots-page .directory-listing-with-ads {
    grid-template-columns: 1fr;
  }

  .directory-listing-main {
    grid-column: auto;
  }

  .directory-side-ad,
  .directory-list .hero-ad-slot,
  .directory-listing-main .servers-list-ad,
  .directory-listing-main .category-inline-ad {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .hero-ad-label {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
  }

  .hero-ad-size {
    margin-left: 0;
    font-size: 0.64rem;
  }

  .hero-ad-box {
    min-height: 84px;
    padding: 0.65rem;
  }

  .hero-ad-box iframe {
    width: 100% !important;
  }
}

.gaming-separator {
  margin: 0.9rem 0 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
}

.categories-page-hero .gaming-separator.categories-separator {
  margin-top: 2.8rem;
}

.gaming-separator .line {
  flex: 1 1 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
}

.gaming-separator .center {
  position: relative;
  width: 40px;
  height: 40px;
}

.gaming-separator .pulse-glow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(var(--primary_color), 1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1b2707;
  box-shadow: 0 0 18px rgba(var(--primary_color), 0.35), 0 0 6px rgba(var(--primary_color), 0.15) inset;
}

.gaming-separator .particle {
  --base-x: 0px;
  --base-y: 0px;
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.6;
  transform: translate(var(--base-x), var(--base-y));
  animation: particleDrift 3.2s ease-in-out infinite;
}

.gaming-separator .particle-1 {
  top: -6px;
  left: -4px;
  animation-delay: 0s;
}

.gaming-separator .particle-2 {
  top: -8px;
  right: -6px;
  animation-delay: 0.45s;
}

.gaming-separator .particle-3 {
  bottom: -6px;
  left: 50%;
  --base-x: -50%;
  animation-delay: 0.9s;
}

@keyframes particleDrift {
  0% {
    transform: translate(var(--base-x), var(--base-y)) scale(1);
    opacity: 0.5;
  }
  25% {
    transform: translate(calc(var(--base-x) + 2px), calc(var(--base-y) - 4px)) scale(1.06);
    opacity: 0.85;
  }
  50% {
    transform: translate(calc(var(--base-x) - 2px), calc(var(--base-y) - 1px)) scale(0.92);
    opacity: 0.58;
  }
  75% {
    transform: translate(calc(var(--base-x) + 1px), calc(var(--base-y) + 3px)) scale(1.02);
    opacity: 0.78;
  }
  100% {
    transform: translate(var(--base-x), var(--base-y)) scale(1);
    opacity: 0.5;
  }
}

.monitor-shell {
  position: relative;
  margin-top: 0.15rem;
  padding: 6px 6px 70px;
  border-radius: 28px;
  background: transparent;
  box-shadow: none;
}

.monitor-shell::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: 16%;
  min-width: 86px;
  height: 56px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(26, 34, 45, 0.98), rgba(10, 15, 21, 0.98));
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(133, 157, 180, 0.18) inset;
}

.monitor-shell::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  width: 46%;
  min-width: 250px;
  height: 24px;
  border-radius: 100px;
  background: linear-gradient(180deg, rgba(26, 35, 45, 0.95), rgba(8, 13, 18, 0.98));
  box-shadow:
    0 14px 24px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(122, 146, 167, 0.18) inset;
}

.monitor-screen {
  border-radius: 20px;
  border: 1px solid rgba(128, 155, 180, 0.34);
  background: linear-gradient(180deg, rgba(31, 42, 56, 0.92), rgba(18, 25, 34, 0.98));
  min-height: 430px;
  overflow: hidden;
  box-shadow:
    0 0 0 10px rgba(9, 14, 20, 0.94) inset,
    0 20px 44px rgba(0, 0, 0, 0.42);
}

.monitor-topbar {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(128, 156, 180, 0.2);
  padding: 0 0.85rem;
  color: #d7e7f5;
  font-size: 0.82rem;
  font-weight: 650;
}

.monitor-topbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.monitor-topbar-avatar {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(88, 166, 255, 0.35), rgba(137, 87, 229, 0.35));
  border: 1px solid rgba(151, 179, 201, 0.45);
  color: #d7e7f5;
  font-size: 0.72rem;
  flex-shrink: 0;
}

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

.monitor-dots {
  display: inline-flex;
  gap: 0.45rem;
  color: #7f95ad;
}

.monitor-main {
  padding: 0.75rem;
}

.monitor-chart-wrap {
  height: 350px;
  border-radius: 12px;
  border: 1px solid rgba(129, 156, 180, 0.2);
  background: linear-gradient(180deg, rgba(27, 34, 45, 0.95), rgba(18, 24, 34, 0.98));
  padding: 0.65rem;
  animation: chartReveal 560ms ease-out;
}

.monitor-kpis {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.monitor-kpis span {
  border: 1px solid rgba(141, 169, 193, 0.24);
  border-radius: 999px;
  padding: 0.28rem 0.62rem;
  font-size: 0.8rem;
  color: #d3e2f0;
  background: rgba(10, 16, 24, 0.72);
}

.monitor-kpis strong {
  color: #f2fbff;
}

.kpi-delta {
  margin-left: 0.28rem;
  font-style: normal;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.kpi-delta.up {
  color: #bfff72;
}

.kpi-delta.down {
  color: #ff8da8;
}

.kpi-delta.flat {
  color: #a8bfd3;
}

.monitor-range {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 999px;
  padding: 0.2rem;
  border: 1px solid rgba(141, 169, 193, 0.22);
  background: rgba(8, 14, 21, 0.66);
}

.monitor-range-btn {
  border: 0;
  border-radius: 999px;
  padding: 0.28rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #9cb4c8;
  background: transparent;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.monitor-range-btn:hover {
  color: #ecf8ff;
  background: rgba(127, 151, 171, 0.18);
}

.monitor-range-btn.is-active {
  color: #08212d;
  background: linear-gradient(135deg, #57c8ff, #9deeff);
}

.monitor-chart {
  height: calc(100% - 2.05rem);
}

.monitor-chart-fallback {
  margin: 0;
  padding: 12px;
  color: #cfe2f5;
}

@keyframes chartReveal {
  0% {
    opacity: 0;
    transform: translateY(6px) scale(0.99);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}.msg .vote-button {
  margin-top: 0.44rem;
}









.status {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  display: inline-block;
  margin-right: 0.45rem;
}

.status.on {
  background: #3cd174;
}

.status.idle {
  background: #f0b232;
}

.status.dnd {
  background: #ef4545;
}

.monitor-stand {
  width: 14%;
  min-width: 80px;
  height: 58px;
  margin: 0 auto;
  margin-top: -2px;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(180deg, rgba(19, 25, 33, 0.95), rgba(9, 13, 19, 1));
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.34);
}

@media (min-width: 1800px) {
  .container {
    width: min(1600px, calc(100% - 4.5rem));
  }

  .server-hero {
    grid-template-columns: 1.08fr 1.12fr;
    gap: 2.2rem;
  }

  .monitor-screen {
    min-height: 500px;
  }
}

.achievement-icon {
  border: 0;
  padding: 0;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  background: transparent;
  color: #070d1a;
  font-size: 1.25rem;
  cursor: default;
  position: relative;
  filter: drop-shadow(0 10px 22px rgba(88, 101, 242, 0.28));
  transition: transform 0.28s ease, filter 0.28s ease;
}

.achievement-icon i {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #5865f2, #7de1f8);
  box-shadow: 0 10px 22px rgba(88, 101, 242, 0.28);
  pointer-events: none;
}

.hero-achievement-showcase {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.35rem 0 0.6rem;
}

.server-porto-page .hero-achievement-showcase {
  align-items: center;
  gap: 0.4rem;
}

.server-porto-page .hero-achievement-showcase .server-achievement-chip,
.server-porto-page .hero-achievement-showcase .server-achievement-chip--rank1-image {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.server-porto-page .hero-achievement-showcase .server-achievement-chip i,
.server-porto-page .hero-achievement-showcase .server-achievement-chip__rank,
.server-porto-page .hero-achievement-showcase .server-achievement-chip--image img,
.server-porto-page .hero-achievement-showcase .server-achievement-chip--rank1-image img {
  width: 48px;
  height: 48px;
}

.server-porto-page .hero-achievement-showcase .server-country-flag,
.server-porto-page .hero-achievement-showcase .server-country-flag .flag {
  width: 32px;
  height: 32px;
}

.server-porto-page .hero-achievement-showcase .server-country-flag {
  flex: 0 0 32px;
  margin: 0;
}

.server-porto-page .hero-achievement-showcase .server-achievement-chip i,
.server-porto-page .hero-achievement-showcase .server-achievement-chip__rank {
  border-radius: 11px;
  font-size: 0.9rem;
}

.server-porto-page .hero-achievement-showcase .server-achievement-chip--image img,
.server-porto-page .hero-achievement-showcase .server-achievement-chip--rank1-image img {
  display: block;
  object-fit: contain;
}

.achievement-label {
  display: block;
  color: #b0c0e3;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.25;
  max-width: 90px;
}

.achievement-icon:hover {
  transform: translateY(-4px) scale(1.06);
  filter: drop-shadow(0 14px 28px rgba(88, 101, 242, 0.38));
}











.achievement-icon:focus-visible {
  outline: 2px solid rgba(111, 201, 255, 0.72);
  outline-offset: 4px;
}

.how-card {
  border-radius: 20px;
  border: 1px solid rgba(148, 177, 201, 0.16);
  background: linear-gradient(180deg, rgba(28, 31, 36, 0.88), rgba(22, 25, 30, 0.98));
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

.how-card h3 {
  margin: 0;
  font-size: clamp(1.2rem, 1.45vw, 1.85rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.how-card p {
  margin: 0.48rem 0 0;
  color: #b6c6d6;
  font-size: 0.95rem;
}

.how-media {
  margin-top: 0.95rem;
  height: 160px;
  border-radius: 14px;
  border: 1px solid rgba(167, 188, 210, 0.16);
  background: linear-gradient(140deg, rgba(39, 48, 62, 0.9), rgba(25, 30, 37, 1));
  position: relative;
  overflow: hidden;
}

.how-window {
  position: absolute;
  inset: 0;
  padding: 0.65rem;
}

.how-window-head {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  color: #d7e6f4;
  font-size: 0.82rem;
  font-weight: 650;
}

.how-window-body {
  margin-top: 0.8rem;
  height: calc(100% - 1.75rem);
  border-radius: 10px;
  border: 1px solid rgba(151, 178, 201, 0.18);
  background: linear-gradient(180deg, rgba(14, 19, 26, 0.88), rgba(8, 13, 18, 0.98));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0.72rem;
}

.how-chip {
  border-radius: 999px;
  padding: 0.38rem 0.82rem;
  font-weight: 800;
  color: #0f1626;
  background: linear-gradient(125deg, var(--lime) 0%, var(--cyan) 100%);
  box-shadow:
    0 8px 20px rgba(var(--primary_color), 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.22) inset;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.24);
}

.comment-composer {
  border-radius: 16px;
  border: 1px solid rgba(148, 177, 201, 0.2);
  background: linear-gradient(180deg, rgba(24, 28, 34, 0.9), rgba(16, 20, 25, 0.98));
  padding: 0.85rem;
  margin-top: 0.8rem;
}

.comment-composer textarea {
  width: 100%;
  resize: vertical;
  min-height: 78px;
  border-radius: 12px;
  border: 1px solid rgba(132, 163, 186, 0.28);
  background: rgba(8, 14, 21, 0.86);
  color: #e9f6ff;
  padding: 0.68rem 0.76rem;
  font: inherit;
  line-height: 1.35;
  scrollbar-width: thin;
  scrollbar-color: rgba(111, 201, 255, 0.5) rgba(10, 18, 27, 0.72);
}

.comment-composer textarea::-webkit-scrollbar {
  width: 10px;
}

.comment-composer textarea::-webkit-scrollbar-track {
  background: rgba(10, 18, 27, 0.72);
  border-radius: 999px;
}

.comment-composer textarea::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(121, 214, 255, 0.8), rgba(84, 177, 228, 0.84));
  border-radius: 999px;
  border: 2px solid rgba(10, 18, 27, 0.82);
}

.comment-composer textarea:focus {
  outline: none;
  border-color: rgba(111, 201, 255, 0.72);
  box-shadow: 0 0 0 2px rgba(111, 201, 255, 0.2);
}

.comment-composer-foot {
  margin-top: 0.55rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.comment-composer-foot span {
  color: #9db2c6;
  font-size: 0.78rem;
}

.comments-list {
  display: grid;
  gap: 0.78rem;
  border-radius: 20px;
  border: 1px solid rgba(148, 177, 201, 0.16);
  background:
    radial-gradient(120% 80% at 12% 0%, rgba(111, 201, 255, 0.11), transparent 64%),
    linear-gradient(180deg, rgba(20, 27, 36, 0.95), rgba(14, 20, 28, 0.98));
  padding: 1rem;
  max-height: 540px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(111, 201, 255, 0.55) rgba(10, 18, 27, 0.72);
}

.comments-list::-webkit-scrollbar {
  width: 10px;
}

.comments-list::-webkit-scrollbar-track {
  background: rgba(10, 18, 27, 0.72);
  border-radius: 999px;
}

.comments-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(121, 214, 255, 0.86), rgba(84, 177, 228, 0.86));
  border-radius: 999px;
  border: 2px solid rgba(10, 18, 27, 0.82);
}

.comments-list::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(153, 225, 255, 0.95), rgba(98, 188, 236, 0.95));
}

.comments-more-wrap {
  margin-top: 0.65rem;
  display: flex;
  justify-content: flex-start;
}

.server-comments-card .comments-list .account-empty {
  width: 100%;
  text-align: left;
}

.comment-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 0.62rem;
  align-items: end;
}

.comment-item.is-self {
  grid-template-columns: minmax(0, 1fr) 40px;
}

.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.comment-item.is-self .comment-avatar {
  order: 2;
}

.comment-bubble {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(128, 170, 199, 0.24);
  background: linear-gradient(180deg, rgba(25, 37, 49, 0.92), rgba(16, 27, 39, 0.97));
  padding: 0.62rem 0.72rem 0.68rem;
  max-width: min(92%, 560px);
}


.comment-item.is-self .comment-bubble {
  order: 1;
  justify-self: end;
  border-color: rgba(112, 205, 255, 0.32);
  background: linear-gradient(180deg, rgba(52, 138, 180, 0.32), rgba(25, 77, 110, 0.46));
}

.comment-author strong {
  display: block;
  color: #f7fbff;
  font-size: 0.94rem;
  line-height: 1.1;
}

.comment-author span {
  display: block;
  margin-top: 0.2rem;
  color: #a8bdd1;
  font-size: 0.76rem;
  letter-spacing: 0.01em;
}

.comment-item.is-self .comment-author {
  text-align: right;
}

.comment-text {
  margin: 0.45rem 0 0;
  color: #d8e7f5;
  font-size: 0.94rem;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.voter-list {
  display: grid;
  gap: 0.55rem;
}

.voter-item {
  border-radius: 14px;
  border: 1px solid rgba(142, 171, 194, 0.22);
  background: rgba(12, 20, 28, 0.82);
  padding: 0.78rem 0.88rem;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.7rem;
  position: relative;
  overflow: hidden;
}

.voter-item > *:not(.voter-watermark) {
  position: relative;
  z-index: 1;
}

.voter-rank {
  min-width: 38px;
  text-align: center;
  border-radius: 999px;
  border: 1px solid rgba(140, 168, 192, 0.28);
  background: rgba(18, 28, 39, 0.68);
  color: #d8e9f7;
  font-size: 0.74rem;
  font-weight: 760;
  padding: 0.24rem 0.44rem;
}

.voter-meta strong {
  display: block;
  color: #f2f8ff;
  font-size: 0.92rem;
  line-height: 1.2;
}

.voter-meta > span {
  display: block;
  margin-top: 0.2rem;
  color: #9fb4c8;
  font-size: 0.78rem;
}

.voter-time-row {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  line-height: 1.25;
}

.voter-time-row > span:first-child {
  display: inline;
  margin-top: 0;
}

.voter-source-icons {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.voter-source-icon {
  display: inline-block;
  width: auto;
  height: auto;
  border: 0;
  background: transparent;
  color: #a8bed3;
  cursor: help;
  position: relative;
  vertical-align: baseline;
  transform: translateY(1px);
}

.voter-source-icon.is-site {
  color: #8fd4ff;
}

.voter-source-icon.is-discord {
  color: #8ea0ff;
}

.voter-source-icon i {
  font-size: 1rem;
  line-height: 1;
  vertical-align: baseline;
}

.voter-source-icon:focus-visible {
  outline: 2px solid rgba(111, 201, 255, 0.72);
  outline-offset: 3px;
}

.voter-reward-icon {
  display: inline-block;
  color: #57d287;
  cursor: help;
  vertical-align: baseline;
  transform: translateY(1px);
}

.voter-reward-icon i {
  font-size: 0.95rem;
  line-height: 1;
  vertical-align: baseline;
}

.voter-reward-icon:focus-visible {
  outline: 2px solid rgba(87, 210, 135, 0.72);
  outline-offset: 3px;
}

.voter-watermark {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
  width: auto;
  height: auto;
  margin: 0;
  line-height: 0;
  color: transparent;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}

.tippy-box[data-theme~='tds'] {
  background: #111827;
  color: #f0f6fc;
  border: 1px solid rgba(88, 166, 255, 0.35);
  border-radius: 9px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  font-size: 0.8rem;
  font-weight: 620;
  line-height: 1.4;
  padding: 0.08rem 0.12rem;
}

.tippy-box[data-theme~='tds'] .tippy-content {
  padding: 0.44rem 0.58rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tippy-box[data-theme~='tds'][data-placement^='top'] > .tippy-arrow::before {
  border-top-color: #111827;
}

.tippy-box[data-theme~='tds'][data-placement^='bottom'] > .tippy-arrow::before {
  border-bottom-color: #111827;
}

.tippy-box[data-theme~='tds'][data-placement^='left'] > .tippy-arrow::before {
  border-left-color: #111827;
}

.tippy-box[data-theme~='tds'][data-placement^='right'] > .tippy-arrow::before {
  border-right-color: #111827;
}

.tippy-box[data-theme~='tds'] .tooltip-official-word {
  color: #6bff94;
  font-weight: 800;
}

.tippy-box[data-theme~='tds'] .achievement-tippy-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: 230px;
  text-align: center;
}

.tippy-box[data-theme~='tds'] .achievement-tippy-card__media {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 0.18rem;
}

.tippy-box[data-theme~='tds'] .achievement-tippy-card__image {
  width: 96px;
  height: 96px;
  object-fit: contain;
  display: block;
}

.tippy-box[data-theme~='tds'] .achievement-tippy-card__title {
  width: 100%;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.14em;
  line-height: 1.25;
  text-align: center;
}

.tippy-box[data-theme~='tds'] .achievement-tippy-card__description {
  width: 100%;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  color: #dbe7f3;
  text-align: center;
}

.tippy-box[data-theme~='tds'] .achievement-tippy-card__earned {
  width: 100%;
  font-size: 0.7rem;
  line-height: 1.25;
  color: #a9b9ce;
  text-align: center;
}

.voter-watermark i {
  display: block;
  font-size: 2.5rem;
  line-height: 1;
  color: color-mix(in srgb, var(--accent) 80%, transparent);
  -webkit-text-stroke: 1px rgba(111, 140, 255, 0.48);
  text-shadow:
    0 0 10px rgba(111, 140, 255, 0.34),
    0 0 22px rgba(111, 140, 255, 0.2),
    0 0 34px rgba(111, 140, 255, 0.14);
  pointer-events: none;
}

.voter-watermark.is-downvote i {
  color: color-mix(in srgb, #ff4f82 80%, transparent);
  -webkit-text-stroke: 1px rgba(255, 79, 130, 0.48);
  text-shadow:
    0 0 10px rgba(255, 79, 130, 0.34),
    0 0 22px rgba(255, 79, 130, 0.2),
    0 0 34px rgba(255, 79, 130, 0.14);
}

@media (max-width: 1024px) {
  .main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem 1rem;
    width: 100%;
  }

  .main-nav-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem 1rem;
  }

  .mobile-nav-toggle {
    display: none;
  }

  .site-header {
    position: relative;
  }

  .hero {
    grid-template-columns: 1fr;
  }.blog-grid,
.features-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .features-cta-actions {
    justify-content: flex-start;
  }

  .directory-controls {
    grid-template-columns: 1fr;
  }

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

  .hero-title-row {
    grid-template-columns: 110px 1fr;
  }

  .server-cover {
    height: 180px;
  }

  .vote-button-xl {
    min-width: 220px;
  }

  .hero-ad-box {
    min-height: 84px;
  }

  .monitor-chart-wrap {
    height: 320px;
  }

  .account-hero,
.account-discord-hero,
.account-workspace,
.account-discord-layout {
    grid-template-columns: 1fr;
  }

  .account-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

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

  .account-discord-submit-panel {
    position: static;
  }

  #discordClaimChooserStage {
    grid-template-columns: 1fr;
  }

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

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

  .account-sidebar-title,
.account-sidebar-note {
    grid-column: 1 / -1;
  }

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

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

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

  

  

  .features-bet-art {
    min-height: 500px;
    padding: 0.85rem;
  }

  .features-globe-wrap {
    width: min(100%, 340px);
    gap: 0.7rem;
  }

  .features-globe {
    width: clamp(210px, 45vw, 280px);
  }

  .features-globe-pill {
    font-size: 0.72rem;
    padding: 0.28rem 0.54rem;
  }

  .features-globe-pill-cloud {
    inset: -2% -6% -3% -6%;
  }

  .features-globe-pill-cloud .features-globe-pill {
    font-size: 0.68rem;
  }

  .features-esports-split {
    grid-template-columns: 1fr;
  }

  .features-esports-visual {
    min-height: 440px;
    border-right: 0;
  }

  .features-esports-copy h2 {
    max-width: none;
  }

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

  .features-esports-stats article:nth-child(3),
.features-esports-stats article:nth-child(4) {
    border-top: 1px solid rgba(122, 149, 171, 0.26);
  }

  .features-esports-stats article:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

}


@media (max-width: 680px) {
  .container {
    width: min(1140px, calc(100% - 1.2rem));
  }

  .nav-wrap {
    height: auto;
    padding: 0.9rem 0;
    flex-wrap: wrap;
  }

  .main-nav {
    position: static;
    width: auto;
    justify-content: flex-end;
  }

  .main-nav-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 999;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 0;
    margin: 0;
    background: rgba(18, 21, 31, 0.98);
    border-bottom: 1px solid rgba(153, 182, 209, 0.16);
    backdrop-filter: blur(16px);
  }

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

  .main-nav-menu a {
    padding: 0.85rem 1.2rem;
    border-bottom: 1px solid rgba(153, 182, 209, 0.08);
  }

  .nav-dropdown {
    display: block;
    border-bottom: 1px solid rgba(153, 182, 209, 0.08);
  }

  .nav-dropdown-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 0.85rem 1.2rem;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    margin: 0 0.7rem 0.65rem;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    display: none;
    box-shadow: none;
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    display: grid;
  }

  .nav-dropdown-menu a {
    border-bottom: 0;
    padding: 0.56rem 0.6rem;
  }

  .main-nav-menu a:last-child {
    border-bottom: 0;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .nav-cta {
    width: 100%;
  }

  .nav-cta .btn {
    flex: 1;
  }

  .account-menu {
    flex: 1;
  }

  .account-menu-trigger {
    width: 100%;
    justify-content: center;
  }

  .account-menu-panel {
    left: 0;
    right: 0;
    min-width: 0;
  }

  section {
    padding: 3.2rem 0;
  }


@media (max-width: 680px) {
  .nav-wrap {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "logo logo"
      "nav cta";
    align-items: center;
    column-gap: 0.62rem;
    row-gap: 0.62rem;
  }

  .tds-logo {
    grid-area: logo;
  }

  .main-nav {
    grid-area: nav;
  }

  .nav-cta {
    grid-area: cta;
  }

  .main-nav {
    width: auto;
    justify-self: start;
  }

  .mobile-nav-toggle {
    justify-self: start;
  }

  .nav-cta {
    width: 100%;
    justify-self: stretch;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .nav-cta > .btn,
  .nav-cta > form,
  .nav-cta > .account-menu {
    width: 100%;
    margin-left: 0;
  }

  .nav-cta > .btn,
  .nav-cta > form .btn,
  .nav-cta > .account-menu .account-menu-trigger {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  body.auth-page .auth-hero__inner {
    padding: 1.1rem;
  }

  body.auth-page .auth-hero__actions #discord-login-btn {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    justify-content: flex-start;
  }

  body.auth-page .auth-hero__actions .auth-cta {
    min-height: 54px;
    padding: 0.85rem 0.75rem;
    font-size: 0.94rem;
    gap: 0.5rem;
  }

  body.auth-page .auth-hero__actions .btn-discord-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    font-size: 1.05rem;
  }

  body.auth-page .auth-hero__actions .btn-discord-text {
    white-space: normal;
    line-height: 1.15;
    text-align: left;
  }
}.blog-grid,
.features-page-grid {
    grid-template-columns: 1fr;
  }.voter-list {
    grid-template-columns: 1fr;
  }

  

  

  .features-bet-duo,
.features-bet-list-grid {
    grid-template-columns: 1fr;
  }

  .features-bet-art {
    min-height: 430px;
    padding: 0.92rem;
  }

  .features-globe-wrap {
    width: min(100%, 270px);
    gap: 0.55rem;
  }

  .features-globe {
    width: 200px;
  }

  .features-globe-pill {
    font-size: 0.68rem;
    padding: 0.26rem 0.5rem;
  }

  .features-globe-pill-cloud {
    position: static;
    inset: auto;
    width: 100%;
    margin-top: 0.62rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.34rem;
    pointer-events: auto;
  }

  .features-globe-pill-cloud .features-globe-pill {
    position: static;
    white-space: normal;
  }

  .features-esports-visual {
    min-height: 340px;
  }

  .features-esports-wordmark {
    left: 6%;
    bottom: 8%;
  }

  .features-esports-stats {
    grid-template-columns: 1fr;
  }

  .features-esports-stats article,
.features-esports-stats article + article {
    border-left: 0;
    border-top: 1px solid rgba(122, 149, 171, 0.22);
    padding: 0.85rem 0;
  }

  .features-esports-stats article:first-child {
    border-top: 0;
  }

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

  .server-cover {
    height: 160px;
    max-width: 120px;
  }

  .vote-rail {
    border-radius: 18px;
    gap: 0.6rem;
  }

  .action-rail-buttons {
    grid-template-columns: 1fr;
  }

  .action-rail-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.48rem;
  }

  .join-server-button {
    width: 100%;
  }

  .vote-button-xl {
    min-width: 0;
    width: 100%;
  }

  .hero-ad-box {
    min-height: 76px;
    font-size: 0.8rem;
  }

  .server-trust-row {
    flex-wrap: wrap;
    gap: 0.8rem 1rem;
  }

  .trust-metric {
    flex: 1 1 46%;
    padding: 0.72rem 0.85rem;
  }

  .trust-metric + .trust-metric {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }

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

  .similar-server-grid {
    grid-template-columns: 1fr;
  }

  .server-detail-col--side {
    order: -1;
  }

  .monitor-shell {
    padding: 10px 10px 56px;
    border-radius: 22px;
  }

  .monitor-shell::before {
    width: 24%;
    min-width: 70px;
    height: 42px;
    bottom: 16px;
  }

  .monitor-shell::after {
    width: 70%;
    min-width: 0;
    height: 18px;
    bottom: -5px;
  }

  .monitor-screen {
    min-height: 360px;
    border-radius: 14px;
  }

  .monitor-chart-wrap {
    height: 280px;
  }

  .monitor-range {
    width: 100%;
    margin-left: 0;
    justify-content: center;
  }

  

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

  .browse-all-banner {
    margin-top: 100px;
    margin-bottom: 100px;
    border-radius: 22px;
    padding: 2.5rem 1rem 1.2rem;
    gap: 0.95rem;
  }

  .browse-all-ribbon {
    width: 100%;
    margin-top: -3.6rem;
    padding: 0.68rem 0.82rem;
  }

  .browse-all-ribbon-title {
    font-size: clamp(0.95rem, 0.8rem + 1vw, 1.24rem);
  }

  .browse-all-ribbon-head {
    justify-content: center;
  }

  .browse-all-ribbon-cats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .browse-all-ribbon-cats a {
    font-size: 0.8rem;
    padding: 0.34rem 0.46rem;
  }

  .browse-all-copy {
    font-size: 0.97rem;
  }

  .browse-all-trust {
    gap: 0.48rem;
    padding: 0.62rem 0.72rem;
    font-size: 0.92rem;
  }

  .browse-all-actions {
    width: 100%;
    gap: 0.72rem;
  }

  .browse-all-btn {
    min-width: 0;
    width: 100%;
    padding: 0.82rem 0.94rem;
  }

  .sort-tab {
    text-align: center;
  }

  .servers-table-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .servers-pagination-controls {
    width: 100%;
    justify-content: space-between;
  }

  .servers-pagination-controls .btn {
    min-width: 0;
    width: 48%;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.1rem;
  }

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

  .account-item {
    flex-direction: column;
  }
  

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

  .categories-kpis,
.category-wall {
    grid-template-columns: 1fr;
  }

  .categories-chart-window-tab {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .browse-all-ribbon-cats {
    grid-template-columns: 1fr;
  }
}


.error-main {
  padding: clamp(2.2rem, 6vw, 4.2rem) 0 4rem;
}

.error-shell {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 1rem;
}

.error-content-wrap,
.error-side-panel {
  border: 1px solid rgba(137, 162, 186, 0.18);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(16, 26, 38, 0.85), rgba(8, 14, 22, 0.96));
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.error-content-wrap {
  overflow: hidden;
}

.error-card {
  min-height: 100%;
  display: grid;
  align-content: start;
  gap: 0.9rem;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  position: relative;
}

.error-card h1 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.04;
  max-width: 16ch;
}

.error-summary {
  margin: 0;
  color: var(--text);
  font-size: 1.02rem;
  max-width: 60ch;
}

.error-hint {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
}

.error-actions {
  margin-top: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  position: relative;
  z-index: 1;
}

.error-code {
  font-size: clamp(4.3rem, 16vw, 9rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 0.9;
  margin-top: 0.55rem;
  background: linear-gradient(155deg, rgba(87, 200, 255, 0.95), rgba(111, 201, 255, 0.96));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.96;
}

.error-side-panel {
  padding: clamp(1.4rem, 2.7vw, 2rem);
  display: grid;
  align-content: start;
  gap: 0.9rem;
}

.error-side-panel h2 {
  margin: 0;
  font-size: clamp(1.3rem, 2.3vw, 2rem);
}

.error-side-panel p {
  margin: 0;
  color: var(--muted);
}

.error-link-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.error-link-list a {
  width: 100%;
  text-decoration: none;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.78rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(137, 162, 186, 0.2);
  background: rgba(20, 31, 44, 0.58);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.error-link-list a i {
  color: var(--cyan);
}

.error-link-list a:hover {
  border-color: rgba(111, 201, 255, 0.5);
  background: rgba(22, 34, 48, 0.78);
  transform: translateY(-1px);
}

.error-status-note {
  margin-top: 0.35rem;
  border-radius: 14px;
  border: 1px solid rgba(137, 162, 186, 0.2);
  background: linear-gradient(140deg, rgba(87, 200, 255, 0.1), rgba(111, 201, 255, 0.09));
  color: var(--text);
  padding: 0.9rem;
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.error-status-note i {
  color: var(--lime);
  margin-top: 0.2rem;
}

@media (max-width: 980px) {
  .error-shell {
    grid-template-columns: 1fr;
  }

  .error-card h1 {
    max-width: none;
  }
}


.site-alert-popup .swal2-title {
  font-weight: 800;
}

.swal2-container {
  z-index: 1400 !important;
}

[data-theme="tds"] .swal2-container.swal2-backdrop-show,
[data-theme="tds"] .swal2-container.swal2-noanimation {
  background: rgba(6, 10, 18, 0.78) !important;
  backdrop-filter: blur(2px);
}

[data-theme="tds"] .swal2-popup {
  border: 1px solid rgba(124, 142, 255, 0.42);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 10%, rgba(244, 201, 93, 0.14), transparent 46%),
    radial-gradient(circle at 90% 12%, rgba(124, 142, 255, 0.18), transparent 52%),
    linear-gradient(180deg, rgba(16, 27, 47, 0.95), rgba(9, 16, 30, 0.98));
  color: #e6f0ff;
  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(124, 142, 255, 0.16) inset;
}

[data-theme="tds"] .swal2-title {
  color: #f5f9ff;
  text-shadow: 0 0 16px rgba(124, 142, 255, 0.24);
}

[data-theme="tds"] .swal2-html-container {
  color: #b8cce2;
}

.account-referral-popup {
  box-sizing: border-box;
  max-width: calc(100vw - 24px) !important;
}

.account-referral-popup .swal2-html-container {
  margin-left: 0.8rem;
  margin-right: 0.8rem;
}

.account-referral-popup .swal2-input {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  font-size: clamp(0.9rem, 4vw, 1.125rem);
}

.account-referral-popup .swal2-html-container p {
  margin: 0.85rem 0 0;
}

@media (max-width: 480px) {
  .account-referral-popup .swal2-actions {
    width: calc(100% - 1.6rem);
    margin-left: 0.8rem;
    margin-right: 0.8rem;
    gap: 0.5rem;
  }

  .account-referral-popup .swal2-actions button {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
  }
}

.account-country-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.45rem;
  padding: 0.14rem 0.52rem;
  border-radius: 999px;
  border: 1px solid rgba(124, 142, 255, 0.28);
  background: rgba(124, 142, 255, 0.1);
  color: #dce8f4;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  vertical-align: middle;
}

.account-country-chip .flag {
  display: block;
  transform: scale(0.7);
  transform-origin: center;
}

.account-owned-empty-cta {
  margin: 0;
  border-radius: 18px;
  border: 1px solid rgba(124, 142, 255, 0.38);
  background:
    radial-gradient(circle at 20% 15%, rgba(46, 201, 248, 0.12), transparent 45%),
    radial-gradient(circle at 84% 70%, rgba(244, 201, 93, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(16, 27, 47, 0.9), rgba(9, 16, 30, 0.96));
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(124, 142, 255, 0.16) inset;
  padding: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  width: 100%;
  grid-column: 1 / -1;
}

.account-owned-empty-cta p {
  margin: 0;
  color: #d9e7f7;
  font-weight: 600;
}

.account-owned-empty-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}













[data-theme="tds"] .swal2-close {
  color: #aac4e3;
}

[data-theme="tds"] .swal2-close:hover,
[data-theme="tds"] .swal2-close:focus-visible {
  color: #e8f3ff;
  background: rgba(124, 142, 255, 0.2);
}

[data-theme="tds"] .swal2-input,
[data-theme="tds"] .swal2-textarea,
[data-theme="tds"] .swal2-select,
[data-theme="tds"] .swal2-file {
  border: 1px solid rgba(124, 142, 255, 0.34) !important;
  border-radius: 10px !important;
  background: rgba(8, 14, 24, 0.84) !important;
  color: #eaf4ff !important;
  box-shadow: none !important;
}

[data-theme="tds"] .swal2-input::placeholder,
[data-theme="tds"] .swal2-textarea::placeholder {
  color: #8fa7c4;
}

[data-theme="tds"] .swal2-radio {
  width: min(100%, 430px);
  margin: 0.8rem auto 0;
  display: grid !important;
  gap: 0.65rem;
  background: transparent !important;
  color: #eaf4ff !important;
}

[data-theme="tds"] .swal2-radio label {
  margin: 0 !important;
  padding: 0.8rem 0.9rem;
  display: flex !important;
  align-items: flex-start;
  gap: 0.65rem;
  border: 1px solid rgba(124, 142, 255, 0.34);
  border-radius: 10px;
  background: rgba(8, 14, 24, 0.84);
  color: #eaf4ff !important;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
}

[data-theme="tds"] .swal2-radio input {
  margin-top: 0.16rem;
  flex: 0 0 auto;
  accent-color: #7c8eff;
}

[data-theme="tds"] .swal2-actions .swal2-confirm {
  border: 1px solid rgba(244, 201, 93, 0.58);
  border-radius: 11px;
  background: linear-gradient(130deg, #f4c95d, #7c8eff 56%, #4c5fe9);
  color: #101a32;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(76, 95, 233, 0.28);
}

[data-theme="tds"] .swal2-actions .swal2-cancel,
[data-theme="tds"] .swal2-actions .swal2-deny {
  border: 1px solid rgba(137, 162, 186, 0.34);
  border-radius: 11px;
  background: rgba(16, 27, 42, 0.92);
  color: #d9e8f8;
}

[data-theme="tds"] .swal2-actions .swal2-confirm:hover,
[data-theme="tds"] .swal2-actions .swal2-cancel:hover,
[data-theme="tds"] .swal2-actions .swal2-deny:hover {
  transform: translateY(-1px);
}

[data-theme="tds"] .swal2-icon.swal2-question,
[data-theme="tds"] .swal2-icon.swal2-info {
  border-color: rgba(124, 142, 255, 0.6);
  color: #9dc2ff;
}

[data-theme="tds"] .swal2-icon.swal2-warning {
  border-color: rgba(244, 201, 93, 0.62);
  color: #f4c95d;
}

.onboarding-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
}

.onboarding-spotlight {
  position: fixed;
  border-radius: 12px;
  background: transparent;
  box-shadow: 0 0 0 9999px rgba(6, 11, 20, 0.72);
  transition: top 0.25s ease, left 0.25s ease, width 0.25s ease, height 0.25s ease;
  pointer-events: none;
}

.onboarding-spotlight.is-full-page {
  top: 50% !important;
  left: 50% !important;
  width: 0 !important;
  height: 0 !important;
}

.tippy-box[data-theme~='onboarding'] {
  max-width: 320px !important;
}

.tippy-box[data-theme~='onboarding'] .tippy-content {
  padding: 0;
}

.onboarding-tour-card {
  padding: 1rem 1.1rem 1.1rem;
}

.onboarding-tour-card h4 {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
  color: #eff6ff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.onboarding-tour-card p {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #b9cbe0;
}

.onboarding-tour-card .onboarding-tour-progress {
  font-size: 0.72rem;
  color: #7f98ad;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.onboarding-tour-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.onboarding-tour-actions button {
  border: none;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
}

.onboarding-tour-skip {
  background: transparent;
  color: #7f98ad;
}

.onboarding-tour-skip:hover {
  color: #b9cbe0;
}

.onboarding-tour-next {
  background: var(--cyan, #57c8ff);
  color: #061321;
}

.onboarding-tour-next:hover {
  filter: brightness(1.08);
}

@media (max-width: 560px) {
  .tippy-box[data-theme~='onboarding'] {
    max-width: calc(100vw - 24px) !important;
  }

  .onboarding-tour-card {
    padding: 0.85rem 0.9rem 0.95rem;
  }

  .onboarding-tour-card h4 {
    font-size: 0.92rem;
  }

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

  .onboarding-tour-actions button {
    padding: 0.5rem 0.7rem;
  }

  .onboarding-spotlight {
    transition: none;
  }
}

.site-alert-popup {
  border: 1px solid rgba(111, 201, 255, 0.42);
  border-radius: 18px;
  box-shadow:
    0 20px 58px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(88, 101, 242, 0.18) inset,
    0 0 22px rgba(19, 207, 255, 0.16);
}

.site-alert-popup.vote-direction-popup-large {
  max-width: min(92vw, 760px);
  border: 1px solid rgba(137, 162, 186, 0.24);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.site-alert-popup.vote-direction-popup-large .swal2-title {
  max-width: 30ch;
  margin: 0 auto;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.2;
}

.site-alert-popup .swal2-html-container {
  color: var(--muted);
}

.site-alert-popup .vote-direction-subtitle {
  margin: 0;
  font-size: 0.98rem;
  color: var(--muted);
}

.site-alert-popup .vote-direction-title {
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.3;
  color: var(--text);
  font-weight: 650;
}

.site-alert-popup .vote-direction-server-name {
  margin: 0.2rem 0 0.55rem;
  font-size: clamp(1.8rem, 4.2vw, 3rem);
  line-height: 1.05;
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.site-alert-popup .vote-direction-steam-warning {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0.85rem;
  color: #ffd9dc;
  text-align: left;
  border: 1px solid rgba(255, 77, 87, 0.7);
  border-left: 4px solid #ff4d57;
  border-radius: 8px;
  background: rgba(105, 19, 28, 0.34);
}

.site-alert-popup .vote-direction-steam-warning > i {
  flex: 0 0 auto;
  margin-top: 0.1rem;
  color: #ff626b;
  font-size: 1.55rem;
}

.site-alert-popup .vote-direction-steam-warning strong,
.site-alert-popup .vote-direction-steam-warning p {
  display: block;
}

.site-alert-popup .vote-direction-steam-warning strong {
  color: #ff8b92;
  font-size: 0.92rem;
}

.site-alert-popup .vote-direction-steam-warning p {
  margin: 0.25rem 0 0.5rem;
  color: #ffd9dc;
  font-size: 0.82rem;
  line-height: 1.45;
}

.site-alert-popup .vote-direction-steam-warning a {
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.16rem;
}

.account-nav-btn--attention {
  border-color: #ffcb45 !important;
  box-shadow: 0 0 0 3px rgba(255, 203, 69, 0.2), 0 0 24px rgba(255, 203, 69, 0.18);
}

.site-alert-popup .vote-server-name {
  color: #ffffff;
  font-weight: 800;
}

.site-alert-popup .vote-direction-actions {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.1rem;
}

.site-alert-popup .vote-direction-btn {
  flex: 1 1 calc(50% - 0.75rem);
  min-width: 170px;
  border-radius: 16px;
  border: 1px solid rgba(137, 162, 186, 0.3);
  background: rgba(20, 31, 44, 0.72);
  color: var(--text);
  padding: 0.9rem 0.7rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-alert-popup .vote-direction-btn:hover {
  transform: translateY(-1px);
}

.site-alert-popup .vote-direction-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.site-alert-popup .vote-direction-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 14, 22, 0.92);
  display: grid;
  place-items: center;
}

.site-alert-popup .vote-direction-icon-box i {
  font-size: 1.6rem;
}

.site-alert-popup .vote-direction-label {
  font-size: 0.98rem;
  line-height: 1;
}

.site-alert-popup .vote-direction-up {
  border-color: rgba(34, 197, 94, 0.5);
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.15);
}

.site-alert-popup .vote-direction-up .vote-direction-icon-box i {
  color: #22c55e;
}

.site-alert-popup .vote-direction-down {
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.15);
}

.site-alert-popup .vote-direction-down .vote-direction-icon-box i {
  color: #ef4444;
}

.site-alert-popup .vote-direction-cancel {
  flex: 1 1 100%;
  border-radius: 12px;
  border: 1px solid rgba(137, 162, 186, 0.26);
  background: rgba(20, 31, 44, 0.5);
  color: var(--muted);
  padding: 0.62rem 0.95rem;
  font-weight: 650;
  cursor: pointer;
}

.site-alert-popup .vote-direction-cancel:hover {
  color: var(--text);
  border-color: rgba(111, 201, 255, 0.4);
}

.site-alert-popup.vote-cash-reward-popup {
  border-color: rgba(244, 201, 93, 0.4);
  box-shadow:
    0 20px 58px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(244, 201, 93, 0.16) inset,
    0 0 26px rgba(244, 201, 93, 0.18);
  max-height: min(88vh, 720px);
  overflow-y: auto;
}

.vote-cash-reward-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 1rem auto 0.15rem;
  padding: 0.75rem 1rem;
  max-width: 320px;
  border-radius: 14px;
  border: 1px solid rgba(244, 201, 93, 0.45);
  background: linear-gradient(135deg, rgba(244, 201, 93, 0.16), rgba(231, 169, 59, 0.06));
  box-shadow: 0 10px 24px rgba(244, 201, 93, 0.14);
  animation: vote-cash-reward-pop 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.vote-cash-reward-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f4c95d, #e7a93b);
  color: #15120b;
  font-size: 1.1rem;
  box-shadow: 0 6px 16px rgba(244, 201, 93, 0.32);
}

.vote-cash-reward-copy {
  display: grid;
  gap: 0.1rem;
  text-align: left;
}

.vote-cash-reward-amount {
  font-size: 1.02rem;
  font-weight: 800;
  color: #f4c95d;
}

.vote-cash-reward-label {
  font-size: 0.76rem;
  color: var(--muted);
}

@keyframes vote-cash-reward-pop {
  0% {
    opacity: 0;
    transform: scale(0.85) translateY(4px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Porto-like server dashboard layout */
.server-porto-page .porto-server-dashboard {
  --porto-bg: linear-gradient(180deg, rgba(22, 27, 34, 0.92), rgba(13, 17, 23, 0.96));
  --porto-bg-soft: linear-gradient(180deg, rgba(22, 27, 34, 0.88), rgba(13, 17, 23, 0.94));
  --porto-line: rgba(88, 166, 255, 0.34);
  --porto-muted: #b8c8e8;
  --porto-accent: #58a6ff;
  --porto-accent-soft: rgba(88, 166, 255, 0.22);
  padding-top: 0;
}

.server-porto-page .porto-server-head {
  display: grid;
  gap: 0.85rem;
  padding-top: clamp(2.8rem, 7vw, 5.2rem);
}

.server-porto-page .porto-head-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(48, 54, 61, 0.65);
  background: linear-gradient(180deg, rgba(22, 27, 34, 0.92), rgba(13, 17, 23, 0.96));
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(240, 246, 252, 0.05);
  padding: 1.15rem;
}

.server-porto-page .porto-head-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, #58a6ff, #1f6feb, #8957e5);
  opacity: 0.55;
}

.server-porto-page .porto-head-card::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 12px;
  width: 28px;
  height: 28px;
  border-top: 1px solid rgba(165, 180, 252, 0.22);
  border-right: 1px solid rgba(165, 180, 252, 0.22);
  border-radius: 0 8px 0 0;
  pointer-events: none;
}

.server-porto-page .porto-head-banner {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.server-porto-page .porto-head-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.server-porto-page .porto-head-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 17, 23, 0.12) 0%, rgba(13, 17, 23, 0.32) 68%, rgba(13, 17, 23, 0.5) 100%);
}

.server-porto-page .porto-head-card.has-banner {
  background: #0d1117;
}

.server-porto-page .porto-head-card.has-banner .porto-head-meta,
.server-porto-page .porto-head-card.has-banner .porto-head-actions {
  position: relative;
  z-index: 1;
}

.server-porto-page .porto-head-meta {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
}

.server-porto-page .porto-head-icon {
  width: 128px;
  height: 128px;
  border-radius: 13px;
  border: 1px solid rgba(124, 142, 255, 0.34);
  background: linear-gradient(125deg, #f4c95d 0%, #7c8eff 54%, #4c5fe9 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
  font-size: 3.1rem;
  color: #132344;
  box-shadow:
    0 12px 28px rgba(76, 95, 233, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.server-porto-page .porto-head-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.server-porto-page .porto-kicker {
  margin: 0;
  color: var(--porto-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
}

.server-porto-page .porto-head-card h1 {
  margin: 0.18rem 0;
  font-size: clamp(1.34rem, 1.05rem + 1vw, 1.95rem);
  line-height: 1.12;
}

.server-porto-page .porto-subline {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--porto-muted);
  font-size: 0.88rem;
}

.server-porto-page .porto-subline a {
  color: #dce9ff;
  text-decoration: none;
}

.server-porto-page .porto-sep {
  opacity: 0.7;
}

.server-porto-page .porto-head-actions {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(48, 54, 61, 0.65);
  background: linear-gradient(180deg, rgba(22, 27, 34, 0.92), rgba(13, 17, 23, 0.96));
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(240, 246, 252, 0.05);
  padding: 0.84rem;
  display: grid;
  gap: 0.52rem;
  align-content: start;
}

.server-porto-page .porto-head-actions::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, #58a6ff, #1f6feb, #8957e5);
  opacity: 0.55;
}

.server-porto-page .porto-head-actions::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 12px;
  width: 28px;
  height: 28px;
  border-top: 1px solid rgba(165, 180, 252, 0.22);
  border-right: 1px solid rgba(165, 180, 252, 0.22);
  border-radius: 0 8px 0 0;
  pointer-events: none;
}

.server-porto-page .porto-head-actions .vote-button,
.server-porto-page .porto-head-actions .join-server-button,
.server-porto-page .porto-head-actions .porto-donate-button {
  width: 100%;
  min-height: 44px;
}

.server-porto-page .porto-vote-total {
  margin: 0;
  color: var(--porto-muted);
  font-size: 0.82rem;
}

.server-porto-page .porto-vote-total strong {
  color: var(--text);
}

.server-porto-page .porto-head-actions .vote-button {
  border-color: rgba(244, 201, 93, 0.52);
  background: linear-gradient(125deg, #f4c95d 0%, #7c8eff 54%, #4c5fe9 100%);
  background-size: 220% 220%;
  color: #101a32;
  box-shadow: 0 14px 30px rgba(76, 95, 233, 0.32);
}

.server-porto-page .porto-head-actions .vote-button-feature,
.server-porto-page .porto-head-actions .vote-button-feature i {
  text-shadow: none;
}

/* Signature CTA: flowing gradient, breathing neon glow, and a looping light sweep to draw the eye. */
.server-porto-page .porto-head-actions .vote-button-feature {
  border-width: 2px;
  animation: voteGradientFlow 5s ease-in-out infinite, voteAuraPulse 2.4s ease-in-out infinite;
  will-change: background-position, box-shadow;
}

.server-porto-page .porto-head-actions .vote-button-feature::after {
  display: block;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.65) 48%, transparent 66%);
  transform: translateX(-140%);
  animation: voteShimmerSweep 3.1s ease-in-out infinite;
}

.server-porto-page .porto-head-actions .vote-button-feature i {
  display: inline-flex;
  animation: voteIconPop 2.4s ease-in-out infinite;
  transform-origin: center 60%;
}

.server-porto-page .porto-head-actions .vote-button-feature:hover {
  transform: translateY(-3px) scale(1.045);
  animation-duration: 2.6s, 1.1s;
  filter: brightness(1.08) saturate(1.1);
}

.server-porto-page .porto-head-actions .vote-button-feature:hover::after {
  animation-duration: 1.3s;
}

.server-porto-page .porto-head-actions .vote-button-feature:active {
  transform: translateY(-1px) scale(0.985);
}

.server-porto-page .porto-head-actions .vote-button-feature:focus-visible {
  outline: 2px solid rgba(255, 224, 150, 0.9);
  outline-offset: 3px;
}

.server-porto-page .porto-head-actions .vote-button-feature.is-voted {
  animation: none;
  background: linear-gradient(125deg, #f4c95d 0%, #7c8eff 54%, #4c5fe9 100%);
}

.server-porto-page .porto-head-actions .vote-button-feature.is-voted i {
  animation: none;
}

@keyframes voteGradientFlow {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes voteAuraPulse {
  0%, 100% {
    box-shadow:
      0 14px 34px rgba(233, 170, 47, 0.34),
      0 0 0 1px rgba(255, 243, 206, 0.3) inset,
      0 0 20px rgba(244, 201, 93, 0.24);
  }
  50% {
    box-shadow:
      0 18px 42px rgba(233, 170, 47, 0.5),
      0 0 0 1px rgba(255, 246, 222, 0.42) inset,
      0 0 36px rgba(124, 142, 255, 0.4);
  }
}

@keyframes voteShimmerSweep {
  0% {
    transform: translateX(-140%);
  }
  55%, 100% {
    transform: translateX(140%);
  }
}

@keyframes voteIconPop {
  0%, 100% {
    transform: rotate(0deg) scale(1);
  }
  20% {
    transform: rotate(-12deg) scale(1.1);
  }
  40% {
    transform: rotate(6deg) scale(1.05);
  }
  60% {
    transform: rotate(0deg) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .server-porto-page .porto-head-actions .vote-button-feature,
  .server-porto-page .porto-head-actions .vote-button-feature::after,
  .server-porto-page .porto-head-actions .vote-button-feature i {
    animation: none !important;
  }
}

.server-porto-page .server-action-image-btn {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.server-porto-page .porto-head-actions .server-action-image-btn {
  width: 100%;
  min-height: 44px;
}

.server-porto-page .porto-head-actions .vote-button.server-action-image-btn,
.server-porto-page .porto-head-actions .join-server-button.server-action-image-btn,
.server-porto-page .porto-head-actions .porto-donate-button.server-action-image-btn,
.server-porto-page .porto-head-actions .boost-server-button.server-action-image-btn {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.server-porto-page .porto-head-actions .vote-button.server-action-image-btn::after,
.server-porto-page .porto-head-actions .join-server-button.server-action-image-btn::after,
.server-porto-page .porto-head-actions .porto-donate-button.server-action-image-btn::after,
.server-porto-page .porto-head-actions .boost-server-button.server-action-image-btn::after {
  display: none !important;
  content: none !important;
}

.server-porto-page .server-action-image-btn img {
  display: block;
  width: min(100%, 210px);
  height: auto;
  max-height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.24));
  transition: transform 0.18s ease, filter 0.18s ease, opacity 0.18s ease;
}

.server-porto-page .server-action-image-btn:hover img,
.server-porto-page .server-action-image-btn:focus-visible img {
  transform: translateY(-1px) scale(1.02);
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.3));
}

.server-porto-page .server-action-image-btn.is-disabled img {
  opacity: 0.5;
  filter: grayscale(0.2) saturate(0.75);
}

.server-porto-page .boost-server-button--mobile.server-action-image-btn {
  display: none;
}

@media (max-width: 768px) {
  .server-porto-page .boost-server-button--mobile.server-action-image-btn {
    display: inline-flex;
    order: -1;
  }
}

.server-porto-page .porto-head-actions .join-server-button,
.server-porto-page .porto-head-actions .join-server-button:hover,
.server-porto-page .porto-head-actions .join-server-button.is-disabled {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.server-porto-page .monitor-range-btn {
  border: 1px solid var(--porto-line);
  background: rgba(10, 17, 32, 0.82);
  color: #b8c8e8;
}

.server-porto-page .monitor-range-btn.is-active {
  border-color: rgba(124, 142, 255, 0.44);
  background: linear-gradient(125deg, #f4c95d, #7c8eff 54%, #4c5fe9);
  color: #101a32;
  box-shadow: 0 10px 20px rgba(76, 95, 233, 0.26);
}

.server-porto-page .porto-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.server-porto-page .porto-donate-button {
  width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  cursor: pointer;
  transition: none;
}

.server-porto-page .porto-donate-button:hover,
.server-porto-page .porto-donate-button:focus-visible {
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.server-porto-page .porto-stat {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(48, 54, 61, 0.65);
  background: rgba(13, 17, 23, 0.82);
  padding: 0.95rem 1rem;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 0.35rem 0.75rem;
  align-items: center;
  text-align: right;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.server-porto-page .porto-stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, #58a6ff, #1f6feb, #8957e5);
  opacity: 0.55;
  transition: opacity 0.28s ease;
}

.server-porto-page .porto-stat::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 12px;
  width: 28px;
  height: 28px;
  border-top: 1px solid rgba(165, 180, 252, 0.22);
  border-right: 1px solid rgba(165, 180, 252, 0.22);
  border-radius: 0 8px 0 0;
  pointer-events: none;
}

.server-porto-page .porto-stat:hover {
  transform: translateY(-4px);
  border-color: rgba(88, 166, 255, 0.45);
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(88, 166, 255, 0.16) inset,
    0 0 28px rgba(88, 166, 255, 0.12);
}

.server-porto-page .porto-stat:hover::before {
  opacity: 1;
}

.server-porto-page .porto-stat-icon {
  width: 52px;
  height: 58px;
  min-height: 58px;
  grid-column: 1;
  grid-row: 1 / span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.02rem;
  color: #070d1a;
  background: linear-gradient(135deg, #5865f2, #7de1f8);
  box-shadow: 0 12px 26px rgba(88, 101, 242, 0.28);
}

.server-porto-page .porto-stat .trust-top,
.server-porto-page .porto-stat span {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  display: inline-block;
  margin: 0;
  color: #b0c0e3;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.73rem;
  font-weight: 700;
  padding-bottom: 0.24rem;
  border-bottom: 1px solid rgba(165, 180, 252, 0.28);
}

.server-porto-page .porto-stat .trust-bottom,
.server-porto-page .porto-stat strong {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  display: block;
  margin: 0;
  margin-top: 0.02rem;
  font-size: 1.96rem;
  color: #f0f4ff;
  line-height: 1.08;
}

.server-porto-page .porto-layout {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 0.92rem;
  align-items: start;
}

.server-porto-page .porto-main-col,
.server-porto-page .porto-side-col {
  display: grid;
  gap: 0.9rem;
}

.server-porto-page .porto-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(48, 54, 61, 0.65);
  background: linear-gradient(180deg, rgba(22, 27, 34, 0.92), rgba(13, 17, 23, 0.96));
  padding: 1.24rem;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(240, 246, 252, 0.05);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.server-porto-page .porto-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, #58a6ff, #1f6feb, #8957e5);
  opacity: 0.55;
  transition: opacity 0.28s ease;
}

.server-porto-page .porto-card::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 12px;
  width: 28px;
  height: 28px;
  border-top: 1px solid rgba(165, 180, 252, 0.22);
  border-right: 1px solid rgba(165, 180, 252, 0.22);
  border-radius: 0 8px 0 0;
  pointer-events: none;
}

.server-porto-page .porto-card:hover {
  transform: translateY(-6px);
  border-color: rgba(88, 166, 255, 0.45);
  box-shadow:
    0 28px 68px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(88, 166, 255, 0.16) inset,
    0 0 34px rgba(88, 166, 255, 0.14);
}

.server-porto-page .porto-card:hover::before {
  opacity: 1;
}

.server-porto-page .porto-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.server-porto-page .porto-card h2,
.server-porto-page .porto-card .server-description-title {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: 2.00rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.06;
  color: #f0f4ff;
  display: inline-flex;
  align-items: center;
  gap: 0.66rem;
}

.server-porto-page .porto-card h2 > span,
.server-porto-page .porto-card .server-description-title > span {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.server-porto-page .porto-card h2 i,
.server-porto-page .porto-card .server-description-title i {
  width: 50px;
  height: 50px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  font-size: 1.08rem;
  color: #070d1a;
  background: linear-gradient(135deg, #5865f2, #7de1f8);
  box-shadow: 0 12px 26px rgba(88, 101, 242, 0.28);
}

.server-porto-page #descriptionReadTime {
  font-size: 0.78rem;
  color: #a7b9cc;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.server-porto-page .porto-description-card > header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
}

.server-porto-page .porto-description-card > header .server-description-title {
  grid-column: 2;
  justify-self: center;
  text-align: center;
}

.server-porto-page .porto-description-card > header #descriptionReadTime {
  grid-column: 3;
  justify-self: end;
}

.server-porto-page .porto-description-card .server-description {
  text-align: center;
}

.server-porto-page .porto-chip {
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  border: 1px solid rgba(88, 101, 242, 0.28);
  background: rgba(10, 18, 32, 0.9);
  color: #c9d5ff;
  font-size: 0.72rem;
  font-weight: 700;
}

.server-porto-page .porto-card-foot {
  margin-top: 0.62rem;
  display: flex;
  justify-content: flex-end;
}

.server-porto-page .porto-info-list {
  display: grid;
  border: 1px solid rgba(48, 54, 61, 0.55);
  border-radius: 16px;
  overflow: hidden;
}

.server-porto-page .porto-info-list > div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  padding: 0.56rem 0.65rem;
  border-top: 1px solid rgba(48, 54, 61, 0.55);
  background: rgba(15, 20, 30, 0.75);
}

.server-porto-page .porto-info-list > div[hidden] {
  display: none;
}

.server-porto-page .porto-info-list > div:first-child {
  border-top: 0;
}

.server-porto-page .porto-info-list span {
  color: #8b949e;
  font-size: 0.78rem;
  font-weight: 650;
}

.server-porto-page .porto-info-list strong:not(.status-boosted) {
  color: #f0f6fc;
  font-size: 0.86rem;
}

.server-porto-page .server-source-badge {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 1.25rem;
  margin-right: 0.4rem;
  object-fit: contain;
}

.server-porto-page #serverBadgeValue {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  white-space: nowrap;
}

.server-porto-page .porto-info-list i {
  margin-right: 0.22rem;
}

.server-porto-page .porto-info-list .porto-info-donate-row {
  grid-template-columns: 1fr;
  padding: 0.62rem;
}

.server-porto-page .porto-donate-button {
  width: 100%;
  border: 1px solid rgba(220, 53, 69, 0.75);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.42), rgba(176, 33, 49, 0.48));
  color: #ffeef1;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.58rem 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.server-porto-page .porto-donate-button:hover,
.server-porto-page .porto-donate-button:focus-visible {
  border-color: rgba(255, 122, 132, 0.9);
  box-shadow: 0 12px 20px rgba(125, 20, 32, 0.4);
  transform: translateY(-1px);
}

.server-porto-page .porto-chart-card .monitor-kpis {
  margin-bottom: 0.55rem;
}

.server-porto-page .porto-chart-card,
.server-porto-page .porto-mini-chart-card,
.server-porto-page .porto-net-chart-card {
  padding: 1.24rem;
}

.server-porto-page .porto-chart-card > header,
.server-porto-page .porto-mini-chart-card > header,
.server-porto-page .porto-net-chart-card > header {
  margin-bottom: 1rem;
}

.server-porto-page .porto-chart-card h2,
.server-porto-page .porto-mini-chart-card h2,
.server-porto-page .porto-net-chart-card h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #f0f6fc;
}

.server-porto-page .porto-chart-card .porto-chip,
.server-porto-page .porto-mini-chart-card .porto-chip,
.server-porto-page .porto-net-chart-card .porto-chip {
  border-color: rgba(88, 101, 242, 0.28);
  background: rgba(10, 18, 32, 0.9);
  color: #c9d5ff;
}

.server-porto-page .porto-chart-card .monitor-chart-wrap {
  min-height: 310px;
  height: 310px;
  border-radius: 0.95rem;
  border: 1px solid rgba(48, 54, 61, 0.6);
  background: rgba(15, 20, 30, 0.75);
}

.server-porto-page .porto-aux-charts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.server-porto-page .porto-mini-chart-wrap,
.server-porto-page .porto-net-chart-wrap {
  border-radius: 0.95rem;
  border: 1px solid rgba(48, 54, 61, 0.6);
  background: rgba(15, 20, 30, 0.75);
  padding: 0.56rem;
}

.server-porto-page .porto-mini-chart-wrap {
  min-height: 250px;
  height: 250px;
}

.server-porto-page .porto-net-chart-card {
  grid-column: 1 / -1;
}

.server-porto-page .porto-net-chart-wrap {
  min-height: 290px;
  height: 290px;
}

.server-porto-page .porto-mini-chart,
.server-porto-page .porto-net-chart {
  width: 100%;
  height: 100%;
}

.server-porto-page .porto-chart-fallback {
  margin: 0;
  padding: 0.7rem;
  color: #cfe2f5;
  font-size: 0.86rem;
}

.server-porto-page .porto-inline-ad {
  margin-top: 0.75rem;
}

@media (max-width: 1120px) {
  .server-porto-page .porto-head-card {
    grid-template-columns: 1fr;
  }

  .server-porto-page .porto-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .server-porto-page .porto-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .server-porto-page .porto-head-meta {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .server-porto-page .porto-head-icon {
    width: 68px;
    height: 68px;
    font-size: 1.8rem;
  }

  .server-porto-page .porto-subline {
    display: flex;
    flex-wrap: wrap;
  }

  .server-porto-page .porto-stat-grid {
    grid-template-columns: 1fr;
  }

  .server-porto-page .porto-aux-charts {
    grid-template-columns: 1fr;
  }

  .server-porto-page .porto-info-list > div {
    grid-template-columns: 1fr;
    gap: 0.16rem;
  }
}

/* Server detail workspace: profile rail left, operational content right. */
@media (max-width: 1120px) {
  .server-porto-page .porto-rail-info-card {
    padding: 1.15rem 0.85rem;
  }

  .server-porto-page .porto-owner-summary {
    display: grid;
    justify-items: center;
    gap: 0.8rem;
    margin-bottom: 1.1rem;
    text-align: center;
  }

  .server-porto-page .porto-owner-avatar {
    width: 128px;
    height: 128px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(124, 142, 255, 0.38);
    border-radius: 50%;
    color: #dce9ff;
    background: linear-gradient(135deg, #5865f2, #7de1f8);
    font-size: 2.4rem;
    box-shadow: 0 12px 28px rgba(76, 95, 233, 0.3);
  }

  .server-porto-page .porto-owner-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .server-porto-page .porto-owner-summary strong {
    display: block;
    max-width: 100%;
    overflow: hidden;
    color: #f0f6fc;
    font-size: 1.1rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .server-porto-page .porto-owner-profile-link {
    display: block;
    max-width: 100%;
    overflow: hidden;
    color: #f0f6fc;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .server-porto-page .porto-owner-profile-link:hover {
    color: #7de1f8;
    text-decoration: underline;
  }
}

@media (min-width: 1121px) {
  .server-porto-page .porto-server-head {
    grid-template-columns: 310px minmax(0, 1fr);
    align-items: start;
    column-gap: 0.92rem;
    position: relative;
  }

  .server-porto-page .porto-server-head .crumbs {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .server-porto-page .porto-head-card {
    display: contents;
  }

  .server-porto-page .porto-head-boost-button {
    position: relative;
    top: auto;
    right: auto;
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    align-self: center;
    width: auto;
    margin: 0.65rem 0.65rem 0 0;
  }

  .server-porto-page .porto-head-card::before,
  .server-porto-page .porto-head-card::after {
    display: none;
  }

  .server-porto-page .porto-head-banner {
    grid-column: 1;
    grid-row: 2;
    position: relative;
    grid-column: 2;
    width: 100%;
    height: 168px;
    overflow: hidden;
    border: 1px solid rgba(48, 54, 61, 0.72);
    border-radius: 18px;
    background: #0d1117;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
    z-index: 0;
  }

  .server-porto-page .porto-head-meta {
    grid-column: 2;
    grid-row: 2;
    grid-template-columns: 128px minmax(0, 1fr);
    align-items: end;
    align-self: start;
    height: 168px;
    gap: 1rem;
    padding: 1.15rem;
    border-radius: 18px;
    border: 1px solid rgba(48, 54, 61, 0.72);
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(13, 17, 23, 0.78) 0%, rgba(13, 17, 23, 0.42) 52%, rgba(13, 17, 23, 0.04) 100%);
    z-index: 1;
  }

  .server-porto-page .porto-head-meta::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, #58a6ff, #1f6feb, #8957e5);
    opacity: 0.55;
    pointer-events: none;
  }


  .server-porto-page .porto-head-icon {
    width: 128px;
    height: 128px;
    font-size: 3.1rem;
  }

  .server-porto-page .porto-kicker {
    font-size: 0.64rem;
  }

  .server-porto-page .porto-head-card h1 {
    font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem);
  }

  .server-porto-page .porto-subline {
    display: flex;
    flex-wrap: wrap;
    font-size: 0.76rem;
  }

  .server-porto-page .hero-achievement-showcase {
    margin: 0.45rem 0 0;
  }

  .server-porto-page .porto-head-actions {
    align-self: start;
    padding: 0.65rem;
  }

  .server-porto-page .porto-rail-stack {
    position: absolute;
    left: 0;
    top: 134px;
    width: 310px;
    display: grid;
    gap: 0.85rem;
  }

  .server-porto-page .porto-rail-info-card {
    align-self: start;
    padding: 1.15rem 0.85rem;
  }

  .server-porto-page .porto-owner-summary {
    display: grid;
    justify-items: center;
    gap: 0.8rem;
    margin-bottom: 1.1rem;
    text-align: center;
  }

  .server-porto-page .porto-owner-avatar {
    width: 128px;
    height: 128px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(124, 142, 255, 0.38);
    border-radius: 50%;
    color: #dce9ff;
    background: linear-gradient(135deg, #5865f2, #7de1f8);
    font-size: 2.4rem;
    box-shadow: 0 12px 28px rgba(76, 95, 233, 0.3);
  }

  .server-porto-page .porto-owner-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .server-porto-page .porto-owner-summary > div {
    min-width: 0;
    max-width: 100%;
  }

  .server-porto-page .porto-owner-label {
    display: block;
    margin-bottom: 0.32rem;
    color: #8b9db7;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .server-porto-page .porto-owner-summary strong {
    display: block;
    overflow: hidden;
    color: #f0f6fc;
    font-size: 1.1rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .server-porto-page .porto-stat-grid {
    grid-column: 2;
    grid-row: 3;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.6rem;
  }

  .server-porto-page .porto-stat {
    min-height: 88px;
    padding: 0.65rem;
  }

  .server-porto-page .porto-stat-icon {
    width: 44px;
    height: 44px;
    min-height: 44px;
    flex: 0 0 44px;
    font-size: 1.05rem;
  }

  .server-porto-page .porto-stat .trust-top,
  .server-porto-page .porto-stat span {
    font-size: 0.61rem;
  }

  .server-porto-page .porto-stat .trust-bottom,
  .server-porto-page .porto-stat strong {
    font-size: 1.96rem;
  }

  .server-porto-page .porto-layout {
    grid-template-columns: 310px minmax(0, 1fr);
    align-items: start;
  }

  .server-porto-page .porto-main-col {
    grid-column: 2;
    grid-row: 1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.92rem;
  }

  .server-porto-page .porto-main-col > .porto-aux-charts,
  .server-porto-page .porto-main-col > .porto-bottom-grid {
    grid-column: 1 / -1;
  }

  .server-porto-page .porto-bottom-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.85fr);
    gap: 0.92rem;
    align-items: start;
  }

  .server-porto-page .porto-chart-card .monitor-chart-wrap {
    min-height: 270px;
    height: 270px;
  }

  .server-porto-page .porto-side-col {
    grid-column: 1;
    grid-row: 1;
    padding-top: 378px;
  }

  .server-porto-page .porto-side-col .porto-card {
    padding: 0.85rem;
  }

  .server-porto-page .porto-side-col .similar-server-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .server-porto-page .porto-side-col .server-description-title {
    font-size: 0.98rem;
    gap: 0.44rem;
  }

  .server-porto-page .porto-side-col .server-description-title i {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 0.78rem;
  }
}

@media (max-width: 1120px) {
  .server-porto-page .porto-head-card {
    position: static;
  }

  .server-porto-page .porto-rail-stack {
    display: grid;
    gap: 0.9rem;
  }

  .server-porto-page .porto-bottom-grid {
    display: grid;
    gap: 0.9rem;
  }
}
@media (max-width: 640px) {
  .site-alert-popup .vote-direction-btn {
    flex: 1 1 100%;
  }
}


/* Global responsive hardening layer */
html {
  overflow-x: hidden;
  scrollbar-gutter: stable;
}

img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
}

@media (max-width: 1200px) {
  .vote-button-xl {
    min-width: 0;
    width: 100%;
  }

  .monitor-shell::after {
    min-width: 0;
    width: 72%;
  }
}


@media (max-width: 900px) {
  section {
    padding: 3rem 0;
  }

  .hero {
    padding: 4rem 0 2.4rem;
    gap: 1rem;
  }

  .hero-sub {
    margin-top: 0.95rem;
    font-size: 0.99rem;
  }

  .section-head {
    margin-bottom: 1.1rem;
  }

  .nav-wrap {
    height: auto;
    padding: 0.85rem 0;
    flex-wrap: wrap;
    row-gap: 0.75rem;
  }

  .nav-cta {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .nav-cta form,
.nav-cta .btn {
    width: 100%;
  }

  .nav-cta form .btn {
    width: 100%;
  }

  .servers-table-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .servers-pagination-controls {
    width: 100%;
    justify-content: space-between;
  }

  .servers-pagination-controls .btn {
    min-width: 0;
    flex: 1;
  }

  .categories-chart-window-tab {
    min-width: 0;
    text-align: center;
  }

  .monitor-chart-wrap {
    height: 300px;
  }.category-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


@media (max-width: 768px) {
  .container {
    width: min(100%, calc(100% - 1rem));
  }

  .hero {
    padding: 3.15rem 0 1.9rem;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(1.78rem, 8.9vw, 2.35rem);
  }

  .hero-sub {
    font-size: 0.96rem;
  }.hero-panel {
    border-radius: 16px;
  }

  .section-head h2 {
    font-size: clamp(1.32rem, 6.2vw, 1.85rem);
  }

  .btn,
.btn-lg {
    padding: 0.82rem 1.02rem;
  }

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

  .footer-brand-col {
    grid-column: 1 / -1;
  }

  .footer-col,
.footer-brand-col {
    min-width: 0;
    max-width: none;
  }

  .footer-link-list a {
    overflow-wrap: anywhere;
  }

  section {
    padding: 2.35rem 0;
  }.hero,
.server-hero,
.account-hero,
.account-discord-hero,
.account-workspace,
.account-discord-layout,
.features-hero-layout,
.features-esports-split {
    grid-template-columns: 1fr !important;
  }

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

  .server-cover {
    max-width: 140px;
    height: 170px;
  }.blog-grid,
.features-page-grid,
.voter-list,
.category-wall,
.features-bet-duo,
.features-bet-list-grid {
    grid-template-columns: 1fr !important;
  }

  .monitor-chart-wrap {
    height: 270px;
  }

  .monitor-kpis span {
    font-size: 0.74rem;
  }
}


@media (max-width: 560px) {
  section {
    padding: 2rem 0;
  }

  .hero {
    padding: 2.55rem 0 1.35rem;
  }

  .hero h1 {
    font-size: clamp(1.62rem, 10vw, 2rem);
    line-height: 1.08;
  }

  .hero-sub {
    font-size: 0.92rem;
  }

  .section-head {
    margin-bottom: 0.9rem;
  }

  .section-head h2 {
    font-size: clamp(1.2rem, 7vw, 1.58rem);
  }

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

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

  .footer-social {
    flex-wrap: wrap;
  }

  .footer-shell {
    padding: 2rem 0 0.9rem;
  }

  .footer-bottom {
    margin-top: 1.3rem;
    padding-top: 0.8rem;
  }

  .sort-tabs {
    grid-template-columns: 1fr !important;
  }

  .server-trust-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .trust-metric,
.trust-metric + .trust-metric {
    margin: 0;
    padding: 0;
    border: 0;
  }

  .hero-ad-box {
    min-height: 72px;
  }
}

/* ==========================================================================
   About Us Page — Gaming-style override
   ========================================================================== */

.about-page {
  position: relative;
}

.about-page main {
  padding-bottom: 5rem;
}

.features-page {
  position: relative;
}

.features-separator {
  margin: 2.6rem 0;
}

/* Background watermarks & decorative shapes */
.about-watermark,
.about-shapes,
.about-shape {
  pointer-events: none;
  user-select: none;
}

.about-watermark {
  position: fixed;
  z-index: 0;
  font-size: clamp(8rem, 22vw, 22rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: rgba(124, 142, 255, 0.015);
  text-shadow: 0 2px 12px rgba(6, 10, 20, 0.18);
  text-transform: uppercase;
  white-space: pre;
  left: 58%;
  transform: translateX(-50%) rotate(-12deg);
}

.about-watermark--top {
  top: 10vh;
}

.about-watermark--top::before {
  content: '';
}

.about-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.about-shape {
  position: absolute;
  display: block;
}

.about-shape--ring {
  border-radius: 50%;
  border: 1px solid rgba(124, 142, 255, 0.14);
}

.about-shape--ring-1 {
  width: 520px;
  height: 520px;
  top: -140px;
  right: -140px;
  opacity: 0.45;
}

.about-shape--ring-2 {
  width: 340px;
  height: 340px;
  top: 90vh;
  left: -120px;
  border-color: rgba(244, 201, 93, 0.12);
  opacity: 0.5;
}

.about-shape--halo {
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
}

.about-shape--halo-1 {
  width: 420px;
  height: 420px;
  top: 22vh;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(124, 142, 255, 0.2), rgba(124, 142, 255, 0) 68%);
}

.about-shape--halo-2 {
  width: 300px;
  height: 300px;
  top: 118vh;
  right: 12vw;
  background: radial-gradient(circle, rgba(244, 201, 93, 0.16), rgba(244, 201, 93, 0) 70%);
}

.about-shape--bar {
  width: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(124, 142, 255, 0.22), rgba(124, 142, 255, 0.02));
}

.about-shape--bar-1 {
  height: 220px;
  top: 34vh;
  left: 6vw;
  transform: rotate(24deg);
}

.about-shape--bar-2 {
  height: 300px;
  top: 58vh;
  right: 7vw;
  transform: rotate(-18deg);
  background: linear-gradient(180deg, rgba(244, 201, 93, 0.18), rgba(244, 201, 93, 0.02));
}

.about-shape--bar-3 {
  height: 160px;
  top: 118vh;
  left: 12vw;
  transform: rotate(12deg);
}

.about-shape--disc {
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 142, 255, 0.16), transparent 68%);
  filter: blur(18px);
}

.about-shape--disc-1 {
  width: 280px;
  height: 280px;
  top: 78vh;
  right: -60px;
}

.about-shape--disc-2 {
  width: 220px;
  height: 220px;
  top: 146vh;
  left: -50px;
  background: radial-gradient(circle, rgba(244, 201, 93, 0.12), transparent 68%);
}

.about-shape--chevron {
  width: 120px;
  height: 120px;
  border: 2px solid rgba(124, 142, 255, 0.18);
  border-left: 0;
  border-bottom: 0;
  transform: rotate(45deg);
  border-radius: 12px;
}

.about-shape--chevron-1 {
  top: 66vh;
  right: 9vw;
}

.about-shape--chevron-2 {
  top: 168vh;
  left: 8vw;
  border-color: rgba(244, 201, 93, 0.14);
}

.about-shape--grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 142, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 142, 255, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.35;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 1) 12%, rgba(0, 0, 0, 1) 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 1) 12%, rgba(0, 0, 0, 1) 70%, transparent 100%);
}

.about-hero,
.about-manifesto,
.about-values,
.about-awards,
.about-team,
.about-timeline,
.about-cta {
  position: relative;
  z-index: 1;
}

.about-section-divider {
  position: relative;
  z-index: 1;
  width: min(1140px, calc(100% - 2rem));
  margin: 0.2rem auto;
  height: 1px;
}

.about-section-divider span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(124, 142, 255, 0.28) 20%, rgba(244, 201, 93, 0.22) 50%, rgba(124, 142, 255, 0.28) 80%, transparent 100%);
}

/* Hero */
.about-hero {
  position: relative;
  padding-top: 4.6rem;
  padding-bottom: 4rem;
}

.about-hero .crumbs {
  margin-bottom: 1.4rem;
}

.about-hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.about-hero-copy {
  position: relative;
  z-index: 1;
  text-align: center;
}

.about-hero-copy .eyebrow {
  color: var(--orange);
}

.about-hero-copy h1 {
  margin: 0 auto;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.05;
  max-width: 24ch;
  background: none;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

.about-hero-copy h1 .about-title-accent {
  background: linear-gradient(120deg, #7de1f8 0%, #5865f2 50%, #a5b4fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 42px rgba(88, 101, 242, 0.28);
}

.about-hero-copy h1 .about-hero-line {
  display: block;
}

.about-hero-copy h1 .about-hero-line-top {
  white-space: nowrap;
}

.about-hero-sub {
  margin: 1.3rem auto 0;
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 52ch;
  line-height: 1.6;
}

.about-hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.about-hero-panel {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 0% 0%, rgba(87, 200, 255, 0.14), transparent 38%),
    linear-gradient(180deg, rgba(24, 36, 52, 0.9), rgba(10, 17, 28, 0.98));
  border: 1px solid rgba(88, 101, 242, 0.18);
  border-radius: 18px;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  box-shadow:
    0 18px 38px rgba(3, 12, 20, 0.28),
    inset 0 1px 0 rgba(180, 227, 255, 0.09);
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.about-hero-panel::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, #5865f2, #7de1f8, #a5b4fc);
  opacity: 0.55;
  transition: opacity 0.28s ease;
}

.about-hero-panel::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 12px;
  width: 28px;
  height: 28px;
  border-top: 1px solid rgba(165, 180, 252, 0.22);
  border-right: 1px solid rgba(165, 180, 252, 0.22);
  border-radius: 0 8px 0 0;
  pointer-events: none;
}

.about-hero-panel:hover {
  transform: translateY(-6px);
  border-color: rgba(88, 101, 242, 0.45);
  box-shadow:
    0 22px 44px rgba(3, 10, 22, 0.45),
    0 0 0 1px rgba(88, 101, 242, 0.18) inset,
    0 0 36px rgba(88, 101, 242, 0.14);
}

.about-hero-panel:hover::before {
  opacity: 1;
}

.about-hero-panel-glow {
  position: absolute;
  top: -30%;
  right: -20%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 201, 93, 0.18), transparent 68%);
  filter: blur(14px);
  pointer-events: none;
  z-index: 0;
  display: none;
}

.about-hero-panel-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.about-hero-panel-head .eyebrow {
  margin: 0 0 0.35rem;
}

.about-hero-panel-head h2 {
  margin: 0;
  color: #f5f8ff;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.2;
}

.about-live-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
  padding: 0.4rem 0.65rem;
  border: 1px solid rgba(67, 217, 154, 0.3);
  border-radius: 999px;
  color: #a9f3cf;
  background: rgba(20, 89, 61, 0.2);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.about-live-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #43d99a;
  box-shadow: 0 0 0 4px rgba(67, 217, 154, 0.12);
}

.about-hero-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.about-hero-stats article {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  background: rgba(7, 13, 25, 0.62);
  border: 1px solid rgba(138, 157, 215, 0.15);
  border-radius: 10px;
  padding: 1rem;
  text-align: left;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.about-hero-stats article:hover {
  background: rgba(12, 21, 37, 0.82);
  border-color: rgba(124, 142, 255, 0.34);
}

.about-stat-icon {
  display: grid !important;
  place-items: center;
  flex: 0 0 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 !important;
  border: 1px solid rgba(124, 142, 255, 0.25);
  border-radius: 8px;
  color: #8da2ff !important;
  background: rgba(88, 104, 210, 0.12);
  font-size: 0.95rem !important;
}

.about-hero-stats strong {
  display: block;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  letter-spacing: 0;
}

.about-hero-stats span {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.about-hero-panel-foot {
  position: relative;
  z-index: 1;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(138, 157, 215, 0.14);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(193, 205, 229, 0.72);
  font-size: 0.75rem;
}

/* Manifesto */
.about-manifesto {
  padding: 3.4rem 0;
}

.about-manifesto-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

.about-manifesto-card {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(124, 142, 255, 0.16);
  background: linear-gradient(180deg, rgba(23, 33, 48, 0.85), rgba(14, 21, 33, 0.92));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.about-manifesto-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.about-manifesto-mission::before {
  background: linear-gradient(90deg, var(--lime), var(--cyan));
}

.about-manifesto-vision::before {
  background: linear-gradient(90deg, var(--orange), var(--rose));
}

.about-manifesto-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  font-size: 1.25rem;
  color: #ffffff;
  background: linear-gradient(145deg, var(--primary), var(--cyan));
  box-shadow: 0 12px 26px rgba(76, 95, 233, 0.32);
  margin-bottom: 1.2rem;
}

.about-manifesto-card h2 {
  margin: 0 0 0.6rem;
  font-size: 1.45rem;
  color: #ffffff;
}

.about-manifesto-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

/* Values */
.about-values {
  padding: 3.8rem 0;
}

.about-values-head {
  text-align: center;
  margin-bottom: 2.4rem;
}

.about-values-head .eyebrow {
  color: var(--orange);
}

.about-values-head h2 {
  margin: 0 auto;
  max-width: 22ch;
}

.about-values-intro {
  color: var(--muted);
  max-width: 54ch;
  margin: 0.8rem auto 0;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.about-value-card {
  position: relative;
  padding: 1.6rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(124, 142, 255, 0.12);
  background: rgba(16, 24, 36, 0.72);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.about-value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 142, 255, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.about-value-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: rgba(88, 101, 242, 0.34);
  letter-spacing: 0.05em;
  transition: color 0.24s ease, text-shadow 0.24s ease, transform 0.24s ease;
}

.about-value-card:hover .about-value-number,
.about-value-card:focus-within .about-value-number {
  color: rgba(125, 225, 248, 0.82);
  text-shadow:
    0 0 8px rgba(125, 225, 248, 0.42),
    0 0 18px rgba(88, 101, 242, 0.34);
  transform: scale(1.03);
}

.about-value-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
  color: #ffffff;
}

.about-value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* Awards */
.about-awards {
  padding: 3.8rem 0;
}

.about-awards-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
  position: relative;
  padding: clamp(1.2rem, 2.8vw, 2.2rem);
  border-radius: clamp(16px, 2vw, 24px);
  border: 1px solid rgba(124, 142, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(29, 42, 78, 0.28), rgba(14, 21, 38, 0.55)),
    radial-gradient(140% 140% at 10% 8%, rgba(124, 142, 255, 0.14), transparent 60%);
  box-shadow:
    inset 0 0 0 1px rgba(124, 142, 255, 0.08),
    0 24px 50px rgba(5, 9, 18, 0.24);
}

.about-awards-copy {
  position: sticky;
  top: 110px;
}

.about-awards-copy .eyebrow {
  color: var(--orange);
}

.about-awards-copy h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.7rem, 2.6vw, 2.6rem);
  line-height: 1.12;
  max-width: 18ch;
  color: #ffffff;
}

.about-awards-copy p {
  margin: 0;
  color: var(--muted);
  max-width: 42ch;
  line-height: 1.65;
}

.about-awards-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-award-row {
  display: grid;
  grid-template-columns: 72px 1fr auto auto;
  align-items: center;
  gap: 1.2rem;
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(124, 142, 255, 0.12);
  background: rgba(16, 24, 36, 0.6);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.about-award-row:hover {
  transform: translateX(6px);
  border-color: rgba(124, 142, 255, 0.32);
  background: rgba(23, 33, 48, 0.78);
}

.about-award-year {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 0.02em;
}

.about-award-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
}

.about-award-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(124, 142, 255, 0.1);
  border: 1px solid rgba(124, 142, 255, 0.16);
}

.about-award-arrow {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.about-award-row:hover .about-award-arrow {
  color: #ffffff;
  transform: translateX(3px);
}

/* Team */
.about-team {
  padding: 4rem 0;
}

.about-team-head {
  text-align: center;
  margin-bottom: 2.4rem;
}

.about-team-head .eyebrow {
  color: var(--cyan);
}

.about-team-head h2 {
  margin: 0 auto;
}

.about-team-intro {
  color: var(--muted);
  max-width: 54ch;
  margin: 0.8rem auto 0;
}

.about-team-grid {
  display: grid;
  grid-template-columns: minmax(320px, 700px);
  justify-content: center;
  gap: 1.2rem;
}

.about-team-card {
  position: relative;
  text-align: center;
  padding: 2.5rem 1.8rem 2.2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(124, 142, 255, 0.2);
  background:
    radial-gradient(circle at 14% 18%, rgba(244, 201, 93, 0.24), transparent 30%),
    radial-gradient(circle at 86% 10%, rgba(124, 142, 255, 0.3), transparent 38%),
    linear-gradient(165deg, rgba(28, 40, 66, 0.94), rgba(12, 19, 30, 0.98));
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.about-team-card::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 140px;
  height: 3px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #f4c95d 0%, #7c8eff 52%, #4c5fe9 100%);
}

.about-team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 142, 255, 0.42);
}

.about-team-avatar {
  width: 130px;
  height: 130px;
  margin: 0 auto 1.3rem;
  border-radius: 34px;
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  color: #ffffff;
  background: linear-gradient(145deg, #f4c95d, #7c8eff 55%, #4c5fe9);
  box-shadow: 0 24px 44px rgba(76, 95, 233, 0.34);
  border: 3px solid rgba(255, 255, 255, 0.18);
}

.about-team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.about-team-card h3 {
  margin: 0 0 0.25rem;
  font-size: clamp(1.45rem, 2.1vw, 1.8rem);
  color: #ffffff;
}

.about-team-role {
  margin: 0 0 1rem;
  color: #a8bbff;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.about-team-card > p:last-of-type {
  margin: 0;
  color: #d0dcf0;
  font-size: 1.03rem;
  line-height: 1.55;
}

.about-team-social {
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
  gap: 0.72rem;
}

.about-team-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1rem;
  color: #ccd9ee;
  background: rgba(124, 142, 255, 0.14);
  border: 1px solid rgba(124, 142, 255, 0.24);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.about-team-social a:hover {
  color: #ffffff;
  background: rgba(124, 142, 255, 0.28);
  transform: translateY(-2px);
}

.about-team-card-founder {
  overflow: hidden;
  border-color: rgba(111, 201, 255, 0.34);
  background:
    radial-gradient(circle at 16% 16%, rgba(244, 201, 93, 0.22), transparent 34%),
    radial-gradient(circle at 84% 0%, rgba(88, 101, 242, 0.26), transparent 40%),
    linear-gradient(165deg, rgba(31, 44, 72, 0.94), rgba(12, 20, 34, 0.98));
  box-shadow:
    0 30px 74px rgba(2, 8, 18, 0.46),
    0 0 0 1px rgba(111, 201, 255, 0.16) inset,
    inset 0 1px 0 rgba(209, 236, 255, 0.14);
}

.about-team-card-founder::after {
  content: '';
  position: absolute;
  inset: 14px;
  border-radius: calc(var(--radius-lg) - 8px);
  border: 1px solid rgba(111, 201, 255, 0.18);
  pointer-events: none;
}

.about-team-card-founder > * {
  position: relative;
  z-index: 2;
}

.about-team-card-founder:hover {
  border-color: rgba(111, 201, 255, 0.52);
  box-shadow:
    0 34px 84px rgba(2, 8, 18, 0.54),
    0 0 0 1px rgba(111, 201, 255, 0.3) inset,
    0 0 44px rgba(88, 101, 242, 0.2);
}

/* Timeline */
.about-timeline {
  padding: 3.8rem 0;
}

.about-timeline-head {
  text-align: center;
  margin-bottom: 2.4rem;
}

.about-timeline-head .eyebrow {
  color: var(--orange);
}

.about-timeline-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(124, 142, 255, 0.3) transparent;
}

.about-timeline-track::-webkit-scrollbar {
  height: 6px;
}

.about-timeline-track::-webkit-scrollbar-thumb {
  background: rgba(124, 142, 255, 0.3);
  border-radius: 999px;
}

.about-timeline-node {
  flex: 0 0 240px;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(124, 142, 255, 0.13);
  background: rgba(16, 24, 36, 0.72);
  position: relative;
}

.about-timeline-node::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 3px;
  background: linear-gradient(90deg, var(--lime), var(--cyan));
  border-radius: 0 0 999px 999px;
}

.about-timeline-node-now::before {
  background: linear-gradient(90deg, var(--orange), var(--rose));
  box-shadow: 0 0 14px rgba(244, 201, 93, 0.35);
}

.about-timeline-year {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #0b1015;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  margin-bottom: 0.8rem;
}

.about-timeline-node-now .about-timeline-year {
  background: linear-gradient(135deg, var(--orange), var(--rose));
}

.about-timeline-node h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: #ffffff;
}

.about-timeline-node p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* CTA */
.about-cta {
  padding: 2.6rem 0 0;
}

.about-cta-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 3rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(124, 142, 255, 0.2);
  background:
    radial-gradient(circle at 12% 20%, rgba(76, 95, 233, 0.14), transparent 42%),
    radial-gradient(circle at 88% 80%, rgba(244, 201, 93, 0.12), transparent 46%),
    linear-gradient(145deg, rgba(23, 36, 63, 0.9), rgba(12, 21, 40, 0.95));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.about-cta-glow {
  position: absolute;
  top: -50%;
  right: -10%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 142, 255, 0.16), transparent 65%);
  filter: blur(24px);
  pointer-events: none;
  z-index: 0;
}

.about-cta-copy {
  position: relative;
  z-index: 1;
}

.about-cta-copy .eyebrow {
  color: var(--orange);
}

.about-cta-copy h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  max-width: 22ch;
  color: #ffffff;
}

.about-cta-copy p {
  margin: 0;
  color: var(--muted);
  max-width: 48ch;
  line-height: 1.6;
}

.about-cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: flex-end;
}

/* Responsive */
@media (max-width: 1100px) {
  .about-hero-layout {
    grid-template-columns: 1fr;
  }

  .about-hero-panel {
    max-width: 560px;
  }

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

  .about-team-grid {
    grid-template-columns: minmax(300px, 680px);
  }

  .about-cta-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-cta-copy h2,
  .about-cta-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .about-cta-actions {
    justify-content: center;
  }
}

@media (max-width: 700px) {
  .about-hero {
    padding-top: 1.6rem;
    padding-bottom: 2.5rem;
  }

  .about-hero-actions {
    flex-direction: column;
  }

  .about-hero-actions .btn {
    width: 100%;
  }

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

  .about-hero-stats article {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-manifesto-grid,
  .about-values-grid,
  .about-team-grid {
    grid-template-columns: 1fr;
  }

  .about-team-grid {
    gap: 1rem;
  }

  .about-team-card {
    padding: 2rem 1.1rem;
  }

  .about-team-avatar {
    width: 110px;
    height: 110px;
    border-radius: 30px;
  }

  .about-timeline-track {
    flex-direction: column;
  }

  .about-timeline-node {
    flex: 0 0 auto;
  }

  .about-cta-card {
    padding: 1.8rem;
  }

  .about-cta-actions .btn {
    width: 100%;
  }

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

  .about-awards-copy {
    position: static;
    text-align: center;
  }

  .about-awards-copy h2,
  .about-awards-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .about-award-row {
    grid-template-columns: 1fr auto;
    gap: 0.6rem 1rem;
  }

  .about-award-year {
    grid-column: 1 / -1;
  }

  .about-award-arrow {
    display: none;
  }

  .about-watermark {
    display: none;
  }

  .about-shape--bar,
  .about-shape--disc-2,
  .about-shape--chevron {
    display: none;
  }
}

/* FAQ page */
.faq-page {
  position: relative;
}

.faq-page main {
  padding-bottom: 5rem;
}

.faq-page .legal-hero-media {
  position: relative;
  z-index: 1;
}

.faq-search-card {
  position: relative;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(24, 36, 52, 0.86), rgba(10, 17, 28, 0.96));
  border: 1px solid rgba(88, 101, 242, 0.22);
  border-radius: 22px;
  padding: 1.4rem;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 0.9rem;
  row-gap: 0.65rem;
  width: 100%;
}

.faq-search-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-grid;
  place-items: center;
  font-size: 1.25rem;
  color: #070d1a;
  background: linear-gradient(135deg, #5865f2, #7de1f8);
  box-shadow: 0 14px 28px rgba(88, 101, 242, 0.28);
}

.faq-search-field {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}

.faq-search-field input {
  width: 100%;
  appearance: none;
  background: rgba(10, 16, 30, 0.7);
  border: 1px solid rgba(88, 101, 242, 0.28);
  border-radius: 999px;
  padding: 0.9rem 1.1rem;
  color: #f1f8ff;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-search-field input::placeholder {
  color: #8da3bf;
}

.faq-search-field input:focus {
  border-color: rgba(132, 214, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.16);
}

.faq-search-hint {
  grid-column: 1 / -1;
  margin: 0;
  color: #8da3bf;
  font-size: 0.82rem;
}

.faq-page .legal-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.faq-page .faq-section {
  padding: 0;
  border-bottom: 0;
  min-width: 0;
}

.faq-page .legal-content > .legal-cta-banner,
.faq-page .legal-content > .faq-no-results {
  grid-column: 1 / -1;
}

.faq-section .faq-accordion {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.65rem;
}

.faq-item {
  flex: initial;
  border: 1px solid rgba(149, 177, 201, 0.18);
  border-radius: 14px;
  background: rgba(14, 24, 33, 0.5);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[hidden] {
  display: none;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  cursor: pointer;
  font-weight: 650;
  font-size: 0.96rem;
  color: #f1f8ff;
  list-style: none;
  outline: none;
}

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

.faq-item-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(88, 101, 242, 0.12);
  color: #a5b4fc;
  font-size: 0.68rem;
  transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease;
}

.faq-item-toggle .fa-minus {
  display: none;
}

.faq-item[open] .faq-item-toggle .fa-plus {
  display: none;
}

.faq-item[open] .faq-item-toggle .fa-minus {
  display: inline;
}

.faq-item[open] .faq-item-toggle {
  transform: rotate(180deg);
  background: rgba(244, 201, 93, 0.16);
  color: var(--orange);
}

.faq-item-body {
  padding: 0 1rem 0.9rem;
  color: #b8c6dc;
  font-size: 0.95rem;
  line-height: 1.65;
  animation: faqBodyReveal 0.3s ease both;
}

.faq-item[open] .faq-item-body {
  animation: faqBodyReveal 0.3s ease both;
}

.faq-item:not([open]) .faq-item-body {
  animation: faqBodyHide 0.2s ease both;
}

@keyframes faqBodyReveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes faqBodyHide {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-6px);
  }
}

.faq-item:hover {
  border-color: rgba(132, 214, 255, 0.35);
  box-shadow: 0 8px 24px rgba(4, 9, 18, 0.32);
}

.faq-no-results {
  text-align: center;
  padding: 3rem 1rem;
  color: #8da3bf;
  font-size: 1.05rem;
}

.faq-no-results i {
  display: block;
  font-size: 2.2rem;
  margin-bottom: 0.7rem;
  color: var(--cyan);
}

.legal-section.faq-section[hidden] {
  display: none;
}

@media (max-width: 960px) {
  .faq-page .legal-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-page .legal-hero-media {
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (max-width: 700px) {
  .faq-page .legal-content {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Blog listing page */
.blog-page {
  position: relative;
}

.blog-page main {
  padding-bottom: 5rem;
}

.blog-page-hero,
.blog-listing,
.blog-page .about-cta {
  position: relative;
  z-index: 1;
}

.blog-page-hero {
  padding-top: 4.6rem;
}

.blog-page-hero .crumbs {
  margin-bottom: 1.4rem;
}

.blog-listing {
  padding: 2rem 0 3.5rem;
}

.blog-grid--listing {
  margin-top: 0.5rem;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-card--link {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(143, 170, 194, 0.25);
  background: linear-gradient(180deg, rgba(19, 29, 40, 0.78), rgba(11, 18, 25, 0.96));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.blog-card--link:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 142, 255, 0.45);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.42);
}

.blog-card--link .blog-image {
  aspect-ratio: 16 / 9;
}

.blog-card--link .blog-content {
  padding: 1rem 1.05rem 1.2rem;
}

.blog-card--link h3 {
  color: #ffffff;
  transition: color 0.2s ease;
}

.blog-card--link:hover h3 {
  color: var(--cyan);
}

.blog-card--link .blog-link i {
  transition: transform 0.2s ease;
}

.blog-card--link:hover .blog-link i {
  transform: translateX(4px);
}

.blog-empty {
  text-align: center;
  padding: 3.5rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(124, 142, 255, 0.25);
  background: rgba(16, 24, 36, 0.5);
}

.blog-empty-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.2rem;
  border-radius: 22px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  color: #ffffff;
  background: linear-gradient(145deg, var(--primary), var(--cyan));
  box-shadow: 0 14px 34px rgba(76, 95, 233, 0.3);
}

.blog-empty h3 {
  margin: 0 0 0.4rem;
  color: #ffffff;
}

.blog-empty p {
  margin: 0 0 1.2rem;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .blog-grid--listing {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .blog-grid--listing {
    grid-template-columns: 1fr;
  }
}

.blog-card--fade-in-down {
  opacity: 0;
  transform: translate3d(0, -48px, 0);
  pointer-events: none;
  will-change: opacity, transform;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.blog-card--fade-in-down.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
  animation: blog-fade-in-down 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: var(--blog-enter-delay, 0ms);
}

@keyframes blog-fade-in-down {
  from {
    opacity: 0;
    transform: translate3d(0, -48px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-card--fade-in-down,
  .blog-card--fade-in-down.is-visible {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.blog-load-more {
  margin-top: 2.6rem;
  text-align: center;
}

.blog-load-more .btn {
  min-width: 220px;
  position: relative;
}

.blog-load-more .btn.is-loading {
  opacity: 0.7;
  cursor: wait;
}

.blog-load-more .btn.is-loading i {
  animation: blog-spin 1s linear infinite;
}

@keyframes blog-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.blog-load-more-status {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.9rem;
  min-height: 1.4rem;
}

/* ── HOME PAGE V2 REVAMP ── */

.home-hero-v2 {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  padding: 4.6rem 0 3rem;
  align-items: stretch;
}

.home-hero-v2::before,
.home-hero-v2::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.home-hero-v2::before {
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  background:
    radial-gradient(circle at 14% 18%, rgba(88, 101, 242, 0.18), transparent 46%),
    radial-gradient(circle at 86% 14%, rgba(125, 225, 248, 0.14), transparent 50%),
    radial-gradient(circle at 52% 74%, rgba(244, 201, 93, 0.08), transparent 54%),
    linear-gradient(145deg, rgba(18, 28, 50, 0.78) 0%, rgba(12, 22, 42, 0.7) 54%, rgba(8, 16, 32, 0.82) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(88, 101, 242, 0.14),
    inset 0 -40px 70px rgba(6, 11, 24, 0.48);
}

.home-hero-v2::after {
  width: clamp(200px, 24vw, 360px);
  height: clamp(200px, 24vw, 360px);
  right: -8%;
  bottom: -22%;
  border-radius: 44% 56% 52% 48%;
  background:
    conic-gradient(from 145deg, rgba(244, 201, 93, 0.14), rgba(125, 225, 248, 0.22), rgba(88, 101, 242, 0.08), rgba(244, 201, 93, 0.14));
  filter: blur(16px);
  opacity: 0.55;
}

.home-hero-v2 > * {
  position: relative;
  z-index: 1;
}

.home-hero-copy {
  display: grid;
  align-content: start;
  gap: 0.9rem;
}

.home-hero-badge {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, #5865f2, #4752c4);
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.3);
}

.home-hero-badge i {
  font-size: 0.95rem;
}

.home-hero-copy h1 {
  margin: 0.4rem 0 0;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(2.4rem, 5.2vw, 4.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: #f0f4ff;
}

.home-hero-copy h1 span {
  display: inline;
}

.home-hero-copy h1 .home-hero-line {
  display: block;
}

.home-hero-copy h1 .home-hero-line-top {
  white-space: nowrap;
}

#homeHeroRotatingWord,
#featuresHeroRotatingWord {
  display: inline-block;
  min-width: 9ch;
}

#aboutHeroRotatingWord {
  display: inline-block;
  min-width: 0;
}

#homeHeroRotatingWord::after,
#featuresHeroRotatingWord::after,
#aboutHeroRotatingWord::after {
  content: '|';
  margin-left: 0.03em;
  animation: homeHeroCaretBlink 0.9s step-end infinite;
}

@keyframes homeHeroCaretBlink {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

.home-hero-copy .hero-sub {
  margin: 0.2rem 0 0;
  color: #b0c0e3;
  font-size: 1.08rem;
  line-height: 1.55;
  max-width: 62ch;
}

.home-hero-copy .features-bet-duo {
  margin-top: 0.4rem;
}

.home-hero-copy .features-bet-list-grid {
  margin-top: 0.2rem;
}

.home-hero-copy .features-hero-actions {
  margin-top: 0.6rem;
}

.home-hero-panel {
  position: relative;
  z-index: 4;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(88, 101, 242, 0.22);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(88, 101, 242, 0.12), transparent 58%),
    linear-gradient(180deg, rgba(16, 26, 46, 0.92), rgba(8, 15, 28, 0.98));
  border-radius: 22px;
  padding: 1.2rem;
  box-shadow:
    0 24px 52px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.home-hero-panel-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(36% 32% at 12% 88%, rgba(88, 101, 242, 0.16), transparent 72%),
    radial-gradient(28% 24% at 88% 80%, rgba(125, 225, 248, 0.14), transparent 76%);
  pointer-events: none;
  z-index: 0;
}

.home-hero-panel-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.home-hero-panel-orb.orb-a {
  width: 180px;
  height: 180px;
  top: -40px;
  right: -40px;
  background: radial-gradient(circle, rgba(88, 101, 242, 0.45), transparent 66%);
  animation: homeOrbFloat 7s ease-in-out infinite;
}

.home-hero-panel-orb.orb-b {
  width: 140px;
  height: 140px;
  bottom: -30px;
  left: -30px;
  background: radial-gradient(circle, rgba(125, 225, 248, 0.35), transparent 68%);
  animation: homeOrbFloat 8s ease-in-out infinite reverse;
}

.home-hero-v2 > .home-hero-top5-badge {
  position: absolute;
  right: 0;
  top: auto;
  bottom: 18px;
  transform: translate(76%, 0);
  width: clamp(150px, 18vw, 230px);
  max-width: 30%;
  height: auto;
  opacity: 0.96;
  pointer-events: none;
  z-index: 8;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.45));
}

.home-hero-panel .panel-head {
  position: relative;
  z-index: 5;
  margin-bottom: 0.9rem;
}

.home-hero-panel .panel-head--switch {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 0.65rem;
}

.home-trending-switch {
  display: inline-flex;
  gap: 0.3rem;
  padding: 0.2rem;
  border-radius: 999px;
  border: 1px solid rgba(88, 101, 242, 0.28);
  background: rgba(10, 18, 34, 0.56);
}

.home-trending-switch__btn {
  border: 0;
  border-radius: 999px;
  padding: 0.26rem 0.62rem;
  background: transparent;
  color: #a8b7d9;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease;
}

.home-trending-switch__btn.is-active {
  background: rgba(88, 101, 242, 0.28);
  color: #f0f4ff;
}

.home-trending-switch__btn:hover,
.home-trending-switch__btn:focus-visible {
  color: #f0f4ff;
}

.home-trending-pane[hidden] {
  display: none !important;
}

.home-hero-panel .panel-head h2 {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.05rem;
  color: #f0f4ff;
}

.home-hero-panel .panel-head h2 i {
  color: #a5b4fc;
}

.home-hero-panel .panel-head a {
  justify-self: end;
  color: #a5b4fc;
  font-size: 0.84rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 0.18s ease;
}

.home-hero-panel .panel-head a:hover {
  color: #f0f4ff;
}

.home-hero-panel .server-row {
  position: relative;
  z-index: 5;
  overflow: hidden;
  border-color: rgba(88, 101, 242, 0.24);
  background:
    radial-gradient(circle at 0% 50%, rgba(88, 101, 242, 0.12), transparent 48%),
    linear-gradient(180deg, rgba(11, 20, 38, 0.9), rgba(8, 14, 28, 0.98));
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(88, 101, 242, 0.08) inset;
}

.home-hero-panel .row-actions {
  position: relative;
  z-index: 6;
}

.home-hero-panel .vote-total {
  font-size: 1rem;
}

.home-hero-panel .server-row::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(125, 225, 248, 0.52), transparent);
  opacity: 0.4;
  pointer-events: none;
}

.home-hero-panel .server-row-link:hover {
  border-color: rgba(88, 101, 242, 0.45);
  background:
    radial-gradient(circle at 0% 50%, rgba(125, 225, 248, 0.16), transparent 52%),
    linear-gradient(180deg, rgba(18, 31, 58, 0.96), rgba(10, 18, 34, 0.98));
  box-shadow:
    0 16px 30px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(88, 101, 242, 0.14) inset;
}

.trending-rank-watermark {
  position: absolute;
  right: 30%;
  top: 50%;
  transform: translate(50%, -50%);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
  color: rgba(88, 101, 242, 0.12);
  text-shadow: none;
  pointer-events: none;
  transition: color 0.24s ease, text-shadow 0.24s ease, transform 0.24s ease;
}

.home-hero-panel .server-row-link:hover .trending-rank-watermark,
.home-hero-panel .server-row-link:focus-visible .trending-rank-watermark {
  color: rgba(125, 225, 248, 0.8);
  text-shadow:
    0 0 8px rgba(125, 225, 248, 0.42),
    0 0 18px rgba(88, 101, 242, 0.34);
  transform: translate(50%, -50%) scale(1.03);
}

@media (max-width: 680px) {
  .home-hero-v2 > .home-hero-top5-badge {
    right: 0;
    top: auto;
    bottom: 16px;
    transform: translate(48%, 0);
    width: 124px;
    max-width: 38%;
    opacity: 0.76;
  }

  .home-hero-panel .panel-head--switch {
    grid-template-columns: 1fr;
    gap: 0.48rem;
  }

  .home-hero-panel .panel-head--switch a {
    justify-self: start;
  }
}

@keyframes homeOrbFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -14px, 0) scale(1.05); }
}

@keyframes homeStatTrendUpPulse {
  0% {
    box-shadow:
      0 18px 36px rgba(0, 0, 0, 0.24),
      0 0 0 0 rgba(82, 228, 143, 0.46);
  }
  45% {
    box-shadow:
      0 24px 48px rgba(0, 0, 0, 0.28),
      0 0 0 8px rgba(82, 228, 143, 0.2);
  }
  100% {
    box-shadow:
      0 18px 36px rgba(0, 0, 0, 0.24),
      0 0 0 0 rgba(82, 228, 143, 0);
  }
}

@keyframes homeStatTrendDownPulse {
  0% {
    box-shadow:
      0 18px 36px rgba(0, 0, 0, 0.24),
      0 0 0 0 rgba(255, 105, 120, 0.44);
  }
  45% {
    box-shadow:
      0 24px 48px rgba(0, 0, 0, 0.28),
      0 0 0 8px rgba(255, 105, 120, 0.2);
  }
  100% {
    box-shadow:
      0 18px 36px rgba(0, 0, 0, 0.24),
      0 0 0 0 rgba(255, 105, 120, 0);
  }
}

/* Home stats v2 */
.home-stats-wrap {
  border-top: 1px solid rgba(88, 101, 242, 0.14);
  border-bottom: 1px solid rgba(88, 101, 242, 0.14);
  background:
    radial-gradient(circle at 18% 50%, rgba(88, 101, 242, 0.08), transparent 48%),
    radial-gradient(circle at 82% 50%, rgba(125, 225, 248, 0.06), transparent 50%),
    linear-gradient(180deg, rgba(12, 20, 36, 0.6), rgba(8, 14, 26, 0.4));
}

.home-stats-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 2.2rem 0;
}

.home-stats-grid article {
  position: relative;
  text-align: center;
  border-radius: 20px;
  border: 1px solid rgba(88, 101, 242, 0.18);
  background:
    radial-gradient(circle at 50% 0%, rgba(88, 101, 242, 0.12), transparent 54%),
    linear-gradient(180deg, rgba(16, 26, 46, 0.72), rgba(8, 15, 28, 0.86));
  padding: 1.35rem 0.8rem 1.15rem;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.home-stats-grid article::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #5865f2, #7de1f8, transparent);
  opacity: 0.6;
}

.home-stats-grid article::after {
  content: '';
  position: absolute;
  inset: -40% auto auto -110%;
  width: 70%;
  height: 220%;
  transform: rotate(18deg);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0)
  );
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition: left 0.52s ease, opacity 0.24s ease;
}

.home-stats-grid article > * {
  position: relative;
  z-index: 1;
}

.home-stats-grid article:hover,
.home-stats-grid article:focus-within {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(125, 225, 248, 0.5);
  background:
    radial-gradient(circle at 50% 0%, rgba(125, 225, 248, 0.18), transparent 56%),
    linear-gradient(180deg, rgba(18, 30, 56, 0.88), rgba(8, 15, 28, 0.96));
  box-shadow:
    0 26px 52px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(125, 225, 248, 0.16) inset,
    0 0 24px rgba(88, 101, 242, 0.22);
}

.home-stats-grid article:hover::after,
.home-stats-grid article:focus-within::after {
  left: 150%;
  opacity: 0.9;
}

.home-stat-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  margin: 0 auto 0.9rem;
  color: #070d1a;
  background: linear-gradient(135deg, #a5b4fc, #5865f2);
  box-shadow: 0 14px 30px rgba(88, 101, 242, 0.28);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, filter 0.3s ease;
}

.home-stat-icon i {
  font-size: 2rem;
  transition: transform 0.3s ease;
}

.home-stats-grid article:hover .home-stat-icon,
.home-stats-grid article:focus-within .home-stat-icon {
  transform: translateY(-3px) scale(1.06);
  box-shadow:
    0 18px 34px rgba(88, 101, 242, 0.38),
    0 0 20px rgba(125, 225, 248, 0.26);
  filter: saturate(1.06);
}

.home-stats-grid article:hover .home-stat-icon i,
.home-stats-grid article:focus-within .home-stat-icon i {
  transform: rotate(-8deg) scale(1.04);
}

.home-stats-grid h3 {
  margin: 0;
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  font-weight: 900;
  line-height: 1.05;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  color: #f0f4ff;
  transition: letter-spacing 0.26s ease, text-shadow 0.26s ease;
}

.home-stats-grid p {
  margin: 0.35rem 0 0;
  color: #a5b4fc;
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color 0.26s ease, letter-spacing 0.26s ease;
}

.home-stats-grid article:hover h3,
.home-stats-grid article:focus-within h3 {
  letter-spacing: 0.01em;
  text-shadow:
    0 0 10px rgba(125, 225, 248, 0.26),
    0 0 24px rgba(88, 101, 242, 0.24);
}

.home-stats-grid article:hover p,
.home-stats-grid article:focus-within p {
  color: #c4ddff;
  letter-spacing: 0.03em;
}

.home-stats-grid article.home-stat-trend-up {
  border-color: rgba(82, 228, 143, 0.54);
  animation: homeStatTrendUpPulse 1.2s ease;
}

.home-stats-grid article.home-stat-trend-up h3 {
  color: #9afdc2;
}

.home-stats-grid article.home-stat-trend-up .home-stat-icon {
  background: linear-gradient(135deg, #8ef0bf, #2fbf83);
}

.home-stats-grid article.home-stat-trend-down {
  border-color: rgba(255, 105, 120, 0.56);
  animation: homeStatTrendDownPulse 1.2s ease;
}

.home-stats-grid article.home-stat-trend-down h3 {
  color: #ffafbb;
}

.home-stats-grid article.home-stat-trend-down .home-stat-icon {
  background: linear-gradient(135deg, #ff9bab, #ff5f76);
}

.home-stats-grid .home-stat-member-reach {
  text-align: center;
  padding: 1.35rem 0.8rem 1.15rem;
  border-radius: 20px;
}

.home-stats-grid .home-stat-member-reach .home-stat-icon {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 0 auto 0.9rem;
  border-radius: 20px;
}

.home-stats-grid .home-stat-member-reach .home-stat-icon i {
  font-size: 2rem;
}

.home-stats-grid .home-stat-member-reach h3 {
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  letter-spacing: 0;
}

.home-stats-grid .home-stat-member-reach p {
  margin: 0.35rem 0 0;
  color: #a5b4fc;
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Home steps */
.home-steps {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 0;
  margin-top: 70px;
  padding-top: 2.2rem;
}

.home-steps-inner {
  padding-bottom: 0.75rem;
}

.home-steps::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(88, 101, 242, 0.16), transparent 42%),
    radial-gradient(circle at 80% 80%, rgba(125, 225, 248, 0.12), transparent 44%);
  background-size: auto, auto;
  background-position: center, center;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

.home-steps > * {
  position: relative;
  z-index: 1;
}

.home-steps-head {
  text-align: center;
  max-width: 54ch;
  margin: 0 auto 1.6rem;
}

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

.home-step-card {
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(88, 101, 242, 0.18);
  background:
    radial-gradient(circle at 14% 8%, rgba(88, 101, 242, 0.1), transparent 48%),
    linear-gradient(180deg, rgba(18, 28, 48, 0.86), rgba(8, 15, 28, 0.96));
  padding: 1.3rem;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.home-step-card:hover {
  transform: translateY(-5px);
  border-color: rgba(88, 101, 242, 0.42);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(88, 101, 242, 0.12) inset;
}

.home-step-num {
  position: absolute;
  top: 0.8rem;
  right: 0.95rem;
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(88, 101, 242, 0.16);
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  transition: color 0.24s ease, text-shadow 0.24s ease, transform 0.24s ease;
}

.home-step-card:hover .home-step-num,
.home-step-card:focus-within .home-step-num {
  color: rgba(125, 225, 248, 0.82);
  text-shadow:
    0 0 8px rgba(125, 225, 248, 0.42),
    0 0 18px rgba(88, 101, 242, 0.34);
  transform: scale(1.03);
}

.home-step-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  font-size: 1.2rem;
  color: #070d1a;
  background: linear-gradient(135deg, #5865f2, #7de1f8);
  box-shadow: 0 12px 26px rgba(88, 101, 242, 0.28);
  margin-bottom: 1rem;
}

.home-step-card h3 {
  margin: 0;
  font-size: 1.15rem;
  color: #f0f4ff;
}

.home-step-card p {
  margin: 0.55rem 0 0;
  color: #b0c0e3;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Home CTA */
.home-cta-v2 {
  margin-bottom: 0.5rem;
}

/* TDS theme overrides */
[data-theme="tds"] .home-hero-v2::before {
  background:
    radial-gradient(circle at 14% 18%, rgba(88, 101, 242, 0.22), #0c101c 46%),
    radial-gradient(circle at 86% 14%, rgba(125, 225, 248, 0.16), #0c1222 50%),
    radial-gradient(circle at 52% 74%, rgb(110 174 245), #0b1223 54%),
    linear-gradient(145deg, rgba(16, 26, 50, 0.86) 0%, rgba(10, 20, 40, 0.78) 54%, rgba(6, 14, 30, 0.9) 100%);
}

[data-theme="tds"] .home-hero-v2::after {
  opacity: 0.65;
  background:
    conic-gradient(from 145deg, rgba(244, 201, 93, 0.16), rgba(125, 225, 248, 0.24), rgba(88, 101, 242, 0.1), rgba(244, 201, 93, 0.16));
}

[data-theme="tds"] .home-hero-panel {
  border-color: rgba(88, 101, 242, 0.28);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(88, 101, 242, 0.14), transparent 58%),
    linear-gradient(180deg, rgba(14, 24, 44, 0.94), rgba(6, 12, 24, 0.98));
}

[data-theme="tds"] .home-hero-panel::before {
  display: none;
}

[data-theme="tds"] .home-stats-wrap {
  background:
    radial-gradient(circle at 18% 50%, rgba(88, 101, 242, 0.1), transparent 48%),
    radial-gradient(circle at 82% 50%, rgba(125, 225, 248, 0.08), transparent 50%),
    linear-gradient(180deg, rgba(10, 18, 34, 0.7), rgba(6, 12, 24, 0.5));
}

[data-theme="tds"] .home-stats-grid article {
  border-color: rgba(88, 101, 242, 0.22);
  background:
    radial-gradient(circle at 50% 0%, rgba(88, 101, 242, 0.14), transparent 54%),
    linear-gradient(180deg, rgba(14, 24, 44, 0.78), rgba(6, 12, 24, 0.9));
}

[data-theme="tds"] .home-stats-grid article:hover,
[data-theme="tds"] .home-stats-grid article:focus-within {
  border-color: rgba(125, 225, 248, 0.58);
  background:
    radial-gradient(circle at 50% 0%, rgba(125, 225, 248, 0.2), transparent 56%),
    linear-gradient(180deg, rgba(16, 28, 52, 0.9), rgba(7, 13, 26, 0.98));
}

[data-theme="tds"] .home-stats-grid p {
  color: #a5b4fc;
}

[data-theme="tds"] .home-step-card {
  border-color: rgba(88, 101, 242, 0.22);
  background:
    radial-gradient(circle at 14% 8%, rgba(88, 101, 242, 0.12), transparent 48%),
    linear-gradient(180deg, rgba(16, 26, 46, 0.9), rgba(6, 12, 24, 0.98));
}[data-theme="tds"] .home-step-card:hover .home-step-num,
[data-theme="tds"] .home-step-card:focus-within .home-step-num {
  color: rgba(125, 225, 248, 0.95);
  text-shadow:
    0 0 10px rgba(125, 225, 248, 0.52),
    0 0 22px rgba(88, 101, 242, 0.42);
  transform: scale(1.04);
}

/* Responsive */
@media (max-width: 980px) {
  .home-bg-art__mascot--primary {
    opacity: 0.05;
    right: -88px;
    bottom: 8px;
  }

  .home-bg-art__mascot--secondary {
    opacity: 0.02;
  }

  .home-hero-v2 {
    grid-template-columns: 1fr;
    padding: 2.4rem 0 2rem;
  }

  .home-hero-panel {
    order: 0;
  }

  .home-hero-copy {
    text-align: center;
    justify-items: center;
  }

  .home-hero-copy h1 span {
    display: inline;
  }

  .home-hero-copy .features-bet-duo {
    text-align: left;
    justify-self: stretch;
  }

  .home-hero-copy .features-bet-list-grid {
    text-align: left;
    justify-self: stretch;
  }

  .home-hero-copy .features-hero-actions {
    justify-content: center;
  }

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

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

@media (max-width: 640px) {
  .home-bg-art__mascot--primary {
    width: clamp(180px, 42vw, 260px);
    opacity: 0.045;
    right: -72px;
    bottom: 18px;
  }

  .home-bg-art__mascot--secondary {
    display: none;
  }

  .home-hero-copy h1 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .home-hero-copy .features-bet-duo {
    grid-template-columns: 1fr;
  }

  .home-hero-copy .features-bet-list-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .home-stats-grid {
    grid-template-columns: 1fr;
  }

  .home-step-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-panel {
    padding: 1rem;
  }

  .home-hero-panel .server-row {
    grid-template-columns: auto 1fr;
  }

  .home-hero-panel .row-actions {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {.home-hero-panel-orb {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .home-stats-grid article,
  .home-stat-icon,
  .home-stat-icon i,
  .home-stats-grid h3,
  .home-stats-grid p,
  .home-stats-grid article::after {
    transition: none !important;
  }
}

/* Bot Add Page */
.bot-add-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 1.2rem;
  margin-top: 1.25rem;
}

.account-discord-hero a,
.account-discord-hero a:visited,
.account-discord-hero a:hover,
.account-discord-hero a:active {
  color: #a5b4fc !important;
}

.bot-add-card {
  border: 1px solid rgba(124, 142, 255, 0.28);
  border-radius: 22px;
  background:
    radial-gradient(circle at 10% 10%, rgb(11 17 33), transparent 46%),
    linear-gradient(180deg, rgba(16, 27, 47, 0.92), rgba(9, 16, 30, 0.97));
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(124, 142, 255, 0.12) inset;
}

.bot-add-sidebar {
  padding: 1.4rem;
}

.bot-add-sidebar h2 {
  margin: 0;
  font-size: 2rem;
}

.bot-add-sidebar p {
  margin: 0.55rem 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.bot-step-list {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.25rem;
}

.bot-step-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  padding: 0.38rem 0;
}

.bot-step-pill {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  background: rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid transparent;
}

.bot-step-pill.is-active {
  background: linear-gradient(135deg, #5865f2, #7de1f8);
  color: #070d1a;
}

.bot-step-pill.is-done {
  border-color: rgba(93, 133, 242, 0.72);
  color: #7de1f8;
  background: rgba(88, 101, 242, 0.08);
}

.bot-step-title {
  font-weight: 700;
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.86);
}

.bot-step-item.is-active .bot-step-title {
  color: #fff;
}

.bot-add-main {
  padding: 1.6rem 1.75rem;
}

.bot-add-step {
  display: none;
}

.bot-add-step.is-active {
  display: block;
}

.bot-eyebrow {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.2rem;
  font-weight: 700;
}

.bot-add-main h3 {
  margin: 0.4rem 0 0;
  font-size: 2.5rem;
}

.bot-subcopy {
  margin: 0.75rem 0 1.5rem;
  color: rgba(255, 255, 255, 0.74);
}

.bot-form-grid {
  display: grid;
  gap: 1.15rem;
}

.bot-form-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 0.95rem;
  align-items: start;
}

.bot-add-step .bot-form-row > .ql-toolbar,
.bot-add-step .bot-form-row > .bot-quill-editor {
  grid-column: 2 / -1;
  width: 100% !important;
  align-self: start;
}

.bot-add-step .bot-form-row:has(> .bot-quill-editor) {
  row-gap: 0;
}

.bot-add-step .bot-form-row:has(> .bot-quill-editor) > .bot-field-copy {
  grid-row: 1 / span 2;
}

.bot-add-step .bot-form-row:has(> .bot-quill-editor) > .ql-toolbar {
  grid-row: 1;
}

.bot-add-step .bot-form-row:has(> .bot-quill-editor) > .bot-quill-editor {
  grid-row: 2;
}

.bot-add-step .bot-form-row > .ql-toolbar.ql-snow,
.bot-add-step .bot-form-row > .bot-quill-editor.ql-container.ql-snow {
  border-color: rgba(124, 142, 255, 0.42) !important;
  background: rgba(9, 16, 30, 0.94) !important;
}

.bot-add-step .bot-form-row > .ql-toolbar.ql-snow {
  border-radius: 10px 10px 0 0;
  border-bottom: 0 !important;
}

.bot-add-step .bot-form-row > .bot-quill-editor.ql-container.ql-snow {
  margin: 0 !important;
  border-radius: 0 0 10px 10px;
}

.bot-add-step .bot-quill-editor .ql-editor {
  min-height: 11rem;
  color: #eef6ff;
  background: rgba(8, 14, 24, 0.9) !important;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.bot-add-step .bot-quill-editor .ql-editor * {
  color: inherit;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.bot-add-step .bot-quill-editor .ql-editor.ql-blank::before {
  color: rgba(185, 202, 224, 0.78) !important;
  opacity: 1 !important;
}

.bot-add-step .bot-form-row > .bot-field-count {
  grid-column: 2 / -1;
  margin-top: 0.4rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.bot-add-step .bot-form-row > .bot-field-count.is-error {
  color: #f26b7a;
}

.bot-add-step .bot-form-row:has(> .bot-quill-editor) > .bot-field-count {
  grid-row: 3;
}


.bot-add-step .ql-toolbar.ql-snow .ql-picker,
.bot-add-step .ql-toolbar.ql-snow .ql-picker-label,
.bot-add-step .ql-toolbar.ql-snow button {
  color: #e5f0ff !important;
}

.bot-add-step .ql-toolbar.ql-snow .ql-stroke {
  stroke: #dbe8f8 !important;
}

.bot-add-step .ql-toolbar.ql-snow .ql-fill,
.bot-add-step .ql-toolbar.ql-snow .ql-stroke.ql-fill {
  fill: #dbe8f8 !important;
}

.bot-add-step .ql-toolbar.ql-snow .ql-picker-options {
  border-color: rgba(124, 142, 255, 0.42) !important;
  background: #101a2d !important;
  color: #e5f0ff !important;
}

.bot-add-step .ql-toolbar.ql-snow button:hover,
.bot-add-step .ql-toolbar.ql-snow button:focus-visible,
.bot-add-step .ql-toolbar.ql-snow .ql-picker-label:hover,
.bot-add-step .ql-toolbar.ql-snow .ql-picker-label.ql-active,
.bot-add-step .ql-toolbar.ql-snow .ql-picker-item:hover,
.bot-add-step .ql-toolbar.ql-snow .ql-picker-item.ql-selected {
  color: #f4c95d !important;
}

.bot-add-step .ql-toolbar.ql-snow button:hover .ql-stroke,
.bot-add-step .ql-toolbar.ql-snow button:focus-visible .ql-stroke,
.bot-add-step .ql-toolbar.ql-snow .ql-picker-label:hover .ql-stroke,
.bot-add-step .ql-toolbar.ql-snow .ql-picker-label.ql-active .ql-stroke {
  stroke: #f4c95d !important;
}

.bot-add-step .ql-toolbar.ql-snow button:hover .ql-fill,
.bot-add-step .ql-toolbar.ql-snow button:focus-visible .ql-fill,
.bot-add-step .ql-toolbar.ql-snow .ql-picker-label:hover .ql-fill,
.bot-add-step .ql-toolbar.ql-snow .ql-picker-label.ql-active .ql-fill {
  fill: #f4c95d !important;
}

.bot-form-row--appid {
  grid-template-columns: 260px minmax(0, 1fr);
}

.bot-field-copy strong {
  display: block;
  font-size: 1.2rem;
}

.bot-field-copy small {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.95rem;
}

.bot-field-copy small a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bot-field-copy small a:hover {
  color: inherit;
}

.bot-input,
.bot-textarea,
.bot-select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 0.72rem 0.78rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  font-size: 1.05rem;
}

.bot-select {
  color-scheme: dark;
}

.bot-select option {
  background-color: #172233;
  color: #e9f3ff;
}

.bot-select option:checked,
.bot-select option:hover {
  background-color: #2b3b57;
  color: #ffffff;
}

.bot-textarea {
  min-height: 170px;
  resize: vertical;
}

.bot-inline {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}

.bot-appid-inline .bot-input {
  flex: 0 1 640px;
  max-width: 640px;
}

.bot-appid-inline .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.bot-divider {
  margin: 1.6rem 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bot-found-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 0.82rem;
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.bot-found-card.is-visible {
  display: flex;
}

.bot-avatar {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f4c95d 0%, #7c8eff 54%, #4c5fe9 100%);
  color: #101a32;
  display: grid;
  place-items: center;
  font-weight: 800;
  overflow: hidden;
}

.bot-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.bot-found-meta strong {
  display: block;
  font-size: 1.1rem;
}

.bot-found-meta small {
  color: rgba(255, 255, 255, 0.66);
}

.bot-picker {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  padding: 0.7rem;
  display: grid;
  gap: 0.65rem;
}

.bot-picker-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
}

.bot-chip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bot-chip {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.95rem;
}

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

.bot-check-grid label {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.48rem 0.55rem;
}

.bot-language-flag {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.05rem;
}

.bot-check-grid input {
  accent-color: #ff3f8d;
}

.bot-social-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 44px;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.bot-social-chips {
  margin-top: 0.6rem;
}

.bot-social-chip-remove {
  margin-left: 0.35rem;
  padding: 0.1rem 0.35rem;
}

.bot-step-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 1.1rem;
}

.bot-summary {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  padding: 0.9rem;
  margin-bottom: 1rem;
}

.bot-review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1rem;
}

.bot-review-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.68rem;
}

.bot-review-item strong {
  display: block;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 0.2rem;
}

.bot-review-item span {
  color: rgba(255, 255, 255, 0.64);
}

.bot-review-bot-name {
  font-size: 1.25rem;
}

.bot-review-title {
  margin-top: 0;
  font-size: 1.7rem;
}

.bot-review-subcopy {
  margin-top: 0.2rem;
}

.bot-review-confirm {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  align-items: flex-start;
}

.bot-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.bot-checklist li {
  display: flex;
  align-items: center;
  gap: 0.48rem;
  color: rgba(255, 255, 255, 0.77);
}

.bot-checklist li.is-missing {
  color: #ff819e;
}

.bot-checklist i {
  width: 1rem;
  text-align: center;
}

.bot-muted {
  color: rgba(255, 255, 255, 0.62);
}

.bot-verify-note {
  margin: 0.45rem 0 0;
}

@media (max-width: 1050px) {
  .bot-add-layout {
    grid-template-columns: 1fr;
  }

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

  .bot-add-step .bot-form-row > .ql-toolbar,
  .bot-add-step .bot-form-row > .bot-quill-editor {
    grid-column: 1 / -1;
  }

  .bot-add-step .bot-form-row:has(> .bot-quill-editor) > .bot-field-copy,
  .bot-add-step .bot-form-row:has(> .bot-quill-editor) > .ql-toolbar,
  .bot-add-step .bot-form-row:has(> .bot-quill-editor) > .bot-quill-editor {
    grid-row: auto;
  }

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

@media (max-width: 700px) {
  .bot-appid-inline {
    flex-direction: column;
    align-items: stretch;
  }

  .bot-appid-inline .bot-input {
    max-width: none;
  }

  .bot-check-grid {
    grid-template-columns: 1fr;
  }

  .bot-review-grid {
    grid-template-columns: 1fr;
  }

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


/* ===== migrated inline page styles ===== */
/* statistics tooltip dot colors */
.statistics-tooltip-dot {
  font-weight: 700;
}

.statistics-tooltip-dot--1 { color: #58a6ff; }
.statistics-tooltip-dot--2 { color: #a371f7; }
.statistics-tooltip-dot--3 { color: #238636; }
.statistics-tooltip-dot--4 { color: #f0883e; }
.statistics-tooltip-dot--5 { color: #ec8c32; }
.statistics-tooltip-dot--6 { color: #d2a8ff; }
.statistics-tooltip-dot--7 { color: #79c0ff; }
.statistics-tooltip-dot--8 { color: #56d364; }
.statistics-tooltip-dot--9 { color: #f778ba; }
.statistics-tooltip-dot--10 { color: #ffa657; }

/* migrated from resources/views/auth/login.blade.php */
.auth-hero {
        width: min(980px, calc(100% - 1.5rem));
        margin: 0 auto;
        border-radius: 36px;
        border: 1px solid rgba(137, 162, 186, 0.14);
        background:
          radial-gradient(circle at 18% 18%, rgba(88, 101, 242, 0.16), transparent 32%),
          radial-gradient(circle at 86% 80%, rgba(125, 225, 248, 0.1), transparent 34%),
          linear-gradient(155deg, rgba(18, 28, 40, 0.98), rgba(8, 13, 20, 0.98));
        box-shadow: 0 34px 110px rgba(0, 0, 0, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.06);
        overflow: hidden;
        position: relative;
      }
      .auth-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%235865f2' fill-opacity='0.045'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        opacity: 0.8;
        pointer-events: none;
      }
      .auth-hero__inner {
        position: relative;
        z-index: 1;
        padding: clamp(2.3rem, 6vw, 4rem);
      }
      .auth-hero__header {
        text-align: center;
      }
      .auth-hero__header .auth-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        color: #ffffff;
        font-weight: 700;
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
      }
      .auth-hero__header .auth-eyebrow i {
        color: rgba(255, 255, 255, 0.92);
      }
      .auth-hero__header h1 {
        margin: 0.8rem 0 0;
        font-family: Inter, "Segoe UI", system-ui, sans-serif;
        font-size: clamp(2.4rem, 6vw, 4rem);
        font-weight: 900;
        letter-spacing: -0.035em;
        line-height: 1.02;
        background: linear-gradient(135deg, #ffffff 0%, #b0c0e3 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
      }
      .auth-hero__lead {
        max-width: 56ch;
        margin: 0.9rem auto 0;
        color: var(--muted, #b0c0e3);
        font-size: 1.08rem;
        line-height: 1.65;
      }
      .auth-hero__body {
        margin-top: 2.2rem;
        display: flex;
        flex-wrap: wrap;
        gap: 1.5rem;
      }
      .auth-hero__col {
        flex: 1 1 0;
        min-width: 280px;
      }
      .auth-hero .auth-feature-grid {
        margin-top: 0;
      }
      .auth-hero__card {
        width: 100%;
        max-width: 460px;
        margin: 0 auto;
        background: transparent;
        border: 0;
        box-shadow: none;
        padding: 0;
      }
      .auth-hero__actions {
        position: relative;
        z-index: 1;
        margin-top: 1rem;
        display: grid;
        gap: 0.75rem;
        place-items: center;
      }
      .auth-hero__actions .cf-turnstile {
        display: flex;
        justify-content: center;
      }
      .auth-hero__turnstile-status {
        min-height: 1.1rem;
        color: #f4c95d;
        font-size: 0.82rem;
        text-align: center;
      }
      .auth-hero__note {
        color: var(--muted, #b0c0e3);
        font-size: 0.9rem;
        text-align: center;
      }
      @media (max-width: 900px) {
        .auth-hero__col {
          min-width: 100%;
        }
      }

/* migrated from resources/views/pages/account-discord.blade.php */

      .account-inline-form label > span,
      .account-inline-form .account-required-note,
      .account-inline-form .account-field-note,
      .account-inline-form .account-inline-feedback {
        color: #dce8f4;
      }

      .account-inline-form input,
      .account-inline-form select,
      .account-inline-form textarea {
        color: #f3f7ff;
        background: rgba(8, 14, 20, 0.88);
        border-color: rgba(147, 174, 197, 0.3);
      }

      .account-inline-form input::placeholder,
      .account-inline-form textarea::placeholder {
        color: rgba(214, 226, 241, 0.66);
      }

      .account-inline-form select option {
        color: #0b121a;
        background: #f4f8ff;
      }

      .account-discord-panel .ql-editor {
        color: #f3f7ff;
        background: rgba(8, 14, 20, 0.92) !important;
        margin: 0 !important;
        min-height: 180px;
      }

      .account-discord-panel .ql-toolbar,
      .account-discord-panel .ql-container {
        background: #0f1823 !important;
        border-color: rgba(124, 142, 255, 0.34) !important;
      }

      .account-discord-panel .ql-toolbar {
        border-bottom: 0 !important;
      }

      .account-discord-panel .ql-container {
        margin: 0 !important;
      }

      .account-discord-panel .ql-toolbar button,
      .account-discord-panel .ql-toolbar .ql-picker-label,
      .account-discord-panel .ql-toolbar .ql-picker-item {
        color: #e7f2ff !important;
      }

      .account-discord-panel .ql-toolbar .ql-stroke {
        stroke: #dbe8f8 !important;
      }

      .account-discord-panel .ql-toolbar .ql-fill {
        fill: #dbe8f8 !important;
      }

/* migrated from resources/views/pages/bot-vote-endpoint.blade.php */
.bot-vote-shell {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
        margin-top: 1.25rem;
      }

      .bot-vote-card {
        background: rgba(10, 16, 29, 0.84);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 18px;
        padding: 1rem;
        box-shadow: 0 18px 50px rgba(4, 10, 20, 0.38);
      }

      .bot-vote-card h2 {
        margin-top: 0;
      }

      .bot-vote-form {
        display: grid;
        gap: 0.85rem;
      }

      .bot-vote-form label {
        font-weight: 700;
        font-size: 0.9rem;
        display: grid;
        gap: 0.4rem;
      }

      .bot-vote-form input,
      .bot-vote-form select {
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.16);
        background: rgba(8, 13, 24, 0.75);
        color: #fff;
        padding: 0.62rem 0.74rem;
      }

      .bot-vote-form button {
        justify-self: start;
      }

      .bot-vote-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.55rem;
      }

      .bot-vote-presets {
        display: grid;
        gap: 0.55rem;
      }

      .bot-vote-presets-title {
        margin: 0;
        font-size: 1rem;
        font-weight: 800;
        color: rgba(255, 255, 255, 0.82);
      }

      .bot-vote-presets-list {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
      }

      .bot-vote-presets + label {
        margin-top: 0.9rem;
      }

      .bot-vote-output,
      .bot-vote-request {
        font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
        font-size: 0.85rem;
        line-height: 1.45;
        max-height: 380px;
        overflow: auto;
        background: rgba(3, 7, 14, 0.9);
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        padding: 0.8rem;
        margin: 0;
      }

      .bot-vote-meta {
        margin-bottom: 0.7rem;
        color: rgba(255, 255, 255, 0.82);
      }

      .status-badge {
        display: inline-flex;
        align-items: center;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        padding: 0.18rem 0.58rem;
        font-size: 0.82rem;
        font-weight: 700;
      }

      .status-badge.status-ok {
        border-color: rgba(52, 211, 153, 0.72);
        background: rgba(16, 185, 129, 0.2);
        color: #d1fae5;
      }

      .status-badge.status-error {
        border-color: rgba(248, 113, 113, 0.72);
        background: rgba(239, 68, 68, 0.2);
        color: #fee2e2;
      }

      @media (max-width: 900px) {
        .bot-vote-shell {
          grid-template-columns: 1fr;
        }
      }

/* migrated from resources/views/pages/blog.blade.php */
.blog-page-hero {
        position: relative;
        padding-bottom: clamp(2.5rem, 5vw, 4rem);
      }
      .blog-hero-layout {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        align-items: center;
        position: relative;
        z-index: 1;
      }
      @media (min-width: 1024px) {
        .blog-hero-layout {
          grid-template-columns: 1.05fr 0.95fr;
          gap: 3.5rem;
        }
      }
      .blog-hero-copy {
        max-width: 680px;
      }
      .blog-hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        border-radius: 999px;
        border: 1px solid rgba(88, 166, 255, 0.25);
        background: rgba(88, 166, 255, 0.12);
        color: #58a6ff;
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        padding: 0.45rem 0.95rem;
        margin-bottom: 1.25rem;
        width: fit-content;
      }
      .blog-hero-title {
        font-size: clamp(2.4rem, 5.8vw, 4.4rem);
        font-family: "Inter", "Segoe UI", system-ui, sans-serif;
        font-weight: 900;
        line-height: 1.05;
        letter-spacing: -0.025em;
        color: var(--text, #f3f7ff);
        margin: 0 0 1.2rem;
      }
      .blog-hero-title span {
        display: block;
      }
      .blog-title-accent {
        background: linear-gradient(120deg, #7de1f8 0%, #5865f2 50%, #a5b4fc 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow: 0 0 42px rgba(88, 101, 242, 0.28);
      }
      .blog-hero-sub {
        font-size: clamp(1.05rem, 1.7vw, 1.25rem);
        color: var(--muted, #b0c0e3);
        line-height: 1.65;
        margin-top: 0;
        margin-bottom: 1.8rem;
        max-width: 580px;
      }
      .blog-hero-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.85rem;
      }
      .blog-hero-badges {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        margin-top: 2rem;
        font-size: 0.82rem;
        font-weight: 700;
        color: #d8e0ff;
      }
      .blog-hero-mini-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        padding: 0.45rem 0.85rem;
        border-radius: 999px;
        border: 1px solid rgba(124, 142, 255, 0.2);
        background: rgba(13, 22, 40, 0.55);
      }
      .blog-hero-mini-badge i {
        color: #f4c95d;
      }
      .blog-hero-art {
        position: relative;
        min-height: clamp(320px, 40vw, 460px);
        display: grid;
        place-items: center;
        isolation: isolate;
      }
      .blog-hero-mascot {
        position: relative;
        z-index: 2;
        width: clamp(220px, 30vw, 380px);
        height: auto;
        object-fit: contain;
        filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.38));
      }

/* migrated from resources/views/pages/bot-vote-docs.blade.php */
.bot-docs code,
      .bot-docs pre {
        font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
      }

      .bot-docs pre {
        background: rgba(7, 13, 22, 0.92);
        border: 1px solid rgba(137, 162, 186, 0.24);
        border-radius: 14px;
        padding: 0.95rem;
        overflow-x: auto;
        font-size: 0.85rem;
        line-height: 1.55;
        color: #e8efff;
      }

      .bot-docs .doc-chip {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        padding: 0.25rem 0.7rem;
        border-radius: 999px;
        border: 1px solid rgba(137, 162, 186, 0.28);
        color: #d8e4ff;
        font-size: 0.78rem;
        margin-right: 0.4rem;
        margin-bottom: 0.5rem;
      }

      .bot-docs .doc-step-list {
        margin: 0;
        padding-left: 1.2rem;
      }

      .bot-docs .doc-step-list li {
        margin-bottom: 0.45rem;
      }

      .bot-docs .doc-callout {
        border: 1px solid rgba(137, 162, 186, 0.24);
        background: rgba(12, 20, 34, 0.7);
        border-radius: 14px;
        padding: 0.95rem;
        margin-top: 0.8rem;
      }

      .bot-docs .doc-inline {
        display: inline-block;
        padding: 0.15rem 0.45rem;
        border-radius: 6px;
        background: rgba(124, 142, 255, 0.16);
        border: 1px solid rgba(124, 142, 255, 0.35);
        color: #dbe5ff;
        font-size: 0.83rem;
      }

      .bot-docs .doc-tabs {
        display: flex;
        flex-wrap: wrap;
        gap: 0.55rem;
        margin: 0.9rem 0 1rem;
      }

      .bot-docs .doc-tab-btn {
        border: 1px solid rgba(137, 162, 186, 0.34);
        background: rgba(10, 17, 29, 0.78);
        color: #d7e4ff;
        border-radius: 999px;
        font-size: 0.82rem;
        font-weight: 700;
        padding: 0.45rem 0.8rem;
        cursor: pointer;
      }

      .bot-docs .doc-tab-btn.is-active {
        color: #121d33;
        border-color: rgba(244, 201, 93, 0.7);
        background: linear-gradient(125deg, #f4c95d 0%, #7c8eff 56%, #4c5fe9 100%);
      }

      .bot-docs .doc-tab-panel {
        border: 1px solid rgba(137, 162, 186, 0.24);
        border-radius: 14px;
        background: rgba(7, 13, 22, 0.55);
        padding: 0.85rem;
      }

      .bot-docs .doc-tab-panel p {
        margin-top: 0;
      }

      .bot-docs .doc-vars-table-wrap {
        margin-top: 0.65rem;
        border: 1px solid rgba(137, 162, 186, 0.28);
        border-radius: 10px;
        overflow: hidden;
        background: rgba(8, 13, 22, 0.92);
      }

      .bot-docs .doc-vars-table {
        width: 100%;
        border-collapse: collapse;
      }

      .bot-docs .doc-vars-table th,
      .bot-docs .doc-vars-table td {
        border-bottom: 1px solid rgba(137, 162, 186, 0.28);
        border-right: 1px solid rgba(137, 162, 186, 0.28);
        padding: 0.75rem 0.8rem;
        text-align: left;
        vertical-align: top;
      }

      .bot-docs .doc-vars-table th:last-child,
      .bot-docs .doc-vars-table td:last-child {
        border-right: 0;
      }

      .bot-docs .doc-vars-table tr:last-child td {
        border-bottom: 0;
      }

      .bot-docs .doc-vars-table th {
        color: #f2f7ff;
        font-size: 1rem;
        font-weight: 800;
        background: rgba(14, 21, 36, 0.96);
      }

      .bot-docs .doc-vars-table td {
        color: #dfe9ff;
        font-size: 0.98rem;
        line-height: 1.45;
      }

      .bot-docs .doc-vars-table .var-key {
        font-weight: 700;
        color: #f5f8ff;
      }

      .bot-docs .doc-vars-table .var-note {
        color: #9fb2d3;
        font-size: 0.86rem;
      }

      .bot-docs .doc-error-code {
        margin: 0.4rem 0 0;
        padding: 0.6rem 0.7rem;
        border-radius: 10px;
        border: 1px solid rgba(137, 162, 186, 0.22);
        background: rgba(7, 13, 22, 0.88);
        color: #dfe9ff;
        font-size: 0.82rem;
        line-height: 1.45;
        white-space: pre-wrap;
      }

/* migrated from resources/views/pages/partners.blade.php */
/* Partners page — Gravel Host inspired layout */
      .partners-page {
        --partner-gold: #f4c95d;
        --partner-purple: #a5b4fc;
        --partner-cyan: #7c8eff;
        overflow-x: hidden;
      }

      .partners-hero {
        position: relative;
        padding-top: clamp(1.15rem, 2.8vw, 2rem);
        padding-bottom: clamp(2.5rem, 5vw, 4rem);
      }

      .partners-hero .crumbs {
        margin-bottom: 0.9rem;
      }

      .partners-hero-layout {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        align-items: center;
        position: relative;
        z-index: 1;
      }

      @media (min-width: 1024px) {
        .partners-hero-layout {
          grid-template-columns: 1.05fr 0.95fr;
          gap: 3.5rem;
        }
      }

      .partners-hero-copy {
        max-width: 680px;
      }

      .partners-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        border-radius: 999px;
        border: 1px solid rgba(88, 166, 255, 0.25);
        background: rgba(88, 166, 255, 0.12);
        color: #58a6ff;
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        padding: 0.45rem 0.95rem;
        margin-bottom: 1.25rem;
        width: fit-content;
      }

      .partners-hero-title {
        font-size: clamp(2.4rem, 5.8vw, 4.4rem);
        font-family: "Inter", "Segoe UI", system-ui, sans-serif;
        font-weight: 900;
        line-height: 1.05;
        letter-spacing: -0.025em;
        color: var(--text, #f3f7ff);
        margin: 0 0 1.2rem;
      }

      .partners-title-accent {
        background: linear-gradient(120deg, #7de1f8 0%, #5865f2 50%, #a5b4fc 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow: 0 0 42px rgba(88, 101, 242, 0.28);
      }

      .partners-hero-sub {
        font-size: clamp(1.05rem, 1.7vw, 1.25rem);
        color: var(--muted, #b0c0e3);
        line-height: 1.65;
        margin-top: 0;
        margin-bottom: 1.8rem;
        max-width: 580px;
      }

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

      .partners-hero-art {
        position: relative;
        min-height: clamp(320px, 40vw, 460px);
        display: grid;
        place-items: center;
        isolation: isolate;
      }

      .partners-hero-mascot {
        position: relative;
        z-index: 2;
        width: clamp(220px, 30vw, 380px);
        height: auto;
        object-fit: contain;
        filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.38));
      }

      

      

      

      .partners-hero-badges {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        margin-top: 2rem;
        font-size: 0.82rem;
        font-weight: 700;
        color: #d8e0ff;
      }

      .partners-hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        padding: 0.45rem 0.85rem;
        border-radius: 999px;
        border: 1px solid rgba(124, 142, 255, 0.2);
        background: rgba(13, 22, 40, 0.55);
      }

      .partners-hero-badge i {
        color: #f4c95d;
      }

      /* Section utilities */
      .partners-section-head {
        text-align: center;
        max-width: 680px;
        margin: 0 auto 2.5rem;
      }

      .partners-section-head h2 {
        font-size: clamp(1.8rem, 3.6vw, 2.8rem);
        font-weight: 900;
        color: var(--text, #f3f7ff);
        margin-bottom: 0.7rem;
      }

      .partners-section-head p {
        color: var(--muted, #b0c0e3);
        font-size: clamp(1rem, 1.4vw, 1.1rem);
        line-height: 1.6;
      }

      /* Perks — Gravel-style icon cards */
      .partners-perks {
        padding: 3rem 0;
      }

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

      @media (min-width: 768px) {
        .partners-perks-grid {
          grid-template-columns: repeat(2, 1fr);
        }
      }

      .partners-perk-card {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        border-radius: var(--radius-md, 16px);
        border: 1px solid rgba(124, 142, 255, 0.12);
        background: rgba(13, 22, 40, 0.5);
        padding: 1.35rem;
        transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
      }

      .partners-perk-card:hover {
        transform: translateY(-5px);
        border-color: rgba(124, 142, 255, 0.28);
        background: rgba(124, 142, 255, 0.08);
      }

      .partners-perk-icon {
        flex-shrink: 0;
        width: 52px;
        height: 52px;
        border-radius: 14px;
        display: grid;
        place-items: center;
        background: linear-gradient(135deg, rgba(124, 142, 255, 0.2), rgba(76, 95, 233, 0.12));
        border: 1px solid rgba(124, 142, 255, 0.22);
        color: #f4c95d;
        font-size: 1.25rem;
      }

      .partners-perk-card h3 {
        font-size: 1.05rem;
        font-weight: 800;
        color: var(--text, #f3f7ff);
        margin-bottom: 0.35rem;
      }

      .partners-perk-card p {
        font-size: 0.9rem;
        color: var(--muted, #b0c0e3);
        line-height: 1.55;
      }

      /* Requirements */
      .partners-requirements {
        padding: 3rem 0;
      }

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

      @media (min-width: 640px) {
        .partners-requirements-grid {
          grid-template-columns: repeat(2, 1fr);
        }
      }

      @media (min-width: 1024px) {
        .partners-requirements-grid {
          grid-template-columns: repeat(4, 1fr);
        }
      }

      .partners-requirement-card {
        border-radius: var(--radius-md, 16px);
        border: 1px solid rgba(124, 142, 255, 0.12);
        background: rgba(13, 22, 40, 0.5);
        padding: 1.5rem 1.25rem;
        text-align: center;
        transition: transform 0.3s ease, border-color 0.3s ease;
      }

      .partners-requirement-card:hover {
        transform: translateY(-6px);
        border-color: rgba(124, 142, 255, 0.3);
      }

      .partners-requirement-icon {
        width: 56px;
        height: 56px;
        border-radius: 16px;
        display: grid;
        place-items: center;
        margin: 0 auto 1rem;
        background: linear-gradient(135deg, rgba(124, 142, 255, 0.18), rgba(76, 95, 233, 0.12));
        border: 1px solid rgba(124, 142, 255, 0.22);
        color: #f4c95d;
        font-size: 1.45rem;
      }

      .partners-requirement-card h3 {
        font-size: 1.1rem;
        font-weight: 800;
        color: var(--text, #f3f7ff);
        margin-bottom: 0.9rem;
      }

      .partners-requirement-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 0.55rem;
      }

      .partners-requirement-list li {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.45rem;
        font-size: 0.86rem;
        color: var(--muted, #b0c0e3);
        font-weight: 600;
      }

      .partners-requirement-list li i {
        color: #7c8eff;
      }

      /* Application section */
      .partners-apply {
        padding: 3rem 0 4rem;
      }

      .partners-apply-layout {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
      }

      @media (min-width: 1024px) {
        .partners-apply-layout {
          grid-template-columns: 1fr 0.9fr;
          gap: 3rem;
          align-items: start;
        }
      }

      .partners-form {
        border-radius: var(--radius-lg, 24px);
        border: 1px solid rgba(124, 142, 255, 0.14);
        background: linear-gradient(180deg, rgba(16, 26, 46, 0.92), rgba(9, 16, 29, 0.98));
        padding: clamp(1.5rem, 4vw, 2.5rem);
      }

      .partners-form-group {
        margin-bottom: 1.15rem;
      }

      .partners-form-group label {
        display: block;
        font-size: 0.82rem;
        font-weight: 700;
        color: var(--text, #f3f7ff);
        margin-bottom: 0.4rem;
      }

      .partners-form-group input,
      .partners-form-group select,
      .partners-form-group textarea {
        width: 100%;
        border-radius: 12px;
        border: 1px solid rgba(124, 142, 255, 0.2);
        background: rgba(7, 13, 26, 0.6);
        color: var(--text, #f3f7ff);
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
        outline: none;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
      }

      .partners-form-group input:focus,
      .partners-form-group select:focus,
      .partners-form-group textarea:focus {
        border-color: rgba(124, 142, 255, 0.55);
        box-shadow: 0 0 0 3px rgba(124, 142, 255, 0.1);
      }

      .partners-form-group select option {
        color: #eaf4ff;
        background: #11171d;
      }

      .partners-form-group input::placeholder,
      .partners-form-group textarea::placeholder {
        color: #6a7ca0;
      }

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

      @media (min-width: 640px) {
        .partners-form-grid {
          grid-template-columns: repeat(2, 1fr);
        }
      }

      .partners-form-note {
        font-size: 0.78rem;
        color: var(--muted, #b0c0e3);
        margin-top: 1rem;
      }

      .partners-how-it-works {
        border-radius: var(--radius-lg, 24px);
        border: 1px solid rgba(124, 142, 255, 0.14);
        background: linear-gradient(180deg, rgba(16, 26, 46, 0.85), rgba(9, 16, 29, 0.95));
        padding: clamp(1.5rem, 4vw, 2.25rem);
      }

      .partners-how-it-works h3 {
        font-size: 1.25rem;
        font-weight: 800;
        color: var(--text, #f3f7ff);
        margin-bottom: 1.25rem;
      }

      .partners-step {
        display: flex;
        gap: 1rem;
        margin-bottom: 1.25rem;
      }

      .partners-step-number {
        flex-shrink: 0;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        background: rgba(124, 142, 255, 0.15);
        border: 1px solid rgba(124, 142, 255, 0.3);
        color: #a5b4fc;
        font-weight: 800;
        font-size: 0.9rem;
      }

      .partners-step h4 {
        font-size: 0.98rem;
        font-weight: 700;
        color: var(--text, #f3f7ff);
        margin-bottom: 0.2rem;
      }

      .partners-step p {
        font-size: 0.86rem;
        color: var(--muted, #b0c0e3);
        line-height: 1.5;
      }

      .partners-apply-perks {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(124, 142, 255, 0.12);
        display: flex;
        flex-wrap: wrap;
        gap: 0.7rem;
      }

      .partners-apply-perk {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        font-size: 0.8rem;
        font-weight: 700;
        color: #d8e0ff;
        padding: 0.35rem 0.75rem;
        border-radius: 999px;
        border: 1px solid rgba(124, 142, 255, 0.16);
        background: rgba(13, 22, 40, 0.5);
      }

      .partners-apply-perk i {
        color: #f4c95d;
      }

      /* Logo ticker */
      .partners-ticker-section {
        padding: 1.5rem 0 2.5rem;
        display: flex;
        justify-content: center;
      }

      .partners-ticker {
        position: relative;
        overflow: hidden;
        border-radius: var(--radius-md, 16px);
        border: 1px solid rgba(124, 142, 255, 0.18);
        background: linear-gradient(180deg, rgba(14, 24, 42, 0.92), rgba(9, 16, 29, 0.98));
        padding: 0.5rem 0.9rem;
        min-height: 3.1rem;
      }

      .partners-ticker::before,
      .partners-ticker::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 70px;
        pointer-events: none;
        z-index: 2;
      }

      .partners-ticker-item img {
        display: block;
        width: clamp(120px, 12vw, 180px);
        height: clamp(44px, 4.5vw, 64px);
        object-fit: contain;
      }

      .partners-ticker-item span {
        display: block;
        font-size: 0.86rem;
        line-height: 1.2;
        text-align: center;
      }

      .partners-ticker--static .partners-ticker-track {
        animation: none;
        justify-content: center;
      }

      .partners-ticker--static .partners-ticker-item {
        min-height: 118px;
        padding: 0.8rem 2rem;
      }

      .partners-ticker--static .partners-ticker-item img {
        width: clamp(160px, 18vw, 260px);
        height: clamp(56px, 7vw, 88px);
      }

      .partners-ticker::before {
        left: 0;
        background: linear-gradient(90deg, rgba(14, 24, 42, 0.98), transparent);
      }

      .partners-ticker::after {
        right: 0;
        background: linear-gradient(-90deg, rgba(14, 24, 42, 0.98), transparent);
      }

      .partners-ticker-track {
        display: flex;
        gap: 2.2rem;
        width: max-content;
        animation: partnersTickerScroll 32s linear infinite;
      }

      .partners-ticker:hover .partners-ticker-track {
        animation-play-state: paused;
      }

      .partners-ticker-item {
        flex-shrink: 0;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.38rem;
        min-height: 88px;
        padding: 0.55rem 1.5rem;
        border-radius: 14px;
        border: 1px solid rgba(124, 142, 255, 0.14);
        background: rgba(13, 22, 40, 0.6);
        color: #d8e0ff;
        font-size: 1rem;
        font-weight: 700;
        letter-spacing: 0.01em;
        transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
      }

      .partners-ticker-item:hover {
        transform: translateY(-4px) scale(1.02);
        border-color: rgba(165, 180, 252, 0.5);
        background: rgba(124, 142, 255, 0.1);
      }

      .partners-ticker-item i {
        margin-right: 0.5rem;
        color: #f4c95d;
      }

      @keyframes partnersTickerScroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(-50%); }
      }

      /* Testimonial slider */
      .partners-testimonials {
        padding: 3rem 0;
      }

      .partners-slider {
        position: relative;
        border-radius: var(--radius-lg, 24px);
        border: 1px solid rgba(124, 142, 255, 0.16);
        background: linear-gradient(180deg, rgba(16, 26, 46, 0.92), rgba(9, 16, 29, 0.98));
        overflow: hidden;
        padding: 2rem 1.25rem 2.5rem;
      }

      @media (min-width: 768px) {
        .partners-slider {
          padding: 2.5rem 2.5rem 3rem;
        }
      }

      .partners-slider-window {
        overflow: hidden;
      }

      .partners-slider-track {
        display: flex;
        transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
      }

      .partners-testimonial {
        flex: 0 0 100%;
        min-width: 100%;
        box-sizing: border-box;
        margin: 0;
        padding: 0 0.5rem;
        text-align: center;
      }

      .partners-testimonial-stars {
        color: #f4c95d;
        font-size: 0.95rem;
        margin-bottom: 1rem;
      }

      .partners-testimonial q {
        display: block;
        font-size: clamp(1rem, 1.8vw, 1.25rem);
        color: var(--text, #f3f7ff);
        line-height: 1.6;
        font-weight: 500;
        margin-bottom: 1.4rem;
        quotes: none;
      }

      .partners-testimonial-author {
        display: inline-flex;
        align-items: center;
        gap: 0.75rem;
      }

      .partners-testimonial-avatar {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: linear-gradient(135deg, #4c5fe9, #7c8eff);
        display: grid;
        place-items: center;
        color: #fff;
        font-weight: 800;
        font-size: 1.1rem;
      }

      .partners-testimonial-author div {
        text-align: left;
      }

      .partners-testimonial-author strong {
        display: block;
        color: var(--text, #f3f7ff);
        font-size: 0.95rem;
      }

      .partners-testimonial-author span {
        color: var(--muted, #b0c0e3);
        font-size: 0.8rem;
      }

      .partners-slider-dots {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 1.5rem;
      }

      .partners-slider-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        border: 0;
        background: rgba(124, 142, 255, 0.3);
        cursor: pointer;
        transition: background 0.25s ease, transform 0.25s ease;
      }

      .partners-slider-dot.is-active {
        background: #7c8eff;
        transform: scale(1.25);
      }

      .partners-slider-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 1px solid rgba(124, 142, 255, 0.25);
        background: rgba(13, 22, 40, 0.75);
        color: #d8e0ff;
        display: grid;
        place-items: center;
        cursor: pointer;
        transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
        z-index: 2;
      }

      .partners-slider-arrow:hover {
        background: rgba(124, 142, 255, 0.2);
        border-color: rgba(124, 142, 255, 0.5);
        color: #fff;
      }

      .partners-slider-arrow--prev { left: 1rem; }
      .partners-slider-arrow--next { right: 1rem; }

      @media (max-width: 640px) {
        .partners-slider-arrow { display: none; }
      }

      /* CTA */
      .partners-cta {
        padding: 2rem 0 4rem;
      }

      .partners-cta-inner {
        position: relative;
        border-radius: var(--radius-lg, 24px);
        border: 1px solid rgba(124, 142, 255, 0.2);
        background:
          radial-gradient(circle at 20% 30%, rgba(124, 142, 255, 0.16), transparent 45%),
          radial-gradient(circle at 85% 70%, rgba(244, 201, 93, 0.12), transparent 45%),
          linear-gradient(180deg, rgba(16, 26, 46, 0.95), rgba(9, 16, 29, 0.98));
        padding: clamp(2rem, 5vw, 3.5rem);
        padding-right: clamp(2rem, 12vw, 11rem);
        text-align: center;
        overflow: hidden;
      }

      .partners-cta-inner h2 {
        font-size: clamp(1.6rem, 3.2vw, 2.4rem);
        font-weight: 800;
        color: var(--text, #f3f7ff);
        margin-bottom: 0.6rem;
      }

      .partners-cta-inner p {
        color: var(--muted, #b0c0e3);
        max-width: 560px;
        margin: 0 auto 1.4rem;
        line-height: 1.6;
      }

      .partners-cta-actions {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
      }

      .partners-cta-inner::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -20%;
        width: 300px;
        height: 300px;
        border-radius: 50%;
        background: rgba(124, 142, 255, 0.12);
        filter: blur(80px);
        pointer-events: none;
      }

      .partners-cta-inner::after {
        content: '';
        position: absolute;
        bottom: -50%;
        right: -20%;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        background: rgba(244, 201, 93, 0.1);
        filter: blur(80px);
        pointer-events: none;
      }

      .partners-cta-mascot {
        position: absolute;
        right: clamp(-6px, 1vw, 12px);
        bottom: clamp(-8px, -1vw, 0px);
        width: clamp(78px, 12vw, 160px);
        height: auto;
        z-index: 1;
        pointer-events: none;
        user-select: none;
        filter: drop-shadow(0 10px 20px rgba(2, 5, 15, 0.4));
      }

      .partners-cta-inner h2,
      .partners-cta-inner p,
      .partners-cta-actions {
        position: relative;
        z-index: 2;
      }

      @media (max-width: 680px) {
        .partners-cta-inner {
          padding-right: clamp(1rem, 4vw, 1.5rem);
        }

        .partners-cta-mascot {
          width: clamp(64px, 24vw, 108px);
          opacity: 0.9;
        }
      }

      

/* migrated from resources/views/pages/statistics.blade.php */
.statistics-page-hero {
        position: relative;
        padding: clamp(2.8rem, 7vw, 5.2rem) 0 clamp(2rem, 4vw, 3rem);
      }
      .statistics-hero-layout {
        display: grid;
        grid-template-columns: 1.15fr 0.85fr;
        gap: clamp(1.4rem, 3vw, 2.8rem);
        align-items: center;
      }
      .statistics-hero-copy {
        max-width: 760px;
      }
      .statistics-hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.45rem 0.95rem;
        border-radius: 999px;
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: #58a6ff;
        background: rgba(88, 166, 255, 0.12);
        border: 1px solid rgba(88, 166, 255, 0.25);
        margin-bottom: 1.25rem;
      }
      .statistics-hero-title {
        font-family: 'Inter', system-ui, sans-serif;
        font-weight: 900;
        font-size: clamp(2.3rem, 5.2vw, 4.4rem);
        line-height: 1.04;
        letter-spacing: -0.04em;
        color: #f0f6fc;
        margin: 0 0 1rem;
      }
      .statistics-hero-title span {
        display: block;
      }
      .statistics-title-accent {
        background: linear-gradient(90deg, #76d5ff 0%, #6ca8ff 35%, #6f8cff 72%, #7a66ff 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
      }
      .statistics-hero-sub {
        font-family: 'Inter', system-ui, sans-serif;
        font-size: clamp(1rem, 1.7vw, 1.22rem);
        line-height: 1.7;
        color: #8b949e;
        max-width: 680px;
        margin: 0;
      }
      .statistics-refresh-countdown {
        margin-top: 1.1rem;
        display: inline-flex;
        align-items: center;
        gap: 0.8rem;
        padding: 0.62rem 0.72rem 0.62rem 0.9rem;
        border: 1px solid rgba(88, 166, 255, 0.28);
        border-radius: 1rem;
        background:
          linear-gradient(135deg, rgba(13, 17, 23, 0.84), rgba(22, 27, 47, 0.84)),
          radial-gradient(circle at 12% 0%, rgba(244, 201, 93, 0.12), transparent 42%);
        box-shadow:
          0 18px 46px rgba(0, 0, 0, 0.26),
          0 0 0 1px rgba(124, 142, 255, 0.08) inset;
      }
      .statistics-refresh-label {
        color: #dbe9ff;
        font-size: 0.82rem;
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: uppercase;
      }
      .statistics-flip-clock {
        display: inline-flex;
        align-items: center;
        gap: 0.34rem;
      }
      .statistics-flip-unit {
        display: grid;
        justify-items: center;
        gap: 0.18rem;
      }
      .statistics-flip-card {
        position: relative;
        min-width: 2.65rem;
        padding: 0.38rem 0.42rem;
        border-radius: 0.72rem;
        border: 1px solid rgba(124, 142, 255, 0.38);
        background:
          linear-gradient(180deg, rgba(34, 43, 78, 0.98) 0%, rgba(14, 20, 36, 0.98) 50%, rgba(8, 13, 24, 0.98) 51%, rgba(18, 26, 48, 0.98) 100%);
        color: #f4c95d;
        box-shadow:
          0 12px 24px rgba(0, 0, 0, 0.28),
          0 0 22px rgba(88, 166, 255, 0.18),
          0 0 0 1px rgba(244, 201, 93, 0.08) inset;
        font-size: 1.35rem;
        font-weight: 900;
        line-height: 1;
        text-align: center;
        font-variant-numeric: tabular-nums;
        overflow: hidden;
      }
      .statistics-flip-card::before {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        height: 1px;
        background: rgba(5, 10, 20, 0.8);
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
      }
      .statistics-flip-card.is-flipping {
        animation: statisticsFlipTick 0.38s ease;
      }
      .statistics-flip-caption {
        color: #7f98ad;
        font-size: 0.58rem;
        font-weight: 800;
        letter-spacing: 0.07em;
        text-transform: uppercase;
      }
      .statistics-flip-separator {
        align-self: flex-start;
        margin-top: 0.34rem;
        color: rgba(125, 225, 248, 0.78);
        font-size: 1.25rem;
        font-weight: 900;
        text-shadow: 0 0 14px rgba(125, 225, 248, 0.38);
      }
      @keyframes statisticsFlipTick {
        0% {
          transform: rotateX(0deg);
          filter: brightness(1);
        }
        45% {
          transform: rotateX(-82deg);
          filter: brightness(1.32);
        }
        100% {
          transform: rotateX(0deg);
          filter: brightness(1);
        }
      }
      .statistics-hero-meta {
        margin-top: 1.2rem;
        display: flex;
        flex-wrap: wrap;
        gap: 0.9rem 1.2rem;
        color: #a5b4cf;
        font-size: 0.96rem;
      }
      .statistics-hero-meta span {
        display: inline-flex;
        align-items: center;
        gap: 0.45rem;
      }
      .statistics-hero-meta i {
        color: #7db8ff;
      }
      .statistics-hero-media {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 240px;
      }
      .statistics-hero-media-glow {
        position: absolute;
        width: min(88%, 320px);
        aspect-ratio: 1;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(88, 166, 255, 0.22), rgba(163, 113, 247, 0.06) 60%, transparent 72%);
        filter: blur(8px);
      }
      .statistics-hero-media img {
        position: relative;
        width: min(100%, 360px);
        height: auto;
        object-fit: contain;
        filter: drop-shadow(0 24px 38px rgba(9, 16, 30, 0.5));
      }

      .statistics-metrics-section {
        padding: 1.5rem 0 3rem;
      }
      .statistics-metrics-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.25rem;
      }
      .statistics-metric-card {
        position: relative;
        padding: 1.65rem 1.35rem;
        border-radius: 1.25rem;
        background: linear-gradient(180deg, rgba(22, 27, 34, 0.9), rgba(13, 17, 23, 0.95));
        border: 1px solid rgba(48, 54, 61, 0.65);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
        transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
        overflow: hidden;
      }
      .statistics-metric-card::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: inherit;
        padding: 1px;
        background: linear-gradient(135deg, rgba(88, 166, 255, 0.45), rgba(163, 113, 247, 0.25));
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        pointer-events: none;
      }
      .statistics-metric-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
        border-color: rgba(88, 166, 255, 0.45);
      }
      .statistics-metric-icon {
        width: 44px;
        height: 44px;
        display: grid;
        place-items: center;
        border-radius: 0.75rem;
        font-size: 1.15rem;
        color: #f0f6fc;
        background: linear-gradient(135deg, #1f6feb, #8957e5);
        margin-bottom: 1rem;
      }
      .statistics-metric-value {
        font-family: 'Inter', system-ui, sans-serif;
        font-size: clamp(2rem, 4vw, 2.6rem);
        font-weight: 900;
        color: #f0f6fc;
        letter-spacing: -0.03em;
        line-height: 1.1;
        margin-bottom: 0.35rem;
      }
      .statistics-metric-label {
        font-family: 'Inter', system-ui, sans-serif;
        font-size: 0.85rem;
        font-weight: 600;
        color: #8b949e;
        letter-spacing: 0.02em;
      }

      .statistics-charts-section {
        padding: 2rem 0 4rem;
      }

      .statistics-spotlight-section {
        padding: 0.25rem 0 1.25rem;
      }
      .statistics-spotlight-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem;
      }
      .statistics-spotlight-card {
        padding: 1.35rem;
        border-radius: 1.2rem;
        background: linear-gradient(180deg, rgba(22, 27, 34, 0.92), rgba(13, 17, 23, 0.96));
        border: 1px solid rgba(48, 54, 61, 0.65);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
      }
      .statistics-voter-top {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 0.9rem;
        margin-bottom: 0.95rem;
      }
      .statistics-spotlight-title {
        font-family: 'Inter', system-ui, sans-serif;
        font-size: 1.15rem;
        font-weight: 800;
        color: #f0f6fc;
        display: flex;
        align-items: center;
        gap: 0.55rem;
        margin: 0;
      }
      .statistics-spotlight-title i {
        color: #58a6ff;
      }
      .statistics-voter-head {
        display: flex;
        align-items: center;
        gap: 0.9rem;
      }
      .statistics-voter-avatar {
        width: 56px;
        height: 56px;
        border-radius: 14px;
        overflow: hidden;
        background: linear-gradient(135deg, #1f6feb, #8957e5);
        color: #f0f6fc;
        display: grid;
        place-items: center;
        font-weight: 800;
        font-size: 1.1rem;
        flex-shrink: 0;
      }
      .statistics-voter-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
      }
      .statistics-voter-head h3 {
        margin: 0;
        color: #f0f6fc;
        font-size: 1.1rem;
        font-weight: 800;
      }
      .statistics-voter-head h3 a {
        color: inherit;
        text-decoration: none;
      }
      .statistics-voter-head h3 a:hover {
        color: #79c0ff;
      }
      .statistics-voter-head p {
        margin: 0.2rem 0 0;
        color: #a5b4cf;
        font-size: 0.93rem;
      }
      .statistics-spotlight-note {
        margin: 0.95rem 0 0;
        color: #c9d1d9;
        font-size: 0.92rem;
      }
      .statistics-voter-counter {
        display: inline-flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 0.2rem;
        min-width: 118px;
        padding: 0.68rem 0.9rem;
        border-radius: 0.9rem;
        border: 1px solid rgba(88, 166, 255, 0.32);
        box-shadow: 0 10px 30px rgba(31, 111, 235, 0.24);
        background: linear-gradient(135deg, rgba(31, 111, 235, 0.27), rgba(88, 166, 255, 0.13));
      }
      .statistics-voter-counter.is-bot {
        border-color: rgba(163, 113, 247, 0.36);
        box-shadow: 0 10px 30px rgba(163, 113, 247, 0.24);
        background: linear-gradient(135deg, rgba(137, 87, 229, 0.28), rgba(88, 166, 255, 0.13));
      }
      .statistics-voter-counter.is-empty {
        border-color: rgba(139, 148, 158, 0.38);
        box-shadow: none;
        background: linear-gradient(135deg, rgba(48, 54, 61, 0.42), rgba(31, 35, 41, 0.42));
      }
      .statistics-voter-counter span {
        color: #dbe9ff;
        font-size: 0.72rem;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        font-weight: 700;
      }
      .statistics-voter-counter strong {
        color: #f0f6fc;
        font-size: 2.2rem;
        font-weight: 900;
        line-height: 1;
        letter-spacing: -0.02em;
      }
      .statistics-top-listings-rows {
        display: grid;
        gap: 0.78rem;
      }
      .statistics-top-listings-row {
        padding: 0.8rem;
        border-radius: 0.9rem;
        background: rgba(15, 20, 30, 0.75);
        border: 1px solid rgba(88, 166, 255, 0.15);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.8rem;
      }
      .statistics-top-listings-main {
        display: flex;
        align-items: center;
        gap: 0.7rem;
        min-width: 0;
      }
      .statistics-listing-avatar {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        overflow: hidden;
        flex-shrink: 0;
        display: grid;
        place-items: center;
        color: #f0f6fc;
        font-size: 0.88rem;
        font-weight: 800;
        background: linear-gradient(135deg, #1f6feb, #8957e5);
      }
      .statistics-listing-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
      }
      .statistics-top-listings-row h4 {
        margin: 0;
        color: #8b949e;
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
      }
      .statistics-top-listings-row a {
        color: #f0f6fc;
        font-weight: 700;
        text-decoration: none;
      }
      .statistics-top-listings-row a:hover {
        color: #79c0ff;
      }
      .statistics-top-listings-row strong {
        color: #f0f6fc;
        white-space: nowrap;
      }
      .statistics-charts-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
        gap: 1.5rem;
      }
      .statistics-chart-card {
        padding: 1.5rem;
        border-radius: 1.25rem;
        background: linear-gradient(180deg, rgba(22, 27, 34, 0.92), rgba(13, 17, 23, 0.96));
        border: 1px solid rgba(48, 54, 61, 0.65);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
      }
      .statistics-chart-trio {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem;
      }
      .statistics-chart-trio .statistics-chart {
        min-height: 300px;
      }
      .statistics-chart-header {
        margin-bottom: 1rem;
      }
      .statistics-chart-header h2 {
        font-family: 'Inter', system-ui, sans-serif;
        font-size: 1.15rem;
        font-weight: 800;
        color: #f0f6fc;
        display: flex;
        align-items: center;
        gap: 0.55rem;
        margin: 0 0 0.35rem;
      }
      .statistics-chart-header h2 i {
        color: #58a6ff;
      }
      .statistics-chart-header p {
        font-family: 'Inter', system-ui, sans-serif;
        font-size: 0.88rem;
        color: #8b949e;
        margin: 0;
      }
      .statistics-chart {
        min-height: 320px;
      }
      .statistics-chart-fallback {
        display: grid;
        place-items: center;
        min-height: 320px;
        padding: 1.5rem;
        text-align: center;
        color: #8b949e;
        font-family: 'Inter', system-ui, sans-serif;
        font-size: 0.95rem;
        gap: 0.5rem;
      }
      .statistics-chart-fallback i {
        color: #f0883e;
        font-size: 1.5rem;
      }

      .statistics-cta-section {
        padding: 0 0 5rem;
      }
      .statistics-cta-card {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 1.5rem;
        padding: clamp(1.75rem, 4vw, 2.5rem);
        border-radius: 1.25rem;
        background: linear-gradient(135deg, rgba(31, 111, 235, 0.18), rgba(137, 87, 229, 0.18));
        border: 1px solid rgba(88, 166, 255, 0.35);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
      }
      .statistics-cta-card h2 {
        font-family: 'Inter', system-ui, sans-serif;
        font-size: clamp(1.5rem, 3vw, 2rem);
        font-weight: 900;
        color: #f0f6fc;
        margin: 0 0 0.45rem;
      }
      .statistics-cta-card p {
        font-family: 'Inter', system-ui, sans-serif;
        font-size: 1rem;
        color: #c9d1d9;
        margin: 0;
        max-width: 540px;
      }
      .statistics-cta-card .btn {
        flex-shrink: 0;
      }

      @media (max-width: 640px) {
        .statistics-hero-layout {
          grid-template-columns: 1fr;
          text-align: center;
        }
        .statistics-hero-sub {
          margin: 0 auto;
        }
        .statistics-refresh-countdown {
          display: flex;
          width: min(100%, 24rem);
          margin-inline: auto;
          flex-direction: column;
          align-items: center;
          gap: 0.62rem;
        }
        .statistics-flip-card {
          min-width: 2.45rem;
          font-size: 1.22rem;
        }
        .statistics-hero-meta {
          justify-content: center;
        }
        .statistics-hero-media {
          min-height: 160px;
        }
        .statistics-hero-media img {
          width: min(90%, 300px);
        }
        .statistics-charts-grid {
          grid-template-columns: 1fr;
        }
        .statistics-spotlight-grid {
          grid-template-columns: 1fr;
        }
        .statistics-voter-top {
          flex-wrap: wrap;
        }
        .statistics-voter-counter {
          margin-left: auto;
        }
        .statistics-chart-trio {
          grid-template-columns: 1fr;
        }
        .statistics-cta-card {
          text-align: center;
          justify-content: center;
        }
      }
      @media (min-width: 641px) and (max-width: 1180px) {
        .statistics-spotlight-grid {
          grid-template-columns: repeat(2, minmax(0, 1fr));
        }
        .statistics-chart-trio {
          grid-template-columns: repeat(2, minmax(0, 1fr));
        }
      }

/* Alternating Features showcase */
.features-showcase {
  margin-top: clamp(2rem, 4vw, 4rem);
  overflow: hidden;
}

.features-showcase-intro {
  max-width: 880px;
  padding-bottom: clamp(2rem, 4vw, 3.6rem);
  text-align: center;
}

.features-showcase-intro h2 {
  margin: 0.28rem auto 0;
  max-width: 16ch;
  color: #f4f7ff;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.08;
}

.features-showcase-intro > p:last-child {
  margin: 1rem auto 0;
  max-width: 66ch;
  color: #aebbd0;
  font-size: 1.04rem;
  line-height: 1.65;
}

.feature-story {
  position: relative;
  border-top: 1px solid rgba(142, 164, 201, 0.17);
  background:
    linear-gradient(90deg, rgba(88, 101, 242, 0.08), transparent 42%),
    #0a101c;
}

.feature-story:nth-of-type(even) {
  background:
    linear-gradient(270deg, rgba(73, 196, 220, 0.07), transparent 44%),
    #0d1420;
}

.feature-story:last-child {
  border-bottom: 1px solid rgba(142, 164, 201, 0.17);
}

.feature-story-layout {
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(3.5rem, 7vw, 7rem);
}

.feature-story--reverse .feature-story-visual {
  order: 2;
}

.feature-story--reverse .feature-story-copy {
  order: 1;
}

.feature-story-visual {
  position: relative;
  min-width: 0;
  height: clamp(440px, 42vw, 590px);
  display: grid;
  place-items: center;
  isolation: isolate;
}

.feature-story-visual::before {
  content: '';
  position: absolute;
  inset: 8% 2%;
  z-index: -2;
  background:
    linear-gradient(rgba(116, 145, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 145, 255, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

.feature-art-glow {
  position: absolute;
  inset: 12% 4%;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(88, 101, 242, 0.3), transparent 68%);
  filter: blur(18px);
}

.feature-story-mascot,
.feature-story-art {
  position: relative;
  z-index: 1;
  display: block;
}

.feature-story-mascot {
  width: min(62%, 365px);
  justify-self: start;
  align-self: end;
}

.feature-story-mascot img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, 0.46));
}

.feature-story-art {
  width: min(68%, 410px);
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.45));
}

.feature-story-art--wide {
  width: min(100%, 720px);
  height: auto;
  max-height: 510px;
}

.feature-story-copy {
  position: relative;
  z-index: 3;
  max-width: 590px;
}

.feature-story-number {
  display: block;
  margin-bottom: 1.15rem;
  color: rgba(165, 180, 252, 0.36);
  font-size: clamp(3.2rem, 5vw, 5.8rem);
  font-weight: 900;
  line-height: 0.8;
}

.feature-story-kicker {
  margin: 0;
  color: #8ee9f5;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.feature-story-kicker i {
  margin-right: 0.42rem;
  color: #ffcf4a;
}

.feature-story-copy h3 {
  margin: 0.8rem 0 0;
  max-width: 14ch;
  color: #f5f7ff;
  font-size: clamp(2rem, 3.5vw, 3.7rem);
  line-height: 1.08;
}

.feature-story-copy > p:not(.feature-story-kicker) {
  margin: 1.25rem 0 0;
  color: #b2bfd1;
  font-size: 1.04rem;
  line-height: 1.7;
}

.feature-story-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.78rem;
}

.feature-story-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 0.55rem;
  align-items: start;
  color: #dbe3ef;
  line-height: 1.45;
}

.feature-story-list i {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(126, 231, 243, 0.38);
  border-radius: 50%;
  color: #7ee7f3;
  font-size: 0.64rem;
}

.feature-inline-command {
  white-space: nowrap;
}

.feature-profile-preview,
.feature-rank-panel,
.feature-webhook-card,
.feature-dashboard-strip,
.feature-wallet-card,
.feature-boost-chip,
.feature-widget-stack > * {
  border: 1px solid rgba(152, 174, 217, 0.3);
  border-radius: 8px;
  background: rgba(10, 17, 32, 0.94);
  box-shadow: 0 24px 54px rgba(2, 6, 15, 0.54);
  backdrop-filter: blur(14px);
}

.feature-profile-preview {
  position: absolute;
  z-index: 2;
  right: 0;
  top: 15%;
  width: min(65%, 390px);
  padding: 0.75rem;
}

.feature-profile-banner {
  height: 92px;
  border-radius: 5px;
  background:
    linear-gradient(135deg, rgba(67, 213, 221, 0.65), rgba(88, 101, 242, 0.9)),
    url('../images/tds-features.webp') center 42% / cover;
}

.feature-profile-heading {
  margin-top: -22px;
  display: flex;
  align-items: end;
  gap: 0.7rem;
}

.feature-profile-avatar {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 4px solid #0a1120;
  border-radius: 8px;
  background: #5865f2;
  color: #fff;
  font-size: 1.5rem;
}

.feature-profile-heading div {
  padding-bottom: 0.18rem;
}

.feature-profile-heading strong,
.feature-profile-heading span {
  display: block;
}

.feature-profile-heading strong {
  color: #f6f8ff;
  font-size: 1rem;
}

.feature-profile-heading span {
  margin-top: 0.16rem;
  color: #8ee9f5;
  font-size: 0.7rem;
}

.feature-profile-tags {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.feature-profile-tags span {
  padding: 0.23rem 0.45rem;
  border: 1px solid rgba(142, 164, 201, 0.26);
  border-radius: 4px;
  color: #cbd6e9;
  font-size: 0.66rem;
}

.feature-profile-meter {
  height: 5px;
  margin-top: 0.8rem;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(143, 163, 198, 0.2);
}

.feature-profile-meter span {
  display: block;
  width: 92%;
  height: 100%;
  background: linear-gradient(90deg, #62d6e8, #88edac);
}

.feature-profile-preview small {
  display: block;
  margin-top: 0.38rem;
  color: #8fa0bb;
  font-size: 0.65rem;
  text-align: right;
}

.feature-rank-panel {
  position: absolute;
  z-index: 2;
  right: 2%;
  bottom: 15%;
  width: min(58%, 320px);
  padding: 1rem;
}

.feature-rank-label,
.feature-wallet-card > span,
.feature-wallet-card small {
  display: block;
  color: #96a5bd;
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: uppercase;
}

.feature-rank-panel > strong {
  display: block;
  margin-top: 0.28rem;
  color: #fff;
  font-size: 2.55rem;
  line-height: 1;
}

.feature-rank-panel > strong i {
  color: #77e6ad;
  font-size: 1.15rem;
}

.feature-rank-panel > div {
  margin-top: 0.8rem;
  padding-top: 0.68rem;
  border-top: 1px solid rgba(152, 174, 217, 0.2);
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  color: #b8c5d9;
  font-size: 0.72rem;
}

.feature-webhook-card {
  position: absolute;
  z-index: 2;
  left: 5%;
  bottom: 11%;
  width: min(72%, 440px);
  padding: 0.9rem;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0.75rem;
  border-left: 3px solid #57f287;
}

.feature-webhook-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #07130c;
  background: #57f287;
}

.feature-webhook-icon i {
  display: block;
  font-size: 1rem;
  line-height: 1;
}

.feature-webhook-card div > strong,
.feature-webhook-card div > span,
.feature-webhook-card div > small {
  display: block;
}

.feature-webhook-card strong {
  color: #f4f7ff;
  font-size: 0.9rem;
}

.feature-webhook-card div > span {
  margin-top: 0.2rem;
  color: #b9c4d6;
  font-size: 0.76rem;
}

.feature-webhook-card small {
  margin-top: 0.35rem;
  color: #77869f;
  font-size: 0.65rem;
}

.feature-dashboard-strip {
  position: absolute;
  z-index: 2;
  right: 4%;
  bottom: 10%;
  width: min(82%, 520px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
}

.feature-dashboard-strip div {
  padding: 0.8rem 0.9rem;
}

.feature-dashboard-strip div + div {
  border-left: 1px solid rgba(152, 174, 217, 0.2);
}

.feature-dashboard-strip span,
.feature-dashboard-strip strong {
  display: block;
}

.feature-dashboard-strip span {
  color: #8999b2;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.feature-dashboard-strip strong {
  margin-top: 0.2rem;
  color: #f2f5ff;
  font-size: 1.15rem;
}

.feature-wallet-card {
  position: absolute;
  z-index: 2;
  left: 2%;
  top: 20%;
  width: min(49%, 270px);
  padding: 1rem;
}

.feature-wallet-card > span i {
  margin-right: 0.35rem;
  color: #ffd45c;
}

.feature-wallet-card strong {
  display: block;
  margin: 0.45rem 0 0.25rem;
  color: #fff;
  font-size: 2.15rem;
  line-height: 1;
}

.feature-boost-chip {
  position: absolute;
  z-index: 3;
  right: 1%;
  bottom: 18%;
  padding: 0.7rem 0.9rem;
  color: #f4f7ff;
  font-size: 0.78rem;
  font-weight: 800;
}

.feature-boost-chip i {
  margin-right: 0.35rem;
  color: #ffcf4a;
}

.feature-widget-stack {
  position: absolute;
  z-index: 2;
  right: 2%;
  bottom: 10%;
  width: min(58%, 330px);
  display: grid;
  gap: 0.55rem;
}

.feature-widget-stack > div {
  padding: 0.7rem 0.8rem;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 0.65rem;
}

.feature-widget-stack > div > i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  color: #08101c;
  background: #7ee7f3;
}

.feature-widget-stack strong,
.feature-widget-stack small {
  display: block;
}

.feature-widget-stack strong {
  color: #f4f7ff;
  font-size: 0.82rem;
}

.feature-widget-stack small {
  margin-top: 0.12rem;
  color: #8f9db4;
  font-size: 0.66rem;
}

.feature-widget-stack code {
  padding: 0.7rem 0.8rem;
  color: #8ce7ba;
  font-size: 0.72rem;
}

@media (max-width: 980px) {
  .feature-story-layout {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-block: 4rem;
  }

  .feature-story-visual,
  .feature-story--reverse .feature-story-visual {
    order: 1;
    width: min(100%, 720px);
    height: min(76vw, 560px);
    margin-inline: auto;
  }

  .feature-story-copy,
  .feature-story--reverse .feature-story-copy {
    order: 2;
    max-width: 680px;
  }
}

@media (max-width: 640px) {
  .features-showcase-intro {
    text-align: left;
  }

  .features-showcase-intro h2 {
    margin-inline: 0;
  }

  .feature-story-layout {
    gap: 1.2rem;
    padding-block: 3rem;
  }

  .feature-story-visual,
  .feature-story--reverse .feature-story-visual {
    height: 430px;
  }

  .feature-story-number {
    margin-bottom: 0.8rem;
    font-size: 3rem;
  }

  .feature-story-copy h3 {
    font-size: clamp(1.85rem, 9vw, 2.65rem);
  }

  .feature-story-copy > p:not(.feature-story-kicker) {
    font-size: 0.98rem;
  }

  .feature-story-mascot {
    width: min(70%, 300px);
  }

  .feature-story-art {
    width: min(78%, 340px);
  }

  .feature-story-art--wide {
    width: 112%;
    max-width: none;
  }

  .feature-profile-preview {
    top: 14%;
    width: 66%;
  }

  .feature-profile-banner {
    height: 70px;
  }

  .feature-rank-panel {
    right: 0;
    width: 56%;
  }

  .feature-webhook-card {
    left: 0;
    width: 88%;
  }

  .feature-dashboard-strip {
    right: 0;
    width: 92%;
  }

  .feature-wallet-card {
    left: 0;
    width: 53%;
  }

  .feature-widget-stack {
    right: 0;
    width: 64%;
  }
}

@media (max-width: 390px) {
  .feature-story-visual,
  .feature-story--reverse .feature-story-visual {
    height: 390px;
  }

  .feature-profile-preview {
    padding: 0.55rem;
  }

  .feature-profile-tags span:nth-child(3) {
    display: none;
  }

  .feature-dashboard-strip div {
    padding-inline: 0.58rem;
  }

  .feature-dashboard-strip strong {
    font-size: 0.98rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-story-visual,
  .feature-story-art,
  .feature-story-mascot {
    animation: none !important;
    transition: none !important;
  }
}

/* Features editorial hero */
.features-editorial-hero {
  position: relative;
  overflow: hidden;
  padding: 4.4rem 0 0;
  border-bottom: 1px solid rgba(142, 164, 201, 0.18);
  background:
    radial-gradient(60% 72% at 82% 44%, rgba(70, 86, 238, 0.2), transparent 70%),
    linear-gradient(180deg, rgba(7, 12, 23, 0.92), #0a101c);
}

.features-editorial-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(115, 142, 204, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(115, 142, 204, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 88%);
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
  pointer-events: none;
}

.features-editorial-hero .container {
  position: relative;
  z-index: 1;
}

.features-editorial-layout {
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(430px, 1.02fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(2rem, 5vw, 4.8rem) 0 clamp(3rem, 5vw, 5rem);
}

.features-editorial-copy {
  position: relative;
  z-index: 3;
  align-self: start;
  max-width: 680px;
}

.features-editorial-kicker {
  margin: 0;
  color: #8ee9f5;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.features-editorial-kicker i {
  margin-right: 0.42rem;
  color: #aeb7ff;
}

.features-editorial-copy h1 {
  margin: 1rem 0 0;
  max-width: none;
  color: #f7f8ff;
  font-size: clamp(3rem, 4.4vw, 4.5rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0;
}

.features-editorial-copy h1 .features-editorial-title-line {
  display: block;
  white-space: nowrap;
}

.features-editorial-copy h1 .features-editorial-title-accent {
  color: #ffd34e;
}

.features-editorial-lead {
  margin: 1.5rem 0 0;
  max-width: 58ch;
  color: #b4c0d2;
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.7;
}

.features-editorial-actions {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.features-editorial-actions .btn {
  border-radius: 5px;
}

.features-editorial-promises {
  margin-top: 1.8rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(142, 164, 201, 0.22);
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.15rem;
}

.features-editorial-promises span {
  color: #aebad0;
  font-size: 0.8rem;
  font-weight: 750;
}

.features-editorial-promises i {
  margin-right: 0.35rem;
  color: #7ee7f3;
}

.features-editorial-art {
  position: relative;
  align-self: stretch;
  min-width: 0;
  min-height: 590px;
  display: grid;
  place-items: end center;
  isolation: isolate;
}

.features-editorial-grid {
  position: absolute;
  inset: 10% 0 0;
  z-index: -2;
  border-left: 1px solid rgba(127, 151, 205, 0.13);
  border-right: 1px solid rgba(127, 151, 205, 0.13);
  background:
    linear-gradient(rgba(115, 142, 204, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(115, 142, 204, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

.features-editorial-art::before {
  content: '';
  position: absolute;
  inset: 10% -8% 0;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(88, 101, 242, 0.3), transparent 66%);
  filter: blur(20px);
}

.features-editorial-art img {
  display: block;
  width: min(104%, 700px);
  height: auto;
  max-height: 650px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 32px 38px rgba(0, 0, 0, 0.5));
}

.features-editorial-index {
  position: absolute;
  z-index: -1;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(169, 180, 235, 0.08);
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.features-editorial-float {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(152, 174, 217, 0.32);
  border-radius: 6px;
  background: rgba(8, 15, 29, 0.94);
  box-shadow: 0 22px 48px rgba(2, 6, 15, 0.5);
  backdrop-filter: blur(14px);
}

.features-editorial-float--rank {
  top: 25%;
  right: 0;
  min-width: 150px;
  padding: 0.8rem 0.9rem;
}

.features-editorial-float--rank span,
.features-editorial-float--rank strong {
  display: block;
}

.features-editorial-float--rank span {
  color: #8999b3;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
}

.features-editorial-float--rank strong {
  margin-top: 0.2rem;
  color: #f4f7ff;
  font-size: 1.6rem;
}

.features-editorial-float--rank i {
  color: #68e4a5;
  font-size: 0.8rem;
}

.features-editorial-float--vote {
  left: 0;
  bottom: 16%;
  padding: 0.68rem 0.8rem;
  display: grid;
  grid-template-columns: 34px auto;
  align-items: center;
  gap: 0.6rem;
}

.features-editorial-float--vote > i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: #07120c;
  background: #67e5a2;
}

.features-editorial-float--vote strong,
.features-editorial-float--vote small {
  display: block;
}

.features-editorial-float--vote strong {
  color: #f4f7ff;
  font-size: 0.78rem;
}

.features-editorial-float--vote small {
  margin-top: 0.1rem;
  color: #8594ad;
  font-size: 0.64rem;
}

.features-editorial-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(142, 164, 201, 0.22);
  border-left: 1px solid rgba(142, 164, 201, 0.22);
  background: rgba(7, 13, 25, 0.66);
}

.features-editorial-stats article {
  position: relative;
  min-width: 0;
  padding: 1.25rem clamp(3.2rem, 5vw, 5rem) 1.25rem clamp(0.75rem, 2vw, 1.5rem);
  border-right: 1px solid rgba(142, 164, 201, 0.22);
}

.features-editorial-stat-icon {
  position: absolute;
  top: 50%;
  right: clamp(1rem, 2vw, 1.6rem);
  color: rgba(142, 233, 245, 0.42);
  font-size: clamp(1.35rem, 2vw, 2rem);
  transform: translateY(-50%);
}

.features-editorial-stats strong,
.features-editorial-stats span {
  display: block;
}

.features-editorial-stats strong {
  color: #f5f7ff;
  font-size: clamp(1.5rem, 2.6vw, 2.6rem);
  line-height: 1;
}

.features-editorial-stats span {
  margin-top: 0.38rem;
  color: #8ee9f5;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .features-editorial-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .features-editorial-copy {
    max-width: 760px;
  }

  .features-editorial-art {
    min-height: min(76vw, 590px);
  }

  .features-editorial-art img {
    width: min(92%, 660px);
  }
}

@media (max-width: 640px) {
  .features-editorial-hero {
    padding-top: 3.6rem;
  }

  .features-editorial-layout {
    padding-top: 1.4rem;
    padding-bottom: 2.5rem;
  }

  .features-editorial-copy h1 {
    font-size: clamp(2.1rem, 9.1vw, 3.15rem);
  }

  .features-editorial-actions {
    display: grid;
  }

  .features-editorial-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .features-editorial-art {
    min-height: 430px;
  }

  .features-editorial-art img {
    width: 108%;
    max-width: none;
  }

  .features-editorial-index {
    top: 10%;
    font-size: 3.8rem;
  }

  .features-editorial-float--rank {
    top: 24%;
    right: 0;
  }

  .features-editorial-float--vote {
    left: 0;
    bottom: 12%;
  }

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

  .features-editorial-stats article:nth-child(n + 3) {
    border-top: 1px solid rgba(142, 164, 201, 0.22);
  }
}

@media (max-width: 390px) {
  .features-editorial-art {
    min-height: 380px;
  }

  .features-editorial-float--rank {
    min-width: 126px;
  }

  .features-editorial-promises {
    display: grid;
  }
}

/* About page editorial redesign */
.about-us-page {
  --about-gold: #f4c95d;
  --about-cyan: #7de1f8;
  --about-blue: #5865f2;
  overflow-x: hidden;
}

.about-us-page .site-header,
.about-us-page .site-footer,
.about-editorial {
  position: relative;
  z-index: 1;
}

.about-us-page .site-header {
  z-index: 1400;
}

.about-editorial-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 14, 24, 0.45) 0%, rgba(8, 14, 24, 0.82) 68%, #080e18 100%),
    url('/images/tds-servers.webp') center -180px / min(2200px, 120vw) auto no-repeat;
  opacity: 0.2;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.72) 52%, transparent 95%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.72) 52%, transparent 95%);
}

.about-editorial {
  padding-bottom: 0;
}

.about-editorial-hero {
  position: relative;
  padding: clamp(1.25rem, 2.5vw, 2.25rem) 0 0;
  overflow: hidden;
}

.about-editorial-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(125, 225, 248, 0.3), rgba(244, 201, 93, 0.26), transparent);
}

.about-editorial-hero .crumbs {
  position: relative;
  z-index: 3;
  margin-bottom: 0;
}

.about-editorial-hero > .container {
  position: relative;
}

.about-editorial-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.85fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: center;
  min-height: 610px;
}

.about-editorial-hero-copy {
  position: relative;
  z-index: 3;
  max-width: 720px;
  padding: 2.5rem 0 3rem;
}

.about-editorial-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.2rem;
  color: var(--about-gold);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.about-editorial-kicker i {
  color: var(--about-cyan);
  font-size: 1rem;
}

.about-editorial-hero h1 {
  max-width: none;
  margin: 0;
  color: #f7f9ff;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
}

.about-editorial-hero h1 .about-editorial-title-line {
  display: block;
  white-space: nowrap;
}

.about-editorial-rotating-word {
  display: inline-block;
  min-width: 11ch;
}

.about-editorial-hero h1 .about-editorial-title-accent {
  background: linear-gradient(120deg, #7de1f8 0%, #5865f2 50%, #a5b4fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 42px rgba(88, 101, 242, 0.28);
}

.about-editorial-lead {
  max-width: 61ch;
  margin: 1.5rem 0 0;
  color: #b7c6d8;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.75;
}

.about-editorial-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.9rem;
}

.about-editorial-promises {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1.5rem;
  color: #9db0c7;
  font-size: 0.83rem;
  font-weight: 700;
}

.about-editorial-promises span {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.about-editorial-promises i {
  color: var(--about-gold);
}

.about-editorial-hero-art {
  position: relative;
  align-self: stretch;
  min-height: 650px;
}

.about-editorial-art-grid {
  position: absolute;
  inset: 8% -8% 3% 4%;
  border-left: 1px solid rgba(125, 225, 248, 0.16);
  border-bottom: 1px solid rgba(125, 225, 248, 0.12);
  background-image:
    linear-gradient(rgba(125, 225, 248, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 225, 248, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: linear-gradient(135deg, transparent 0%, #000 28%, #000 72%, transparent 100%);
  mask-image: linear-gradient(135deg, transparent 0%, #000 28%, #000 72%, transparent 100%);
}

.about-editorial-wordmark {
  position: absolute;
  top: 14%;
  left: -4%;
  color: rgba(125, 225, 248, 0.055);
  font-size: clamp(5rem, 9vw, 9rem);
  font-weight: 900;
  line-height: 1;
}

.about-editorial-hero-art > img {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: -2px;
  width: min(560px, 96%);
  height: min(650px, 100%);
  object-fit: contain;
  object-position: center bottom;
  transform: translateX(-50%);
  filter: drop-shadow(0 30px 35px rgba(0, 0, 0, 0.42));
}

.about-editorial-note {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(145, 179, 215, 0.28);
  border-radius: 8px;
  background: rgba(8, 15, 27, 0.9);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(10px);
}

.about-editorial-note small,
.about-editorial-note strong {
  display: block;
}

.about-editorial-note small {
  color: #8fa5bd;
  font-size: 0.7rem;
}

.about-editorial-note strong {
  color: #f5f8ff;
  font-size: 0.9rem;
}

.about-editorial-note--since {
  top: 25%;
  right: -1%;
  display: block;
  min-width: 112px;
}

.about-editorial-note--since strong {
  color: var(--about-gold);
  font-size: 1.4rem;
}

.about-editorial-note--independent {
  left: -2%;
  bottom: 16%;
}

.about-editorial-note--independent > i {
  color: var(--about-cyan);
  font-size: 1.1rem;
}

.about-editorial-stats {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(142, 164, 201, 0.22);
  background: rgba(8, 14, 24, 0.62);
}

.about-editorial-stats article {
  min-width: 0;
  padding: 1.45rem clamp(1rem, 2vw, 1.8rem);
}

.about-editorial-stats article + article {
  border-left: 1px solid rgba(142, 164, 201, 0.22);
}

.about-editorial-stats strong,
.about-editorial-stats span {
  display: block;
}

.about-editorial-stats strong {
  color: #f7f9ff;
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  line-height: 1;
}

.about-editorial-stats span {
  margin-top: 0.42rem;
  color: #8fa5bd;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.about-editorial-mission,
.about-editorial-principles,
.about-editorial-trust,
.about-editorial-founder,
.about-editorial-journey {
  position: relative;
  padding: clamp(4.5rem, 8vw, 8rem) 0;
}

.about-editorial-mission {
  background: #0b131f;
}

.about-editorial-mission-layout {
  display: grid;
  grid-template-columns: 90px minmax(300px, 0.85fr) minmax(360px, 1.15fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.about-editorial-section-index {
  color: rgba(244, 201, 93, 0.24);
  font-size: 3.7rem;
  font-weight: 900;
  line-height: 1;
}

.about-editorial-heading h2,
.about-editorial-section-head h2,
.about-editorial-trust-copy h2,
.about-editorial-founder-copy h2,
.about-editorial-cta h2 {
  margin: 0;
  color: #f4f7fb;
  font-size: clamp(2rem, 3.8vw, 3.7rem);
  line-height: 1.08;
}

.about-editorial-heading .eyebrow,
.about-editorial-section-head .eyebrow,
.about-editorial-trust-copy .eyebrow,
.about-editorial-founder-copy .eyebrow,
.about-editorial-cta .eyebrow {
  color: var(--about-gold);
}

.about-editorial-mission-copy {
  border-left: 2px solid rgba(125, 225, 248, 0.34);
  padding-left: clamp(1.4rem, 3vw, 2.4rem);
}

.about-editorial-mission-copy p {
  margin: 1rem 0 0;
  color: #9fb1c5;
  line-height: 1.75;
}

.about-editorial-mission-copy .about-editorial-pullquote {
  margin-top: 0;
  color: #e6edf7;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.5;
}

.about-editorial-principles {
  background:
    linear-gradient(90deg, rgba(88, 101, 242, 0.06), transparent 32%, transparent 68%, rgba(244, 201, 93, 0.04)),
    #080e18;
}

.about-editorial-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.about-editorial-section-head > p {
  margin: 0 0 0.35rem;
  color: #95a9bf;
  line-height: 1.7;
}

.about-editorial-principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(142, 164, 201, 0.22);
}

.about-editorial-principle-grid article {
  position: relative;
  min-width: 0;
  padding: 2.2rem clamp(1rem, 2.5vw, 2.4rem) 0;
}

.about-editorial-principle-grid article + article {
  border-left: 1px solid rgba(142, 164, 201, 0.22);
}

.about-editorial-principle-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--about-cyan);
  border: 1px solid rgba(125, 225, 248, 0.3);
  border-radius: 6px;
  background: rgba(125, 225, 248, 0.07);
}

.about-editorial-principle-number {
  position: absolute;
  top: 2.35rem;
  right: 1.4rem;
  color: rgba(244, 201, 93, 0.32);
  font-size: 0.78rem;
  font-weight: 900;
}

.about-editorial-principle-grid h3 {
  margin: 1.4rem 0 0.6rem;
  color: #eff4fb;
  font-size: 1.3rem;
}

.about-editorial-principle-grid p {
  margin: 0;
  color: #94a8be;
  line-height: 1.7;
}

.about-editorial-trust {
  background: #0c1522;
  overflow: hidden;
}

.about-editorial-trust-layout {
  display: grid;
  grid-template-columns: minmax(380px, 0.95fr) minmax(380px, 1.05fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.about-editorial-trust-visual {
  position: relative;
  min-height: 530px;
  border-bottom: 1px solid rgba(125, 225, 248, 0.25);
  background-image:
    linear-gradient(rgba(125, 225, 248, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 225, 248, 0.05) 1px, transparent 1px);
  background-size: 38px 38px;
}

.about-editorial-trust-visual img {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.4));
}

.about-editorial-trust-signal {
  position: absolute;
  z-index: 2;
  right: 2%;
  bottom: 9%;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(125, 225, 248, 0.25);
  border-radius: 8px;
  background: rgba(8, 15, 27, 0.92);
}

.about-editorial-trust-signal i {
  color: #49d899;
}

.about-editorial-trust-signal strong,
.about-editorial-trust-signal small {
  display: block;
}

.about-editorial-trust-signal strong {
  color: #f4f8ff;
}

.about-editorial-trust-signal small {
  margin-top: 0.15rem;
  color: #8fa5bd;
}

.about-editorial-trust-copy > p:not(.eyebrow) {
  color: #9fb1c5;
  line-height: 1.75;
}

.about-editorial-trust-copy ul {
  display: grid;
  gap: 1rem;
  margin: 1.8rem 0;
  padding: 0;
  list-style: none;
}

.about-editorial-trust-copy li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.65rem;
  color: #9fb1c5;
  line-height: 1.55;
}

.about-editorial-trust-copy li > i {
  margin-top: 0.22rem;
  color: var(--about-gold);
}

.about-editorial-trust-copy li strong {
  color: #edf3fa;
}

.about-editorial-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--about-cyan);
  font-weight: 800;
  text-decoration: none;
}

.about-editorial-founder {
  background: #080e18;
}

.about-editorial-founder-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.about-editorial-founder-copy > p:not(.eyebrow) {
  max-width: 62ch;
  color: #9fb1c5;
  line-height: 1.75;
}

.about-editorial-founder-copy blockquote {
  max-width: 56ch;
  margin: 2rem 0 0;
  padding: 0 0 0 1.4rem;
  border-left: 3px solid var(--about-gold);
  color: #dfe8f4;
  font-size: 1.08rem;
  font-style: italic;
  line-height: 1.7;
}

.about-editorial-founder-profile {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 1.4rem;
  align-items: center;
  padding: 1.5rem;
  border: 1px solid rgba(142, 164, 201, 0.22);
  border-radius: 8px;
  background: #0e1826;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.25);
}

.about-editorial-founder-avatar {
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  overflow: hidden;
  border: 2px solid rgba(244, 201, 93, 0.7);
  border-radius: 8px;
  color: #f5f8ff;
  background: rgba(88, 101, 242, 0.24);
  font-size: 2rem;
}

.about-editorial-founder-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-editorial-founder-profile span {
  color: var(--about-gold);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.about-editorial-founder-profile h3 {
  margin: 0.35rem 0;
  color: #f4f7fb;
  font-size: 1.4rem;
}

.about-editorial-founder-profile p {
  margin: 0;
  color: #91a7be;
}

.about-editorial-founder-profile a {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-top: 0.8rem;
  place-items: center;
  border: 1px solid rgba(125, 225, 248, 0.25);
  border-radius: 6px;
  color: var(--about-cyan);
  text-decoration: none;
}

.about-editorial-journey {
  background: #0b131f;
}

.about-editorial-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  position: relative;
}

.about-editorial-timeline::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(142, 164, 201, 0.28);
}

.about-editorial-timeline article {
  position: relative;
  padding: 2.25rem clamp(1rem, 2vw, 1.8rem) 0 0;
}

.about-editorial-timeline article::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 11px;
  height: 11px;
  border: 2px solid #0b131f;
  border-radius: 50%;
  background: var(--about-cyan);
  box-shadow: 0 0 0 2px rgba(125, 225, 248, 0.25);
}

.about-editorial-timeline .is-current::before {
  background: var(--about-gold);
  box-shadow: 0 0 0 2px rgba(244, 201, 93, 0.3);
}

.about-editorial-timeline span,
.about-editorial-timeline strong {
  display: block;
}

.about-editorial-timeline span {
  color: var(--about-gold);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.about-editorial-timeline strong {
  margin-top: 0.5rem;
  color: #edf3fa;
  font-size: 1.05rem;
}

.about-editorial-timeline p {
  margin: 0.55rem 0 0;
  color: #91a7be;
  font-size: 0.9rem;
  line-height: 1.65;
}

.about-editorial-cta {
  position: relative;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  overflow: hidden;
  border-top: 1px solid rgba(125, 225, 248, 0.2);
  background:
    linear-gradient(90deg, rgba(88, 101, 242, 0.19), transparent 50%, rgba(244, 201, 93, 0.08)),
    #0e1826;
}

.about-editorial-cta-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 3rem;
  align-items: center;
}

.about-editorial-cta h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

.about-editorial-cta p:not(.eyebrow) {
  margin: 0.75rem 0 0;
  color: #a3b5c9;
  font-size: 1rem;
}

.about-editorial-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: flex-end;
}

@media (max-width: 1050px) {
  .about-editorial-hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
    gap: 1rem;
  }

  .about-editorial-hero h1 {
    font-size: clamp(3rem, 6.5vw, 4.5rem);
  }

  .about-editorial-mission-layout {
    grid-template-columns: 60px 1fr;
  }

  .about-editorial-mission-copy {
    grid-column: 2;
  }

  .about-editorial-trust-layout,
  .about-editorial-founder-layout {
    gap: 3rem;
  }
}

@media (max-width: 820px) {
  .about-editorial-hero {
    min-height: 0;
  }

  .about-editorial-hero-layout,
  .about-editorial-trust-layout,
  .about-editorial-founder-layout,
  .about-editorial-section-head,
  .about-editorial-cta-layout {
    grid-template-columns: 1fr;
  }

  .about-editorial-hero-copy {
    max-width: 680px;
    padding-bottom: 0;
  }

  .about-editorial-hero-art {
    min-height: 540px;
  }

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

  .about-editorial-stats article:nth-child(3) {
    border-left: 0;
  }

  .about-editorial-stats article:nth-child(n + 3) {
    border-top: 1px solid rgba(142, 164, 201, 0.22);
  }

  .about-editorial-principle-grid {
    grid-template-columns: 1fr;
  }

  .about-editorial-principle-grid article + article {
    margin-top: 2rem;
    border-left: 0;
    border-top: 1px solid rgba(142, 164, 201, 0.22);
  }

  .about-editorial-trust-visual {
    min-height: 470px;
  }

  .about-editorial-founder-profile {
    max-width: 520px;
  }

  .about-editorial-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 0;
  }

  .about-editorial-timeline::before {
    display: none;
  }

  .about-editorial-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .about-editorial-hero-layout {
    display: block;
    min-height: 0;
  }

  .about-editorial-hero-copy {
    padding-top: 1.75rem;
  }

  .about-editorial-hero h1 {
    font-size: clamp(2.2rem, 9.5vw, 3.2rem);
  }

  .about-editorial-actions,
  .about-editorial-cta-actions {
    display: grid;
  }

  .about-editorial-actions .btn,
  .about-editorial-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .about-editorial-promises {
    display: none;
  }

  .about-editorial-hero-art {
    position: absolute;
    z-index: 0;
    top: 7rem;
    right: -5.5rem;
    width: 300px;
    height: 430px;
    min-height: 0;
    opacity: 0.16;
  }

  .about-editorial-hero-art > img {
    width: 100%;
    height: 100%;
    max-width: none;
  }

  .about-editorial-wordmark,
  .about-editorial-art-grid,
  .about-editorial-note {
    display: none;
  }

  .about-editorial-mission-layout {
    grid-template-columns: 1fr;
  }

  .about-editorial-section-index {
    font-size: 2.6rem;
  }

  .about-editorial-mission-copy {
    grid-column: 1;
  }

  .about-editorial-trust-visual {
    min-height: 360px;
  }

  .about-editorial-founder-profile {
    grid-template-columns: 82px 1fr;
    padding: 1rem;
  }

  .about-editorial-founder-avatar {
    width: 82px;
    height: 82px;
  }

  .about-editorial-timeline {
    grid-template-columns: 1fr;
  }

  .about-editorial-cta-actions .btn {
    width: 100%;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-editorial * {
    scroll-behavior: auto !important;
  }
}

/* Homepage browse story */
.home-concept-story {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(4.5rem, 8vw, 8rem) 0;
  border-top: 1px solid rgba(88, 101, 242, 0.2);
  border-bottom: 1px solid rgba(125, 225, 248, 0.18);
  background:
    radial-gradient(circle at 18% 35%, rgba(88, 101, 242, 0.2), transparent 42%),
    radial-gradient(circle at 82% 68%, rgba(125, 225, 248, 0.1), transparent 46%),
    linear-gradient(180deg, rgba(12, 22, 42, 0.98), rgba(7, 14, 28, 0.98));
}

.home-concept-story::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(125, 225, 248, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 225, 248, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.home-concept-story-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(390px, 0.95fr) minmax(380px, 1.05fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.home-concept-story-visual {
  position: relative;
  min-height: 560px;
  border-bottom: 1px solid rgba(125, 225, 248, 0.24);
}

.home-concept-story-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(125, 225, 248, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 225, 248, 0.05) 1px, transparent 1px);
  background-size: 38px 38px;
  -webkit-mask-image: linear-gradient(135deg, transparent, #000 25%, #000 75%, transparent);
  mask-image: linear-gradient(135deg, transparent, #000 25%, #000 75%, transparent);
}

.home-concept-story-visual > img {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 28px 32px rgba(0, 0, 0, 0.42));
}

.home-concept-story-copy .eyebrow {
  color: #f4c95d;
}

.home-concept-story-copy > p:not(.eyebrow) {
  color: #9fb1c5;
  line-height: 1.75;
}

.home-concept-story-copy h2 {
  margin: 0;
  color: #f4f7fb;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(2rem, 3.8vw, 3.7rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.02;
}

.home-concept-story-copy ol {
  display: grid;
  gap: 0;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(142, 164, 201, 0.2);
}

.home-concept-story-copy li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(142, 164, 201, 0.2);
}

.home-concept-story-copy li > span {
  color: rgba(125, 225, 248, 0.5);
  font-weight: 900;
}

.home-concept-story-copy li strong {
  color: #edf3fa;
}

.home-concept-story-copy li p {
  margin: 0.3rem 0 0;
  color: #869bb1;
  font-size: 0.88rem;
  line-height: 1.6;
}

@media (max-width: 1050px) {
  .home-concept-story-layout {
    gap: 3rem;
  }
}

@media (max-width: 820px) {
  .home-concept-story-layout {
    grid-template-columns: 1fr;
  }

  .home-concept-story-visual {
    min-height: 480px;
  }
}

@media (max-width: 560px) {
  .home-concept-story-visual {
    min-height: 360px;
  }
}

/* Vote Bot page */
.votebot-hero {
  position: relative;
  overflow: hidden;
  padding: 2.6rem 0 3.2rem;
  border-bottom: 1px solid rgba(142, 164, 201, 0.18);
  background:
    radial-gradient(60% 72% at 82% 30%, rgba(88, 101, 242, 0.18), transparent 70%),
    linear-gradient(180deg, rgba(7, 12, 23, 0.92), #0a101c);
}

.votebot-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding-top: clamp(1.4rem, 3vw, 2.4rem);
}

.votebot-hero-copy {
  max-width: 640px;
}

.votebot-hero-kicker {
  margin: 0;
  color: #8ee9f5;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.votebot-hero-kicker i {
  margin-right: 0.42rem;
  color: #aeb7ff;
}

.votebot-hero-copy h1 {
  margin: 1rem 0 0;
  max-width: none;
  color: #f7f8ff;
  font-size: clamp(2.3rem, 3.6vw, 3.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.votebot-hero-lead {
  margin: 1.3rem 0 0;
  max-width: 56ch;
  color: #b4c0d2;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.7;
}

.votebot-hero-actions {
  margin-top: 1.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.votebot-hero-actions .btn {
  border-radius: 5px;
}

.votebot-hero-promises {
  margin-top: 1.7rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(142, 164, 201, 0.22);
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.15rem;
}

.votebot-hero-promises span {
  color: #aebad0;
  font-size: 0.8rem;
  font-weight: 750;
}

.votebot-hero-promises i {
  margin-right: 0.35rem;
  color: #7ee7f3;
}

.votebot-hero-art {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(88, 101, 242, 0.28);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(88, 101, 242, 0.14), transparent 58%),
    linear-gradient(180deg, rgba(14, 24, 44, 0.94), rgba(6, 12, 24, 0.98));
  padding: 1.1rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.votebot-hero-art img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.votebot-steps {
  padding: 4rem 0 1rem;
}

.votebot-step-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.votebot-step-card {
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(88, 101, 242, 0.18);
  background:
    radial-gradient(circle at 14% 8%, rgba(88, 101, 242, 0.1), transparent 48%),
    linear-gradient(180deg, rgba(18, 28, 48, 0.86), rgba(8, 15, 28, 0.96));
  padding: 1.3rem;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.votebot-step-card:hover {
  transform: translateY(-5px);
  border-color: rgba(88, 101, 242, 0.42);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(88, 101, 242, 0.12) inset;
}

.votebot-step-num {
  position: absolute;
  top: 0.8rem;
  right: 0.95rem;
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(88, 101, 242, 0.16);
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  transition: color 0.24s ease, text-shadow 0.24s ease, transform 0.24s ease;
}

.votebot-step-card:hover .votebot-step-num {
  color: rgba(125, 225, 248, 0.82);
  text-shadow:
    0 0 8px rgba(125, 225, 248, 0.42),
    0 0 18px rgba(88, 101, 242, 0.34);
  transform: scale(1.03);
}

.votebot-step-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  font-size: 1.2rem;
  color: #070d1a;
  background: linear-gradient(135deg, #5865f2, #7de1f8);
  box-shadow: 0 12px 26px rgba(88, 101, 242, 0.28);
  margin-bottom: 1rem;
}

.votebot-step-card h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #f0f4ff;
}

.votebot-step-card h3 .feature-inline-command {
  font-size: 0.92rem;
}

.votebot-step-card p {
  margin: 0.55rem 0 0;
  color: #b0c0e3;
  font-size: 0.92rem;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .votebot-hero-layout {
    grid-template-columns: 1fr;
  }

  .votebot-hero-art {
    order: -1;
    max-width: 560px;
    margin: 0 auto;
  }

  .votebot-hero-copy {
    max-width: none;
    text-align: center;
  }

  .votebot-hero-actions,
  .votebot-hero-promises {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .votebot-step-grid {
    grid-template-columns: 1fr;
  }
}

/* Embed builder page */
.embedlab-page {
  --embed-accent: #5865f2;
}

.embedlab-main {
  padding-bottom: 2.6rem;
}

.embedlab-hero {
  position: relative;
  overflow: hidden;
  padding: 4.6rem 0 3rem;
  border-bottom: 1px solid rgba(142, 164, 201, 0.2);
  background:
    radial-gradient(65% 70% at 82% 28%, rgba(88, 101, 242, 0.23), transparent 68%),
    linear-gradient(180deg, rgba(7, 12, 23, 0.94), rgba(8, 14, 27, 0.98));
}

.embedlab-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 1.02fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-top: clamp(1.4rem, 3vw, 2.4rem);
}

.embedlab-kicker {
  margin: 0;
  color: #8ee9f5;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.embedlab-kicker i {
  margin-right: 0.35rem;
}

.embedlab-hero-copy h1 {
  margin: 0.95rem 0 0;
  max-width: none;
  color: #f7f8ff;
  font-size: clamp(3rem, 4.4vw, 4.5rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0;
}

.embedlab-hero-copy h1 .features-editorial-title-line {
  display: block;
  white-space: nowrap;
}

.embedlab-hero-copy h1 .features-editorial-title-accent {
  color: #ffd34e;
}

.embedlab-lead {
  margin: 1rem 0 0;
  max-width: 56ch;
  color: #b5c4d8;
  line-height: 1.7;
}

.embedlab-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.embedlab-stack {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(172px, 1fr));
  gap: 0.75rem;
}

.embedlab-stack span {
  border: 1px solid rgba(126, 145, 192, 0.34);
  border-radius: 10px;
  padding: 0.66rem 0.74rem;
  background: rgba(9, 16, 30, 0.78);
  box-shadow: 0 14px 32px rgba(2, 7, 18, 0.22);
}

.embedlab-stack strong,
.embedlab-stack small {
  display: block;
}

.embedlab-stack strong {
  color: #f4f7ff;
  font-size: 0.88rem;
}

.embedlab-stack small {
  margin-top: 0.18rem;
  color: #88a2ca;
  font-size: 0.74rem;
}

.embedlab-hero-art {
  position: relative;
  align-self: stretch;
  min-height: 520px;
  display: grid;
  place-items: end center;
  isolation: isolate;
}

.embedlab-hero-grid {
  position: absolute;
  inset: 10% 0 0;
  z-index: -2;
  border-left: 1px solid rgba(127, 151, 205, 0.13);
  border-right: 1px solid rgba(127, 151, 205, 0.13);
  background:
    linear-gradient(rgba(115, 142, 204, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(115, 142, 204, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

.embedlab-hero-art::before {
  content: '';
  position: absolute;
  inset: 10% -8% 0;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(88, 101, 242, 0.3), transparent 66%);
  filter: blur(20px);
}

.embedlab-hero-art img {
  display: block;
  width: min(104%, 740px);
  height: auto;
  max-height: 560px;
  object-fit: contain;
  object-position: center bottom;
  border-radius: 16px;
  filter: drop-shadow(0 28px 36px rgba(0, 0, 0, 0.45));
}

.embedlab-hero-index {
  position: absolute;
  z-index: -1;
  top: 4%;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(169, 180, 235, 0.08);
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.embedlab-hero-float {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(152, 174, 217, 0.32);
  border-radius: 6px;
  background: rgba(8, 15, 29, 0.94);
  box-shadow: 0 22px 48px rgba(2, 6, 15, 0.5);
  backdrop-filter: blur(14px);
}

.embedlab-hero-float--json {
  top: 24%;
  right: 0;
  min-width: 168px;
  padding: 0.8rem 0.9rem;
}

.embedlab-hero-float--json span,
.embedlab-hero-float--json strong {
  display: block;
}

.embedlab-hero-float--json span {
  color: #8999b3;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
}

.embedlab-hero-float--json strong {
  margin-top: 0.2rem;
  color: #f4f7ff;
  font-size: 1.2rem;
}

.embedlab-hero-float--json i {
  color: #68e4a5;
  font-size: 0.75rem;
}

.embedlab-hero-float--libs {
  left: 0;
  bottom: 14%;
  padding: 0.68rem 0.8rem;
  display: grid;
  grid-template-columns: 34px auto;
  align-items: center;
  gap: 0.6rem;
}

.embedlab-hero-float--libs > i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: #07120c;
  background: #67e5a2;
}

.embedlab-hero-float--libs strong,
.embedlab-hero-float--libs small {
  display: block;
}

.embedlab-hero-float--libs strong {
  color: #f4f7ff;
  font-size: 0.78rem;
}

.embedlab-hero-float--libs small {
  margin-top: 0.1rem;
  color: #8594ad;
  font-size: 0.64rem;
}

.embedlab-tooling {
  padding: 2.4rem 0 0;
}

.embedlab-tool-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 1.05rem;
}

.embedlab-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(120, 177, 222, 0.34);
  background: linear-gradient(180deg, rgba(13, 21, 31, 0.95), rgba(9, 15, 22, 0.98));
  box-shadow:
    0 22px 46px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(88, 101, 242, 0.14) inset;
  padding: 1rem;
}

.embedlab-panel::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(143, 255, 197, 0.82), rgba(19, 207, 255, 0.78), rgba(88, 101, 242, 0.72));
  pointer-events: none;
  z-index: 1;
}

.embedlab-panel-head h2 {
  margin: 0.2rem 0 0;
  font-size: clamp(1.34rem, 2.1vw, 1.85rem);
}

.embedlab-panel-head .eyebrow {
  margin: 0;
}

.embedlab-form {
  margin-top: 1rem;
  display: grid;
  gap: 0.85rem;
}

.embedlab-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
}

.embedlab-form-grid label,
.embedlab-field-row label {
  display: grid;
  gap: 0.4rem;
}

.embedlab-form-grid label > span,
.embedlab-field-row label > span {
  color: #95aac8;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.embedlab-form-grid input,
.embedlab-form-grid textarea,
.embedlab-field-row input,
.embedlab-field-row textarea {
  border-radius: 8px;
  border: 1px solid rgba(127, 148, 196, 0.34);
  background: rgba(8, 14, 26, 0.86);
  color: #e9efff;
  font-size: 0.92rem;
  padding: 0.62rem 0.7rem;
}

.embedlab-form-grid input:focus,
.embedlab-form-grid textarea:focus,
.embedlab-field-row input:focus,
.embedlab-field-row textarea:focus {
  outline: none;
  border-color: rgba(125, 225, 248, 0.65);
  box-shadow: 0 0 0 2px rgba(125, 225, 248, 0.18);
}

.embedlab-color-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.embedlab-color-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.embedlab-color-row #embedColor {
  flex: 0 0 auto;
  width: 52px;
  height: 40px;
  padding: 0.18rem;
  cursor: pointer;
}

.embedlab-color-row .embedlab-color-meta {
  flex: 1 1 auto;
  min-width: 0;
}

.embedlab-color-row .embedlab-color-meta input {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
}

.embedlab-color-chip {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid rgba(143, 169, 215, 0.6);
  background: #5865f2;
  box-shadow: inset 0 0 0 1px rgba(3, 7, 16, 0.45);
}

.embedlab-color-meta input {
  width: 108px;
  border-radius: 6px;
  border: 1px solid rgba(127, 148, 196, 0.38);
  background: rgba(8, 14, 26, 0.9);
  color: #dce6f8;
  font-size: 0.83rem;
  letter-spacing: 0.04em;
  font-family: "Fira Code", "JetBrains Mono", "Consolas", monospace;
  padding: 0.34rem 0.46rem;
  text-transform: uppercase;
}

.embedlab-color-meta input:focus {
  outline: none;
  border-color: rgba(125, 225, 248, 0.65);
  box-shadow: 0 0 0 2px rgba(125, 225, 248, 0.18);
}

.embedlab-form-span-2 {
  grid-column: span 2;
}

.embedlab-markdown-hints {
  border: 1px solid rgba(125, 145, 192, 0.32);
  border-radius: 10px;
  background: rgba(9, 16, 30, 0.72);
  padding: 0.62rem 0.72rem;
}

.embedlab-markdown-hints p {
  margin: 0;
  color: #9db4d8;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.embedlab-markdown-hints-grid {
  margin-top: 0.45rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.42rem;
}

.embedlab-markdown-hints-grid span {
  border: 1px solid rgba(120, 141, 184, 0.25);
  border-radius: 6px;
  background: rgba(8, 14, 24, 0.82);
  color: #cad8ed;
  font-size: 0.76rem;
  line-height: 1.4;
  padding: 0.34rem 0.4rem;
}

.embedlab-markdown-hints-grid code {
  margin-right: 0.22rem;
  color: #f2f6ff;
  font-size: 0.73rem;
  font-family: "Fira Code", "JetBrains Mono", "Consolas", monospace;
}

.embedlab-author-grid {
  padding-top: 0.15rem;
}

.embedlab-check {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  color: #bdd2f1;
}

.embedlab-check input {
  width: 16px;
  height: 16px;
}

.embedlab-section {
  border-top: 1px solid rgba(126, 145, 192, 0.22);
  padding-top: 0.95rem;
}

.embedlab-section--flush {
  border-top: 0;
  padding-top: 0;
}

.embedlab-section > h3 {
  margin: 0 0 0.7rem;
  font-size: 1rem;
  color: #f2f4fb;
}

.embedlab-fields {
  margin-top: 0.4rem;
  border-top: 1px solid rgba(126, 145, 192, 0.22);
  padding-top: 0.95rem;
}

.embedlab-fields-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.embedlab-fields-head h3 {
  margin: 0;
  font-size: 1rem;
}

.embedlab-field-list {
  margin-top: 0.7rem;
  display: grid;
  gap: 0.66rem;
}

.embedlab-field-row {
  display: grid;
  gap: 0.56rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) auto auto;
  align-items: end;
  border: 1px solid rgba(119, 141, 186, 0.28);
  border-radius: 10px;
  background: rgba(8, 14, 24, 0.74);
  padding: 0.58rem;
}

.embedlab-limits {
  border-radius: 8px;
  border: 1px solid rgba(137, 167, 214, 0.24);
  background: rgba(9, 17, 32, 0.7);
  color: #a7b9d5;
  font-size: 0.84rem;
  line-height: 1.45;
  padding: 0.65rem 0.75rem;
}

.embedlab-limits.is-ok {
  border-color: rgba(104, 228, 165, 0.38);
  color: #93d8b1;
}

.embedlab-limits.is-warning {
  border-color: rgba(255, 204, 107, 0.54);
  color: #f4d28f;
}

.embedlab-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.embedlab-discord-preview {
  margin-top: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(117, 138, 188, 0.28);
  background: #1e1f22;
  padding: 0.9rem;
}

.embedlab-message-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.embedlab-bot-avatar {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #061025;
  background: linear-gradient(135deg, #5865f2, #8ee9f5);
}

.embedlab-message-header strong,
.embedlab-message-header small {
  display: block;
}

.embedlab-message-header strong {
  color: #f2f4fb;
  font-size: 0.9rem;
}

.embedlab-message-header small {
  color: #9ca7bc;
  font-size: 0.72rem;
}

.embedlab-embed-card {
  margin-top: 0.72rem;
  padding: 0.74rem 0.78rem;
  border-left: 4px solid var(--embed-accent, #5865f2);
  border-radius: 8px;
  background: #2b2d31;
  color: #e4e6ec;
}

.embedlab-author {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  margin-bottom: 0.4rem;
}

.embedlab-author img,
.embedlab-footer img {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  object-fit: cover;
}

.embedlab-author a {
  color: #f4f7ff;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.embedlab-author a:hover {
  text-decoration: underline;
}

.embedlab-title {
  display: inline-block;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
}

.embedlab-title[href] {
  color: #00a8fc;
}

.embedlab-title:hover {
  text-decoration: underline;
}

.embedlab-embed-card [hidden] {
  display: none !important;
}

.embedlab-description {
  margin: 0.45rem 0 0;
  color: #dcdee5;
  font-size: 0.9rem;
  line-height: 1.5;
  white-space: pre-wrap;
}

.embedlab-description strong,
.embedlab-field-preview span strong,
.embedlab-field-preview strong strong {
  color: #ffffff;
  font-weight: 800;
}

.embedlab-description em,
.embedlab-field-preview span em,
.embedlab-field-preview strong em {
  font-style: italic;
}

.embedlab-description u,
.embedlab-field-preview span u,
.embedlab-field-preview strong u {
  text-decoration: underline;
}

.embedlab-description s,
.embedlab-field-preview span s,
.embedlab-field-preview strong s {
  text-decoration: line-through;
}

.embedlab-description code,
.embedlab-field-preview span code,
.embedlab-field-preview strong code {
  display: inline-block;
  padding: 0 0.28rem;
  border-radius: 4px;
  background: rgba(17, 19, 24, 0.96);
  color: #f4f6fb;
  font-size: 0.82em;
  font-family: "Fira Code", "JetBrains Mono", "Consolas", monospace;
}

.embedlab-spoiler {
  border-radius: 3px;
  padding: 0 0.2rem;
  background: rgba(16, 18, 24, 0.98);
  color: transparent;
  transition: background 0.18s ease, color 0.18s ease;
}

.embedlab-spoiler:hover {
  background: rgba(71, 77, 90, 0.84);
  color: #e6e8ef;
}

.embedlab-fields-preview {
  margin-top: 0.6rem;
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.embedlab-field-preview {
  grid-column: span 12;
  border-radius: 6px;
  border: 1px solid rgba(124, 136, 164, 0.28);
  background: rgba(20, 22, 27, 0.72);
  padding: 0.45rem 0.5rem;
}

.embedlab-field-preview.is-inline {
  grid-column: span 4;
}

.embedlab-field-preview strong,
.embedlab-field-preview span {
  display: block;
}

.embedlab-field-preview strong {
  color: #ffffff;
  font-size: 0.78rem;
}

.embedlab-field-preview span {
  margin-top: 0.16rem;
  color: #ced2dd;
  font-size: 0.78rem;
  white-space: pre-wrap;
}

.embedlab-image {
  width: 100%;
  height: auto;
  margin-top: 0.6rem;
  border-radius: 6px;
}

.embedlab-footer {
  margin-top: 0.64rem;
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  color: #b9beca;
  font-size: 0.75rem;
}

.embedlab-code-blocks {
  margin-top: 0.86rem;
  display: grid;
  gap: 0.8rem;
}

.embedlab-code-blocks article {
  position: relative;
  isolation: isolate;
  border-radius: 12px;
  border: 1px solid rgba(120, 177, 222, 0.34);
  background: linear-gradient(180deg, rgba(13, 21, 31, 0.95), rgba(9, 15, 22, 0.98));
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(88, 101, 242, 0.12) inset;
  overflow: hidden;
}

.embedlab-code-blocks article::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(143, 255, 197, 0.82), rgba(19, 207, 255, 0.78), rgba(88, 101, 242, 0.72));
  pointer-events: none;
  z-index: 1;
}

.embedlab-code-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.7rem;
  border-bottom: 1px solid rgba(118, 139, 186, 0.2);
}

.embedlab-code-head h3 {
  margin: 0;
  font-size: 0.9rem;
}

.embedlab-code-blocks pre {
  margin: 0;
  max-height: 250px;
  overflow: auto;
  padding: 0.72rem;
  font-size: 0.8rem;
  line-height: 1.54;
  color: #d4dbeb;
  font-family: "Fira Code", "JetBrains Mono", "Consolas", monospace;
}

.embedlab-cta-section {
  margin-top: 2.1rem;
  margin-bottom: 1.3rem;
}

@media (max-width: 1080px) {
  .embedlab-tool-grid,
  .embedlab-hero-layout {
    grid-template-columns: 1fr;
  }

  .embedlab-hero-copy h1 {
    max-width: none;
  }

  .embedlab-hero-art {
    min-height: min(74vw, 560px);
  }
}

@media (max-width: 760px) {
  .embedlab-hero {
    padding: 3.2rem 0 2.2rem;
  }

  .embedlab-hero-copy h1 {
    font-size: clamp(2.15rem, 9vw, 3rem);
    line-height: 1.04;
  }

  .embedlab-hero-copy h1 .features-editorial-title-line {
    white-space: normal;
  }

  .embedlab-hero-art img {
    width: 100%;
    max-height: 420px;
  }

  .embedlab-hero-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }

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

  .embedlab-cta-section {
    margin-top: 1.4rem;
    margin-bottom: 0.9rem;
  }

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

  .embedlab-form-span-2 {
    grid-column: auto;
  }

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

  .embedlab-field-preview.is-inline {
    grid-column: span 12;
  }

  .embedlab-fields-head {
    flex-wrap: wrap;
  }

  .embedlab-actions .btn,
  .embedlab-fields-head .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

@media (max-width: 460px) {
  .embedlab-hero-float--json,
  .embedlab-hero-float--libs {
    display: none;
  }

  .embedlab-markdown-hints-grid {
    grid-template-columns: 1fr;
  }
}

