@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  --gold: #ffb020;
  --gold-dark: #e2860a;
  --purple: #7c5cff;
  --purple-dark: #5b3ce0;
  --pink: #ec4899;
  --green: #22c55e;
  --dark: #0A0A14;
  --dark2: #0d0d1c;
  --dark3: #1E1E38;
  --dark4: #2B1958;
  --text: #f2f3f8;
  --text-muted: #8d95ad;
  --border: rgba(255, 255, 255, 0.08);
  --red: #ff4d6d;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
#rating { scroll-margin-top: 90px; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--dark);
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
}

/* SITE HEADER (top nav) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1001;
  background: linear-gradient(180deg, var(--dark2), var(--dark));
  border-bottom: 1px solid var(--border);
}

.site-header-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.site-logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.site-logo-dot { color: var(--gold); }

.site-logo-img { height: 40px; width: auto; display: block; }

@media (max-width: 480px) {
  .site-logo-img { height: 32px; }
}

.menu-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, #ffc95c, var(--gold));
  color: var(--dark);
  border: none;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 10px 18px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
}
.menu-btn:hover { background: linear-gradient(180deg, #ffd685, #ffb84a); }
.menu-btn-icon { font-size: 15px; line-height: 1; }

.site-search { flex: 0 1 240px; max-width: 240px; min-width: 0; position: relative; display: flex; align-items: center; }

.site-search-input {
  width: 100%;
  background: var(--dark4);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  padding: 10px 40px 10px 14px;
  outline: none;
  transition: border-color 0.2s;
}
.site-search-input::placeholder { color: var(--text-muted); }
.site-search-input:focus { border-color: var(--gold); }

.site-search-icon {
  position: absolute;
  right: 12px;
  font-size: 14px;
  color: var(--text-muted);
  pointer-events: none;
}

.site-nav { display: flex; align-items: center; gap: 22px; flex-shrink: 0; margin-left: auto; }

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--gold); }

.site-nav-vk { color: var(--gold) !important; font-family: 'Montserrat', sans-serif; font-weight: 700 !important; }

@media (max-width: 760px) {
  .site-search, .site-nav { display: none; }
  .site-header-inner { gap: 10px; padding: 12px 16px; }
}

/* MOBILE NAV PANEL — dropdown under the header (opened via the "Меню" button) */
.mobile-nav-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, calc(100% - 48px));
  background: var(--dark4);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
  padding: 10px;
  display: none;
  flex-direction: column;
  gap: 2px;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
  z-index: 10;
}
.mobile-nav-panel.open { display: flex; }

.mnp-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 14px;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  border-radius: 8px;
  transition: background 0.15s;
}
.mnp-item:hover { background: rgba(255, 176, 32, 0.12); }
.mnp-icon { font-size: 18px; width: 22px; text-align: center; flex-shrink: 0; }
.mnp-label { flex: 1; }
.mnp-chevron { color: var(--text-muted); font-size: 18px; flex-shrink: 0; }

.mnp-mobile-only { display: none; }

.mnp-mobile-only .site-search-input { padding: 7px 32px 7px 12px; font-size: 13px; }
.mnp-mobile-only .site-search-icon { font-size: 12px; right: 10px; }

@media (max-width: 760px) {
  .mnp-mobile-only { display: block; padding: 0 4px; }
  .mnp-mobile-only .site-search { margin-bottom: 10px; }
}

.page-main { min-width: 0; }

/* BUTTONS */
.btn-login {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
  text-align: center;
}
.btn-login:hover { background: var(--gold); color: #fff; box-shadow: 0 0 20px rgba(255, 176, 32, 0.45); }

.btn-register {
  background: linear-gradient(180deg, #ffc95c, var(--gold));
  border: none;
  color: var(--dark);
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
  text-align: center;
}
.btn-register:hover { background: linear-gradient(180deg, #ffd685, #ffb84a); box-shadow: 0 0 20px rgba(255, 176, 32, 0.4); }

.btn-full {
  background: linear-gradient(180deg, #ffc95c, var(--gold-dark));
  color: var(--dark);
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  display: block;
  text-align: center;
  text-decoration: none;
}
.btn-full:hover { background: linear-gradient(180deg, #ffd685, #f5991a); }

.btn-cta-sm {
  background: linear-gradient(180deg, #ffc95c, var(--gold));
  color: var(--dark);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 11px 24px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
  flex-shrink: 0;
  display: inline-block;
}
.btn-cta-sm:hover { background: linear-gradient(180deg, #ffd685, #ffb84a); }

/* HERO */
.hero {
  background: var(--dark);
  padding: 52px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  bottom: 4%;
  background:
    radial-gradient(ellipse at 70% 55%, rgba(255, 176, 32, 0.14) 0%, transparent 60%),
    radial-gradient(circle at 78% 40%, rgba(255, 176, 32, 0.18), transparent 30%),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 42px 42px;
  -webkit-mask-image: linear-gradient(180deg, #fff 0%, #fff 80%, transparent 100%);
  mask-image: linear-gradient(180deg, #fff 0%, #fff 80%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr minmax(360px, 600px);
  gap: 16px 24px;
  align-items: center;
}

.hero-copy { max-width: 720px; }

.hero-badge {
  display: inline-block;
  background: rgba(255, 176, 32, 0.15);
  border: 1px solid rgba(255, 176, 32, 0.4);
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(30px, 5.5vw, 58px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.hero h1 span { color: var(--gold); }

.hero-sub { font-size: 19px; color: var(--text-muted); margin-bottom: 30px; }

.hero-cta {
  display: inline-block;
  background: linear-gradient(180deg, #ffc95c, var(--gold-dark));
  color: var(--dark);
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 15px 42px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
  animation: pulse 2s ease-in-out infinite;
}

.hero-models {
  display: block;
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  object-position: right center;
  -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(255, 176, 32, 0.35); }
  50% { box-shadow: 0 8px 34px rgba(255, 176, 32, 0.65); }
}

/* STATS BAR (kept for other pages, unused on homepage right now) */
.stats-bar {
  background: linear-gradient(180deg, var(--dark3), var(--dark));
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: center;
}

.stat-item {
  flex: 1;
  padding: 14px 32px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }

.stat-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--gold);
}
.stat-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* LAYOUT */
.container { max-width: 1300px; margin: 0 auto; padding: 0 24px; }

.breadcrumbs { max-width: 1300px; margin: 0 auto; padding: 14px 24px 0; font-size: 13px; color: var(--text-muted); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.breadcrumbs a { color: var(--text-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs-current { color: var(--text); }
.breadcrumbs-sep { opacity: .5; }

.content-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 32px;
  padding: 44px 0;
}

main { min-width: 0; container-type: inline-size; container-name: main-col; }

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumbs a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs .sep { opacity: 0.65; }

/* SECTION-LEVEL CENTERED TITLE ("— Title —") */
.block-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 26px;
}
.block-title-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 25px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
  white-space: nowrap;
}
.block-title-line {
  flex: 1;
  max-width: 70px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.block-title-line--right { background: linear-gradient(90deg, var(--gold), transparent); }

/* TOC */
.toc {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 32px;
}

.toc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.toc-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}

.toc-toggle {
  border: 1px solid rgba(255, 176, 32, 0.45);
  background: transparent;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
}
.toc-toggle:hover { background: rgba(255, 176, 32, 0.12); }
.toc.collapsed ol { display: none; }
.toc ol { padding-left: 18px; }
.toc li { margin-bottom: 6px; }
.toc a { color: var(--text-muted); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.toc a:hover { color: var(--gold); }

/* DEMO GAMES (kept for other pages) */
.demo-games {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
}

.demo-games-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.demo-games-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
}
.demo-games-note { font-size: 12px; color: var(--text-muted); }

.demo-games-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.demo-games-carousel-wrap {
  position: relative;
  padding: 0 36px;
}

.demo-games-carousel {
  overflow: hidden;
}

.demo-games-grid.is-carousel {
  display: flex;
  gap: 10px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.demo-games-grid.is-carousel .demo-game {
  flex: 0 0 calc((100% - 30px) / 4);
}

.demo-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--dark3);
  border: 1px solid var(--border);
  color: var(--text);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 4;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.demo-carousel-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.demo-carousel-btn--prev { left: 0; }
.demo-carousel-btn--next { right: 0; }

.demo-game {
  display: block;
  position: relative;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: linear-gradient(135deg, var(--dark3), var(--dark4));
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.demo-game:hover { transform: translateY(-2px); border-color: rgba(255, 176, 32, 0.45); box-shadow: 0 8px 20px rgba(0,0,0,0.35); }

.demo-thumb {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  font-size: 30px;
  background:
    radial-gradient(circle at 75% 25%, rgba(255, 176, 32, 0.22), transparent 45%),
    linear-gradient(135deg, var(--dark3), var(--dark4));
}
.demo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.demo-name { padding: 8px 10px 10px; font-size: 12px; color: var(--text); text-align: center; }

.demo-actions {
  position: absolute;
  inset: 0;
  display: block;
  background: linear-gradient(180deg, rgba(12, 6, 32, 0.12), rgba(12, 6, 32, 0.85));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.demo-game:hover .demo-actions,
.slot-card:hover .demo-actions { opacity: 1; pointer-events: auto; }

.demo-try-btn {
  position: absolute;
  left: 50%;
  top: calc(50% + 34px);
  transform: translateX(-50%);
  display: inline-block;
  padding: 6px 11px;
  border-radius: 6px;
  border: 1px solid rgba(255, 176, 32, 0.55);
  background: rgba(20, 11, 40, 0.85);
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.demo-play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  background: linear-gradient(180deg, #ffc95c, var(--gold-dark));
  color: var(--dark);
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(255, 176, 32, 0.4);
  white-space: nowrap;
}
.demo-play-btn:hover { background: linear-gradient(180deg, #ffd685, #ffb84a); }

/* SECTIONS (long-form article — boxed like a card) */
.section {
  margin-bottom: 48px;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 36px;
}

.section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 25px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold-dark);
  margin-bottom: 22px;
}

.section h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  margin: 24px 0 12px;
}

.section p { color: var(--text-muted); margin-bottom: 15px; font-size: 16px; }
.section ul, .section ol { color: var(--text-muted); font-size: 16px; margin: 0 0 15px; padding-left: 22px; }
.section li { margin-bottom: 8px; }
.section strong { color: var(--text); }

/* INLINE CTA */
.inline-cta {
  background: linear-gradient(135deg, var(--dark3), var(--dark4));
  border: 1px solid rgba(255, 176, 32, 0.35);
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 26px 0;
  gap: 16px;
}
.inline-cta-text { font-size: 14px; color: var(--text-muted); }
.inline-cta-text strong { display: block; font-size: 16px; color: var(--text); margin-bottom: 2px; }

/* DATA TABLE */
.table-scroll { overflow-x: auto; margin: 18px 0; }
.table-scroll .data-table { margin: 0; min-width: 480px; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 18px 0;
}
.data-table th {
  background: var(--dark4);
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 12px;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid var(--gold-dark);
}
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.data-table tr:hover td { background: rgba(255, 176, 32, 0.08); color: var(--text); }

.bonus-type { color: var(--text); font-weight: 600; }
.tag-green { color: var(--green); font-weight: 600; }
.tag-red { color: var(--red); }

/* NUMBERED STEPS */
.steps { counter-reset: step; list-style: none; padding: 0; }

.steps li {
  counter-increment: step;
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.steps li::before {
  content: counter(step);
  background: var(--gold);
  color: var(--dark);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.steps li span { font-size: 15px; color: var(--text-muted); }

/* RATINGS */
.ratings-grid { display: grid; gap: 10px; }

.rating-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--dark3);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.rating-label { font-size: 14px; color: var(--text-muted); }
.stars { color: var(--gold); font-size: 16px; letter-spacing: 2px; }
.rating-score { font-family: 'Montserrat', sans-serif; font-weight: 600; color: var(--gold); font-size: 15px; min-width: 36px; text-align: right; }

/* FAQ (accordion cards) */
.faq-item {
  background: var(--dark4);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 12px;
}
.faq-item:last-child { margin-bottom: 0; }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
  color: var(--text);
  font-size: 15px;
  cursor: pointer;
  user-select: none;
}
.faq-q::after {
  content: '+';
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 176, 32, 0.15);
  color: var(--gold);
  font-size: 18px;
  font-weight: 400;
  transition: transform 0.2s ease;
}
.faq-item.open .faq-q::after { content: '−'; background: var(--gold); color: var(--dark); }

.faq-a {
  color: var(--text-muted);
  font-size: 15px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.25s ease, opacity 0.2s ease, margin-top 0.25s ease;
}
.faq-item.open .faq-a { max-height: 400px; opacity: 1; margin-top: 10px; }

/* SIDEBAR */
.sidebar { position: sticky; top: 80px; align-self: start; }

.sidebar-card {
  background: linear-gradient(180deg, var(--dark3), var(--dark));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 20px;
}

.sidebar-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.sidebar-card p { color: var(--text-muted); font-size: 13px; margin-bottom: 14px; }
.offer-value { font-family: 'Montserrat', sans-serif; color: var(--text); font-size: 32px; line-height: 1; margin-bottom: 6px; }

/* WINNERS */
.winner-item { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--border); }
.winner-item:last-child { border-bottom: none; }
.winner-name { font-size: 13px; color: var(--text-muted); }
.winner-amount { font-family: 'Montserrat', sans-serif; font-weight: 600; color: #4ade80; font-size: 14px; }
.winner-amount::before { content: '+'; margin-right: 2px; color: #4ade80; }

/* FORM */
.login-form { display: flex; flex-direction: column; gap: 12px; }

.form-input {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form-input:focus { border-color: var(--gold); }
.form-input::placeholder { color: var(--text-muted); }

.form-link { text-align: center; font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.form-link a { color: var(--gold); text-decoration: none; }

/* PAYMENT METHODS SECTION (kept for other pages) */
.payment-methods {
  padding: 52px 24px 44px;
  background: var(--dark);
  border-top: 1px solid var(--border);
}

.payment-methods-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.payment-methods-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pm-line {
  flex: 1;
  max-width: 70px;
  height: 2px;
  background: var(--gold);
  display: block;
  border-radius: 2px;
}

.payment-methods-sub {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 36px;
}

.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.pm-card {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, transform 0.2s;
  cursor: default;
}

.pm-card:hover {
  border-color: rgba(255, 176, 32, 0.45);
  transform: translateY(-3px);
}

.pm-card img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.pm-card span {
  display: none;
}

.pm-more-btn {
  display: inline-block;
  background: var(--dark3);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
}

.pm-more-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* SLOTS SECTION (kept for other pages) */
.slots-section {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  padding: 36px 24px;
}

.slots-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.slots-row {
  margin-bottom: 36px;
}

.slots-row:last-child {
  margin-bottom: 0;
}

.slots-row-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.slots-carousel-wrap {
  position: relative;
  padding: 0 40px;
}

.slots-carousel {
  overflow: hidden;
}

.slots-grid {
  display: flex;
  gap: 10px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--dark3);
  border: 1px solid var(--border);
  color: var(--text);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  padding: 0;
}

.carousel-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.carousel-btn--prev { left: 0; }
.carousel-btn--next { right: 0; }

.slot-card {
  flex: 0 0 calc((100% - 30px) / 4);
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 12px;
  aspect-ratio: 1 / 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
  text-decoration: none;
  padding: 0;
  overflow: hidden;
}

.slot-card:hover {
  border-color: rgba(255, 176, 32, 0.4);
  transform: translateY(-2px);
}

.slot-thumb {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  font-size: 30px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 75% 25%, rgba(255, 176, 32, 0.2), transparent 45%),
    linear-gradient(135deg, var(--dark3), var(--dark4));
}
.slot-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slot-name {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  font-weight: 600;
  line-height: 1.3;
  padding: 10px 8px 6px;
}

.slot-badge {
  font-size: 10px;
  background: rgba(255, 176, 32, 0.12);
  color: var(--gold);
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  margin: 0 auto 12px;
}
.slot-card .slot-name { display: none; }
.slot-card .slot-badge { display: none; }

/* PROMO INLINE (inside main column, kept for other pages) */
.promo-inline { margin-bottom: 8px; }

.promo-inline-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 12px;
}

.promo-inline-list { display: flex; flex-direction: column; gap: 10px; }

.promo-inline-list .promo-card {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: auto;
  padding: 18px 22px;
}

.promo-inline-list .promo-label { margin-bottom: 0; min-width: 140px; }
.promo-inline-list .promo-offer { font-size: 16px; margin-bottom: 0; flex: 1; }
.promo-inline-list .promo-btn { flex-shrink: 0; }

/* PROMO SECTION (standalone full-width - kept for other pages) */
.promo-section {
  padding: 52px 24px;
  background: var(--dark);
  border-top: 1px solid var(--border);
}

.promo-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.promo-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.promo-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  padding: 32px 24px 26px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--border);
}

.promo-card--1 { background: linear-gradient(135deg, #1a0a2e 0%, #2d1354 50%, #0d0619 100%); }
.promo-card--2 { background: linear-gradient(135deg, #051a30 0%, #0e3a5c 50%, #020d1a 100%); }
.promo-card--3 { background: linear-gradient(135deg, #0a1f0a 0%, #1a3d1a 50%, #050f05 100%); }

.promo-card::after {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 176, 32, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.promo-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.promo-offer {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 20px;
}

.promo-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 28px;
  border-radius: 8px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s;
  align-self: flex-start;
}

.promo-btn:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

/* FOOTER */
footer {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  padding: 44px 24px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }

.footer-contact-link { text-decoration: underline !important; }

.footer-address {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

.footer-socials { margin-top: 6px; }

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--dark4);
  border: 1px solid var(--border);
  color: var(--text-muted) !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.2s;
}
.footer-social-btn:hover { background: var(--gold); color: #fff !important; border-color: var(--gold); }

.footer-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.7;
  text-align: center;
}
.footer-disclaimer a { color: var(--gold); }
.footer-disclaimer + .footer-disclaimer { margin-top: 10px; }

/* MENU OVERLAY (backdrop behind the mobile nav panel) */
.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 6, 12, 0.7);
  z-index: 999;
}
.menu-overlay.visible { display: block; }

/* WINNER SLIDE-IN */
@keyframes winnerIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.winner-item.new-winner { animation: winnerIn 0.4s ease forwards; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 14px; }
  .hero-copy { max-width: 100%; }
  .hero-models { max-height: 200px; max-width: 220px; margin: 0 auto; object-position: center; }
  .content-wrap { grid-template-columns: 1fr; }
  .demo-games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-games-grid.is-carousel .demo-game { flex: 0 0 calc((100% - 10px) / 2); }
  .stats-bar { flex-wrap: wrap; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); flex: 1 1 45%; }
  .inline-cta { flex-direction: column; text-align: center; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .slot-card { flex: 0 0 calc((100% - 10px) / 2); }
  .promo-grid { grid-template-columns: 1fr; }
  .promo-inline-list .promo-card { flex-direction: column; align-items: flex-start; }
  .payment-methods-grid { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 24px 20px; }
}

@media (max-width: 500px) {
  .footer-inner { grid-template-columns: 1fr; }
  .slot-card { flex: 0 0 calc((100% - 10px) / 2); }
}

/* INTRO TEXT (RU homepage) */
.intro-text { margin-bottom: 32px; }
.intro-text p { color: var(--text-muted); font-size: 16px; }

/* TOP-10 FILTER */
.top-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 26px; }

.top-filter-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 9px 18px;
  cursor: pointer;
  transition: all 0.2s;
}
.top-filter-btn:hover { border-color: var(--gold); color: var(--text); }
.top-filter-btn.is-active {
  background: linear-gradient(180deg, #ffc95c, var(--gold));
  color: var(--dark);
  border-color: transparent;
}

/* TOP CASINO LIST (RU homepage) */
.top-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 48px; }

.top-card {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  transition: border-color 0.2s;
}
.top-card:hover { border-color: rgba(255, 176, 32, 0.4); }

.top-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
}

.top-logo {
  width: 100%;
  height: 108px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 176, 32, 0.4);
  background: linear-gradient(135deg, var(--dark4), var(--dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  flex-shrink: 0;
  overflow: hidden;
}

.top-logo img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
}

.top-logo img.logo-cover {
  object-fit: cover;
}

.top-logo.logo-flush {
  padding: 0;
}

.top-flags { font-size: 12px; color: var(--text-muted); }
.top-flags-label { display: none; }

.top-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.top-rank-name { display: flex; align-items: center; gap: 6px; }
.top-rank-name .top-rank {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
}
.top-rank-name .top-rank::before { content: '#'; }
.top-rank-name .top-name { font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: 600; color: var(--text); }

.top-rating { display: flex; align-items: center; gap: 8px; }

.top-body { min-width: 0; display: flex; flex-direction: column; }

.top-bonus {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}
.top-bonus-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }
.top-bonus-value { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--gold); font-size: 26px; }

.top-features { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 7px; }
.top-features li { font-size: 14px; color: var(--text-muted); padding-left: 22px; position: relative; }
.top-features li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

.top-pills-row { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 7px; }
.top-pills-row:last-child { margin-bottom: 0; }

.icon-pill {
  font-size: 12px;
  color: var(--text-muted);
  background: var(--dark4);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 12px;
}

.top-actions {
  display: flex;
  align-items: stretch;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.top-actions .top-btn-play {
  flex: 1.6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  font-size: 14px;
  padding: 12px 18px;
}

.top-actions .top-btn-review {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 18px;
}

.top-engagement { display: flex; gap: 10px; justify-content: flex-end; margin-top: 10px; }
.eng-item { font-size: 13px; color: var(--text-muted); white-space: nowrap; }

/* Reacts to the actual width of the main column (not the viewport) —
   the left menu + sidebar are fixed width, so main can get squeezed
   long before the viewport itself is "mobile". */
@container main-col (max-width: 640px) {
  .top-card { grid-template-columns: 1fr; }
  .top-media { width: 100%; max-width: 320px; margin: 0 auto; }
}

/* RECENT WINNERS with casino name */
.winner-info { display: flex; flex-direction: column; gap: 2px; }
.winner-casino { font-size: 11px; color: var(--gold); }

/* ARTICLES BLOCK */
.articles-block { margin-bottom: 48px; }

.articles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.article-card {
  display: block;
  text-decoration: none;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.article-card:hover { border-color: rgba(255, 176, 32, 0.45); transform: translateY(-3px); }

.article-thumb {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  font-size: 36px;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 25%, rgba(255, 176, 32, 0.25), transparent 45%),
    linear-gradient(135deg, var(--dark3), var(--dark4));
}

.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: var(--text);
  padding: 14px 16px 0;
  line-height: 1.35;
}

.article-excerpt {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
  padding: 8px 16px 0;
}

.article-date {
  color: var(--text-muted);
  font-size: 13px;
  opacity: 0.7;
  padding: 12px 16px 16px;
}

.articles-all-link {
  display: block;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  margin-top: 20px;
}
.articles-all-link:hover { color: var(--gold-dark); }

/* TRUST BLOCK */
.trust-block { margin-bottom: 48px; }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.trust-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  padding: 22px;
}

.trust-head { display: flex; align-items: center; gap: 14px; }

.trust-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}

.trust-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}

.trust-card p { color: var(--text-muted); font-size: 15px; line-height: 1.6; }

/* AUTHOR BLOCK */
.author-block {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: linear-gradient(135deg, #3a1f78 0%, #1c1040 100%);
  border: 1px solid rgba(255, 176, 32, 0.35);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 8px;
}

.author-info { min-width: 0; }

.author-avatar {
  flex-shrink: 0;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 1px solid rgba(255, 176, 32, 0.4);
  background: linear-gradient(135deg, var(--dark4), var(--dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 29px;
  overflow: hidden;
}

.author-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

.author-name-row { display: flex; align-items: center; gap: 8px; }

.author-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  display: inline-block;
}
.author-name:hover { color: var(--gold); }

.author-x-link {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.author-x-link:hover { color: var(--gold); border-color: var(--gold); }

.hero-x-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  border: 1px solid rgba(255, 176, 32, 0.35);
  border-radius: 8px;
  padding: 8px 14px;
  transition: color 0.2s, border-color 0.2s;
}
.hero-x-link:hover { color: var(--gold); border-color: var(--gold); }

.author-role {
  font-size: 13px;
  color: var(--gold);
  margin: 4px 0 10px;
}

.author-bio { color: var(--text-muted); font-size: 15px; line-height: 1.6; }

@container main-col (max-width: 760px) {
  .articles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@container main-col (max-width: 520px) {
  .trust-grid { grid-template-columns: 1fr; }
  .author-block { flex-direction: column; align-items: center; text-align: center; }
}

@container main-col (max-width: 460px) {
  .articles-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .articles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .articles-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .block-title { gap: 10px; }
  .block-title-text { white-space: normal; font-size: 16px; text-align: center; }
  .block-title-line { max-width: 20px; }
}

/* COMMENTS BLOCK */
.comments-block { margin-bottom: 8px; }

.comments-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 18px; }
.comment-card.is-hidden { display: none; }

.comments-more-btn {
  display: block;
  margin: 0 auto 30px;
  background: var(--dark3);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}
.comments-more-btn:hover { border-color: var(--purple); color: var(--purple); }
.comments-more-btn.is-done { display: none; }

.comment-card {
  display: flex;
  gap: 16px;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
}

.comment-avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dark4), var(--dark));
  border: 1px solid rgba(255, 176, 32, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.comment-body { min-width: 0; }

.comment-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.comment-name { font-family: 'Montserrat', sans-serif; font-weight: 600; color: var(--text); font-size: 15px; }
.comment-date { font-size: 13px; color: var(--text-muted); }
.comment-stars { display: block; color: var(--gold); font-size: 14px; letter-spacing: 1px; margin-bottom: 6px; }
.comment-text { color: var(--text-muted); font-size: 15px; line-height: 1.6; }

.comment-form {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.comment-form-title { font-family: 'Montserrat', sans-serif; font-size: 17px; font-weight: 600; color: var(--text); }
.comment-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.comment-form-rating { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-muted); }
.comment-form-stars { color: var(--gold); font-size: 18px; letter-spacing: 2px; cursor: pointer; }
.comment-form-textarea { resize: vertical; font-family: inherit; }
.comment-form-submit { align-self: flex-start; border: none; }

.comment-form-success {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 8px;
  color: var(--green);
  font-size: 14px;
}
.comment-form-success.is-visible { display: flex; }

@container main-col (max-width: 520px) {
  .comment-form-row { grid-template-columns: 1fr; }
  .comment-card { flex-direction: column; }
}

/* EXIT-INTENT POPUP */
.exit-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 10, 0.75);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.exit-popup-overlay.visible { display: flex; }

.exit-popup {
  position: relative;
  background: linear-gradient(135deg, var(--dark3), var(--dark4));
  border: 1px solid rgba(255, 176, 32, 0.4);
  border-radius: 18px;
  max-width: 420px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  text-align: center;
}

.exit-popup::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 15%, rgba(255, 176, 32, 0.22), transparent 55%),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 32px 32px;
  -webkit-mask-image: linear-gradient(180deg, #fff 0%, #fff 70%, transparent 100%);
  mask-image: linear-gradient(180deg, #fff 0%, #fff 70%, transparent 100%);
  pointer-events: none;
}

.exit-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(10, 10, 20, 0.6);
  color: var(--text);
  font-size: 15px;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.exit-popup-close:hover { color: var(--gold); border-color: var(--gold); }

.exit-popup-img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 230px;
  object-fit: contain;
  object-position: bottom;
  display: block;
  margin-top: 14px;
}

.exit-popup-body { position: relative; z-index: 1; padding: 4px 26px 28px; }

.exit-popup-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.exit-popup-text {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 20px;
}

.exit-popup-actions { display: flex; flex-direction: column; gap: 10px; }
.exit-popup-btn { width: 100%; text-align: center; }

@media (max-width: 480px) {
  .exit-popup-img { max-height: 170px; }
}

/* AGE GATE */
.age-gate-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.age-gate-card {
  background: #fff;
  color: #111;
  border-radius: 10px;
  padding: 32px 28px;
  max-width: 380px;
  width: 100%;
  text-align: center;
}

.age-gate-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 22px;
}

.age-gate-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #d0d0d0;
  outline: none;
  margin-bottom: 10px;
}

.age-gate-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: #1a1a2e;
  cursor: pointer;
}

.age-gate-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 4px;
  background: #1a1a2e;
  cursor: pointer;
}

.age-gate-labels {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #555;
  margin-bottom: 22px;
}

.age-gate-btn {
  display: block;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 6px;
  background: var(--green);
  color: #0a1f10;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.age-gate-btn:hover { filter: brightness(1.05); }

.age-gate-blocked-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}
