﻿/* ═══════════════════════════════
   MELLSTROY CASINO — SHARED STYLES
═══════════════════════════════ */

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-deep:    #111520;
  --bg-main:    #181d30;
  --bg-card:    #1f243c;
  --bg-card2:   #262b45;
  --accent:     #d4243a;
  --accent-h:   #f02d44;
  --gold:       #f5c300;
  --gold-h:     #ffd83a;
  --text:       #e8ecf7;
  --text-muted: #8891aa;
  --border:     rgba(255,255,255,.07);
  --radius:     10px;
  --nav-h:      68px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-main); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ═══════════════════════════════
   NAVIGATION
═══════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(17,21,32,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}
.nav__inner {
  max-width: 1280px; width: 100%; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; gap: 16px;
}
.nav__logo {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0; text-decoration: none;
}
.nav__logo-icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}
.nav__logo-text { font-size: 17px; font-weight: 700; letter-spacing: -.3px; white-space: nowrap; }
.nav__logo-text span { color: var(--gold); }

.nav__links {
  display: flex; align-items: center; gap: 4px;
  flex: 1; justify-content: center;
}
.nav__link {
  padding: 7px 14px; border-radius: 6px;
  font-size: 14px; font-weight: 500;
  color: var(--text-muted);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav__link:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav__link.active {
  color: var(--gold); background: rgba(255,255,255,.06);
  border-bottom: 2px solid var(--gold);
  border-radius: 6px 6px 0 0;
}

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

.btn-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px;
  background: linear-gradient(90deg, var(--accent) 0%, #a8001a 100%);
  color: #fff; font-weight: 700; font-size: 14px;
  border-radius: 7px; border: none; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  box-shadow: 0 4px 20px rgba(212,36,58,.4);
  transition: opacity .2s, transform .15s;
}
.btn-cta:hover { opacity: .9; transform: translateY(-1px); }
.btn-cta svg { width: 14px; height: 14px; }

.badge-18 {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  background: rgba(245,195,0,.12);
  border: 1.5px solid var(--gold);
  border-radius: 6px; font-size: 10px; font-weight: 800;
  color: var(--gold); letter-spacing: .5px;
}

.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px; border-radius: 6px;
  border: none; background: none;
}
.nav__burger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Mobile menu ─── */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  z-index: 999;
  background: rgba(17,21,32,.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px 28px;
  flex-direction: column; gap: 4px;
  transform: translateY(-10px); opacity: 0;
  pointer-events: none;
  transition: transform .3s, opacity .3s;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: all; }
.mobile-menu__link {
  display: block; padding: 13px 16px; border-radius: 8px;
  font-size: 16px; font-weight: 500; color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  transition: background .2s, color .2s;
}
.mobile-menu__link:last-of-type { border-bottom: none; }
.mobile-menu__link:hover, .mobile-menu__link.active {
  background: rgba(255,255,255,.05); color: var(--text);
}
.mobile-menu__link.active { color: var(--gold); }
.mobile-menu__cta {
  margin-top: 16px; display: block; width: 100%; text-align: center;
  padding: 14px;
  background: linear-gradient(90deg, var(--accent), #a8001a);
  border-radius: 8px; font-weight: 700; font-size: 15px; color: #fff;
}
.mobile-menu__disclaimer {
  margin-top: 20px; font-size: 11px; color: var(--text-muted);
  line-height: 1.5; text-align: center;
}

/* ═══════════════════════════════
   HERO
═══════════════════════════════ */
.hero {
  padding-top: calc(var(--nav-h) + 72px);
  padding-bottom: 80px;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(212,36,58,.25) 0%, transparent 70%),
    var(--bg-deep);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero__inner { max-width: 760px; margin: 0 auto; padding: 0 24px; position: relative; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(245,195,0,.1); border: 1px solid rgba(245,195,0,.25);
  border-radius: 20px; font-size: 12px; font-weight: 600;
  color: var(--gold); letter-spacing: .8px; text-transform: uppercase; margin-bottom: 24px;
}
.hero__title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800; line-height: 1.15; letter-spacing: -1px; margin-bottom: 20px;
}
.hero__title .accent { color: var(--accent); }
.hero__title .gold   { color: var(--gold); }
.hero__subtitle { font-size: 17px; color: var(--text-muted); max-width: 580px; margin: 0 auto 36px; }
.hero__actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }

.btn-cta-lg {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(90deg, var(--accent) 0%, #a8001a 100%);
  color: #fff; font-weight: 700; font-size: 16px;
  border-radius: 8px; box-shadow: 0 6px 30px rgba(212,36,58,.45);
  transition: transform .2s, box-shadow .2s;
}
.btn-cta-lg:hover { transform: translateY(-2px); box-shadow: 0 10px 40px rgba(212,36,58,.55); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border: 1.5px solid var(--border);
  border-radius: 8px; color: var(--text-muted);
  font-size: 15px; font-weight: 500;
  transition: border-color .2s, color .2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,.2); color: var(--text); }

.hero__stats { margin-top: 56px; display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.hero__stat { text-align: center; }
.hero__stat-val { font-size: 28px; font-weight: 800; color: var(--gold); display: block; }
.hero__stat-lbl { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .6px; }

/* ═══════════════════════════════
   SECTIONS COMMON
═══════════════════════════════ */
.section { padding: 80px 0; border-top: 1px solid var(--border); }
.section:nth-child(even) { background: var(--bg-main); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.section__label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.section__title {
  font-size: clamp(24px, 3vw, 36px); font-weight: 800;
  line-height: 1.2; letter-spacing: -.5px; margin-bottom: 16px;
}
.section__lead { font-size: 16px; color: var(--text-muted); max-width: 680px; margin-bottom: 40px; }

/* Two-column layout */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

/* Card */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: border-color .2s, transform .2s;
  overflow: hidden;
}
.card:hover { border-color: rgba(255,255,255,.13); transform: translateY(-2px); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card__icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.card__icon--red   { background: rgba(212,36,58,.15); }
.card__icon--gold  { background: rgba(245,195,0,.12); }
.card__icon--blue  { background: rgba(99,179,237,.1); }
.card__icon--green { background: rgba(72,199,116,.1); }
.card__title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.card__text  { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* Steps */
.steps { display: flex; flex-direction: column; gap: 16px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step__num {
  width: 32px; height: 32px; flex-shrink: 0;
  background: var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800;
}
.step__body { flex: 1; }
.step__title { font-weight: 700; margin-bottom: 4px; }
.step__desc  { font-size: 14px; color: var(--text-muted); }

/* Read-also block */
.read-also {
  margin-top: 32px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.read-also__title {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .8px; color: var(--accent); margin-bottom: 12px;
}
.read-also__list { display: flex; flex-direction: column; gap: 10px; }
.read-also__link {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text-muted); transition: color .2s;
}
.read-also__link::before { content: '→'; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.read-also__link:hover { color: var(--text); }

/* ═══════════════════════════════
   ARTICLE STYLES (subpages)
═══════════════════════════════ */
.page-article {
  padding-top: var(--nav-h);
  min-height: calc(100vh - var(--nav-h));
}
.article-wrap { max-width: 900px; margin: 0 auto; padding: 48px 24px 80px; }

.breadcrumbs { font-size: 13px; color: var(--text-muted); margin-bottom: 28px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumbs a { color: var(--text-muted); transition: color .2s; }
.breadcrumbs a:hover { color: var(--text); }
.breadcrumbs .sep { opacity: .4; }
.breadcrumbs .current { color: var(--gold); }

.article-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; display: flex; flex-wrap: wrap; gap: 16px; }
.article-meta span { display: flex; align-items: center; gap: 6px; }

.article-h1 { font-size: clamp(26px, 4vw, 42px); font-weight: 800; line-height: 1.15; letter-spacing: -.5px; margin-bottom: 20px; }
.article-lead { font-size: 17px; color: var(--text-muted); margin-bottom: 28px; line-height: 1.7; }

.article-notice {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 8px; padding: 14px 18px;
  margin: 20px 0; font-size: 14px; color: var(--text-muted);
}
.article-notice.good { border-left-color: #48c774; background: rgba(72,199,116,.05); }
.article-notice.warn { border-left-color: var(--gold); background: rgba(245,195,0,.05); }
.article-notice strong { color: var(--text); }

.article-toc {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 24px; margin: 28px 0;
}
.article-toc strong {
  display: block; color: var(--text); font-size: 13px;
  text-transform: uppercase; letter-spacing: .8px; margin-bottom: 14px;
}
.article-toc ol { margin: 0 0 0 20px; }
.article-toc li { margin-bottom: 8px; }
.article-toc a { font-size: 14px; color: var(--text-muted); transition: color .2s; }
.article-toc a:hover { color: var(--text); }

.article-body h2 {
  font-size: clamp(20px, 2.5vw, 28px); font-weight: 800; color: var(--text);
  margin: 44px 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.article-body h3 { font-size: 18px; font-weight: 700; color: var(--gold); margin: 28px 0 10px; }
.article-body p { color: var(--text-muted); margin: 0 0 14px; font-size: 15px; line-height: 1.7; }
.article-body ul, .article-body ol { margin: 0 0 18px 22px; }
.article-body li { color: var(--text-muted); margin-bottom: 8px; font-size: 15px; }
.article-body strong { color: var(--text); }
.article-body em { color: var(--text-muted); }
.article-body a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--gold-h); }

.article-body table { width: 100%; border-collapse: collapse; margin: 16px 0 28px; font-size: 14px; }
.article-body th { background: var(--bg-card2); color: var(--text); padding: 12px 14px; border: 1px solid var(--border); text-align: left; }
.article-body td { padding: 12px 14px; border: 1px solid var(--border); color: var(--text-muted); vertical-align: top; }
.article-body tr:hover td { background: rgba(255,255,255,.02); }

.article-body .checklist { list-style: none; margin-left: 0; padding-left: 0; }
.article-body .checklist li { padding-left: 24px; position: relative; }
.article-body .checklist li::before { content: '✓'; position: absolute; left: 0; color: #48c774; font-weight: 700; }
.article-body .warn-list { list-style: none; margin-left: 0; padding-left: 0; }
.article-body .warn-list li { padding-left: 24px; position: relative; }
.article-body .warn-list li::before { content: '!'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

.article-faq { margin: 28px 0; }
.article-faq details {
  border: 1px solid var(--border); border-radius: 8px;
  margin: 10px 0; background: var(--bg-card); overflow: hidden;
}
.article-faq summary {
  padding: 14px 18px; cursor: pointer;
  font-weight: 700; color: var(--text); font-size: 15px;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.article-faq summary::-webkit-details-marker { display: none; }
.article-faq summary::after { content: '+'; color: var(--accent); font-size: 20px; flex-shrink: 0; }
.article-faq details[open] summary::after { content: '−'; }
.article-faq details[open] summary { border-bottom: 1px solid var(--border); }
.article-faq .faq-body { padding: 14px 18px; color: var(--text-muted); font-size: 14px; line-height: 1.7; }

.article-cta {
  background: linear-gradient(135deg, rgba(212,36,58,.12), rgba(10,11,16,.9));
  border: 1px solid rgba(212,36,58,.25);
  border-radius: var(--radius); padding: 28px; margin: 36px 0; text-align: center;
}
.article-cta h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.article-cta p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }

.promo-box-article {
  border: 2px dashed rgba(245,195,0,.4); border-radius: var(--radius);
  background: rgba(245,195,0,.05); padding: 28px; margin: 24px 0; text-align: center;
}
.promo-code-big {
  display: inline-block; font-size: 30px; font-weight: 900;
  letter-spacing: 5px; color: var(--gold);
  background: rgba(0,0,0,.4); border-radius: 8px;
  padding: 14px 28px; margin: 14px 0; cursor: pointer;
  transition: background .2s;
}
.promo-code-big:hover { background: rgba(0,0,0,.6); }

/* Article mini-cards grid */
.article-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
.article-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px;
}
.article-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.article-card p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* ═══════════════════════════════
   FOOTER
═══════════════════════════════ */
.footer { background: var(--bg-main); border-top: 1px solid var(--border); padding: 64px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer__logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer__logo-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: block;
  object-fit: contain;
}
.footer__logo-text { font-size: 16px; font-weight: 700; }
.footer__logo-text span { color: var(--gold); }
.footer__desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; max-width: 320px; }
.footer__col-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--text); margin-bottom: 16px; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__link { font-size: 14px; color: var(--text-muted); transition: color .2s; }
.footer__link:hover { color: var(--text); }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-muted);
}
.footer__disclaimer {
  background: rgba(245,195,0,.07); border: 1px solid rgba(245,195,0,.15);
  border-radius: 8px; padding: 14px 18px;
  font-size: 12px; color: var(--text-muted); line-height: 1.55; margin-bottom: 32px;
}
.footer__disclaimer strong { color: var(--gold); }

/* ═══════════════════════════════
   EXTENDED UTILITIES
═══════════════════════════════ */

.section--alt { background: var(--bg-main); }

.two-col--mt36 { margin-top: 36px; }
.two-col--mt40 { margin-top: 40px; }

.section-h3     { font-size: 18px; font-weight: 700; color: var(--gold); margin: 0 0 12px; }
.section-h3--lg { font-size: 22px; font-weight: 800; color: var(--text); margin: 48px 0 16px; }

.section-p       { font-size: 15px; color: var(--text-muted); margin: 0 0 14px; line-height: 1.7; }
.section-p--mb20 { margin-bottom: 20px; }
.section-p--mb12 { margin-bottom: 12px; }
.section-p--sm   { font-size: 14px; color: var(--text-muted); margin: 0 0 12px; line-height: 1.7; }
.section-p--sm8  { font-size: 14px; color: var(--text-muted); margin: 0 0 8px;  line-height: 1.7; }
.section-p strong, .section-p--mb20 strong, .section-p--mb12 strong,
.section-p--sm strong, .section-p--sm8 strong { color: var(--text); }
.text-accent { color: var(--accent); }

.checklist          { list-style: none; padding-left: 0; margin-left: 0; }
.checklist li       { padding-left: 24px; position: relative; color: var(--text-muted); margin-bottom: 8px; font-size: 15px; }
.checklist li::before { content: '✓'; position: absolute; left: 0; color: #48c774; font-weight: 700; }
.checklist--mb20    { margin-bottom: 20px; }

.warn-list          { list-style: none; padding-left: 0; margin-left: 0; }
.warn-list li       { padding-left: 24px; position: relative; color: var(--text-muted); margin-bottom: 8px; font-size: 15px; }
.warn-list li::before { content: '!'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

.check-list      { list-style: none; padding-left: 0; margin: 0 0 16px; }
.check-list li   { display: flex; gap: 8px; margin-bottom: 8px; font-size: 14px; color: var(--text-muted); }
.check-list__ok  { color: #48c774; flex-shrink: 0; font-weight: 700; }
.check-list__err { color: var(--accent); flex-shrink: 0; font-weight: 700; }

.warn-list-sm          { list-style: none; padding-left: 0; margin: 0; }
.warn-list-sm li       { display: flex; gap: 8px; margin-bottom: 6px; font-size: 13px; color: var(--text-muted); }
.warn-list-sm__icon    { color: var(--accent); flex-shrink: 0; font-weight: 700; }

.feature-box       { list-style: none; padding-left: 0; margin: 0 0 16px; }
.feature-box li    { padding: 10px 14px; background: var(--bg-card); border-radius: 8px; margin-bottom: 8px; font-size: 14px; color: var(--text-muted); }
.feature-box li strong { color: var(--text); }

.steps--mb28     { margin-bottom: 28px; }
.article-faq--mt { margin-top: 16px; }
.article-cta--mt40 { margin-top: 40px; }

.btn-row  { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 32px; }
.btn-cta--sm { font-size: 13px; padding: 9px 16px; }
.btn-mr      { margin-right: 12px; }

.card--link         { display: block; }
.card--border-red   { border-top: 3px solid var(--accent); }
.card--border-gold  { border-top: 3px solid var(--gold); }
.card--border-blue  { border-top: 3px solid #63b3ed; }
.card--border-green { border-top: 3px solid #48c774; }
.card__text--mb     { margin-bottom: 16px; }
.card__more         { font-size: 13px; font-weight: 700; display: inline-block; }
.card__more--red    { color: var(--accent); }
.card__more--gold   { color: var(--gold); }
.card__more--blue   { color: #63b3ed; }
.card__more--green  { color: #48c774; }

.footer__badge-wrap  { display: flex; align-items: center; gap: 12px; }
.footer__badge-18    { background: rgba(245,195,0,.1); border: 1px solid rgba(245,195,0,.3); border-radius: 6px; padding: 4px 10px; font-size: 12px; font-weight: 700; color: var(--gold); }
.footer__badge-label { font-size: 12px; }
.footer__seals { display: flex; align-items: center; gap: 14px; }
.footer__seal-img { height: 26px; width: auto; opacity: .6; transition: opacity .2s; filter: grayscale(30%); }
.footer__seal-img:hover { opacity: 1; filter: none; }

.bonus-answer        { background: linear-gradient(135deg, rgba(245,195,0,.1), rgba(10,11,16,.9)); border: 1px solid rgba(245,195,0,.25); border-radius: var(--radius); padding: 28px; margin: 24px 0; }
.bonus-answer__label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.bonus-answer__title { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.bonus-answer__text  { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }

.promo-note { font-size: 14px; color: var(--text-muted); margin-bottom: 8px; }
.promo-sub  { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }

/* ═══════════════════════════════
   LANGUAGE SWITCHER
═══════════════════════════════ */
.lang-switcher { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 8px; padding: 6px 10px;
  font-size: 13px; font-weight: 700; color: var(--text);
  cursor: pointer; transition: border-color .2s, background .2s;
  white-space: nowrap;
}
.lang-btn:hover { border-color: rgba(255,255,255,.18); background: var(--bg-card2); }
.lang-btn svg { flex-shrink: 0; stroke: var(--text-muted); }
.lang-chevron { transition: transform .2s; }
.lang-switcher.open .lang-chevron { transform: rotate(180deg); }
.lang-current { font-size: 12px; letter-spacing: .5px; }
.lang-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--bg-card2); border: 1px solid var(--border);
  border-radius: 10px; padding: 6px; min-width: 168px;
  z-index: 1100; display: none;
  box-shadow: 0 16px 48px rgba(0,0,0,.6);
}
.lang-switcher.open .lang-dropdown { display: block; }
.lang-option {
  display: block; padding: 8px 12px;
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  border-radius: 6px; transition: background .15s, color .15s;
}
.lang-option:hover { background: rgba(255,255,255,.06); color: var(--text); }
.lang-option--active { color: var(--gold); }

/* ═══════════════════════════════
   RESPONSIVE
═══════════════════════════════ */
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__right .btn-cta { display: none; }
  .nav__burger { display: flex; }
  .mobile-menu { display: flex; }
}
@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .article-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 56px; }
  .hero__stats { gap: 24px; }
  .hero__stat-val { font-size: 22px; }
  .section { padding: 56px 0; }
  .promo-code-big { font-size: 22px; letter-spacing: 3px; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ── CONTACT FORM ─────────────────────────────────────────────────────── */
.contact-form { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 13px; font-weight: 600; color: var(--text); letter-spacing: .3px; }
.form-input,
.form-textarea,
.form-select {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  padding: 12px 16px;
  transition: border-color .2s;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus { border-color: var(--accent); }
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-muted); opacity: .6; }
.form-textarea { resize: vertical; min-height: 120px; }
.form-select option { background: var(--bg-card2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.form-submit { align-self: flex-start; }
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .form-submit { align-self: stretch; text-align: center; }
}

/* ── CONTACT INFO CARDS ───────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: 28px 0; }
.contact-card { background: var(--bg-card); border: 1px solid rgba(255,255,255,.07); border-radius: var(--radius); padding: 24px; }
.contact-card__icon { font-size: 28px; margin-bottom: 12px; }
.contact-card__title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.contact-card__text { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 10px; }
.contact-card__link { font-size: 14px; font-weight: 600; color: var(--accent); word-break: break-all; }
.contact-card__note { font-size: 12px; color: var(--text-muted); margin-top: 6px; }

/* ── HERO: BACKGROUND IMAGE + TWO-COLUMN ─────────────────────────────── */
.hero--has-bg {
  background:
    linear-gradient(to right, rgba(17,21,32,.97) 35%, rgba(17,21,32,.65) 100%),
    radial-gradient(ellipse 80% 60% at 30% -10%, rgba(212,36,58,.18) 0%, transparent 60%),
    url('/images/top-fon.webp') center / cover no-repeat;
}
.hero--has-bg::before { display: none; }

.hero--two-col { text-align: left; }
.hero--two-col .hero__inner {
  max-width: 1160px;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 56px;
  align-items: center;
}
.hero--two-col .hero__eyebrow { display: inline-flex; }
.hero--two-col .hero__subtitle { margin-left: 0; max-width: 100%; }
.hero--two-col .hero__actions  { justify-content: flex-start; }
.hero--two-col .hero__stats    { justify-content: flex-start; margin-top: 48px; }

.hero__visual { display: flex; align-items: center; justify-content: center; }
.hero__visual img {
  width: 100%;
  max-width: 400px;
  filter: drop-shadow(0 24px 60px rgba(212,36,58,.4));
}

/* ── CARD IMAGE ───────────────────────────────────────────────────────── */
.card__img {
  display: block;
  width: calc(100% + 56px);
  max-width: calc(100% + 56px); /* override global img { max-width: 100% } */
  margin: -28px -28px 20px;
  height: 150px;
  object-fit: cover;
  /* border-radius handled by overflow:hidden on .card */
}

/* ── PAGE IMAGES ──────────────────────────────────────────────────────── */
.img-banner {
  display: block; width: 100%;
  border-radius: var(--radius);
  margin: 24px 0 28px;
}
.img-rating {
  display: block;
  max-width: 480px; width: 100%;
  border-radius: var(--radius);
  margin: 20px 0 28px;
}
.bonus-answer__img {
  float: right;
  max-width: 170px;
  border-radius: var(--radius);
  margin: 0 0 16px 20px;
}
.promo-img {
  display: block;
  max-width: 240px;
  margin: 0 auto 20px;
  border-radius: var(--radius);
}
.mobile-mockup {
  display: flex; justify-content: center;
  margin: 28px 0;
}
.mobile-mockup img {
  max-width: 270px;
  filter: drop-shadow(0 20px 50px rgba(212,36,58,.35));
}

/* ── RESPONSIVE HERO TWO-COL ──────────────────────────────────────────── */
@media (max-width: 940px) {
  .hero--two-col .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero--two-col .hero__actions { justify-content: center; }
  .hero--two-col .hero__stats   { justify-content: center; }
  .hero--two-col .hero__subtitle { margin: 0 auto 36px; }
  .hero__visual { display: none; }
}
@media (max-width: 600px) {
  .bonus-answer__img { display: none; }
}


/* ── 404 PAGE ─────────────────────────────────────────────────────────── */
.page-404 {
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      min-height: calc(100vh - var(--nav-h));
      padding: calc(var(--nav-h) + 60px) 24px 80px;
      text-align: center;
    }
    .e404__code {
      font-size: clamp(96px, 18vw, 180px);
      font-weight: 900;
      line-height: 1;
      letter-spacing: -4px;
      background: linear-gradient(135deg, var(--gold) 0%, var(--accent) 60%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 16px;
      display: block;
    }
    .e404__title {
      font-size: clamp(22px, 4vw, 36px);
      font-weight: 800;
      margin-bottom: 14px;
    }
    .e404__text {
      font-size: 16px;
      color: var(--text-muted);
      max-width: 460px;
      margin: 0 auto 36px;
      line-height: 1.7;
    }
    .e404__links {
      display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
      margin-top: 40px;
    }
    .e404__nav {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 14px;
      max-width: 720px;
      width: 100%;
      margin: 40px auto 0;
    }
    .e404__nav-link {
      display: flex; align-items: center; gap: 10px;
      background: var(--bg-card); border: 1px solid var(--border);
      border-radius: var(--radius); padding: 14px 18px;
      font-size: 14px; font-weight: 600; color: var(--text-muted);
      transition: border-color .2s, color .2s, transform .2s;
    }
    .e404__nav-link:hover {
      border-color: rgba(255,255,255,.15);
      color: var(--text);
      transform: translateY(-2px);
    }
    .e404__icon {
      font-size: 22px; flex-shrink: 0;
    }

/* ── AFFILIATE PROFESSOR (author page) ───────────────────────────────── */
.author-card {
      display: flex; gap: 28px; align-items: flex-start;
      background: var(--bg-card); border: 1px solid var(--border);
      border-radius: var(--radius); padding: 28px; margin-bottom: 32px;
    }
    .author-avatar {
      flex-shrink: 0; width: 110px; height: 110px; border-radius: 50%;
      background: linear-gradient(135deg, var(--gold), #b8860b);
      display: flex; align-items: center; justify-content: center;
      font-size: 36px; font-weight: 800; color: #0a0b10; letter-spacing: -1px;
    }
    .author-meta h1 { margin: 0 0 6px; font-size: 1.65em; color: var(--text); }
    .author-title-line { color: var(--text-muted); font-size: 0.95em; margin: 0 0 16px; }
    .author-stats { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
    .author-stats span {
      background: rgba(245,195,0,.1); border: 1px solid rgba(245,195,0,.2);
      border-radius: 6px; padding: 4px 12px;
      font-size: 0.85em; color: var(--gold); font-weight: 600;
    }
    .author-contact a {
      display: inline-block; font-size: 0.88em; color: var(--text-muted);
      border: 1px solid var(--border); border-radius: 5px; padding: 4px 12px;
      transition: color .2s, border-color .2s;
    }
    .author-contact a:hover { color: var(--gold); border-color: var(--gold); }
    .author-quote {
      border-left: 3px solid var(--gold);
      background: rgba(245,195,0,.05);
      border-radius: 0 8px 8px 0;
      padding: 16px 20px; margin: 24px 0;
      font-style: italic; color: var(--text-muted); font-size: 1.05em; line-height: 1.6;
    }
    .expertise-grid {
      display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
      gap: 14px; margin: 18px 0 32px;
    }
    .expertise-item {
      background: var(--bg-card); border: 1px solid var(--border);
      border-left: 3px solid var(--gold);
      border-radius: 0 8px 8px 0; padding: 14px 16px; font-size: 0.93em;
    }
    .expertise-item strong { display: block; color: var(--gold); margin-bottom: 4px; font-size: 0.95em; }
    .expertise-item span { color: var(--text-muted); line-height: 1.5; }
    .articles-list { list-style: none; padding: 0; margin: 0 0 32px; }
    .articles-list li { border-bottom: 1px solid var(--border); padding: 14px 0; }
    .articles-list li:last-child { border-bottom: none; }
    .articles-list a { color: var(--text); font-weight: 600; font-size: 0.97em; transition: color .2s; }
    .articles-list a:hover { color: var(--gold); }
    .article-meta-line { font-size: 0.82em; color: var(--text-muted); margin-top: 4px; }
    @media (max-width: 600px) {
      .author-card { flex-direction: column; align-items: center; text-align: center; }
      .author-stats { justify-content: center; }
    }

/* ── TOP-CASINO / CASINO CARDS ───────────────────────────────────────── */
/* ── MELLSTROY NOTICE (link forming) ─── */
    @keyframes spin { to { transform: rotate(360deg); } }
    @keyframes pulse { 0%,100%{opacity:.4} 50%{opacity:1} }

    .mell-notice {
      background: linear-gradient(135deg, rgba(245,195,0,.07), rgba(17,21,32,.95));
      border: 1px solid rgba(245,195,0,.25);
      border-radius: var(--radius);
      padding: 24px 28px;
      margin: 32px 0;
      display: flex; align-items: center; gap: 20px;
      flex-wrap: wrap;
    }
    .mell-notice__spinner {
      width: 44px; height: 44px; flex-shrink: 0;
      border: 3px solid rgba(245,195,0,.15);
      border-top-color: var(--gold);
      border-radius: 50%;
      animation: spin .9s linear infinite;
    }
    .mell-notice__body { flex: 1; min-width: 0; }
    .mell-notice__label {
      font-size: 11px; font-weight: 700; letter-spacing: 1px;
      text-transform: uppercase; color: var(--gold);
      margin-bottom: 6px;
      display: flex; align-items: center; gap: 8px;
    }
    .mell-notice__dot {
      width: 7px; height: 7px; border-radius: 50%;
      background: var(--gold);
      animation: pulse 1.4s ease-in-out infinite;
      display: inline-block;
    }
    .mell-notice__title {
      font-size: 16px; font-weight: 700; color: var(--text);
      margin-bottom: 6px;
    }
    .mell-notice__text {
      font-size: 13px; color: var(--text-muted); line-height: 1.6;
    }
    .mell-notice__link {
      font-size: 13px; font-weight: 600; color: var(--gold);
      text-decoration: underline; text-underline-offset: 3px;
    }
    .mell-notice__link:hover { color: var(--gold-h); }

    /* ── CASINO RATING CARDS ─── */
    .casino-list { display: flex; flex-direction: column; gap: 20px; margin: 32px 0; }

    .casino-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      display: grid;
      grid-template-columns: 72px 1fr;
      overflow: hidden;
      transition: border-color .2s, transform .2s;
    }
    .casino-card:hover { border-color: rgba(255,255,255,.13); transform: translateY(-2px); }

    .casino-card--gold   { border-left: 3px solid #ffd700; }
    .casino-card--silver { border-left: 3px solid #c0c0c0; }
    .casino-card--bronze { border-left: 3px solid #cd7f32; }
    .casino-card--rank4  { border-left: 3px solid var(--accent); }
    .casino-card--rank5  { border-left: 3px solid #63b3ed; }
    .casino-card--rank6  { border-left: 3px solid #48c774; }
    .casino-card--rank7  { border-left: 3px solid #9f7aea; }

    .casino-rank {
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      gap: 4px; padding: 20px 0;
      background: var(--bg-card2);
    }
    .casino-rank__num {
      font-size: 28px; font-weight: 900; line-height: 1;
    }
    .casino-rank__stars { font-size: 10px; color: var(--gold); letter-spacing: 1px; }

    .casino-rank--gold   .casino-rank__num { color: #ffd700; }
    .casino-rank--silver .casino-rank__num { color: #c0c0c0; }
    .casino-rank--bronze .casino-rank__num { color: #cd7f32; }
    .casino-rank--rank4  .casino-rank__num { color: var(--accent); }
    .casino-rank--rank5  .casino-rank__num { color: #63b3ed; }
    .casino-rank--rank6  .casino-rank__num { color: #48c774; }
    .casino-rank--rank7  .casino-rank__num { color: #9f7aea; }

    .casino-body { padding: 20px 24px; }

    .casino-header {
      display: flex; align-items: center; justify-content: space-between;
      gap: 12px; margin-bottom: 10px; flex-wrap: wrap;
    }
    .casino-name { font-size: 20px; font-weight: 800; color: var(--text); }
    .casino-score {
      font-size: 15px; font-weight: 700; color: var(--gold);
      background: rgba(245,195,0,.1);
      border: 1px solid rgba(245,195,0,.2);
      border-radius: 6px; padding: 4px 10px;
      white-space: nowrap;
    }

    .casino-tags {
      display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px;
    }
    .casino-tag {
      font-size: 11px; font-weight: 600; letter-spacing: .3px;
      background: var(--bg-card2);
      border: 1px solid var(--border);
      border-radius: 4px; padding: 3px 8px;
      color: var(--text-muted);
    }
    .casino-tag--bonus { color: var(--gold); border-color: rgba(245,195,0,.2); background: rgba(245,195,0,.07); }
    .casino-tag--lic   { color: #48c774; border-color: rgba(72,199,116,.2); background: rgba(72,199,116,.06); }

    .casino-desc { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin-bottom: 14px; }

    .casino-pros {
      display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px;
    }
    .casino-pro {
      font-size: 12px; color: var(--text-muted);
      display: flex; align-items: center; gap: 5px;
    }
    .casino-pro::before { content: '✓'; color: #48c774; font-weight: 700; }

    .casino-footer {
      display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    }
    .casino-disclaimer { font-size: 11px; color: var(--text-muted); opacity: .7; }

    /* ── RATING TABLE ─── */
    .rating-table { width: 100%; border-collapse: collapse; margin: 20px 0 32px; font-size: 14px; }
    .rating-table th {
      background: var(--bg-card2); color: var(--text);
      padding: 11px 14px; border: 1px solid var(--border); text-align: left;
      font-size: 12px; text-transform: uppercase; letter-spacing: .5px;
    }
    .rating-table td { padding: 11px 14px; border: 1px solid var(--border); color: var(--text-muted); vertical-align: middle; }
    .rating-table tr:hover td { background: rgba(255,255,255,.02); }
    .rating-table .td-name { font-weight: 700; color: var(--text); }
    .rating-table .td-score { color: var(--gold); font-weight: 700; }

    /* ── CRITERIA GRID ─── */
    .criteria-grid {
      display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 16px; margin: 24px 0;
    }
    .criteria-item {
      background: var(--bg-card); border: 1px solid var(--border);
      border-radius: var(--radius); padding: 18px;
    }
    .criteria-item__icon { font-size: 26px; margin-bottom: 10px; }
    .criteria-item__title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
    .criteria-item__text  { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

    @media (max-width: 600px) {
      .casino-card { grid-template-columns: 56px 1fr; }
      .casino-rank__num { font-size: 22px; }
      .casino-body { padding: 16px; }
      .casino-name { font-size: 17px; }
      .td-bonus, .td-lic { display: none; }
    }