:root {
  --bg: #050914;
  --bg-2: #08111f;
  --panel: rgba(13, 24, 42, 0.84);
  --panel-solid: #101d31;
  --panel-strong: #16253d;
  --line: rgba(88, 150, 255, 0.18);
  --line-strong: rgba(88, 150, 255, 0.34);
  --text: #f7faff;
  --muted: #a9b6c9;
  --muted-2: #738198;
  --accent: #4da3ff;
  --accent-2: #2e74ff;
  --success: #33e28d;
  --danger: #ff6575;
  --gold: #f7d765;
  --shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --sidebar-width: 284px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 62% 7%, rgba(77, 163, 255, 0.22), transparent 28%),
    radial-gradient(circle at 82% 42%, rgba(247, 215, 101, 0.08), transparent 26%),
    linear-gradient(135deg, #030712 0%, #091423 48%, #050914 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 50% 16%, transparent 0 18%, rgba(5, 9, 20, 0.52) 48%),
    linear-gradient(180deg, rgba(5, 9, 20, 0.06), rgba(5, 9, 20, 0.84));
}

button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.page-shell {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  width: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 28px 20px;
  border-right: 1px solid var(--line);
  background: rgba(4, 10, 19, 0.82);
  backdrop-filter: blur(22px);
  box-shadow: 18px 0 80px rgba(0, 0, 0, 0.24);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark,
.avatar-placeholder {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 16px 38px rgba(77, 163, 255, 0.3);
}

.brand-mark {
  width: 42px;
  height: 42px;
  font-size: 21px;
}

.brand-name {
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-name span { color: var(--accent); }

.sidebar-nav {
  display: grid;
  gap: 8px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 15px;
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  transition: 160ms ease;
}

.sidebar-link:hover,
.sidebar-link.active {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(77, 163, 255, 0.11);
}

.sidebar-nav:hover .sidebar-link.active:not(:hover) {
  color: var(--muted);
  border-color: transparent;
  background: transparent;
}

.nav-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 9px;
  color: var(--accent);
  background: rgba(77, 163, 255, 0.13);
  line-height: 0;
}

.telegram-icon {
  color: #fff;
  background: linear-gradient(135deg, #5865f2, #345bff);
}

.sidebar-card {
  margin-top: auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(77, 163, 255, 0.13), rgba(9, 20, 36, 0.82));
}

.sidebar-card-title {
  font-weight: 900;
  letter-spacing: -0.02em;
}

.sidebar-card p {
  margin: 8px 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.sidebar-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #5865f2, #345bff);
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}

.primary-btn,
.secondary-btn,
.ghost-btn,
.copy-row button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 15px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 900;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, opacity 160ms ease;
}

.primary-btn:hover,
.secondary-btn:hover,
.ghost-btn:hover,
.copy-row button:hover { transform: translateY(-1px); }

.main {
  width: 100%;
  min-width: 0;
  margin-left: var(--sidebar-width);
  padding: 24px 5vw 72px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-height: 72px;
  margin: -24px -5vw 18px;
  padding: 14px 5vw;
  background: linear-gradient(180deg, rgba(5, 9, 20, 0.88), rgba(5, 9, 20, 0.46));
  backdrop-filter: blur(18px);
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: rgba(13, 24, 42, 0.78);
  cursor: pointer;
}

.status-pill {
  max-width: min(58vw, 560px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(13, 24, 42, 0.72);
  font-size: 14px;
  font-weight: 800;
}

.status-pill.connected {
  color: var(--success);
  border-color: rgba(51, 226, 141, 0.28);
  background: rgba(51, 226, 141, 0.08);
}

.ghost-btn {
  min-height: 42px;
  padding: 0 16px;
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(13, 24, 42, 0.68);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(390px, 0.82fr);
  align-items: center;
  gap: clamp(22px, 4vw, 52px);
  min-height: auto;
  padding: clamp(28px, 5vh, 56px) 0 24px;
}

.hero-copy { max-width: 720px; }

.race-pill,
.card-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.race-pill {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #b8d8ff;
  background: rgba(77, 163, 255, 0.1);
}

.race-pill span,
.card-kicker::before,
.section-kicker::before {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  content: "";
  background: var(--success);
  box-shadow: 0 0 22px rgba(51, 226, 141, 0.85);
}

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

h1 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.96;
  letter-spacing: -0.07em;
}

.hero-copy p {
  max-width: 650px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.primary-btn,
.secondary-btn {
  min-height: 56px;
  padding: 0 22px;
}

.primary-btn {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 18px 44px rgba(77, 163, 255, 0.34);
}

.secondary-btn {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(13, 24, 42, 0.74);
}

.btn-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  line-height: 0;
}

.telegram-btn-icon {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.avatar-placeholder.telegram-avatar {
  color: #fff;
  background: linear-gradient(135deg, #5865f2, #345bff);
}

.avatar-placeholder svg {
  display: block;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
}

.trust-item {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(13, 24, 42, 0.56);
  backdrop-filter: blur(14px);
}

.trust-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 22px;
}

.trust-item span {
  color: var(--muted);
  font-size: 14px;
}

.claim-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(20, 38, 65, 0.96), rgba(8, 16, 30, 0.94));
  box-shadow: var(--shadow);
}

.claim-card::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: radial-gradient(circle at 74% 0%, rgba(77, 163, 255, 0.22), transparent 40%);
}

.card-glow {
  position: absolute;
  top: -130px;
  right: -90px;
  z-index: -1;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: rgba(77, 163, 255, 0.34);
  filter: blur(42px);
}

.claim-card-header,
.account-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.claim-card h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.live-dot {
  padding: 8px 11px;
  border: 1px solid rgba(51, 226, 141, 0.32);
  border-radius: 999px;
  color: var(--success);
  background: rgba(51, 226, 141, 0.08);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.session-box {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(5, 9, 20, 0.38);
}

.avatar-placeholder { width: 48px; height: 48px; }

.session-box strong,
.session-box span { display: block; }
.session-box strong { margin-bottom: 4px; }
.session-box span { color: var(--muted); font-size: 14px; }

.notice {
  min-height: 52px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--muted);
  background: rgba(77, 163, 255, 0.06);
  line-height: 1.4;
}

.notice.success {
  color: var(--success);
  border-color: rgba(51, 226, 141, 0.28);
  background: rgba(51, 226, 141, 0.08);
}

.notice.error {
  color: #ffb9c0;
  border-color: rgba(255, 101, 117, 0.38);
  background: rgba(255, 101, 117, 0.09);
}

.notice.loading {
  color: var(--text);
  border-color: rgba(77, 163, 255, 0.32);
  background: rgba(77, 163, 255, 0.1);
}

.account-box {
  overflow: hidden;
  margin-top: 16px;
  border: 1px solid rgba(51, 226, 141, 0.26);
  border-radius: 22px;
  background: rgba(4, 16, 24, 0.78);
}

.account-box-header {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(51, 226, 141, 0.17);
  background: rgba(51, 226, 141, 0.08);
}

.account-box-header span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.account-box-header strong { color: var(--success); font-size: 13px; }

.account-box label {
  display: block;
  margin: 18px 18px 8px;
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.copy-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 18px 10px;
}

.copy-row code {
  flex: 1;
  min-width: 0;
  overflow: auto;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: rgba(5, 9, 20, 0.56);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  white-space: nowrap;
}

.copy-row button {
  min-height: 42px;
  padding: 0 14px;
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(77, 163, 255, 0.14);
}

.account-box p {
  margin: 12px 18px 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.account-help {
  margin: 0 18px 18px;
}

.account-help summary {
  width: fit-content;
  list-style: none;
  cursor: pointer;
  user-select: none;
  padding: 9px 13px;
  border: 1px solid rgba(77, 163, 255, 0.34);
  border-radius: 999px;
  color: var(--text);
  background: linear-gradient(135deg, rgba(77, 163, 255, 0.22), rgba(47, 112, 255, 0.14));
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.account-help summary::-webkit-details-marker {
  display: none;
}

.account-help summary:hover {
  transform: translateY(-1px);
  border-color: rgba(77, 163, 255, 0.6);
  background: linear-gradient(135deg, rgba(77, 163, 255, 0.32), rgba(47, 112, 255, 0.22));
}

.account-help-message {
  margin-top: 10px;
  padding: 13px 14px;
  border: 1px solid rgba(77, 163, 255, 0.22);
  border-radius: 16px;
  color: var(--muted);
  background: rgba(5, 9, 20, 0.48);
  font-size: 13px;
  line-height: 1.55;
}

.account-help-message a {
  color: var(--primary);
  font-weight: 900;
  text-decoration: none;
}

.account-help-message a:hover {
  text-decoration: underline;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  scroll-margin-top: 88px;
  padding: 10px 0 24px;
}

.info-card,
.section-panel {
  border: 1px solid var(--line);
  background: rgba(13, 24, 42, 0.62);
  backdrop-filter: blur(16px);
}

.info-card {
  min-height: 178px;
  padding: 22px;
  border-radius: 26px;
}

.info-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 12px;
  color: var(--accent);
  background: rgba(77, 163, 255, 0.12);
  font-size: 13px;
  font-weight: 950;
}

.info-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.info-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.section-panel {
  scroll-margin-top: 88px;
  margin-top: 12px;
  padding: clamp(22px, 3vw, 36px);
  border-radius: 30px;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 26px;
}

.section-heading.centered {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 10px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}


.faq-list {
  display: grid;
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(5, 9, 20, 0.38);
}

.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 70px;
  padding: 0 58px 0 22px;
  cursor: pointer;
  color: var(--text);
  font-size: 17px;
  font-weight: 900;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  position: absolute;
  right: 22px;
  content: "⌄";
  color: var(--accent);
  font-size: 24px;
  transition: transform 160ms ease;
}

.faq-item[open] summary::after { transform: rotate(180deg); }

.faq-item p {
  margin: -4px 22px 22px;
  color: var(--muted);
  line-height: 1.65;
}

.support-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
}

.support-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(77, 163, 255, 0.24), transparent 32%),
    rgba(3, 7, 15, 0.78);
  backdrop-filter: blur(14px) saturate(120%);
}

.support-modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  overflow: hidden;
  border: 1px solid rgba(88, 150, 255, 0.28);
  border-radius: 32px;
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(16, 29, 49, 0.96), rgba(7, 14, 27, 0.98)),
    radial-gradient(circle at 18% 0%, rgba(77, 163, 255, 0.26), transparent 34%);
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.support-modal-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 80% 14%, rgba(88, 150, 255, 0.22), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 34%);
}

.support-modal-card::after {
  position: absolute;
  right: -52px;
  bottom: -58px;
  width: 190px;
  height: 190px;
  pointer-events: none;
  content: "";
  border-radius: 999px;
  background: rgba(77, 163, 255, 0.1);
  border: 1px solid rgba(88, 150, 255, 0.16);
}

.support-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(88, 150, 255, 0.26);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.055);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.support-modal-close:hover {
  color: var(--text);
  border-color: rgba(77, 163, 255, 0.56);
  background: rgba(77, 163, 255, 0.12);
  transform: translateY(-1px);
}

.support-modal-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 18px;
  border: 1px solid rgba(88, 150, 255, 0.34);
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, #5865f2, var(--accent));
  box-shadow: 0 18px 48px rgba(77, 163, 255, 0.32);
}

.support-modal-kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  border: 1px solid rgba(88, 150, 255, 0.26);
  border-radius: 999px;
  padding: 7px 12px;
  color: #8ec5ff;
  background: rgba(77, 163, 255, 0.1);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.support-modal-kicker::before {
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 18px rgba(51, 226, 141, 0.65);
}

.support-modal-card h2,
.support-modal-card p,
.support-modal-actions {
  position: relative;
  z-index: 1;
}

.support-modal-card h2 {
  margin: 0 0 12px;
  max-width: 380px;
  color: var(--text);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.support-modal-card p {
  max-width: 410px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.support-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.support-modal-primary,
.support-modal-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.support-modal-primary {
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  background: linear-gradient(135deg, #5865f2, var(--accent));
  box-shadow: 0 16px 42px rgba(77, 163, 255, 0.34);
}

.support-modal-primary:hover,
.support-modal-secondary:hover {
  transform: translateY(-2px);
}

.support-modal-primary:hover {
  box-shadow: 0 22px 54px rgba(77, 163, 255, 0.42);
}

.support-modal-secondary {
  border: 1px solid rgba(88, 150, 255, 0.26);
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
}

.support-modal-secondary:hover {
  border-color: rgba(88, 150, 255, 0.48);
  background: rgba(77, 163, 255, 0.1);
}

@media (max-width: 560px) {
  .support-modal { padding: 16px; }
  .support-modal-card { padding: 28px 20px 22px; border-radius: 26px; }
  .support-modal-close { top: 14px; right: 14px; }
  .support-modal-icon { width: 54px; height: 54px; border-radius: 18px; }
  .support-modal-actions { flex-direction: column; }
  .support-modal-primary,
  .support-modal-secondary { width: 100%; }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 50;
  max-width: min(520px, calc(100vw - 32px));
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(13, 24, 42, 0.96);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.36);
  transform: translateX(-50%);
}

.hidden { display: none !important; }

@media (max-width: 1180px) {
  .hero-section {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: 0;
  }

  .claim-card { max-width: 780px; }
  .content-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  :root { --sidebar-width: 280px; }

  .sidebar {
    transform: translateX(-102%);
    transition: transform 180ms ease;
  }

  body.sidebar-open .sidebar { transform: translateX(0); }

  .main {
    margin-left: 0;
    padding-inline: 20px;
  }

  .topbar {
    margin-inline: -20px;
    padding-inline: 20px;
  }

  .menu-btn {
    display: inline-grid;
    place-items: center;
  }

  h1 { font-size: clamp(42px, 13vw, 64px); }
  .trust-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .main { padding-inline: 16px; }

  .topbar {
    min-height: 68px;
    margin-inline: -16px;
    padding-inline: 16px;
  }

  .status-pill { max-width: 44vw; }

  .hero-section { padding-top: 22px; }

  .hero-actions,
  .primary-btn,
  .secondary-btn { width: 100%; }

  .claim-card { border-radius: 24px; }

  .claim-card-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .copy-row {
    align-items: stretch;
    flex-direction: column;
  }

}

/* Reviews section */
.reviews-section {
  position: relative;
  overflow: hidden;
}

.reviews-section::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 18% 22%, rgba(77, 163, 255, 0.16), transparent 26%),
    radial-gradient(circle at 86% 52%, rgba(247, 215, 101, 0.08), transparent 28%);
}

.reviews-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}

.reviews-benefits {
  display: grid;
  gap: 26px;
}

.review-benefit {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: start;
}

.review-benefit-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  color: #fff;
  font-size: 24px;
  font-weight: 950;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.reward-icon { background: linear-gradient(135deg, #21d68f, #0da766); }
.trust-icon { background: linear-gradient(135deg, #4da3ff, #2e74ff); }
.quality-icon { background: linear-gradient(135deg, #d65cff, #b921a8); }

.review-benefit h3 {
  margin-bottom: 8px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.review-benefit p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.reviews-card {
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  padding: clamp(20px, 3vw, 32px);
  background: linear-gradient(180deg, rgba(22, 37, 61, 0.92), rgba(13, 24, 42, 0.88));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.reviews-card-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.reviews-card-title span {
  color: #ffd541;
  font-size: 30px;
  line-height: 1;
}

.reviews-card-title h3 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.04em;
}

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

.review-item {
  min-height: 148px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  animation: reviewFadeIn 360ms ease both;
}

.review-stars {
  margin-bottom: 9px;
  color: #ffd541;
  font-size: 16px;
  letter-spacing: 0.07em;
}

.review-item blockquote {
  margin: 0 0 12px;
  color: var(--text);
  font-style: italic;
  line-height: 1.55;
}

.review-author {
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}

@keyframes reviewFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .reviews-layout { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .review-benefit { grid-template-columns: 44px 1fr; gap: 12px; }
  .review-benefit-icon { width: 42px; height: 42px; font-size: 20px; }
  .reviews-card-title h3 { font-size: 24px; }
  .review-item { min-height: auto; }
}

/* Leaderboard */
.leaderboard-section {
  display: grid;
  gap: 24px;
}

.leaderboard-hero {
  position: relative;
  overflow: hidden;
  padding: 36px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 50% 0%, rgba(77, 163, 255, 0.22), transparent 34%),
    radial-gradient(circle at 78% 22%, rgba(247, 215, 101, 0.13), transparent 28%),
    linear-gradient(180deg, rgba(14, 27, 46, 0.94), rgba(8, 15, 27, 0.84));
  box-shadow: var(--shadow);
}

.leaderboard-hero::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

.leaderboard-hero > * {
  position: relative;
  z-index: 1;
}

.race-countdown {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-top: 22px;
}

.race-countdown-label {
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(82px, 1fr));
  gap: 12px;
  width: min(520px, 100%);
}

.countdown-grid div {
  min-height: 86px;
  display: grid;
  place-items: center;
  gap: 3px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 16px;
  background: rgba(2, 7, 15, 0.52);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.countdown-grid strong {
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.countdown-grid span {
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.leaderboard-status {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(8, 17, 31, 0.72);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.podium-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.podium-card,
.leaderboard-empty {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(20, 34, 55, 0.94), rgba(8, 15, 27, 0.9));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.podium-card::before {
  position: absolute;
  inset: auto -30% -45% -30%;
  height: 140px;
  content: "";
  filter: blur(34px);
  opacity: 0.32;
  background: var(--accent);
}

.podium-rank-1 {
  border-color: rgba(247, 215, 101, 0.45);
  background: linear-gradient(180deg, rgba(71, 60, 13, 0.58), rgba(15, 16, 8, 0.92));
}

.podium-rank-1::before { background: var(--gold); }
.podium-rank-2::before { background: #c8d3df; }
.podium-rank-3::before { background: #d98a3a; }

.podium-medal {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  font-size: 28px;
}

.podium-rank-label {
  display: inline-flex;
  width: fit-content;
  margin-top: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--accent);
  background: rgba(77, 163, 255, 0.14);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.podium-card h3 {
  margin: 12px 0 6px;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.podium-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.podium-card strong {
  color: var(--gold);
  font-size: 34px;
  letter-spacing: -0.06em;
}

.leaderboard-table-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(13, 24, 42, 0.82);
  box-shadow: var(--shadow);
}

.leaderboard-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.leaderboard-table-header h3 {
  margin: 7px 0 0;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.leaderboard-table-header > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.leaderboard-table-wrap {
  overflow-x: auto;
}

.leaderboard-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.leaderboard-table th,
.leaderboard-table td {
  padding: 15px 20px;
  border-bottom: 1px solid rgba(88, 150, 255, 0.12);
  text-align: left;
}

.leaderboard-table th {
  color: var(--muted-2);
  background: rgba(2, 7, 15, 0.28);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.leaderboard-table td {
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.leaderboard-table tr:last-child td {
  border-bottom: 0;
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 30px;
  border-radius: 999px;
  color: var(--accent);
  background: rgba(77, 163, 255, 0.12);
  font-weight: 900;
}

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

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

  .leaderboard-table-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

.seo-section {
  background:
    radial-gradient(circle at 18% 0%, rgba(77, 163, 255, 0.1), transparent 30%),
    rgba(13, 24, 42, 0.44);
}

.seo-accordion-panel {
  padding: 0;
  overflow: hidden;
}

.seo-about-details {
  width: 100%;
}

.seo-about-details summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 18px 24px;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  list-style: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.seo-about-details summary::-webkit-details-marker {
  display: none;
}

.seo-about-details summary:hover {
  color: var(--text);
  background: rgba(77, 163, 255, 0.06);
}

.seo-about-details[open] summary {
  border-bottom: 1px solid rgba(88, 150, 255, 0.14);
}

.summary-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 16px rgba(49, 244, 165, 0.58);
}

.seo-about-inner {
  padding: 34px 30px 30px;
}

.seo-heading-compact {
  margin-bottom: 24px;
}

.seo-copy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto 22px;
}

.seo-copy-grid article {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(5, 9, 20, 0.34);
  padding: 20px;
}

.seo-copy-grid h3 {
  margin-bottom: 10px;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.seo-copy-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.seo-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 1180px;
  margin: 0 auto;
}

.seo-keywords span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(77, 163, 255, 0.22);
  border-radius: 999px;
  background: rgba(77, 163, 255, 0.08);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .seo-copy-grid {
    grid-template-columns: 1fr;
  }
}


/* Telegram-only account claim */
.telegram-claim-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}

.telegram-panel-copy {
  max-width: 590px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.telegram-panel-button {
  align-self: flex-start;
  background: linear-gradient(135deg, #2aabee, #168acd);
  box-shadow: 0 16px 36px rgba(42, 171, 238, 0.24);
}

.telegram-panel-button:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.telegram-icon,
.telegram-btn-icon {
  color: #fff;
}

@media (max-width: 720px) {
  .telegram-panel-button {
    width: 100%;
    justify-content: center;
  }
}


.sidebar-card-actions {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.sidebar-card-link-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-card-link-secondary:hover {
  background: rgba(255, 255, 255, 0.075);
}


.sidebar-card-link-bot {
  color: #fff;
  background: linear-gradient(135deg, #2aabee, #168acd);
  border: 1px solid rgba(86, 195, 245, 0.34);
  box-shadow: 0 12px 28px rgba(42, 171, 238, 0.18);
}

.sidebar-card-link-bot:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}


/* Refined sidebar and header-free layout */
.brand-mark {
  overflow: hidden;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 12px 32px rgba(42, 171, 238, 0.26);
}

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

.nav-icon {
  border: 1px solid rgba(92, 172, 255, 0.14);
  background: rgba(77, 163, 255, 0.10);
}

.nav-icon svg {
  display: block;
}

.sidebar-link:hover .nav-icon,
.sidebar-link.active .nav-icon {
  color: #d8ecff;
  border-color: rgba(92, 172, 255, 0.28);
  background: rgba(77, 163, 255, 0.18);
}

.telegram-icon {
  color: #fff;
  border-color: rgba(82, 195, 244, 0.28);
  background: linear-gradient(145deg, #34b7f1, #229ed9);
  box-shadow: 0 8px 18px rgba(34, 158, 217, 0.20);
}

.main {
  padding-top: 24px;
}

.hero-section {
  padding-top: clamp(18px, 3vh, 34px);
}

.claim-card-header {
  justify-content: flex-start;
}

.floating-menu-btn {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 60;
  margin: 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
}

@media (min-width: 861px) {
  .floating-menu-btn {
    display: none !important;
  }
}

@media (max-width: 860px) {
  .main {
    padding-top: 72px;
  }

  .hero-section {
    padding-top: 8px;
  }
}
