:root {
  --bg-deep: #0c0406;
  --bg-panel: #16080c;
  --bg-elevated: #1f0c12;
  --accent: #e3263f;
  --accent-soft: rgba(227, 38, 63, 0.35);
  --text: #f4ecee;
  --text-muted: #b9a8ad;
  --line: rgba(255, 255, 255, 0.08);
  --glow: 0 0 42px rgba(227, 38, 63, 0.22);
  --radius-lg: 20px;
  --radius-sm: 10px;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Unbounded", var(--font-sans);
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 120% 80% at 10% -20%, rgba(227, 38, 63, 0.18), transparent 55%),
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(120, 20, 40, 0.35), transparent 50%),
    linear-gradient(180deg, #120608 0%, var(--bg-deep) 35%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #ffb4c0;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #fff;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #fff;
  z-index: 9999;
}

.skip-link:focus {
  left: 0;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Плашка редиректа — выше шапки */
.top-redirect-banner {
  position: relative;
  z-index: 150;
  width: 100%;
  background: linear-gradient(90deg, #1a070c, #2a0c14 50%, #1a070c);
  border-bottom: 1px solid var(--accent-soft);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.top-redirect-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 0.65rem 0;
  max-width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.top-redirect-banner__text {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}

.top-redirect-banner__text strong {
  color: #ffb8c4;
  font-size: 1.1rem;
  font-variant-numeric: tabular-nums;
}

.top-redirect-banner__btn {
  flex-shrink: 0;
  padding: 0.55rem 1.25rem;
  font-size: 0.88rem;
  line-height: 1.25;
  text-align: center;
}

@media (max-width: 520px) {
  .top-redirect-banner__inner {
    justify-content: center;
    text-align: center;
  }

  .top-redirect-banner__text {
    width: 100%;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(12, 4, 6, 0.82);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
}

.brand img {
  width: clamp(88px, 18vw, 132px);
  height: auto;
  border-radius: var(--radius-sm);
}

.nav-main {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  justify-content: flex-end;
}

.nav-main a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.nav-main a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #9b1528);
  color: #fff;
  box-shadow: var(--glow);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 50px rgba(227, 38, 63, 0.35);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--accent-soft);
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .nav-main {
    display: none;
  }
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 8vw, 6rem);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 40% -20% -30%;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 55%);
  pointer-events: none;
  opacity: 0.6;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr min(52%, min(520px, 100%));
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual--brand {
    max-width: min(100%, 440px);
    margin-inline: auto;
  }
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffc2cb;
  border: 1px solid var(--accent-soft);
  background: rgba(227, 38, 63, 0.12);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.hero-lead {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 36ch;
  margin-bottom: 1.5rem;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, var(--bg-elevated), #0a0304);
  padding: clamp(1rem, 3vw, 1.75rem);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(227, 38, 63, 0.5), transparent 40%, transparent 60%, rgba(255, 255, 255, 0.08));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  border-radius: calc(var(--radius-lg) - 6px);
}

.hero-visual--brand {
  padding: clamp(1.25rem, 3.5vw, 2.25rem);
  max-width: min(100%, 560px);
}

.hero-visual--brand img {
  min-height: 140px;
}

.hero-brand-actions {
  margin-top: 1.35rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
}

.hero-brand-actions .btn {
  width: 100%;
  justify-content: center;
  padding: 0.9rem 1.25rem;
  font-size: clamp(0.85rem, 2.8vw, 1rem);
  text-align: center;
  line-height: 1.3;
}

/* Angled section */
.section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  position: relative;
}

.section-tilt {
  clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
  background: var(--bg-panel);
  border-block: 1px solid var(--line);
  margin-top: -2rem;
}

.section-head {
  max-width: 52ch;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.5rem;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

/* Promo card over grid */
.promo-card-slot {
  display: grid;
  grid-template-columns: minmax(0, 200px) 1fr;
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(227, 38, 63, 0.12), var(--bg-elevated));
}

@media (max-width: 560px) {
  .promo-card-slot {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .promo-card-slot .btn {
    width: 100%;
    justify-content: center;
  }
}

.promo-card-slot img {
  width: 100%;
  max-width: 200px;
  margin-inline: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.promo-card-slot h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.promo-card-slot p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Cards grid games */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.card-game {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card-game:hover {
  transform: translateY(-4px);
  border-color: var(--accent-soft);
}

.card-game img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}

.card-game figcaption {
  padding: 0.65rem 0.85rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Providers strip */
.providers {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
}

.providers img {
  max-height: 36px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  filter: grayscale(0.2);
  transition: opacity 0.2s;
}

.providers img:hover {
  opacity: 1;
}

/* Two column article */
.article-columns {
  columns: 1;
}

@media (min-width: 880px) {
  .article-columns {
    columns: 2;
    column-gap: 2.5rem;
  }
}

.article-columns p {
  break-inside: avoid;
  margin: 0 0 1rem;
}

.article-columns h2,
.article-columns h3 {
  break-inside: avoid;
  column-span: all;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 2.25rem 0 0.75rem;
}

.prose h3 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
  color: #ffd0d8;
}

.prose p {
  margin: 0 0 1rem;
  color: #e8dde0;
}

.prose ul {
  margin: 0 0 1rem 1.2rem;
  padding: 0;
  color: var(--text-muted);
}

/* FAQ */
.faq {
  max-width: 720px;
  margin-inline: auto;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-bottom: 0.65rem;
  background: var(--bg-elevated);
}

.faq summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details[open] {
  border-color: var(--accent-soft);
}

.faq p {
  margin: 0.75rem 0 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* CTA band */
.bonus-center {
  display: flex;
  justify-content: center;
  width: 100%;
}

.bonus-center .cta-band {
  width: min(100%, 720px);
  margin: 0;
}

.cta-band {
  text-align: center;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #1a0a0f, #120508);
  border: 1px solid var(--line);
  margin: 2rem 0;
}

.cta-band h2 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
}

.cta-band p {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 3rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.site-footer h3 {
  font-size: 0.95rem;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.disclaimer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  line-height: 1.55;
}

/* Структура страницы: крошки и оглавление */
.breadcrumbs {
  border-bottom: 1px solid var(--line);
  padding: 0.65rem 0;
  background: rgba(0, 0, 0, 0.25);
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumbs__item a {
  color: #ffc2cb;
  text-decoration: none;
  font-weight: 600;
}

.breadcrumbs__item a:hover {
  color: #fff;
  text-decoration: underline;
}

.breadcrumbs__item[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

.breadcrumbs__sep {
  color: var(--accent-soft);
  user-select: none;
}

.site-outline {
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 0 0.75rem;
  background: rgba(22, 8, 12, 0.6);
}

.site-outline__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}

.site-outline__label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.site-outline__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-outline__list a {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.site-outline__list a:hover {
  border-color: var(--accent-soft);
  color: #fff;
}

.pay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.pay-card {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-elevated);
}

.pay-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #ffd0d8;
}

.pay-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.obzor-article {
  max-width: none;
}
