/* ============================================================
   BetonRed Promocje — styles
   Inspired by 55betonred99.com visual language:
   dark bg #101114 / red accent #ff0000 / mint CTA #03f295
   ============================================================ */

:root {
  --bg-page: #0e0f12;
  --bg-elevated: #15171c;
  --bg-card: #1a1d24;
  --bg-card-hover: #21252e;
  --border: #262a33;
  --border-strong: #3a3f4b;

  --text: #f1f3f7;
  --text-muted: #9aa1ad;
  --text-dim: #6c7280;

  --red: #ff2238;
  --red-dark: #d31a2c;
  --mint: #03f295;
  --mint-dark: #00d182;
  --gold: #f6da24;

  --welcome: #ff9d3b;
  --nodeposit: #03f295;
  --reload: #ff5e87;
  --cashback: #ffc73b;
  --tournament: #6ba6ff;
  --seasonal: #c46bff;

  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.55);

  --container: 1240px;
  --container-narrow: 1240px;

  --font-body: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Bebas Neue', 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg-page);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--mint); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--mint-dark); text-decoration: underline; }
p { margin: 0 0 1em; }
img { max-width: 100%; height: auto; display: block; }
code { font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-size: .92em; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.15;
  margin: 0 0 .6em;
  color: #fff;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-top: 1.8em; }
h3 { font-size: 1.25rem; margin-top: 1.4em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: var(--container-narrow); }

/* ===== Bottom sticky promo banner (dismissable) ===== */
.bottom-banner {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 200;
  background: linear-gradient(90deg, #170a0e 0%, #221017 50%, #0a1815 100%);
  border-top: 1px solid rgba(255, 34, 56, .55);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, .75);
  padding: 10px 56px 10px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transition: opacity .25s ease;
}
.bottom-banner.is-visible { opacity: 1; }
.bottom-banner[hidden] { display: none !important; }

.bottom-banner__emoji {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1;
  filter: drop-shadow(0 2px 8px rgba(255, 34, 56, .5));
}
.bottom-banner__text {
  flex: 1;
  min-width: 0;
  color: var(--text);
  font-size: .92rem;
  font-weight: 500;
  line-height: 1.3;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.bottom-banner__text strong {
  color: var(--gold);
  font-weight: 800;
  font-size: 1rem;
  white-space: nowrap;
}
.bottom-banner__code {
  color: var(--text-muted);
  font-size: .85rem;
  white-space: nowrap;
}
.bottom-banner__code code {
  background: rgba(3, 242, 149, .14);
  color: var(--mint);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: .82rem;
  margin-left: 4px;
  letter-spacing: .03em;
}
.bottom-banner__cta {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 9px 18px;
  font-size: .9rem;
}
.bottom-banner__close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  color: var(--text-muted);
  cursor: pointer;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, color .15s ease, transform .15s ease;
  padding: 0;
  z-index: 2;
}
.bottom-banner__close:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  transform: rotate(90deg);
}

/* Reserve space at the bottom of the page so footer/content isn't hidden */
body.has-bottom-banner { padding-bottom: 76px; }
body.has-bottom-banner.has-cookie-consent { padding-bottom: 0; }

@media (max-width: 720px) {
  .bottom-banner {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "emoji text"
      "cta   cta";
    column-gap: 10px;
    row-gap: 10px;
    padding: 10px 38px 12px 14px;
    align-items: center;
  }
  .bottom-banner__emoji {
    grid-area: emoji;
    font-size: 1.4rem;
  }
  .bottom-banner__text {
    grid-area: text;
    font-size: .82rem;
    line-height: 1.3;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .bottom-banner__text strong {
    font-size: .95rem;
    color: var(--gold);
  }
  .bottom-banner__code {
    font-size: .76rem;
  }
  .bottom-banner__code code {
    padding: 2px 7px;
    font-size: .78rem;
  }
  .bottom-banner__close {
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
  }
  .bottom-banner__cta {
    grid-area: cta;
    width: 100%;
    justify-content: center;
    padding: 11px 16px;
    font-size: .92rem;
  }
  body.has-bottom-banner { padding-bottom: 118px; }
}

/* ===== Header ===== */
.header {
  position: -webkit-sticky;
  position: sticky !important;
  top: 0;
  z-index: 100;
  background: #0e0f12;
  border-bottom: 1px solid var(--border);
  isolation: isolate;
}
.header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.header__toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--text);
  cursor: pointer;
  padding: 4px;
}
.header__logo img { height: 32px; width: auto; }
.header__nav { flex: 1; }
.header__nav ul {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.header__nav a {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}
.header__nav a:hover { color: var(--text); background: var(--bg-card); text-decoration: none; }
.header__nav a.is-active {
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
}
.header__cta { display: flex; gap: 8px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn--primary,
.btn--mint {
  background: var(--mint);
  color: #0b1f17;
  box-shadow: 0 6px 18px rgba(3, 242, 149, .25);
}
.btn--primary:hover,
.btn--mint:hover { background: var(--mint-dark); color: #0b1f17; box-shadow: 0 10px 24px rgba(3, 242, 149, .35); }
.btn--red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 34, 56, .25);
}
.btn--red:hover { background: var(--red-dark); color: #fff; }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover { background: var(--bg-card); }
.btn--block { display: flex; width: 100%; }
.btn--sm { padding: 8px 16px; font-size: .85rem; }
.btn--xs { padding: 6px 12px; font-size: .8rem; }

/* Sticky floating CTA removed — replaced by .bottom-banner */

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 56px 0 40px;
  background: radial-gradient(ellipse at top, rgba(255, 34, 56, .12) 0%, transparent 60%),
              radial-gradient(ellipse at bottom right, rgba(3, 242, 149, .08) 0%, transparent 50%),
              var(--bg-page);
  overflow: hidden;
}
.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}
.hero__content h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  margin-bottom: 16px;
}
.hero__content h1 .accent { color: var(--gold); }
.hero__lead { font-size: 1.1rem; color: var(--text-muted); max-width: 540px; margin-bottom: 28px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.hero__image img { width: 100%; height: auto; display: block; }
.hero__amount {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}
.hero__amount-big {
  font-family: var(--font-display);
  font-size: 4.5rem;
  color: var(--gold);
  text-shadow: 0 4px 24px rgba(246, 218, 36, .5);
  line-height: 1;
  letter-spacing: .02em;
}
.hero__amount-sub {
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 700;
}

/* ===== PromoBox ===== */
.promobox {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.promobox::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--mint));
}
.promobox--sticky { position: sticky; top: 96px; }
.promobox--featured {
  background: linear-gradient(135deg, #1f1216 0%, #16221c 100%);
  border-color: rgba(255, 34, 56, .35);
}
.promobox__badge {
  display: inline-block;
  background: rgba(3, 242, 149, .15);
  color: var(--mint);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
}
.promobox__title { font-size: 1.4rem; margin: 0 0 12px; color: #fff; }
.promobox__amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.promobox__value {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--gold);
  line-height: 1;
}
.promobox__extra { font-size: 1.05rem; color: var(--mint); font-weight: 700; }
.promobox__code {
  background: var(--bg-page);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 18px;
}
.promobox__code-label {
  display: block;
  font-size: .75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 6px;
}
.promobox__code-row { display: flex; gap: 8px; align-items: center; }
.promobox__code-row code {
  flex: 1;
  background: var(--bg-card);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  color: var(--mint);
  font-size: 1rem;
  letter-spacing: .05em;
}
.promobox__terms { list-style: none; margin: 0 0 18px; padding: 0; font-size: .9rem; }
.promobox__terms li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.promobox__terms li:last-child { border-bottom: 0; }
.promobox__terms span { color: var(--text-muted); }
.promobox__terms strong { color: #fff; }
.promobox__progress {
  background: var(--bg-page);
  height: 8px;
  border-radius: 999px;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}
.promobox__progress-bar {
  background: linear-gradient(90deg, var(--mint), var(--gold));
  height: 100%;
  width: var(--progress, 50%);
  border-radius: 999px;
}
.promobox__progress-label {
  position: absolute;
  top: -22px;
  right: 0;
  font-size: .75rem;
  color: var(--text-muted);
}
.promobox__legal {
  font-size: .72rem;
  color: var(--text-dim);
  text-align: center;
  margin: 12px 0 0;
}

/* ===== Section ===== */
.section { padding: 36px 0; }
.section + .section { padding-top: 0; }
.section__title { text-align: center; margin-bottom: 12px; }
.section__lead { text-align: center; color: var(--text-muted); max-width: 700px; margin: 0 auto 28px; }

/* ===== Featured Promo (homepage) ===== */
.featured-promo {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  padding: 20px 0;
  align-items: center;
}
.featured-promo__copy h2 { margin-top: 0; }
.featured-promo__copy ul { list-style: none; padding: 0; margin: 20px 0; }
.featured-promo__copy ul li {
  padding: 8px 0 8px 32px;
  position: relative;
  color: var(--text-muted);
}
.featured-promo__copy ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  width: 22px;
  height: 22px;
  background: rgba(3, 242, 149, .15);
  color: var(--mint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* ===== Category Filter (vanilla JS tabs) ===== */
.cat-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 0 36px;
}
.cat-filter__btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
}
.cat-filter__btn:hover { background: var(--bg-card-hover); color: var(--text); }
.cat-filter__btn.is-active {
  background: var(--mint);
  color: #0b1f17;
  border-color: var(--mint);
}

/* ===== Post Grid ===== */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.post-card[hidden] { display: none; }
.post-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, .72);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  backdrop-filter: blur(6px);
}
.post-card__badge--welcome { background: rgba(255, 157, 59, .85); color: #1a1108; }
.post-card__badge--nodeposit,
.post-card__badge--no-deposit { background: rgba(3, 242, 149, .85); color: #0b1f17; }
.post-card__badge--reload { background: rgba(255, 94, 135, .85); color: #2a0c14; }
.post-card__badge--cashback { background: rgba(255, 199, 59, .85); color: #2a1d05; }
.post-card__badge--tournament { background: rgba(107, 166, 255, .85); color: #0a1b2e; }
.post-card__badge--seasonal { background: rgba(196, 107, 255, .85); color: #1f0b2e; }

.post-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.post-card__title { font-size: 1.2rem; margin: 0 0 10px; }
.post-card__title a { color: #fff; }
.post-card__title a:hover { color: var(--mint); text-decoration: none; }
.post-card__excerpt { color: var(--text-muted); font-size: .95rem; margin-bottom: 16px; flex: 1; }
.post-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.post-card__more { color: var(--mint); font-weight: 700; }

/* ===== Article ===== */
.article {
  padding: 8px 0 40px;
  background:
    radial-gradient(ellipse 800px 400px at top, rgba(255, 34, 56, .06) 0%, transparent 70%),
    var(--bg-page);
}
.article__header { padding: 12px 0 20px; }
.article__category {
  display: inline-block;
  background: var(--mint);
  color: #0b1f17;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
  margin: 14px 0 14px;
}
.article__category--welcome { background: var(--welcome); color: #1a1108; }
.article__category--reload { background: var(--reload); color: #2a0c14; }
.article__category--cashback { background: var(--cashback); color: #2a1d05; }
.article__category--tournament { background: var(--tournament); color: #0a1b2e; }
.article__category--seasonal { background: var(--seasonal); color: #1f0b2e; }
.article__title { margin: 0 0 14px; line-height: 1.1; }
.article__byline {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--text-dim);
  font-size: .88rem;
}

.article__layout {
  display: block;
  position: relative;
}
.article__layout::after {
  content: '';
  display: table;
  clear: both;
}
.article__aside {
  float: right;
  width: 320px;
  margin: 0 0 24px 32px;
}
.article__content { min-width: 0; }
.article__content > h2 {
  scroll-margin-top: 100px;
  position: relative;
  padding-left: 18px;
}
.article__content > h2::before {
  content: '';
  position: absolute;
  left: 0; top: 0.3em;
  width: 4px;
  height: 0.8em;
  background: linear-gradient(180deg, var(--red), var(--mint));
  border-radius: 2px;
}
.article__content ul, .article__content ol { padding-left: 1.4em; margin: 1em 0; color: var(--text); }
.article__content li { margin-bottom: .4em; }
.article__content blockquote {
  margin: 1.6em 0;
  padding: 16px 22px;
  border-left: 3px solid var(--mint);
  background: var(--bg-elevated);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-muted);
  font-style: italic;
}
.article__content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4em 0;
  font-size: .92rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
}
.article__content th, .article__content td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.article__content th { background: var(--bg-elevated); color: var(--mint); font-weight: 700; }
.article__content tr:last-child td { border-bottom: 0; }

/* ===== TOC (anchor menu — per-page) ===== */
.toc {
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--mint);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 12px 0 28px;
}
.toc__heading {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--mint);
  margin-bottom: 12px;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.toc__icon { font-size: 1.1rem; }
.toc__list { list-style: decimal; padding-left: 22px; margin: 0; columns: 1; }
.toc__list li { padding: 4px 0; color: var(--text-muted); }
.toc__list li::marker { color: var(--text-dim); font-weight: 700; }
.toc__link { color: var(--text); }
.toc__link:hover { color: var(--mint); }
@media (min-width: 768px) {
  .toc__list { columns: 2; column-gap: 28px; }
}

/* ===== Breadcrumbs ===== */
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0 0 8px;
  font-size: .85rem;
  color: var(--text-dim);
}
.breadcrumbs li:not(:last-child)::after { content: '›'; margin-left: 8px; color: var(--text-dim); }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--mint); }

/* ===== FAQ ===== */
.faq__list { display: grid; gap: 12px; margin-top: 20px; }
.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  transition: border-color .15s ease;
}
.faq__item[open] { border-color: var(--mint); }
.faq__q {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
}
.faq__q::after { content: '+'; color: var(--mint); font-size: 1.4rem; transition: transform .2s ease; }
.faq__item[open] .faq__q::after { content: '−'; transform: rotate(0deg); }
.faq__a { padding-top: 12px; color: var(--text-muted); }
.faq__a p:last-child { margin-bottom: 0; }

/* ===== Related ===== */
.related { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border); }
.related__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.related__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
  color: var(--text);
}
.related__card:hover { transform: translateY(-3px); border-color: var(--border-strong); text-decoration: none; color: var(--text); }
.related__card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.related__body { padding: 16px; }
.related__cat { display: inline-block; font-size: .72rem; color: var(--mint); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.related__body h3 { font-size: 1.1rem; margin: 0 0 6px; }
.related__body p { color: var(--text-muted); font-size: .9rem; margin: 0; }

/* ===== Steps / Cards ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  position: relative;
}
.step__n {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--mint);
  line-height: 1;
  margin-bottom: 8px;
}
.step h4 { margin: 0 0 6px; font-size: 1.05rem; }
.step p { color: var(--text-muted); font-size: .9rem; margin: 0; }

/* ===== Calc / Math callouts ===== */
.calc {
  background: linear-gradient(135deg, rgba(3, 242, 149, .07) 0%, rgba(246, 218, 36, .05) 100%);
  border: 1px solid rgba(3, 242, 149, .25);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 20px 0;
}
.calc__row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: #fff;
  margin: 6px 0;
}
.calc__row .op { color: var(--mint); }
.calc__row .res { color: var(--gold); }
.calc__note { color: var(--text-muted); font-size: .9rem; margin-top: 8px; }

/* ===== Warning / Error cards ===== */
.warning-card {
  background: linear-gradient(135deg, rgba(255, 34, 56, .08) 0%, rgba(255, 94, 135, .05) 100%);
  border: 1px solid rgba(255, 34, 56, .25);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 10px 0;
}
.warning-card h4 { color: var(--red); margin: 0 0 6px; font-size: 1rem; font-family: var(--font-body); font-weight: 700; }
.warning-card p { color: var(--text-muted); margin: 0; font-size: .92rem; }

/* ===== Slots showcase (in-article grid) ===== */
.slots-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin: 20px 0;
}
.slot-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  text-align: center;
  padding-bottom: 12px;
}
.slot-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.slot-card h4 { font-size: .95rem; margin: 10px 0 4px; padding: 0 8px; }
.slot-card .rtp { color: var(--mint); font-size: .8rem; font-weight: 700; }

/* ===== Slot Carousel (homepage horizontal scroll) ===== */
.slot-carousel { position: relative; margin: 0 -24px; padding: 0 24px; }
.slot-carousel__track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 6px 0 22px;
  -webkit-overflow-scrolling: touch;
}
.slot-carousel__track::-webkit-scrollbar { display: none; }

.slot-tile {
  flex: 0 0 auto;
  width: 200px;
  scroll-snap-align: start;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  position: relative;
}
.slot-tile:hover {
  transform: translateY(-4px);
  border-color: var(--mint);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .5), 0 0 0 1px rgba(3, 242, 149, .25);
  text-decoration: none;
}
.slot-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(255, 34, 56, .15), transparent 60%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.slot-tile:hover::before { opacity: 1; }

.slot-tile__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.slot-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.slot-tile:hover .slot-tile__media img { transform: scale(1.06); }
.slot-tile__provider {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0, 0, 0, .7);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 8px;
  border-radius: 4px;
}
.slot-tile__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 15, 18, .65);
  opacity: 0;
  transition: opacity .2s ease;
}
.slot-tile:hover .slot-tile__play { opacity: 1; }
.slot-tile__play span {
  background: var(--mint);
  color: #0b1f17;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .9rem;
  box-shadow: 0 4px 14px rgba(3, 242, 149, .4);
}

.slot-tile__body {
  padding: 12px 14px 14px;
  text-align: center;
}
.slot-tile__title {
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.slot-tile__rtp {
  font-size: .78rem;
  color: var(--mint);
  font-weight: 700;
}
.slot-tile__rtp .vol {
  color: var(--text-dim);
  font-weight: 500;
  margin-left: 6px;
}

/* Carousel arrows */
.slot-carousel__nav {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(14, 15, 18, .85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong);
  color: var(--mint);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, transform .15s ease;
  z-index: 5;
  transform: translateY(-50%);
}
.slot-carousel__nav:hover {
  background: var(--mint);
  color: #0b1f17;
  transform: translateY(-50%) scale(1.05);
}
.slot-carousel__nav:disabled {
  opacity: 0;
  pointer-events: none;
}
.slot-carousel__nav--prev { left: 0; }
.slot-carousel__nav--next { right: 0; }

@media (max-width: 720px) {
  .slot-tile { width: 160px; }
  .slot-carousel__nav { display: none; }
}

/* ===== Tournament leaderboard ===== */
.leaderboard {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 20px 0;
}
.leaderboard__row {
  display: grid;
  grid-template-columns: 60px 1fr 130px 100px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  font-size: .92rem;
  align-items: center;
}
.leaderboard__row:last-child { border-bottom: 0; }
.leaderboard__row--head { background: var(--bg-elevated); color: var(--mint); font-weight: 700; text-transform: uppercase; font-size: .75rem; letter-spacing: .08em; }
.leaderboard__pos { font-family: var(--font-display); font-size: 1.3rem; color: var(--gold); }
.leaderboard__row--top1 .leaderboard__pos { color: #ffd700; font-size: 1.6rem; }
.leaderboard__row--top2 .leaderboard__pos { color: #c0c0c0; }
.leaderboard__row--top3 .leaderboard__pos { color: #cd7f32; }
.leaderboard__prize { color: var(--mint); font-weight: 700; }

/* ===== RSS / Newsletter ===== */
.rss-block {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  margin: 0;
}
.rss-block__icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff8c00, #ff5e00);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #fff;
  font-size: 1.6rem;
}
.rss-block h2 { margin-top: 0; }
.rss-block__actions { display: flex; gap: 12px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 420px;
  margin: 16px auto 0;
}
.newsletter-form input {
  flex: 1;
  background: var(--bg-page);
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 12px 14px;
  border-radius: 999px;
  font-size: .95rem;
  font-family: inherit;
}

/* ===== About / Mission ===== */
.about-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 0;
}

/* ===== Footer ===== */
.footer {
  background: #08090b;
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
  margin-top: 40px;
}
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer__col h3 { font-size: 1rem; color: #fff; margin: 0 0 16px; font-family: var(--font-body); font-weight: 700; }
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { padding: 4px 0; }
.footer__col a { color: var(--text-muted); font-size: .9rem; }
.footer__col a:hover { color: var(--mint); }
.footer__tag { color: var(--text-muted); font-size: .9rem; margin: 16px 0; }
.footer__payments { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.footer__payments img { height: 24px; width: auto; opacity: .85; filter: grayscale(.2); }
.footer__help { color: var(--text-muted); font-size: .9rem; }
.footer__help a { color: var(--mint); }
.footer__age { display: flex; align-items: center; gap: 8px; color: var(--text-dim); font-size: .85rem; margin-top: 16px; }
.age-badge {
  background: var(--red);
  color: #fff;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: .8rem;
}
.footer__bottom {
  max-width: var(--container);
  margin: 40px auto 0;
  padding: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: .82rem;
  text-align: center;
}
.footer__disclaimer { color: var(--text-dim); margin-top: 8px; max-width: 800px; margin-left: auto; margin-right: auto; }

/* ===== Page (service) ===== */
.page__header { padding: 48px 0 24px; }
.page__lead { color: var(--text-muted); font-size: 1.1rem; max-width: 700px; }
.page__body { padding-bottom: 64px; }

/* ===== 404 ===== */
.error-page {
  text-align: center;
  padding: 100px 24px;
}
.error-page__code {
  font-family: var(--font-display);
  font-size: 8rem;
  color: var(--red);
  line-height: 1;
  margin: 0;
  text-shadow: 0 8px 32px rgba(255, 34, 56, .35);
}
.error-page p { color: var(--text-muted); max-width: 540px; margin: 16px auto 32px; }
.error-page__ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== Conclusion CTA box ===== */
.conclusion-cta {
  background: linear-gradient(135deg, rgba(255, 34, 56, .1) 0%, rgba(3, 242, 149, .1) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  margin: 20px 0 0;
}
.conclusion-cta h2 { margin-top: 0; }

/* ===== Inline CTA (between sections) ===== */
.inline-cta {
  background: linear-gradient(135deg, rgba(255, 34, 56, .08) 0%, rgba(3, 242, 149, .08) 100%);
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--mint);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 24px 0;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  scroll-margin-top: 100px;
}
.inline-cta--red {
  border-left-color: var(--red);
  background: linear-gradient(135deg, rgba(255, 34, 56, .12) 0%, rgba(255, 94, 135, .06) 100%);
}
.inline-cta--gold {
  border-left-color: var(--gold);
  background: linear-gradient(135deg, rgba(246, 218, 36, .1) 0%, rgba(3, 242, 149, .06) 100%);
}
.inline-cta__icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
}
.inline-cta__body {
  flex: 1;
  min-width: 220px;
}
.inline-cta__body h3 {
  margin: 0 0 4px;
  font-size: 1.15rem;
  font-family: var(--font-body);
  font-weight: 800;
  color: #fff;
}
.inline-cta__body p {
  margin: 0;
  color: var(--text-muted);
  font-size: .92rem;
}
.inline-cta__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .inline-cta { padding: 18px 20px; }
  .inline-cta__actions { width: 100%; }
  .inline-cta__actions .btn { flex: 1; }
}

/* ===== Copy feedback ===== */
.copied-flash {
  background: var(--mint) !important;
  color: #0b1f17 !important;
}

/* ===== Cookie consent banner ===== */
.cookie-consent {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-strong);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
  padding: 16px;
  animation: slideUp .3s ease;
}
/* Cookie consent and bottom-banner are mutually exclusive — no offset needed */
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.cookie-consent[hidden] { display: none; }
.cookie-consent__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-consent__text { flex: 1; min-width: 280px; }
.cookie-consent__text strong { color: var(--mint); display: block; margin-bottom: 4px; }
.cookie-consent__text p { color: var(--text-muted); font-size: .88rem; margin: 0; }
.cookie-consent__text a { color: var(--mint); }
.cookie-consent__actions { display: flex; gap: 8px; flex-shrink: 0; }
@media (max-width: 720px) {
  .cookie-consent__inner { flex-direction: column; align-items: stretch; }
  .cookie-consent__actions { justify-content: stretch; }
  .cookie-consent__actions .btn { flex: 1; }
  .sticky-cta { bottom: 90px; }
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero { padding: 56px 0 40px; }
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .hero__amount-big { font-size: 3.2rem; }
  .featured-promo { grid-template-columns: 1fr; }
  .article__aside { float: none; width: 100%; margin: 0 0 24px; }
  .promobox--sticky { position: static; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .header__inner { gap: 12px; padding: 12px 16px; }
  .header__nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-elevated); border-bottom: 1px solid var(--border); padding: 16px; }
  .header__nav.is-open { display: block; }
  .header__nav ul { flex-direction: column; gap: 0; }
  .header__nav a { padding: 12px 16px; border-radius: 0; border-bottom: 1px solid var(--border); width: 100%; }
  .header__toggle { display: block; }
  .header__cta { margin-left: auto; }
  .header__cta .btn--ghost { display: none; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .leaderboard__row { grid-template-columns: 50px 1fr 90px 80px; font-size: .82rem; }
  .error-page__code { font-size: 5rem; }
}
