:root {
  --bg: #0c0a09;
  --bg-elevated: #171412;
  --bg-card: rgba(41, 37, 36, 0.45);
  --border: #292524;
  --text: #fafaf9;
  --muted: #a8a29e;
  --accent: #ffb844;
  --accent-soft: #ffd078;
  --accent-deep: #e89a22;
  --accent-glow: rgba(255, 184, 68, 0.4);
  --ink: #0c0a09;
  --danger: #f87171;
  --success: #4ade80;
  --radius: 24px;
  --radius-sm: 14px;
  --font: "Montserrat", system-ui, sans-serif;
  --shell: min(1120px, calc(100% - 32px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

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

button,
input,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
  position: relative;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 72px;
  padding: 14px 0;
  margin-bottom: 8px;
  background: rgba(12, 10, 9, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

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

.brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #000;
  box-shadow: 0 8px 24px var(--accent-glow);
  transition: transform 0.2s ease;
}

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

.brand:hover .brand__mark {
  transform: scale(1.05);
}

.brand__mark--sm {
  width: 36px;
  height: 36px;
}

.brand__name {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s, background 0.15s;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.chip {
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.chip:hover {
  color: var(--text);
  border-color: rgba(255, 184, 68, 0.45);
  background: rgba(255, 184, 68, 0.1);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.15s, background 0.15s, opacity 0.15s, box-shadow 0.15s;
}

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

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn--sm {
  padding: 8px 14px;
  font-size: 13px;
}

.btn--dark {
  color: #fff;
  background: #000;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.btn--dark:hover:not(:disabled) {
  background: #1c1917;
}

.btn--light {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.btn--light:hover:not(:disabled) {
  background: #fff;
}

.btn--accent {
  color: var(--ink);
  background: linear-gradient(180deg, var(--accent-soft), var(--accent) 55%, var(--accent-deep));
  box-shadow: 0 10px 28px var(--accent-glow);
}

.btn--accent:hover:not(:disabled) {
  box-shadow: 0 14px 32px rgba(255, 184, 68, 0.45);
}

.btn--ghost {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.btn--ghost:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.06);
}

.btn--block {
  width: 100%;
}

/* Hero — gold banner */

.hero {
  padding: 12px 0 32px;
}

.hero__panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
  min-height: 380px;
  padding: 40px 44px;
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 70% at 85% 40%, rgba(255, 255, 255, 0.22), transparent 50%),
    linear-gradient(135deg, #ffd078 0%, #ffb844 48%, #e89a22 100%);
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(255, 184, 68, 0.2);
  animation: heroIn 0.7s ease both;
}

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

.hero__brand {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 14px;
  max-width: 14ch;
}

.hero__lead {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  opacity: 0.82;
  max-width: 36ch;
  margin-bottom: 28px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.online-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(12, 10, 9, 0.14);
  border: 1px solid rgba(12, 10, 9, 0.12);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.online-chip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.45);
  animation: onlinePulse 1.8s ease infinite;
}

.online-chip.is-offline .online-chip__dot {
  background: #78716c;
  animation: none;
  box-shadow: none;
}

@keyframes onlinePulse {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

.hero__art {
  position: relative;
  min-height: 240px;
}

.hero__glow {
  position: absolute;
  inset: 10% 5%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35), transparent 65%);
  filter: blur(20px);
}

.cube {
  position: absolute;
  border-radius: 14px;
  border: 2px solid rgba(0, 0, 0, 0.12);
  box-shadow:
    8px 12px 0 rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  animation: cubeFloat 6s ease-in-out infinite;
}

.cube--a {
  width: 92px;
  height: 92px;
  right: 18%;
  top: 18%;
  background: linear-gradient(145deg, #fff8e7, #ffd078);
  animation-delay: 0s;
}

.cube--b {
  width: 64px;
  height: 64px;
  right: 42%;
  top: 48%;
  background: linear-gradient(145deg, #fef3d0, #ffb844);
  animation-delay: -1.5s;
}

.cube--c {
  width: 48px;
  height: 48px;
  right: 10%;
  top: 58%;
  background: linear-gradient(145deg, #ffd078, #e89a22);
  animation-delay: -3s;
}

@keyframes cubeFloat {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-12px) rotate(4deg); }
}

.hero__badge {
  position: absolute;
  right: 8%;
  bottom: 12%;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(12, 10, 9, 0.88);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Sections */

.section {
  padding: 48px 0;
}

.section__head {
  margin-bottom: 28px;
}

.section__head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 12px 24px;
}

.section__head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.section__head p {
  color: var(--muted);
  max-width: 40ch;
}

.section__aside {
  color: var(--muted);
  font-size: 14px;
  max-width: 28ch;
  text-align: right;
}

.section--rules {
  padding-top: 12px;
  padding-bottom: 12px;
}

.section--rules .section__head {
  margin-bottom: 0;
  align-items: center;
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(255, 184, 68, 0.1), transparent 55%),
    var(--bg-card);
}

.section--rules .section__head h2 {
  margin-bottom: 6px;
}

.section--rules .section__head p {
  margin: 0;
}

.section--streamers {
  padding-top: 12px;
  padding-bottom: 28px;
}

.section--streamers .section__head--row {
  align-items: center;
}

.section--streamers .section__head .section__aside {
  margin: 0;
  text-align: left;
  max-width: 40ch;
}

.streamers {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.streamers__empty {
  width: 100%;
  padding: 22px 20px;
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  background: rgba(41, 37, 36, 0.25);
}

.streamer {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: min(100%, 220px);
  flex: 1 1 200px;
  max-width: 280px;
  padding: 10px 14px 10px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, transform 0.2s, background 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}

.streamer:hover,
.streamer:focus-visible {
  border-color: rgba(255, 184, 68, 0.45);
  transform: translateY(-2px);
  background: rgba(41, 37, 36, 0.7);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  outline: none;
}

.streamer.is-live {
  border-color: rgba(255, 184, 68, 0.4);
  background:
    radial-gradient(ellipse 80% 100% at 0% 50%, rgba(255, 184, 68, 0.12), transparent 55%),
    var(--bg-card);
}

.streamer__avatar {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.streamer__avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #1c1917;
  border: 2px solid rgba(255, 255, 255, 0.08);
}

.streamer.is-live .streamer__avatar img {
  border-color: rgba(255, 184, 68, 0.65);
  box-shadow: 0 0 0 3px rgba(255, 184, 68, 0.15);
}

.streamer__meta {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.streamer__name {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.streamer__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.streamer__status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #78716c;
}

.streamer.is-live .streamer__status {
  color: var(--accent-soft);
}

.streamer.is-live .streamer__status::before {
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55);
  animation: livePulse 1.6s ease infinite;
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.streamer__viewers {
  color: var(--muted);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.mini-modal {
  border: none;
  padding: 0;
  background: transparent;
  max-width: min(400px, calc(100vw - 32px));
  width: 100%;
  height: fit-content;
  max-height: calc(100dvh - 32px);
  margin: auto;
  position: fixed;
  inset: 0;
}

.mini-modal[open] {
  display: block;
}

.mini-modal::backdrop {
  background: rgba(6, 5, 4, 0.72);
  backdrop-filter: blur(6px);
}

.mini-modal__card {
  position: relative;
  padding: 28px 24px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(255, 184, 68, 0.12), transparent 55%),
    var(--bg-elevated);
  color: var(--text);
  animation: mini-modal-in 0.22s ease;
}

@keyframes mini-modal-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mini-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.mini-modal__close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.mini-modal__card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.mini-modal__text {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.mini-modal__text a {
  color: var(--accent-soft);
  font-weight: 700;
}

.mini-modal__text a:hover {
  color: var(--accent);
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

/* Feature cards */

.feature-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 16px;
}

.card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.card:hover {
  border-color: rgba(255, 184, 68, 0.4);
  transform: translateY(-2px);
  background: rgba(41, 37, 36, 0.65);
}

.card--wide {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: center;
  background:
    radial-gradient(ellipse 60% 80% at 100% 50%, rgba(255, 184, 68, 0.14), transparent 55%),
    var(--bg-card);
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

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

.card__visual {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  justify-content: center;
  min-height: 120px;
}

.card__visual--vanilla span {
  display: block;
  width: 36px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffd078, var(--accent));
  box-shadow: 4px 6px 0 rgba(0, 0, 0, 0.25);
}

.card__visual--vanilla span:nth-child(1) { height: 48px; opacity: 0.7; }
.card__visual--vanilla span:nth-child(2) { height: 72px; }
.card__visual--vanilla span:nth-child(3) { height: 56px; opacity: 0.85; }

.linkish {
  color: var(--accent-soft);
  font-weight: 600;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.linkish:hover {
  text-decoration: underline;
}

/* Apply */

.apply {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: start;
  padding: 8px;
}

.apply__info h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.apply__info > p {
  color: var(--muted);
  margin-bottom: 20px;
}

.checklist {
  list-style: none;
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.checklist li {
  padding-left: 22px;
  position: relative;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(255, 184, 68, 0.5);
}

.checklist code {
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--accent-soft);
}

.checklist a {
  color: var(--accent-soft);
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 208, 120, 0.35);
  transition: color 0.15s, border-color 0.15s;
}

.checklist a:hover {
  color: var(--accent);
  border-color: rgba(255, 184, 68, 0.7);
}

.apply__panel {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(255, 184, 68, 0.12), transparent 55%),
    var(--bg-elevated);
}

.form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field span {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.field-hint {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.field-hint.is-error {
  color: #fca5a5;
}

.field-hint.is-ok {
  color: #86efac;
}

.field input.is-invalid,
.field select.is-invalid {
  border-color: rgba(248, 113, 113, 0.65);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.12);
}

.field input.is-valid {
  border-color: rgba(74, 222, 128, 0.55);
}

.field input,
.field select {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field input:focus,
.field select:focus {
  border-color: rgba(255, 184, 68, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 184, 68, 0.15);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23a8a29e' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.field select option {
  background: var(--bg-elevated);
}

.form-error {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.3);
  color: var(--danger);
  font-size: 13px;
  font-weight: 600;
}

.form-note {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.form-note a {
  color: var(--accent-soft);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.success {
  text-align: center;
  display: grid;
  gap: 12px;
  justify-items: center;
}

.success__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  background: linear-gradient(180deg, #86efac, var(--success));
  box-shadow: 0 10px 28px rgba(74, 222, 128, 0.3);
}

.success h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.apply-status {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  text-align: center;
  padding: 8px 4px;
  min-height: 120px;
}

.apply-status__visual {
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
}

.apply-status__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  opacity: 0;
}

.apply-status__core {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
  z-index: 1;
}

.apply-status.is-pending .apply-status__core {
  background: linear-gradient(145deg, #ffd078, #ffb844);
  box-shadow: 0 4px 14px rgba(255, 184, 68, 0.3);
}

.apply-status.is-pending .apply-status__ring {
  opacity: 1;
  border-color: rgba(255, 184, 68, 0.45);
  animation: statusPulse 1.8s ease-out infinite;
}

.apply-status.is-pending .apply-status__visual.is-spinner .apply-status__core::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(12, 10, 9, 0.2);
  border-top-color: var(--ink);
  animation: statusSpin 0.8s linear infinite;
}

.apply-status.is-approved .apply-status__core {
  background: linear-gradient(145deg, #86efac, #4ade80);
  box-shadow: 0 4px 14px rgba(74, 222, 128, 0.28);
}

.apply-status.is-rejected .apply-status__core {
  background: linear-gradient(145deg, #fca5a5, #f87171);
  box-shadow: 0 4px 14px rgba(248, 113, 113, 0.22);
  color: #1c1917;
}

.apply-status__copy {
  display: grid;
  gap: 4px;
  justify-items: center;
  min-width: 0;
}

.apply-status h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.apply-status__nick {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  padding: 0;
  border: none;
  border-radius: 0;
  color: var(--accent-soft);
  background: none;
}

.apply-status.is-approved .apply-status__nick {
  border: none;
  color: #86efac;
}

.apply-status__text {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.25;
}

.apply-status.is-approved .apply-status__text .linkish {
  font-size: 13px;
  line-height: 1.25;
}

@keyframes statusPulse {
  0% { transform: scale(0.85); opacity: 0.7; }
  70% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(1.15); opacity: 0; }
}

@keyframes statusSpin {
  to { transform: rotate(360deg); }
}

.success p {
  color: var(--muted);
  font-size: 14px;
  max-width: 32ch;
}

.success strong {
  color: var(--text);
  font-weight: 600;
}

/* Rules */

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

.rule {
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s, transform 0.2s;
}

.rule:hover {
  border-color: rgba(255, 184, 68, 0.35);
  transform: translateY(-2px);
}

.rule h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.rule p {
  color: var(--muted);
  font-size: 13px;
}

/* Footer */

.footer {
  display: grid;
  gap: 14px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 20px;
}

.footer__legal {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(168, 162, 158, 0.75);
  max-width: 62ch;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__brand strong {
  color: var(--text);
  font-size: 14px;
}

/* Page: rules */

.page-hero {
  padding: 36px 0 12px;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.page-hero__lead {
  color: var(--muted);
  max-width: 52ch;
  font-size: 15px;
}

.section--tight {
  padding-top: 24px;
}

.support-line {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.support-line a {
  color: var(--accent-soft);
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 208, 120, 0.35);
  transition: color 0.15s, border-color 0.15s;
}

.support-line a:hover {
  color: var(--accent);
  border-color: rgba(255, 184, 68, 0.7);
}

.support-line__sep {
  margin: 0 6px;
  opacity: 0.5;
}

.rule-full a {
  color: var(--accent-soft);
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 208, 120, 0.35);
}

.rule-full a:hover {
  color: var(--accent);
}

.scale {
  padding: 24px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.scale h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.scale__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid transparent;
}

.pill--warn {
  color: #fde68a;
  background: rgba(234, 179, 8, 0.12);
  border-color: rgba(234, 179, 8, 0.25);
}

.pill--mute {
  color: #ffd078;
  background: rgba(255, 184, 68, 0.12);
  border-color: rgba(255, 184, 68, 0.25);
}

.pill--kick {
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.25);
}

.pill--temp {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.25);
}

.pill--hard {
  color: #fecaca;
  background: rgba(127, 29, 29, 0.35);
  border-color: rgba(248, 113, 113, 0.35);
}

.scale__note {
  color: var(--muted);
  font-size: 13px;
}

.rules-full {
  display: grid;
  gap: 14px;
}

.rule-full {
  padding: 24px 26px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.rule-full__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}

.rule-full__num {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.rule-full h2 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.rule-full > p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 12px;
}

.rule-full__punish {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  background: rgba(255, 184, 68, 0.1);
  border: 1px solid rgba(255, 184, 68, 0.22);
  color: #ffd078;
  margin-bottom: 0;
}

.rule-full__punish strong {
  color: #fff4d6;
  font-weight: 700;
}

.rule-full__punish--hard {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(248, 113, 113, 0.3);
  color: #fca5a5;
}

.rule-full__punish--hard strong {
  color: #fecaca;
}

.shop-card__media--unban,
.shop-card__media--vip {
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(255, 184, 68, 0.12), transparent 60%),
    #14110f;
}

.shop-card__media--vip {
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(255, 214, 120, 0.18), transparent 60%),
    #14110f;
}

.shop-icon {
  display: block;
  opacity: 0.95;
}

.shop-card__media .shop-icon,
.shop-modal__hero .shop-icon--modal {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 30%;
  box-sizing: border-box;
}

.shop-modal__hero .shop-icon--modal {
  width: 104px;
  height: 104px;
  padding: 0;
}

.shop-empty {
  padding: 48px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(255, 184, 68, 0.1), transparent 55%),
    var(--bg-card);
  text-align: center;
  display: grid;
  gap: 10px;
  place-items: center;
}

.shop-empty__title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.shop-empty__text {
  color: var(--muted);
  font-size: 14px;
  max-width: 40ch;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.shop-card {
  display: grid;
  gap: 0;
  padding: 0;
  overflow: hidden;
  text-align: left;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: border-color 0.22s, transform 0.22s, background 0.22s, box-shadow 0.22s;
}

.shop-card:hover,
.shop-card:focus-visible {
  border-color: rgba(255, 184, 68, 0.45);
  transform: translateY(-3px);
  background: rgba(41, 37, 36, 0.7);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  outline: none;
}

.shop-card__media {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 70% at 50% 30%, rgba(255, 184, 68, 0.18), transparent 60%),
    #14110f;
}

.shop-card__media img:not(.shop-icon) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.shop-card:hover .shop-card__media img:not(.shop-icon),
.shop-card:focus-visible .shop-card__media img:not(.shop-icon) {
  transform: scale(1.04);
}

.shop-card__body {
  display: grid;
  gap: 8px;
  padding: 18px 18px 20px;
}

.shop-card__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.shop-card__title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.shop-card__lead {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.shop-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}

.shop-card__price {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--accent-soft);
}

.shop-card__cta {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.shop-card:hover .shop-card__cta {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.25);
}

.shop-modal {
  border: none;
  padding: 0;
  max-width: min(420px, calc(100vw - 32px));
  width: 100%;
  height: fit-content;
  max-height: calc(100dvh - 32px);
  margin: auto;
  position: fixed;
  inset: 0;
  background: transparent;
  color: var(--text);
  overflow: visible;
}

.shop-modal[open] {
  display: block;
}

.shop-modal::backdrop {
  background: rgba(6, 5, 4, 0.72);
  backdrop-filter: blur(8px);
}

.shop-modal__card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 184, 68, 0.28);
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(255, 184, 68, 0.12), transparent 55%),
    var(--bg-elevated);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
  animation: shop-modal-in 0.28s ease;
}

.shop-modal__hero {
  display: grid;
  place-items: center;
  padding: 32px 24px 24px;
  min-height: 0;
  aspect-ratio: auto;
  width: 100%;
}

.shop-modal__hero.shop-card__media--unban,
.shop-modal__hero.shop-card__media--vip {
  aspect-ratio: auto;
}

@keyframes shop-modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.shop-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(12, 10, 9, 0.55);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.shop-modal__close:hover {
  background: rgba(255, 184, 68, 0.12);
  border-color: rgba(255, 184, 68, 0.4);
}

.shop-modal__content {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 28px 24px 24px;
}

.shop-modal__content h3 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.shop-modal__price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent);
}

.shop-modal__text {
  color: var(--muted);
  font-size: 14px;
}

.shop-modal__perks {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 4px 0 8px;
}

.shop-modal__perks li {
  position: relative;
  padding: 10px 12px 10px 34px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  font-size: 13.5px;
  color: var(--text);
}

.shop-modal__perks li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

.shop-modal__actions {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

@media (max-width: 720px) {
  .shop-modal__content {
    padding: 0 18px 20px;
  }

  .shop-modal__hero {
    padding: 28px 18px 20px;
  }
}

.rules-teaser,
.rules-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 184, 68, 0.28);
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(255, 184, 68, 0.14), transparent 55%),
    var(--bg-elevated);
}

.rules-teaser h2,
.rules-cta h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.rules-teaser p,
.rules-cta p {
  color: var(--muted);
  font-size: 14px;
}

/* 404 */

.error-page {
  min-height: min(60vh, 520px);
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 12px;
  padding: 48px 0 64px;
}

.error-page__code {
  font-size: clamp(4rem, 14vw, 7rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #ffd078, var(--accent), var(--accent-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.error-page h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.error-page__text {
  color: var(--muted);
  max-width: 36ch;
  margin-bottom: 12px;
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer__links {
  display: flex;
  gap: 16px;
}

.footer__links a {
  color: var(--accent-soft);
  font-weight: 600;
}

.footer__links a:hover {
  text-decoration: underline;
}

/* Toast */

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  opacity: 0;
  pointer-events: none;
  padding: 12px 18px;
  border-radius: 999px;
  background: #1c1917;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 100;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Responsive */

@media (max-width: 980px) {
  .feature-grid,
  .rules-grid,
  .apply,
  .card--wide,
  .hero__panel {
    grid-template-columns: 1fr;
  }

  .rules-teaser,
  .rules-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .header {
    flex-wrap: wrap;
    row-gap: 8px;
    min-height: auto;
  }

  .nav {
    display: flex;
    order: 3;
    width: 100%;
    margin-left: 0;
    gap: 2px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 0 6px;
  }

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

  .nav a {
    flex: 0 0 auto;
    font-size: 13px;
    padding: 8px 12px;
  }

  .header__actions {
    margin-left: auto;
  }

  .hero__panel {
    padding: 28px 24px;
    min-height: auto;
    border-radius: 24px;
  }

  .hero h1 {
    max-width: none;
  }

  .hero__lead {
    max-width: none;
  }

  .hero__art {
    display: none;
  }

  .page-hero h1 {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }

  .footer {
    text-align: center;
    justify-items: center;
  }

  .footer__top {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .footer__legal {
    max-width: 36ch;
  }

  .footer__brand {
    flex-direction: column;
  }

  .rule-full__head {
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  :root {
    --shell: calc(100% - 20px);
  }

  .section__aside {
    text-align: left;
    max-width: none;
  }

  .streamer {
    max-width: none;
    flex: 1 1 100%;
  }

  body {
    overflow-x: hidden;
  }

  .header {
    gap: 8px;
    padding: 10px 0;
  }

  .brand__name {
    font-size: 0.95rem;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .btn--sm {
    padding: 8px 12px;
    font-size: 13px;
  }

  .chip {
    display: none;
  }

  .hero {
    padding: 8px 0 24px;
  }

  .hero__panel {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn,
  .header__actions .btn {
    width: 100%;
  }

  .section {
    padding: 28px 0;
  }

  .apply__panel {
    padding: 18px;
    border-radius: 18px;
  }

  .field input,
  .field select {
    font-size: 16px; /* iOS: без автозума */
  }

  .cards,
  .feature-grid {
    gap: 12px;
  }

  .error-page__code {
    font-size: 4.5rem;
  }

  .scale__list {
    justify-content: flex-start;
  }

  .rules-full {
    gap: 12px;
  }

  .toast {
    max-width: calc(100% - 32px);
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__panel,
  .cube,
  .apply-status.is-pending .apply-status__ring,
  .apply-status.is-pending .apply-status__visual.is-spinner .apply-status__core::before {
    animation: none;
  }

  .btn:hover,
  .card:hover,
  .rule:hover {
    transform: none;
  }
}
