/* ============================================
   VIPERWIN.APP — UNIFIED STYLESHEET
   Cobra crest theme: indigo night, crimson, sand.
   ============================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,700;12..96,800&family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* ── CSS Variables ── */
:root {
  --background: 222 45% 6%;
  --foreground: 38 35% 93%;
  --card: 222 38% 10%;
  --card-foreground: 38 35% 93%;
  --popover: 222 38% 10%;
  --popover-foreground: 38 35% 93%;
  --primary: 354 78% 52%;
  --primary-foreground: 38 35% 96%;
  --secondary: 222 38% 14%;
  --secondary-foreground: 38 35% 93%;
  --muted: 222 30% 13%;
  --muted-foreground: 38 14% 68%;
  --accent: 220 75% 52%;
  --accent-foreground: 38 35% 96%;
  --destructive: 0 84% 60%;
  --destructive-foreground: 210 40% 98%;
  --border: 222 28% 19%;
  --input: 222 28% 19%;
  --ring: 354 78% 55%;
  --radius: 0.75rem;
  --gold-start: 32 70% 70%;
  --gold-end: 28 55% 50%;
  --gold-glow: 32 70% 65%;
  --viper-green: 220 75% 52%;
  --viper-glow: 354 78% 55%;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-size: 112%;
}

body {
  font-family: 'Manrope', system-ui, sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Bricolage Grotesque', 'Manrope', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* ── Container ── */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.container-narrow {
  max-width: 896px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ── Layout ── */
.min-h-screen {
  min-height: 100vh;
}

.flex-col-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.flex-1 {
  flex: 1;
}

/* ── Gradient Utilities ── */
.gradient-gold {
  background: linear-gradient(135deg, hsl(354, 78%, 55%), hsl(28, 60%, 60%));
}

.gradient-gold-text {
  background: linear-gradient(110deg, hsl(354, 80%, 62%) 0%, hsl(32, 75%, 70%) 55%, hsl(220, 75%, 60%) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shadow-gold {
  box-shadow: 0 0 20px hsl(354, 78%, 55%, 0.3), 0 0 40px hsl(354, 78%, 55%, 0.1);
}

.glow-gold {
  box-shadow: 0 0 10px hsl(354, 78%, 55%, 0.4), inset 0 0 10px hsl(354, 78%, 55%, 0.1);
}

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid hsl(var(--border));
  background-color: hsl(var(--background) / 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  height: 64px;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}

.header-logo img {
  height: 2rem;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.header-nav a {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  border-radius: 0.375rem;
  transition: color 0.2s, background-color 0.2s;
}

.header-nav a:hover {
  color: hsl(var(--foreground));
  background-color: hsl(var(--secondary));
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Language Switcher */
.lang-switcher {
  position: relative;
}

.lang-switcher-btn {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.5rem;
  font-size: 0.875rem;
  border-radius: 0.375rem;
  border: 1px solid hsl(var(--border));
  transition: background-color 0.2s;
  cursor: pointer;
  background: transparent;
  color: hsl(var(--foreground));
}

.lang-switcher-btn:hover {
  background-color: hsl(var(--secondary));
}

.lang-switcher-btn svg.flag {
  width: 1.5rem;
  height: 1rem;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.lang-switcher-btn .chevron {
  width: 0.75rem;
  height: 0.75rem;
  color: hsl(var(--muted-foreground));
  transition: transform 0.2s;
}

.lang-switcher-btn.open .chevron {
  transform: rotate(180deg);
}

.lang-label {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.lang-dropdown {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 0.25rem;
  z-index: 50;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  padding: 0.25rem 0;
  min-width: 140px;
  display: none;
}

.lang-dropdown.open {
  display: block;
}

.lang-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
  transition: background-color 0.2s;
}

.lang-dropdown a:hover {
  background-color: hsl(var(--secondary));
}

.lang-dropdown a.active {
  color: hsl(var(--primary));
  font-weight: 500;
  background-color: hsl(var(--secondary) / 0.5);
}

.lang-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
}

.lang-overlay.open {
  display: block;
}

/* Header Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
  text-decoration: none;
  cursor: pointer;
  border: none;
  line-height: 1;
}

.btn-sm {
  height: 2.25rem;
  padding: 0 0.75rem;
  font-size: 0.875rem;
}

.btn-lg {
  height: 2.75rem;
  padding: 0 2rem;
  border-radius: 0.375rem;
  font-size: 1rem;
}

.btn-outline {
  background: transparent;
  border: 1px solid hsl(var(--primary) / 0.5);
  color: hsl(var(--primary));
}

.btn-outline:hover {
  background-color: hsl(var(--primary) / 0.1);
}

.btn-gold {
  background: linear-gradient(135deg, hsl(354, 78%, 55%), hsl(28, 60%, 60%));
  color: hsl(var(--primary-foreground));
  font-family: 'Cinzel', serif;
  font-weight: 700;
  box-shadow: 0 0 20px hsl(354, 78%, 55%, 0.3), 0 0 40px hsl(354, 78%, 55%, 0.1);
  letter-spacing: 0.05em;
}

.btn-gold:hover {
  filter: brightness(1.1);
}

.btn-gold.glow {
  box-shadow: 0 0 10px hsl(354, 78%, 55%, 0.4), inset 0 0 10px hsl(354, 78%, 55%, 0.1);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: none;
  color: hsl(var(--foreground));
  cursor: pointer;
  border-radius: 0.375rem;
}

.mobile-menu-btn:hover {
  background-color: hsl(var(--secondary));
}

.mobile-menu-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Mobile Menu Panel */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 280px;
  z-index: 60;
  background: hsl(var(--background));
  border-right: 1px solid hsl(var(--border));
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  padding: 2rem 0;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-logo {
  padding: 0 1rem;
  margin-bottom: 1rem;
}

.mobile-menu-logo img {
  height: 2rem;
  width: auto;
}

.mobile-menu a.nav-link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  border-radius: 0.5rem;
  transition: color 0.2s, background-color 0.2s;
  margin: 0 0.5rem;
}

.mobile-menu a.nav-link:hover {
  color: hsl(var(--primary));
  background-color: hsl(var(--secondary));
}

.mobile-menu-lang {
  border-top: 1px solid hsl(var(--border));
  margin-top: 1rem;
  padding: 1rem;
}

.mobile-menu-lang p {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.mobile-menu-lang-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.mobile-menu-lang-list a {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
  transition: all 0.2s;
}

.mobile-menu-lang-list a:hover {
  background-color: hsl(var(--secondary));
}

.mobile-menu-lang-list a.active {
  border-color: hsl(var(--primary));
  background-color: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  font-weight: 500;
}

.mobile-menu-lang-list a .lang-text {
  font-size: 0.75rem;
}

.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0 1rem;
}

.mobile-menu-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  border-radius: 0.25rem;
  font-size: 1.25rem;
}

.mobile-menu-close:hover {
  color: hsl(var(--foreground));
  background-color: hsl(var(--secondary));
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: hsl(var(--background));
  background-image:
    linear-gradient(90deg, hsl(var(--background)) 0%, hsl(var(--background) / 0.92) 30%, hsl(var(--background) / 0.45) 55%, transparent 75%),
    url('/images/hero-promo.webp');
  background-size: auto 100%, cover;
  background-position: left center, right center;
  background-repeat: no-repeat, no-repeat;
}
@media (max-width: 860px){
  .hero{
    min-height: 720px;
    background-image:
      linear-gradient(180deg, hsl(var(--background)) 0%, hsl(var(--background) / 0.55) 35%, hsl(var(--background) / 0.85) 75%, hsl(var(--background)) 100%),
      url('/images/hero-promo.webp');
    background-size: cover, cover;
    background-position: center, center top;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.18;
}

.hero-overlay-lr { position: absolute; inset: 0; pointer-events:none; }
.hero-overlay-bt {
  position: absolute;
  inset: 0;
  pointer-events:none;
  background: linear-gradient(to top, hsl(var(--background)), transparent 35%);
}

/* Home hero split layout */
.hero-content.hero-split {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2.5rem;
  width: 100%;
}
/* Promo image becomes hero background — hide inline image, keep offer label as glass card */
.hero-promo {
  position: relative;
  flex-shrink: 0;
  margin-left: auto;
  width: 320px;
  max-width: 42%;
  align-self: flex-end;
  margin-bottom: 1rem;
}
.hero-promo img { display:none; }
.hero-promo-offer {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.4rem;
  padding: 1.1rem 1.25rem;
  background: hsl(var(--background) / 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid hsl(var(--primary) / 0.45);
  border-radius: 14px;
  box-shadow: 0 18px 40px hsl(345 60% 4% / 0.55);
}
.hero-promo-offer .promo-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--primary));
  font-weight: 700;
}
.hero-promo-offer .promo-amount {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1.05;
}
.hero-promo-offer .promo-sub {
  font-size: 0.78rem;
  color: hsl(var(--foreground) / 0.85);
}
@media (max-width: 860px) {
  .hero-content.hero-split { flex-direction: column; gap: 1.5rem; align-items: stretch; }
  .hero-promo { width: 100%; max-width: 100%; margin: 0; align-self: stretch; }
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 3rem 1rem;
}

.hero-content-inner {
  max-width: 32rem;
}

.hero-subtitle {
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.8);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.hero h1 {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  background: hsl(var(--secondary) / 0.8);
  color: hsl(var(--foreground));
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid hsl(var(--border));
}

.hero-badge svg {
  width: 0.875rem;
  height: 0.875rem;
  color: hsl(var(--primary));
}

.hero-badge-updated {
  background: hsl(var(--primary) / 0.2);
  color: hsl(var(--primary));
  border-color: hsl(var(--primary) / 0.3);
  font-weight: 500;
}

/* ── GAME CATEGORIES ── */
.game-categories {
  padding: 2rem 0;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.category-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--secondary) / 0.5);
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  transition: all 0.2s;
  cursor: pointer;
}

.category-pill:hover {
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
}

.category-pill svg {
  width: 1rem;
  height: 1rem;
}

.game-section-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.game-card {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  transition: border-color 0.2s;
  text-decoration: none;
  display: block;
}

.game-card:hover {
  border-color: hsl(var(--primary) / 0.5);
}

.game-card-image {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.game-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.3s;
}

.game-card:hover .game-card-image img {
  transform: scale(1.05);
}

.game-card-info {
  padding: 0.5rem 0.75rem;
}

.game-card-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-card-provider {
  font-size: 0.625rem;
  color: hsl(var(--muted-foreground));
}

/* ── ARTICLE CONTENT ── */
.article-content {
  padding: 2rem 1rem;
}

/* Rating Block */
.rating-block {
  background: hsl(var(--card));
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid hsl(var(--border));
  margin: 2rem 0;
}

.rating-block-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.rating-score {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rating-number {
  font-size: 2.25rem;
  font-family: 'Cinzel', serif;
  font-weight: 700;
}

.rating-max {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.rating-stars {
  display: flex;
  gap: 0.125rem;
  margin-top: 0.5rem;
}

.rating-stars .star-filled {
  font-size: 1.125rem;
}

.rating-stars .star-empty {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground) / 0.3);
}

.rating-verdict {
  flex: 1;
}

.rating-verdict blockquote {
  font-style: italic;
  font-size: 0.875rem;
  line-height: 1.7;
  color: hsl(var(--foreground));
  border-left: 2px solid hsl(var(--primary));
  padding-left: 1rem;
}

.rating-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.rating-author {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.rating-updated {
  font-size: 0.75rem;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
}

/* Author Block */
.author-block {
  background: hsl(var(--secondary) / 0.5);
  border-radius: 0.75rem;
  padding: 1.25rem;
  border: 1px solid hsl(var(--border));
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: hsl(var(--primary) / 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-avatar span {
  font-size: 1.125rem;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  color: hsl(var(--primary));
}

.author-info {
  flex: 1;
}

.author-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
}

.author-bio {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.25rem;
}

.author-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.author-dates span {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.author-dates .date-updated {
  color: hsl(var(--primary));
}

.author-dates .verified {
  color: hsl(142, 76%, 36%);
}

/* Table of Contents */
.toc {
  position: relative;
  background: hsl(var(--card) / 0.8);
  backdrop-filter: blur(4px);
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.toc-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(135deg, hsl(354, 78%, 55%), hsl(28, 60%, 60%));
}

.toc-inner {
  padding: 1.25rem 1.5rem;
}

.toc-title {
  font-size: 1rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toc-title svg {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--primary));
}

.toc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.375rem;
}

.toc-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.375rem 0;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s;
}

.toc-link:hover {
  color: hsl(var(--primary));
}

.toc-link:hover .toc-num {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.toc-link:hover .toc-label {
  transform: translateX(2px);
}

.toc-num {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.375rem;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.toc-label {
  transition: transform 0.2s;
}

/* Content Sections */
.content-section {
  margin-bottom: 2.5rem;
  scroll-margin-top: 5rem;
}

.content-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

/* Rich Content */
.rich-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rich-content p {
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.85);
  line-height: 1.7;
  white-space: pre-line;
}

.rich-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-top: 1.5rem;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rich-content h3 .h3-bar {
  width: 4px;
  height: 1.25rem;
  background: linear-gradient(135deg, hsl(354, 78%, 55%), hsl(28, 60%, 60%));
  border-radius: 9999px;
  display: inline-block;
  flex-shrink: 0;
}

.rich-content h4 {
  font-size: 1rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

/* Callouts */
.callout {
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 0.5rem;
  margin: 0.5rem 0;
}

.callout svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.callout p {
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.9);
  line-height: 1.7;
}

.callout-warning {
  background: hsl(var(--destructive) / 0.1);
  border: 1px solid hsl(var(--destructive) / 0.2);
}

.callout-warning svg {
  color: hsl(var(--destructive));
}

.callout-tip {
  background: hsl(var(--primary) / 0.1);
  border: 1px solid hsl(var(--primary) / 0.2);
}

.callout-tip svg {
  color: hsl(var(--primary));
}

.callout-info {
  background: hsl(var(--secondary));
  border: 1px solid hsl(var(--border));
}

.callout-info svg {
  color: hsl(var(--muted-foreground));
}

/* Ordered Lists */
.rich-content ol {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rich-content ol li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.85);
}

.rich-content ol .ol-num {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.125rem;
}

.rich-content ol li span.ol-text {
  line-height: 1.7;
}

/* Unordered Lists */
.rich-content ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.rich-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.85);
}

.rich-content ul .ul-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: hsl(var(--primary));
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.rich-content ul li span.ul-text {
  line-height: 1.7;
}

/* ── BONUS SECTION (CTA) ── */
.bonus-section {
  padding: 3rem 1rem;
}

.bonus-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid hsl(var(--primary) / 0.3);
  background: linear-gradient(to right, hsl(var(--secondary)), hsl(var(--card)), hsl(var(--secondary)));
  padding: 2rem;
}

.bonus-card-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(to left, hsl(var(--primary) / 0.05), transparent);
}

.bonus-card-image {
  display: none;
  position: absolute;
  right: 2rem;
  bottom: 0;
  width: 12rem;
  opacity: 0.9;
}

.bonus-card-image img {
  width: 100%;
  height: auto;
  border-radius: 0.75rem 0.75rem 0 0;
}

.bonus-card-content {
  position: relative;
  z-index: 10;
  max-width: 36rem;
}

.bonus-card-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.bonus-card-amount {
  font-size: 2.25rem;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

.bonus-card-desc {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

/* ── PROS/CONS ── */
.pros-cons {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0;
}

.pros-cons-card {
  background: hsl(var(--card));
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid hsl(var(--border));
}

.pros-cons-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

.pros-cons-card ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pros-cons-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.9);
}

.pros-cons-card li .icon-pro {
  color: hsl(142, 76%, 36%);
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.pros-cons-card li .icon-con {
  color: hsl(25, 95%, 53%);
  margin-top: 0.125rem;
  flex-shrink: 0;
}

/* ── CHANGELOG ── */
.changelog-block {
  background: hsl(var(--card));
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid hsl(var(--border));
  margin: 2rem 0;
}

.changelog-block h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1.5rem;
}

.changelog-entries {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.changelog-entry {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.changelog-date {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  font-family: monospace;
  white-space: nowrap;
  min-width: 100px;
}

.changelog-category {
  font-size: 0.75rem;
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  white-space: nowrap;
  display: inline-block;
  width: fit-content;
}

.changelog-category.blue { background: hsl(217, 91%, 60%, 0.2); color: hsl(217, 91%, 65%); }
.changelog-category.yellow { background: hsl(48, 96%, 53%, 0.2); color: hsl(48, 96%, 65%); }
.changelog-category.green { background: hsl(142, 71%, 45%, 0.2); color: hsl(142, 71%, 55%); }
.changelog-category.purple { background: hsl(271, 91%, 65%, 0.2); color: hsl(271, 91%, 70%); }
.changelog-category.orange { background: hsl(25, 95%, 53%, 0.2); color: hsl(25, 95%, 63%); }

.changelog-desc {
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.9);
}

/* ── FAQ ── */
.faq-block {
  margin: 2rem 0;
}

.faq-block h2 {
  font-size: 1.25rem;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1.5rem;
}

.faq-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: hsl(var(--card));
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  color: hsl(var(--foreground));
}

.faq-question span {
  font-weight: 600;
  font-size: 0.875rem;
  padding-right: 1rem;
}

.faq-chevron {
  color: hsl(var(--muted-foreground));
  flex-shrink: 0;
  transition: transform 0.2s;
  font-size: 0.875rem;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.8);
  line-height: 1.7;
  white-space: pre-line;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ── CTA BLOCK (SubPages) ── */
.cta-block {
  background: hsl(var(--secondary) / 0.5);
  border-radius: 0.75rem;
  padding: 2rem;
  border: 1px solid hsl(var(--primary) / 0.2);
  text-align: center;
  margin: 2rem 0;
}

.cta-bonus {
  font-size: 1.5rem;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cta-subtitle {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

/* ── DISCLAIMER ── */
.disclaimer {
  text-align: center;
  margin-top: 3rem;
}

.disclaimer p {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.disclaimer p + p {
  margin-top: 0.25rem;
  color: hsl(var(--muted-foreground) / 0.7);
}

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--secondary) / 0.3);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand-name {
  font-size: 1.25rem;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.footer-copyright {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.75rem;
}

.footer-email {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.5rem;
}

.footer-email a {
  transition: color 0.2s;
}

.footer-email a:hover {
  color: hsl(var(--primary));
}

.footer-col-title {
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
}

.footer-col nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col nav a,
.footer-col nav span {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s;
}

.footer-col nav a:hover {
  color: hsl(var(--primary));
}

.footer-bottom {
  border-top: 1px solid hsl(var(--border));
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.footer-bottom p + p {
  margin-top: 0.5rem;
  color: hsl(var(--muted-foreground) / 0.7);
}

/* ── SCROLL TO TOP ── */
.scroll-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(354, 78%, 55%), hsl(28, 60%, 60%));
  color: hsl(var(--primary-foreground));
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  border: none;
  transition: opacity 0.3s, transform 0.3s;
  animation: fadeIn 0.5s ease-out;
}

.scroll-to-top.visible {
  display: flex;
}

.scroll-to-top svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* ── LOGIN FORM ── */
.login-form-card {
  background: hsl(var(--card));
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  padding: 1.5rem 2rem;
  max-width: 28rem;
  margin: 2rem auto;
}

.login-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.login-tab {
  flex: 1;
  padding: 0.625rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.login-tab.active {
  background: linear-gradient(135deg, hsl(354, 78%, 55%), hsl(28, 60%, 60%));
  color: hsl(var(--primary-foreground));
  box-shadow: 0 0 20px hsl(354, 78%, 55%, 0.3);
}

.login-tab:not(.active) {
  background: hsl(var(--secondary));
  color: hsl(var(--muted-foreground));
}

.login-tab:not(.active):hover {
  color: hsl(var(--foreground));
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  margin-bottom: 0.375rem;
}

.form-group input[type="email"],
.form-group input[type="password"] {
  width: 100%;
  padding: 0.625rem 1rem;
  background: hsl(var(--secondary));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  color: hsl(var(--foreground));
  font-size: 0.875rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 2px hsl(var(--primary) / 0.3);
}

.form-group input::placeholder {
  color: hsl(var(--muted-foreground));
}

.forgot-link {
  text-align: right;
}

.forgot-link a {
  font-size: 0.75rem;
  color: hsl(var(--primary));
  transition: text-decoration 0.2s;
}

.forgot-link a:hover {
  text-decoration: underline;
}

.age-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
}

.age-check input {
  margin-top: 0.125rem;
  accent-color: hsl(var(--primary));
}

.age-check span {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.login-terms {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  text-align: center;
  margin-top: 1rem;
}

.login-switch {
  text-align: center;
  margin-top: 0.5rem;
}

.login-switch button {
  font-size: 0.875rem;
  color: hsl(var(--primary));
  background: transparent;
  border: none;
  cursor: pointer;
}

.login-switch button:hover {
  text-decoration: underline;
}

/* ── LIVE GAMES GRID ── */
.live-games {
  margin: 2rem 0;
}

.live-games h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

.live-games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.live-game-card {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  transition: border-color 0.2s;
  display: block;
}

.live-game-card:hover {
  border-color: hsl(var(--primary) / 0.5);
}

.live-game-card .game-card-image {
  aspect-ratio: 9 / 16;
  object-position: center top;
}
.live-game-card .game-card-image img {
  object-position: center 30%;
}

/* ── SPORT HERO IMAGE ── */
.sport-hero-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem 0;
}

.sport-hero-images img {
  filter: drop-shadow(0 25px 25px rgba(0,0,0,0.25));
}

.sport-hero-images img:first-child {
  width: 10rem;
}

.sport-hero-images img:last-child {
  width: 9rem;
}

/* ── ANIMATIONS ── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */

/* SM: 640px */
@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }

  .cta-buttons {
    flex-direction: row;
  }

  .author-block {
    flex-direction: row;
    align-items: flex-start;
  }

  .changelog-entry {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .sport-hero-images {
    flex-direction: row;
  }
}

/* MD: 768px */
@media (min-width: 768px) {
  .header-logo img {
    height: 2.5rem;
  }

  .hero {
    min-height: 400px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .games-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }

  .game-card-info {
    padding: 0.5rem 0.75rem;
  }

  .game-card-name {
    font-size: 0.875rem;
  }

  .game-card-provider {
    font-size: 0.75rem;
  }

  .toc-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
  }

  .content-section h2 {
    font-size: 1.5rem;
  }

  .rating-block-inner {
    flex-direction: row;
    align-items: center;
  }

  .bonus-card {
    padding: 3rem;
  }

  .bonus-card-image {
    display: block;
  }

  .bonus-card-title {
    font-size: 2.25rem;
  }

  .bonus-card-amount {
    font-size: 3rem;
  }

  .pros-cons {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .live-games-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .sport-hero-images img:first-child {
    width: 13rem;
  }

  .sport-hero-images img:last-child {
    width: 12rem;
  }
}

/* LG: 1024px */
@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3rem;
  }

  .bonus-card-image {
    width: 14rem;
  }
}

/* Header responsive */
@media (max-width: 1023px) {
  .header-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }
}

@media (max-width: 767px) {
  .header-actions {
    display: none;
  }
}

/* XL: 1280px */
@media (min-width: 1280px) {
  .lang-label {
    display: inline;
  }
}

@media (max-width: 1279px) {
  .lang-label {
    display: none;
  }
}

/* ── SVG Flag Styles ── */
.flag-svg {
  width: 1.5rem;
  height: 1rem;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
  border: 1px solid hsl(var(--border) / 0.3);
  display: inline-block;
  vertical-align: middle;
}

/* ── Scroll margin for anchors ── */
[id] {
  scroll-margin-top: 5rem;
}

/* ── Hidden utility ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.hidden {
  display: none !important;
}

/* Content figures injected on subpages */
.content-figure{margin:1.75rem auto;border-radius:14px;overflow:hidden;border:1px solid hsl(var(--viper-green) / .25);box-shadow:0 8px 30px rgba(0,0,0,.45);max-width:560px}
.content-figure img{width:100%;height:260px;display:block;object-fit:cover;object-position:center 25%}
.content-figure.figure-wide{max-width:720px}
.content-figure.figure-wide img{height:320px}
.content-figure.figure-portrait{max-width:340px}
.content-figure.figure-portrait img{height:420px;object-position:center top}
.login-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin:2rem 0;max-width:none}
.login-gallery .content-figure{margin:0;max-width:none}
.login-gallery .content-figure img{height:200px}

/* Subpage hero — фоновое изображение per п.1.5.A промта */
.sub-hero{position:relative;min-height:300px;padding:3.5rem 1rem 3rem;background-color:hsl(220 30% 5%);background-size:cover;background-position:center center;background-repeat:no-repeat;border-bottom:1px solid hsl(var(--viper-green)/.25);overflow:hidden}
.sub-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,12,18,.72) 0%,rgba(8,12,18,.88) 60%,rgba(8,12,18,.95) 100%),linear-gradient(110deg,hsl(var(--viper-green)/.22),transparent 55%);z-index:0;pointer-events:none}
.sub-hero > .container{position:relative;z-index:1}
.sub-hero h1{font-size:clamp(2rem,4vw,3rem);margin:0 0 .75rem;line-height:1.1}
.sub-hero .sub-hero-lead{max-width:720px;color:hsl(var(--muted-foreground));font-size:1.05rem;margin:0 0 1.5rem}
.sub-hero .hero-buttons{display:flex;flex-wrap:wrap;gap:.75rem;margin-bottom:1rem}
.sub-hero .hero-badges{display:flex;flex-wrap:wrap;gap:.5rem}
@media(max-width:768px){.sub-hero{min-height:220px;padding:2.5rem 1rem 2rem;background-position:center top}}

/* Live cards: anchor faces to the very top of the crop */
.live-game-card .game-card-image img,
.games-grid .live-game-card .game-card-image img { object-position: center top !important; }

/* Slot cards: keep faces visible */
.game-card-image img { object-position: center 18% }

/* Language switcher in header */
.lang-switch{display:inline-flex;align-items:center;gap:.35rem;margin-right:.6rem;padding:.35rem .6rem;border:1px solid hsl(var(--primary)/.45);border-radius:999px;background:hsl(var(--background)/.5)}
.lang-switch a{display:inline-flex;align-items:center;gap:.3rem;padding:.15rem .5rem;border-radius:999px;font-size:.78rem;font-weight:600;color:hsl(var(--foreground)/.75);transition:all .2s}
.lang-switch a.active{background:linear-gradient(135deg,hsl(var(--gold-start)),hsl(var(--gold-end)));color:#1a1a0a}
.lang-switch a:hover:not(.active){color:hsl(var(--primary))}
.lang-flag{width:1em;height:.75em;border-radius:2px;display:inline-block;overflow:hidden;line-height:0}
@media(max-width:860px){.header-actions .lang-switch{display:none}.mobile-menu .lang-switch{display:inline-flex;margin:.5rem 0}}

/* ================ VIPERWIN.APP ADDITIONS ================ */
.logo-wordmark {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  background: linear-gradient(110deg, hsl(354, 80%, 62%) 0%, hsl(32, 75%, 70%) 55%, hsl(220, 75%, 60%) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-left: .55rem;
}
.header-logo { display: flex; align-items: center; }

.hero {
  position: relative;
  min-height: 560px;
  padding: 2rem 0 3rem;
  overflow: hidden;
  background:
    linear-gradient(115deg, hsl(222,45%,6%) 0%, hsl(222,45%,6%,0.6) 55%, transparent 100%),
    url('/images/hero-promo.webp') right center / cover no-repeat,
    hsl(222 45% 6%);
}
.hero-overlay-bt { position: absolute; inset: 0; background: linear-gradient(0deg, hsl(222 45% 6%) 0%, transparent 35%); pointer-events: none; }
.hero-split { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,440px); gap: 2.5rem; align-items: center; padding-top: 2rem; padding-bottom: 2rem; }
@media (max-width: 880px) { .hero-split { grid-template-columns: 1fr; } .hero { background-position: right -120px center, right -120px center; } }
.hero-content-inner h1 { font-size: clamp(2.2rem, 5vw, 4rem); margin: .6rem 0 1rem; }
.hero-subtitle { color: hsl(32,70%,70%); text-transform: uppercase; letter-spacing: .15em; font-size: .82rem; font-weight: 600; }
.hero-lead { font-size: 1.05rem; color: hsl(38,18%,80%); max-width: 600px; margin-bottom: 1.5rem; }
.hero-buttons { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.hero-badges { display: flex; gap: .5rem; flex-wrap: wrap; }
.hero-badge { background: hsl(222,38%,14%,0.85); border: 1px solid hsl(222,28%,22%); padding: .35rem .75rem; border-radius: 999px; font-size: .78rem; color: hsl(38,25%,82%); }
.hero-badge-updated { background: linear-gradient(110deg, hsl(354,78%,55%,0.15), hsl(220,75%,52%,0.15)); border-color: hsl(354,78%,55%,0.4); color: hsl(32,75%,75%); }
.hero-promo { display: block; background: linear-gradient(160deg, hsl(222,38%,12%,0.95), hsl(222,45%,6%,0.95)); border: 1px solid hsl(354,78%,55%,0.3); border-radius: 18px; padding: 1.25rem; backdrop-filter: blur(8px); text-align: center; transition: transform .25s, border-color .25s; }
.hero-promo:hover { transform: translateY(-3px); border-color: hsl(354,78%,55%,0.7); }
.hero-promo img { border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; }
.hero-promo-offer { display: block; margin-top: 1rem; }
.promo-eyebrow { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .15em; color: hsl(32,60%,70%); }
.promo-amount { display: block; font-family: 'Bricolage Grotesque'; font-size: 2rem; font-weight: 800; margin: .25rem 0; }
.promo-sub { display: block; font-size: .85rem; color: hsl(38,18%,72%); }

.data-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin: -2rem auto 3rem; position: relative; z-index: 3; padding: 1.25rem 1rem; background: linear-gradient(180deg, hsl(222,38%,12%), hsl(222,38%,10%)); border: 1px solid hsl(222,28%,20%); border-radius: 18px; max-width: 1280px; }
.data-card { text-align: center; padding: .25rem; }
.data-card .data-num { display: block; font-family: 'Bricolage Grotesque'; font-size: 1.8rem; font-weight: 800; background: linear-gradient(110deg, hsl(354,78%,62%), hsl(32,75%,70%)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.data-card .data-lbl { display: block; font-size: .72rem; color: hsl(38,15%,68%); text-transform: uppercase; letter-spacing: .08em; margin-top: .2rem; }
@media (max-width: 720px) { .data-strip { grid-template-columns: repeat(2, 1fr); margin-top: 1rem; } }

.sub-hero { padding: 4rem 0 3rem; background: linear-gradient(160deg, hsl(222,45%,8%), hsl(222,45%,6%)); border-bottom: 1px solid hsl(222,28%,18%); margin-bottom: 2.5rem; }
.sub-hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); margin: .5rem 0 1rem; background: linear-gradient(110deg, hsl(354,78%,62%), hsl(32,75%,70%), hsl(220,75%,60%)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub-hero .hero-lead { max-width: 720px; }

.article-content { max-width: 1100px; padding: 1rem 1.5rem 3rem; }
.content-section { margin: 3rem 0; }
.content-section h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 1.25rem; padding-bottom: .5rem; border-bottom: 2px solid hsl(354,78%,55%,0.25); }
.rich-content p { margin-bottom: 1rem; color: hsl(38,18%,84%); }
.rich-content h3 { font-size: 1.3rem; margin: 1.75rem 0 .75rem; display: flex; align-items: center; gap: .6rem; }
.h3-bar { display: inline-block; width: 4px; height: 22px; background: linear-gradient(180deg, hsl(354,78%,55%), hsl(220,75%,55%)); border-radius: 2px; }

.callout { padding: 1.1rem 1.3rem; border-radius: 14px; margin: 1.5rem 0; border-left: 4px solid; }
.callout-info { background: hsl(220,75%,30%,0.12); border-color: hsl(220,75%,55%); }
.callout-warning { background: hsl(354,78%,40%,0.12); border-color: hsl(354,78%,55%); }
.callout p { margin: 0; color: hsl(38,22%,88%); }

.data-table { overflow-x: auto; margin: 1.5rem 0; border-radius: 14px; border: 1px solid hsl(222,28%,20%); }
.data-table table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.data-table th { background: hsl(222,38%,12%); padding: .85rem 1rem; text-align: left; font-family: 'Bricolage Grotesque'; font-weight: 700; color: hsl(32,70%,72%); text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; }
.data-table td { padding: .85rem 1rem; border-top: 1px solid hsl(222,28%,18%); color: hsl(38,18%,84%); }
.data-table tbody tr:nth-child(even) { background: hsl(222,38%,8%); }

.steps-list { list-style: none; counter-reset: stp; padding-left: 0; margin: 1rem 0 1.5rem; }
.steps-list li { counter-increment: stp; position: relative; padding: .9rem 1rem .9rem 3.4rem; margin-bottom: .5rem; background: hsl(222,38%,10%); border: 1px solid hsl(222,28%,18%); border-radius: 12px; color: hsl(38,18%,86%); }
.steps-list li::before { content: counter(stp); position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 1.85rem; height: 1.85rem; border-radius: 50%; background: linear-gradient(135deg, hsl(354,78%,55%), hsl(220,75%,55%)); color: white; display: flex; align-items: center; justify-content: center; font-family: 'Bricolage Grotesque'; font-weight: 800; font-size: .95rem; }

.pros-cons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 1.25rem; }
@media (max-width: 720px) { .pros-cons-grid { grid-template-columns: 1fr; } }
.pros-block, .cons-block { padding: 1.3rem 1.5rem; border-radius: 14px; }
.pros-block { background: hsl(150,40%,18%,0.18); border: 1px solid hsl(150,55%,40%,0.4); }
.cons-block { background: hsl(354,78%,40%,0.12); border: 1px solid hsl(354,78%,55%,0.35); }
.pros-block h3, .cons-block h3 { margin-bottom: .85rem; font-size: 1.15rem; }
.pros-block ul, .cons-block ul { list-style: none; padding: 0; }
.pros-block li, .cons-block li { padding-left: 1.5rem; position: relative; margin-bottom: .5rem; color: hsl(38,18%,86%); font-size: .92rem; }
.pros-block li::before { content: '+'; position: absolute; left: 0; color: hsl(150,60%,55%); font-weight: 800; }
.cons-block li::before { content: '−'; position: absolute; left: 0; color: hsl(354,78%,62%); font-weight: 800; }

.reviews-block { display: grid; gap: 1rem; margin-top: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.review-card { background: hsl(222,38%,10%); border: 1px solid hsl(222,28%,18%); padding: 1.25rem; border-radius: 14px; }
.review-head { display: flex; justify-content: space-between; margin-bottom: .65rem; padding-bottom: .65rem; border-bottom: 1px solid hsl(222,28%,18%); }
.review-head strong { font-family: 'Bricolage Grotesque'; font-size: .92rem; }
.review-head span { color: hsl(32,75%,70%); font-weight: 700; }
.review-card p { font-size: .88rem; color: hsl(38,18%,82%); margin: 0; font-style: italic; }

.games-section { margin: 3rem auto; }
.game-section-title { font-size: 1.6rem; margin-bottom: 1.25rem; padding-bottom: .5rem; border-bottom: 2px solid hsl(354,78%,55%,0.25); }
.games-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 880px) { .games-grid { grid-template-columns: repeat(2, 1fr); } }
.game-card { display: block; background: hsl(222,38%,10%); border: 1px solid hsl(222,28%,18%); border-radius: 14px; overflow: hidden; transition: transform .25s, border-color .25s; }
.game-card:hover { transform: translateY(-3px); border-color: hsl(354,78%,55%,0.6); }
.game-card-image { aspect-ratio: 3/4; overflow: hidden; }
.live-game-card .game-card-image { aspect-ratio: 9/16; }
.game-card-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.live-game-card .game-card-image img { object-position: center top; }
.game-card-info { padding: .65rem .85rem .85rem; }
.game-card-name { font-family: 'Bricolage Grotesque'; font-weight: 700; font-size: .95rem; }
.game-card-provider { color: hsl(38,15%,65%); font-size: .78rem; margin-top: .15rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: .65rem 1.2rem; border-radius: 12px; font-weight: 600; transition: transform .2s, box-shadow .25s; font-family: 'Manrope'; }
.btn-sm { padding: .45rem .95rem; font-size: .85rem; }
.btn-lg { padding: .9rem 1.6rem; font-size: 1rem; }
.btn-gold { background: linear-gradient(110deg, hsl(354,78%,55%), hsl(28,60%,60%)); color: white; }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 30px hsl(354,78%,55%,0.4); }
.btn-outline { border: 1px solid hsl(32,60%,65%,0.55); color: hsl(32,75%,75%); background: transparent; }
.btn-outline:hover { border-color: hsl(32,60%,75%); background: hsl(32,60%,65%,0.08); }
.glow { box-shadow: 0 0 20px hsl(354,78%,55%,0.35); }

.lang-switch { display: inline-flex; gap: .35rem; padding: .25rem; background: hsl(222,38%,12%); border: 1px solid hsl(222,28%,20%); border-radius: 999px; }
.lang-switch a { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .65rem; border-radius: 999px; font-size: .8rem; color: hsl(38,15%,72%); }
.lang-switch a.active { background: linear-gradient(110deg, hsl(354,78%,55%), hsl(220,75%,55%)); color: white; }
.lang-flag { width: 18px; height: 12px; border-radius: 2px; }

.site-header { background: hsl(222,45%,6%,0.92); border-bottom: 1px solid hsl(222,28%,18%); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: .8rem 2rem; gap: 1.5rem; }
.header-nav { display: flex; gap: 1.2rem; flex: 1; justify-content: center; }
.header-nav a { font-size: .92rem; color: hsl(38,15%,78%); position: relative; padding: .25rem 0; transition: color .2s; }
.header-nav a:hover, .header-nav a[aria-current="page"] { color: hsl(32,75%,75%); }
.header-nav a[aria-current="page"]::after { content: ''; position: absolute; bottom: -.5rem; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, hsl(354,78%,55%), hsl(220,75%,55%)); }
.header-actions { display: flex; gap: .7rem; align-items: center; }
.mobile-menu-btn { display: none; width: 40px; height: 40px; color: hsl(38,15%,78%); }
@media (max-width: 980px) {
  .header-nav, .header-actions { display: none; }
  .mobile-menu-btn { display: flex; align-items: center; justify-content: center; }
}
.mobile-menu { position: fixed; top: 0; right: -100%; width: 85%; max-width: 380px; height: 100vh; background: hsl(222,45%,6%); border-left: 1px solid hsl(222,28%,18%); z-index: 200; padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; transition: right .3s; overflow-y: auto; }
.mobile-menu.open { right: 0; }
.mobile-menu-overlay { position: fixed; inset: 0; background: hsl(222,45%,3%,0.7); z-index: 150; opacity: 0; pointer-events: none; transition: opacity .3s; }
.mobile-menu-overlay.open { opacity: 1; pointer-events: auto; }
.mobile-menu-close { position: absolute; top: 1rem; right: 1rem; font-size: 2rem; color: hsl(38,15%,78%); }
.mobile-menu .nav-link { padding: .7rem 0; border-bottom: 1px solid hsl(222,28%,18%); color: hsl(38,18%,82%); }
.mobile-menu-actions { margin-top: auto; display: flex; flex-direction: column; gap: .6rem; }

.site-footer { background: hsl(222,45%,4%); border-top: 1px solid hsl(222,28%,18%); padding: 3rem 0 1.5rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 2rem; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: .65rem; margin-bottom: .7rem; }
.footer-brand strong { font-family: 'Bricolage Grotesque'; font-size: 1.2rem; }
.footer-tag { color: hsl(38,15%,68%); font-size: .9rem; }
.site-footer h4 { font-size: .95rem; margin-bottom: .75rem; color: hsl(32,75%,75%); }
.footer-links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .35rem; }
.footer-links a { color: hsl(38,15%,75%); font-size: .9rem; }
.footer-links a:hover { color: hsl(32,75%,75%); }
.footer-rg { font-size: .85rem; color: hsl(38,15%,68%); }
.footer-bottom { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid hsl(222,28%,15%); text-align: center; color: hsl(38,12%,55%); font-size: .82rem; }

.scroll-to-top { position: fixed; bottom: 1.5rem; right: 1.5rem; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, hsl(354,78%,55%), hsl(220,75%,55%)); color: white; font-size: 1.3rem; display: none; align-items: center; justify-content: center; box-shadow: 0 8px 20px hsl(354,78%,55%,0.4); z-index: 99; }
.scroll-to-top.visible { display: flex; }

.faq-block { margin-top: 1.25rem; }
.faq-item { background: hsl(222,38%,10%); border: 1px solid hsl(222,28%,18%); border-radius: 12px; margin-bottom: .55rem; overflow: hidden; }
.faq-question { width: 100%; padding: 1rem 1.2rem; text-align: left; color: hsl(38,18%,88%); font-weight: 600; font-family: 'Manrope'; font-size: .98rem; display: flex; justify-content: space-between; align-items: center; }
.faq-question::after { content: '+'; color: hsl(354,78%,62%); font-size: 1.3rem; transition: transform .25s; }
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s, padding .3s; padding: 0 1.2rem; }
.faq-item.open .faq-answer { max-height: 320px; padding: 0 1.2rem 1rem; }
.faq-answer p { color: hsl(38,15%,75%); font-size: .9rem; }

/* ── Mobile menu action buttons fix ── */
.mobile-menu-actions { gap: .75rem !important; padding: 1rem 0 0 !important; margin-top: 1.25rem !important; border-top: 1px solid hsl(222,28%,18%); }
.mobile-menu-actions .lang-switch { width: 100%; display: flex !important; gap: .5rem; margin: 0 0 .5rem 0 !important; }
.mobile-menu-actions .lang-switch a { flex: 1; justify-content: center; padding: .65rem .5rem; border-radius: 10px; display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; }
.mobile-menu-actions .btn { width: 100% !important; min-height: 48px; padding: .85rem 1.2rem !important; font-size: .95rem !important; border-radius: 12px !important; display: flex !important; align-items: center; justify-content: center; letter-spacing: .02em; }
.mobile-menu-actions .btn-outline { border-width: 1.5px; }

/* CTA вариант — второй primary, не идентичный визуально первому (п.1.5.A) */
.btn-gold-soft{background:linear-gradient(135deg,hsl(45 90% 58%),hsl(38 85% 48%));color:hsl(220 35% 8%);border:1px solid hsl(45 90% 50%);box-shadow:0 6px 18px hsl(45 90% 45% / .35);font-weight:700}
.btn-gold-soft:hover{filter:brightness(1.08);box-shadow:0 8px 24px hsl(45 90% 45% / .5)}

/* === Расширенные контент-блоки (п.1.2 Template Detection: разные блоки на разных страницах) === */
.tldr-card{background:linear-gradient(135deg,hsl(220 30% 9%),hsl(220 30% 7%));border:1px solid hsl(var(--viper-green)/.35);border-left:4px solid hsl(45 90% 55%);border-radius:12px;padding:1.5rem 1.75rem;margin:2rem 0}
.tldr-card h3{margin:0 0 .75rem;font-size:1.1rem;color:hsl(45 90% 60%);text-transform:uppercase;letter-spacing:.08em}
.tldr-card ul{margin:0;padding-left:1.25rem;list-style:none}
.tldr-card li{position:relative;padding:.35rem 0 .35rem 1.5rem;font-size:.98rem;line-height:1.5}
.tldr-card li::before{content:"▸";position:absolute;left:0;color:hsl(45 90% 55%);font-weight:700}

.compare-table{width:100%;border-collapse:collapse;margin:2rem 0;font-size:.95rem;background:hsl(220 30% 6%);border-radius:10px;overflow:hidden}
.compare-table th,.compare-table td{padding:.75rem 1rem;text-align:left;border-bottom:1px solid hsl(220 25% 14%)}
.compare-table thead th{background:hsl(220 35% 10%);color:hsl(45 90% 60%);font-weight:700;text-transform:uppercase;font-size:.82rem;letter-spacing:.05em}
.compare-table tbody tr:hover{background:hsl(220 30% 8%)}
.compare-table .win{color:hsl(140 60% 60%);font-weight:600}
.compare-table .lose{color:hsl(0 70% 65%)}
.compare-table .first-col{font-weight:600;color:hsl(45 80% 65%)}

.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1rem;margin:2rem 0}
.stat-cell{background:linear-gradient(160deg,hsl(220 35% 10%),hsl(220 30% 6%));border:1px solid hsl(var(--viper-green)/.3);border-radius:10px;padding:1.25rem;text-align:center}
.stat-cell .stat-num{display:block;font-size:2rem;font-weight:800;color:hsl(45 90% 60%);line-height:1;margin-bottom:.4rem;font-family:'Cinzel',serif}
.stat-cell .stat-label{font-size:.85rem;color:hsl(220 15% 65%);line-height:1.3}

.myth-block{margin:2rem 0}
.myth-row{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:hsl(220 25% 14%);border-radius:8px;overflow:hidden;margin-bottom:1px}
.myth-row .myth-side{padding:1rem 1.25rem;background:hsl(220 30% 7%)}
.myth-row .myth-myth{border-left:3px solid hsl(0 65% 55%)}
.myth-row .myth-real{border-left:3px solid hsl(140 55% 50%)}
.myth-row .myth-tag{display:block;font-size:.75rem;text-transform:uppercase;letter-spacing:.1em;margin-bottom:.4rem;font-weight:700}
.myth-myth .myth-tag{color:hsl(0 65% 65%)}
.myth-real .myth-tag{color:hsl(140 55% 60%)}
@media(max-width:640px){.myth-row{grid-template-columns:1fr}}

.timeline-block{margin:2rem 0;padding-left:1.5rem;border-left:2px solid hsl(var(--viper-green)/.4)}
.timeline-item{position:relative;padding:.5rem 0 1rem 1.5rem}
.timeline-item::before{content:"";position:absolute;left:-1.6rem;top:.85rem;width:.7rem;height:.7rem;border-radius:50%;background:hsl(45 90% 55%);box-shadow:0 0 0 3px hsl(220 30% 5%)}
.timeline-item .timeline-date{display:block;font-size:.8rem;color:hsl(45 80% 60%);font-weight:700;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.25rem}
.timeline-item p{margin:0;font-size:.95rem}

.decision-matrix{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:2rem 0}
.decision-cell{padding:1.25rem 1.5rem;border-radius:10px;border:1px solid}
.decision-cell.fit{background:hsl(140 30% 8%);border-color:hsl(140 50% 35%)}
.decision-cell.unfit{background:hsl(0 30% 8%);border-color:hsl(0 50% 35%)}
.decision-cell h4{margin:0 0 .75rem;font-size:1rem;text-transform:uppercase;letter-spacing:.05em}
.decision-cell.fit h4{color:hsl(140 60% 65%)}
.decision-cell.unfit h4{color:hsl(0 65% 70%)}
.decision-cell ul{margin:0;padding-left:1.25rem;font-size:.92rem;line-height:1.5}
@media(max-width:640px){.decision-matrix{grid-template-columns:1fr}}

.footnotes-block{margin:2.5rem 0 1.5rem;padding:1.25rem 1.5rem;background:hsl(220 25% 5%);border-top:1px solid hsl(var(--viper-green)/.3);border-radius:8px;font-size:.85rem;color:hsl(220 15% 60%)}
.footnotes-block h4{margin:0 0 .75rem;font-size:.85rem;color:hsl(45 80% 60%);text-transform:uppercase;letter-spacing:.08em}
.footnotes-block ol{margin:0;padding-left:1.5rem}
.footnotes-block li{margin-bottom:.5rem;line-height:1.5}
.footnotes-block a{color:hsl(45 70% 65%);text-decoration:underline;text-decoration-color:hsl(45 70% 35%)}

.glossary-block{margin:2rem 0;background:hsl(220 30% 6%);border:1px solid hsl(220 25% 15%);border-radius:10px;padding:1.5rem}
.glossary-block h3{margin:0 0 1rem;font-size:1.1rem;color:hsl(45 85% 60%)}
.glossary-block dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:.5rem 1rem}
.glossary-block dt{font-weight:700;color:hsl(45 70% 65%);font-size:.95rem}
.glossary-block dd{margin:0;font-size:.92rem;line-height:1.45}

.tester-quote{position:relative;margin:2rem 0;padding:1.5rem 1.75rem 1.5rem 3.5rem;background:linear-gradient(135deg,hsl(220 35% 8%),hsl(220 30% 6%));border-left:4px solid hsl(45 90% 55%);border-radius:0 10px 10px 0;font-style:italic;font-size:1.05rem;line-height:1.55}
.tester-quote::before{content:""";position:absolute;left:1rem;top:.2rem;font-size:4rem;color:hsl(45 90% 55%);font-family:Georgia,serif;line-height:1}
.tester-quote .quote-author{display:block;margin-top:.75rem;font-style:normal;font-size:.85rem;color:hsl(220 15% 60%);font-weight:600}

/* === TOC ViperWin === */
.toc-vw{margin:24px 0 32px;padding:18px 20px;border:1px solid hsl(var(--viper-green)/.35);border-radius:14px;background:linear-gradient(135deg,hsl(0 0% 7% / .9),hsl(150 60% 8% / .85));position:relative;overflow:hidden}
.toc-vw::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(180deg,hsl(43 80% 55%),hsl(var(--viper-green)))}
.toc-vw-head{display:flex;align-items:center;gap:8px;font-family:var(--font-display,inherit);font-weight:700;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:hsl(43 80% 60%);margin-bottom:12px}
.toc-vw-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:6px 18px}
@media (max-width:680px){.toc-vw-grid{grid-template-columns:1fr}}
.toc-vw-item{display:flex;align-items:center;gap:10px;padding:6px 0;font-size:14px;color:hsl(0 0% 80%);text-decoration:none;transition:color .15s,transform .15s}
.toc-vw-item:hover{color:hsl(43 80% 60%);transform:translateX(3px)}
.toc-vw-num{flex:0 0 28px;height:22px;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;color:hsl(43 80% 60%);background:hsl(43 80% 55% / .12);border:1px solid hsl(43 80% 55% / .3);border-radius:6px}
