/* Win777 Vietnam — Midnight Opulence
   Sleek luxury casino: deep noir, champagne gold, crimson accents
   Shader aurora · glass surfaces · dynamic hover motion
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Be+Vietnam+Pro:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand — refined crimson & champagne */
  --primary: #c41e3a;
  --primary-dark: #9f1239;
  --primary-light: #f43f5e;
  --accent-gold: #d4af37;
  --accent-gold-dark: #a67c00;
  --accent-gold-light: #f0d78c;
  /* Blog / sync placeholders (card hero when no cover image) */
  --accent-purple: #9146dc;
  --accent-purple-dark: #6b2fb8;
  --gradient-blog-placeholder: linear-gradient(135deg, #9146dc 0%, #6b2fb8 100%);

  /* Dark backgrounds — layered depth */
  --dark-bg: #050403;
  --darker-bg: #020201;
  --card-bg: rgba(18, 14, 12, 0.72);
  --card-bg-hover: rgba(28, 22, 18, 0.88);
  --glass-bg: rgba(14, 11, 9, 0.55);
  --glass-border: rgba(255, 255, 255, 0.09);
  --glass-highlight: rgba(255, 255, 255, 0.04);

  /* Text */
  --text-primary: #fafaf9;
  --text-secondary: #d6d3d1;
  --text-muted: #a8a29e;

  /* Borders */
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-light: rgba(255, 255, 255, 0.15);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #c41e3a 0%, #7f1d1d 100%);
  --gradient-gold: linear-gradient(135deg, #f0d78c 0%, #d4af37 45%, #a67c00 100%);
  --gradient-dark: linear-gradient(180deg, rgba(12, 9, 7, 0.95) 0%, rgba(5, 4, 3, 1) 100%);
  --gradient-card: linear-gradient(145deg, rgba(24, 18, 14, 0.9) 0%, rgba(10, 8, 6, 0.75) 100%);
  --gradient-hero: linear-gradient(135deg, rgba(196, 30, 58, 0.22) 0%, rgba(212, 175, 55, 0.14) 45%, rgba(80, 50, 20, 0.08) 100%);
  --hero-overlay: linear-gradient(160deg, rgba(196, 30, 58, 0.3) 0%, rgba(28, 20, 14, 0.1) 42%, rgba(212, 175, 55, 0.24) 100%);
  --gradient-shine: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.12) 45%, rgba(255, 255, 255, 0.28) 50%, rgba(255, 255, 255, 0.12) 55%, transparent 100%);

  /* Shadows */
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.65);
  --shadow-glow-red: 0 0 32px rgba(196, 30, 58, 0.35), 0 0 64px rgba(196, 30, 58, 0.12);
  --shadow-glow-gold: 0 0 32px rgba(212, 175, 55, 0.35), 0 0 64px rgba(212, 175, 55, 0.12);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-2xl: 999px;

  /* Transitions */
  --transition-fast: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-slow: 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Typography */
  --font-primary: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Cormorant Garamond', 'Be Vietnam Pro', Georgia, serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;

  /* Layout: header + main content share the same content width */
  --layout-max: 1280px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  scroll-padding-top: 5rem;
}

body {
  font-family: var(--font-primary);
  background: var(--dark-bg);
  color: var(--text-primary);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}

/* Shader aurora + film grain */
.shader-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.85;
}

.site-grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-light);
}

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

/* Container */
.container {
  width: 100%;
  max-width: var(--layout-max);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

#main-content {
  width: 100%;
  max-width: 100%;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

h1 {
  font-size: 2.75rem;
  font-weight: 700;
}

h2 {
  font-size: 2.125rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.2rem;
  font-family: var(--font-primary);
  font-weight: 600;
}

@media (min-width: 768px) {
  h1 {
    font-size: 3.75rem;
  }

  h2 {
    font-size: 2.75rem;
  }

  h3 {
    font-size: 1.875rem;
  }
}

.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
}

/* Buttons — shimmer hover, glow lift */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.65rem;
  font-family: var(--font-primary);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  border-radius: var(--radius-2xl);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal),
    border-color var(--transition-fast),
    color var(--transition-fast),
    background var(--transition-fast);
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-shine);
  background-size: 220% 100%;
  background-position: 180% 0;
  opacity: 0;
  transition: opacity var(--transition-fast), background-position 0.55s ease;
  z-index: 0;
  pointer-events: none;
}

.btn:hover::before {
  opacity: 1;
  background-position: -80% 0;
}

.btn>* {
  position: relative;
  z-index: 1;
}

.btn--primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn--primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-glow-red);
  color: #fff;
}

.btn--gold {
  background: var(--gradient-gold);
  color: #1a1208;
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn--gold:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-glow-gold);
  color: #0a0704;
}

.btn--outline {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(196, 30, 58, 0.55);
  color: var(--accent-gold-light);
  backdrop-filter: blur(8px);
}

.btn--outline:hover {
  background: rgba(196, 30, 58, 0.18);
  border-color: var(--primary-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-red);
}

.btn--lg {
  padding: 1.05rem 2.25rem;
  font-size: 0.9rem;
}

.btn--sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.7rem;
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

/* SVG Icons */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.1em;
  fill: currentColor;
}

.icon--menu {
  width: 24px;
  height: 24px;
}

.feature-card__icon .icon,
.feature-card__icon svg {
  width: 32px;
  height: 32px;
}

/* Header — floating glass bar */
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(6, 5, 4, 0.55);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--glass-border);
  transition: background var(--transition-normal), box-shadow var(--transition-normal);
}

.header--scrolled {
  background: rgba(4, 3, 2, 0.82);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 var(--glass-highlight);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  padding-top: max(0.75rem, env(safe-area-inset-top));
  max-width: var(--layout-max);
  margin: 0 auto;
  transition: padding var(--transition-normal);
}

.header--scrolled .header__inner {
  padding-top: max(0.5rem, env(safe-area-inset-top));
  padding-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .header__inner {
    padding: 1rem 1.5rem;
  }

  .header--scrolled .header__inner {
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.35rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.logo img {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer__brand .logo img {
  height: 38px;
}

.logo:hover {
  color: var(--accent-gold-light);
}

.logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--gradient-gold);
  color: #1a1208;
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: var(--shadow-glow-gold);
}

.logo__text {
  background: linear-gradient(135deg, #fff 0%, var(--accent-gold-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header__cta {
  display: none;
}

@media (min-width: 1024px) {
  .header__cta {
    display: inline-flex;
  }
}

.mobile-menu__cta-wrap {
  padding: 1.25rem 0 0.5rem;
}

.mobile-menu__cta {
  width: 100%;
  justify-content: center;
}

/* Navigation */
.nav__list {
  display: none;
  list-style: none;
  gap: 0.5rem;
}

@media (min-width: 1024px) {
  .nav__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }
}

.nav__link {
  position: relative;
  display: block;
  padding: 0.5rem 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-2xl);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0.15rem;
  width: 0;
  height: 2px;
  background: var(--gradient-gold);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width var(--transition-normal);
}

.nav__link:hover,
.nav__link--active {
  color: var(--accent-gold-light);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 60%;
}

.nav__link--active {
  color: var(--accent-gold);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  width: 48px;
  height: 48px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  cursor: pointer;
  touch-action: manipulation;
}

@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 4, 3, 0.92);
  backdrop-filter: blur(24px);
  padding: 1rem 1.5rem;
  padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  z-index: 1001;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(-100%);
  transition: transform var(--transition-normal), visibility var(--transition-normal);
  visibility: hidden;
}

@media (min-width: 640px) {
  .mobile-menu {
    top: 73px;
  }
}

.mobile-menu.active {
  transform: translateX(0);
  visibility: visible;
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-menu__list {
  list-style: none;
}

.mobile-menu__link {
  display: block;
  padding: 1rem;
  color: var(--text-secondary);
  font-size: 1.125rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border-color);
}

.mobile-menu__link:hover,
.mobile-menu__link--active {
  color: var(--primary);
}

/* Hero — bright cinematic spotlight */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 0;
  background-color: #1c1410;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
  box-shadow: inset 0 -40px 80px rgba(212, 175, 55, 0.06);
}

/* First hero fills the viewport below the sticky header */
#main-content>.hero:first-child {
  min-height: calc(100svh - var(--header-height, 4.5rem));
  min-height: calc(100dvh - var(--header-height, 4.5rem));
  padding-block: clamp(1rem, 2.5vh, 2.5rem);
}

@media (min-width: 768px) {
  .hero {
    min-height: 640px;
    padding: 7rem 0;
  }

  #main-content>.hero:first-child {
    min-height: calc(100svh - var(--header-height, 4.75rem));
    min-height: calc(100dvh - var(--header-height, 4.75rem));
    padding-block: clamp(1.25rem, 3vh, 3rem);
  }
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 35%, rgba(212, 175, 55, 0.28) 0%, transparent 68%),
    radial-gradient(ellipse 55% 45% at 15% 70%, rgba(196, 30, 58, 0.22) 0%, transparent 62%),
    radial-gradient(ellipse 50% 40% at 88% 55%, rgba(240, 215, 140, 0.18) 0%, transparent 58%),
    var(--gradient-hero);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(5, 4, 3, 0.08) 0%, transparent 30%, transparent 72%, rgba(5, 4, 3, 0.35) 100%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero__content {
  position: relative;
  text-align: center;
  max-width: min(920px, 92vw);
  margin: 0 auto;
  padding: clamp(1.25rem, 3vh, 2.5rem) clamp(1.25rem, 4vw, 2rem);
  background: linear-gradient(155deg, rgba(48, 36, 26, 0.88) 0%, rgba(24, 18, 14, 0.82) 100%);
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  box-shadow:
    var(--shadow-lg),
    0 0 48px rgba(212, 175, 55, 0.18),
    0 0 96px rgba(196, 30, 58, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.hero__content::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(240, 215, 140, 0.55), rgba(196, 30, 58, 0.25), rgba(212, 175, 55, 0.45));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.85;
}

@media (min-width: 768px) {
  .hero__content {
    padding: 3rem 3.5rem;
  }
}

.hero__badge {
  display: inline-block;
  padding: 0.45rem 1.35rem;
  background: rgba(212, 175, 55, 0.22);
  color: #fff8e7;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  border-radius: var(--radius-2xl);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(240, 215, 140, 0.55);
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.2), inset 0 0 16px rgba(212, 175, 55, 0.12);
}

#main-content>.hero:first-child .hero__title {
  font-size: clamp(1.65rem, 5vw, 3.5rem);
  margin-bottom: clamp(0.85rem, 2vh, 1.25rem);
}

.hero__title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 2px 24px rgba(212, 175, 55, 0.35), 0 1px 3px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, #ffffff 0%, #fff8e7 40%, var(--accent-gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 480px) {
  .hero__title {
    font-size: 2.75rem;
  }
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 3.5rem;
  }
}

#main-content>.hero:first-child .hero__subtitle {
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  margin-bottom: clamp(1.25rem, 3vh, 2rem);
}

.hero__subtitle {
  font-size: 1.05rem;
  color: #ece8e4;
  margin-bottom: 2rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 480px) {
  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* Section */
.section {
  position: relative;
  padding: 5rem 0;
}

.section--dark {
  background: linear-gradient(180deg, rgba(2, 2, 1, 0.6) 0%, rgba(5, 4, 3, 0.85) 100%);
}

.section--dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.25), transparent);
  pointer-events: none;
}

.section--accent {
  background: linear-gradient(180deg, rgba(196, 30, 58, 0.05) 0%, transparent 100%);
}

.section__header {
  text-align: center;
  margin-bottom: 3.25rem;
}

.section__title {
  margin-bottom: 0.65rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.section__subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.section__header .section__subtitle {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Guide-style pages: extra air between centered header and article body (matches home #win777-guide) */
.container:has(.section__header + .seo-content) .section__header {
  margin-bottom: 3.5rem;
}

/* Win777 on Mobile: slightly tighter header–content gap when partial is present */
.section--dark:has(.mobile-platform) .section__header {
  margin-bottom: 2.25rem;
}

.text-center {
  text-align: center;
}

.text-center:has(.btn) {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.mt-4 {
  margin-top: 2rem;
}

/* Cards Grid - Varied layouts
   Important: responsive column counts must NOT apply when --blog, --2, or --3 modifiers
   are used — later breakpoints would otherwise override those layouts. */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 640px) {
  .cards-grid:not(.cards-grid--blog):not(.cards-grid--2):not(.cards-grid--3) {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cards-grid:not(.cards-grid--blog):not(.cards-grid--2):not(.cards-grid--3) {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .cards-grid:not(.cards-grid--blog):not(.cards-grid--2):not(.cards-grid--3) {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

@media (min-width: 768px) {
  .cards-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

@media (min-width: 640px) {
  .cards-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cards-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cards-grid--3>* {
  min-width: 0;
}

/* Blog index previously used --blog auto-fill; listing now uses .cards-grid--3 (3 per row at lg) */
.cards-grid.cards-grid--blog {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  justify-content: stretch;
}

.cards-grid.cards-grid--blog>* {
  min-width: 0;
}

/* Game Card — glass lift */
.game-card {
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition:
    transform var(--transition-normal),
    border-color var(--transition-fast),
    box-shadow var(--transition-normal);
}

.game-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: var(--shadow-glow-gold), var(--shadow-lg);
}

.game-card__image {
  position: relative;
  aspect-ratio: 16/10;
  background: var(--card-bg);
  overflow: hidden;
}

.game-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.game-card:hover .game-card__image img {
  transform: scale(1.06);
}

.game-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.75rem;
  background: var(--gradient-gold);
  color: var(--dark-bg);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}

.game-card__content {
  padding: 1rem;
}

.game-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.game-card__provider {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.game-card__info {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Feature Card */
.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  text-align: center;
  backdrop-filter: blur(12px);
  transition:
    transform var(--transition-normal),
    border-color var(--transition-fast),
    box-shadow var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(196, 30, 58, 0.4);
  box-shadow: var(--shadow-glow-red);
}

.feature-card__icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.18), rgba(196, 30, 58, 0.12));
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal);
}

.feature-card:hover .feature-card__icon {
  transform: scale(1.08) rotate(-3deg);
}

.feature-card__title {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.feature-card__text {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* 6 stat cards: 3×2 on laptop, full row of 6 only when there is room */
@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .stats-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.stat-card {
  min-width: 0;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.65rem 1.25rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition:
    transform var(--transition-normal),
    border-color var(--transition-fast),
    box-shadow var(--transition-normal);
}

.stat-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-gold);
}

.stat-card__value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-gold-light);
  margin-bottom: 0.35rem;
  line-height: 1;
}

.stat-card__label {
  font-size: 0.875rem;
  color: var(--text-muted);
  word-wrap: break-word;
}

/* RTP Grid */
.rtp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .rtp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .rtp-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.rtp-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  backdrop-filter: blur(10px);
  transition:
    transform var(--transition-normal),
    border-color var(--transition-fast),
    box-shadow var(--transition-normal);
  color: inherit;
}

.rtp-card:hover {
  transform: translateX(4px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: var(--shadow-glow-gold);
}

.rtp-card__value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-gold);
  white-space: nowrap;
  flex-shrink: 0;
}

.rtp-card>div {
  flex: 1;
  min-width: 0;
}

.rtp-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  word-wrap: break-word;
}

.rtp-card__provider {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* League / Sports Predictions */
.league-predictions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .league-predictions {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .league-predictions {
    grid-template-columns: repeat(3, 1fr);
  }
}

.league-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.league-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.league-card__header {
  padding: 1rem 1.25rem;
  background: linear-gradient(90deg, rgba(196, 30, 58, 0.2), rgba(212, 175, 55, 0.1));
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--accent-gold-light);
}

.league-card__match {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.league-card__match:last-child {
  border-bottom: none;
}

.league-card__odds {
  display: flex;
  gap: 0.75rem;
}

.league-card__odd {
  padding: 0.35rem 0.75rem;
  background: rgba(251, 191, 36, 0.15);
  color: var(--accent-gold);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

/* Tournament Card */
.tournament-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
  backdrop-filter: blur(10px);
  transition:
    transform var(--transition-normal),
    border-color var(--transition-fast),
    box-shadow var(--transition-normal);
}

.tournament-card__image {
  aspect-ratio: 16/9;
  background: var(--card-bg);
  overflow: hidden;
}

.tournament-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tournament-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tournament-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: var(--shadow-glow-gold);
}

.tournament-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tournament-card__title {
  font-size: 1.125rem;
  font-weight: 700;
}

.tournament-card__badge {
  padding: 0.25rem 0.75rem;
  background: var(--gradient-gold);
  color: var(--dark-bg);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}

.tournament-card__prize {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-gold);
}

.tournament-card__meta {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Promo Card */
.promo-card {
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform var(--transition-normal),
    border-color var(--transition-fast),
    box-shadow var(--transition-normal);
}

.promo-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
}

.promo-card:hover .promo-card__image img {
  transform: scale(1.06);
}

.promo-card__image img {
  transition: transform var(--transition-slow);
}

.promo-card__image {
  aspect-ratio: 16/9;
  background: var(--card-bg);
  overflow: hidden;
}

.promo-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-card__content {
  padding: 1.25rem;
  flex: 1;
}

.promo-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.promo-card__excerpt {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.promo-card__cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-gold);
}

/* Payment Icons — centered row; flex avoids sparse left-aligned tracks on wide viewports */
.payments-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1rem 1.25rem;
  width: 100%;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.payment-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex: 0 1 140px;
  min-width: 0;
  max-width: 160px;
  padding: 1rem 1rem;
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  text-align: center;
}

@media (min-width: 480px) {
  .payment-item {
    flex-basis: 150px;
  }
}

.payment-item:hover {
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-gold);
}

.payment-item__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}

.payment-item__name {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
}

.payment-methods__footnote {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 1.5rem;
  line-height: 1.5;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.2) 0%, rgba(251, 191, 36, 0.1) 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.cta-banner__inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  padding: 1.5rem 0;
}

@media (min-width: 768px) {
  .cta-banner__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
  }
}

.cta-banner__content {
  flex: 1;
  min-width: 0;
  text-align: center;
}

@media (min-width: 768px) {
  .cta-banner__content {
    text-align: left;
  }
}

.cta-banner__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

@media (min-width: 640px) {
  .cta-banner__title {
    font-size: 1.25rem;
  }
}

.cta-banner__subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* News Card */
.news-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
}

a.news-card {
  display: block;
  color: inherit;
}

.news-card:hover {
  border-color: var(--primary);
}

.news-card__image {
  position: relative;
  aspect-ratio: 16/10;
  background: var(--card-bg);
  overflow: hidden;
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Blog index (JS): title on image only when thumbnails fail; no duplicate with body h3 */
.news-card__image--blog .news-card__image-thumb {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-card__image--blog .news-card__image-fallback-title {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.25rem;
  text-align: center;
  pointer-events: none;
  background: linear-gradient(145deg, #1c1917 0%, #0c0a09 100%);
  border-bottom: 1px solid var(--border-color);
}

.news-card__image--blog.thumb-error .news-card__image-fallback-title {
  display: flex;
}

.news-card__image--blog.has-thumb .news-card__image-fallback-title {
  display: none;
}

.news-card__image-fallback-title-inner {
  min-width: 0;
  max-width: 100%;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(0.9rem, 2.6vw, 1.125rem);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.news-card__image--blog.thumb-error .news-card__image-thumb {
  display: none !important;
}

/* When title is shown in the image area, hide duplicate heading (keep for screen readers) */
.news-card--thumb-fallback .news-card__title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.news-card__image--placeholder {
  background: var(--gradient-blog-placeholder);
  background-size: cover;
  background-position: center;
  min-height: 100%;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.blog-listing__loading,
.blog-listing__empty,
.blog-listing__error {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-secondary);
  padding: 2rem 1rem;
}

.news-card__content {
  padding: 1.25rem;
}

.news-card__category {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.news-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.news-card__excerpt {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.news-card__meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Blog listing pagination */
.blog-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  font-family: var(--font-primary);
}

.blog-pagination[hidden] {
  display: none !important;
}

.blog-pagination__btn,
.blog-pagination__page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color-light);
  background: var(--gradient-card);
  color: var(--text-primary);
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}

.blog-pagination__btn {
  font-weight: 500;
  color: var(--text-secondary);
}

.blog-pagination__page {
  min-width: 2.5rem;
  padding-left: 0.65rem;
  padding-right: 0.65rem;
  font-weight: 700;
}

.blog-pagination__btn:hover:not(:disabled),
.blog-pagination__page:hover:not(:disabled):not(.blog-pagination__page--active) {
  border-color: var(--primary);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.blog-pagination__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.blog-pagination__page--active {
  border-color: transparent;
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.blog-pagination__page--active:hover {
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-glow-red);
}

.blog-pagination__ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  padding: 0 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  user-select: none;
}

/* Layout variations */
.layout-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .layout-split {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.layout-split--reverse {
  direction: rtl;
}

.layout-split--reverse>* {
  direction: ltr;
}

/* Footer */
.footer {
  background: linear-gradient(180deg, transparent 0%, rgba(2, 2, 1, 0.95) 20%);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

/* Desktop: brand + Casino + Information + Contact Us */
@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .footer__brand {
    grid-column: auto;
  }
}

.footer__brand p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 1rem;
  max-width: 280px;
}

.footer__column h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.footer__contact-intro {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.footer__contact-email {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-light);
  word-break: break-word;
}

.footer__contact-email:hover {
  color: var(--accent-gold-light);
}

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

.footer__links a {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.footer__links a:hover {
  color: var(--primary);
}

.trust-links {
  margin-bottom: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.trust-links__title {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.trust-links__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
}

.trust-links__item {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.trust-links__item:hover {
  color: var(--primary);
}

.responsible-gaming {
  margin-bottom: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.responsible-gaming__title {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.responsible-gaming__text {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.responsible-gaming__text a {
  color: var(--primary);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

@media (min-width: 640px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer__copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: center;
}

.footer__legal a {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Mobile Platform Section */
.mobile-platform {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mobile-platform__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .mobile-platform__row {
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.85fr);
    align-items: center;
    gap: 2.5rem;
  }

  .mobile-platform__cta .btn {
    min-width: 240px;
    justify-content: center;
  }
}

.mobile-platform__features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.mobile-platform__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0;
}

@media (min-width: 1024px) {
  .mobile-platform__cta {
    justify-content: center;
    align-self: center;
    padding: 1rem;
  }
}

.mobile-platform__feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.mobile-platform__feature-icon {
  flex-shrink: 0;
}

.mobile-platform__feature-body {
  flex: 1 1 auto;
  min-width: 0;
}

.mobile-platform__feature-body h4 {
  color: var(--text-primary);
}

.mobile-platform__feature-body p {
  color: var(--text-secondary);
}

.mobile-platform__signup {
  display: flex;
  justify-content: center;
  padding: 0.75rem 0 0.25rem;
}

@media (min-width: 1024px) {
  .mobile-platform__signup {
    display: none;
  }
}

@media (max-width: 1023px) {
  .mobile-platform__cta {
    display: none;
  }
}

.mobile-platform__feature h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.mobile-platform__feature p {
  font-size: 0.875rem;
}

/* Content page */
.content-page__content {
  max-width: 800px;
  margin: 0 auto;
}

.content-page__content h3 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
}

.content-page__content p {
  margin-bottom: 1rem;
}

.content-page__content ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.content-page__content li {
  margin-bottom: 0.5rem;
}

/* SEO Content - Listicles, Steps, Infographics */
.seo-content {
  max-width: var(--layout-max);
  margin: 0 auto;
}

.seo-content h2,
.seo-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--primary);
  letter-spacing: -0.02em;
}

.seo-content>h2:first-child,
.seo-content>h3:first-child {
  margin-top: 0;
}

.seo-content h4 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--accent-gold);
}

.seo-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.seo-content ul,
.seo-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.seo-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* CMS / Strapi body wrapper (synced articles) */
.article-prose {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.article-prose img,
.article-prose video,
.article-prose iframe {
  max-width: 100%;
  height: auto;
}

.article-prose iframe {
  border: 0;
}

.article-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.9rem;
}

.article-prose th,
.article-prose td {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-color);
  text-align: left;
}

.article-prose pre,
.article-prose code {
  font-family: ui-monospace, 'Cascadia Code', 'Segoe UI Mono', monospace;
  font-size: 0.875em;
}

.article-prose pre {
  overflow-x: auto;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: var(--darker-bg);
  border: 1px solid var(--border-color);
}

/* Strapi-synced article template: TOC + breadcrumbs (site red/gold scheme) */
.blog-article-hero {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .blog-article-hero {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

.blog-article-hero__inner {
  text-align: center;
}

.blog-article-hero .breadcrumbs {
  margin-bottom: 1rem;
  text-align: center;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.breadcrumbs__item:not(:last-child)::after {
  content: '/';
  color: var(--text-muted);
  opacity: 0.7;
  margin-left: 0.25rem;
  pointer-events: none;
}

.breadcrumbs__link {
  color: var(--text-secondary);
  font-weight: 500;
}

.breadcrumbs__link:hover {
  color: var(--primary-light);
}

.breadcrumbs__current {
  color: var(--accent-gold-light);
  max-width: min(100%, 42rem);
  display: inline-block;
  line-height: 1.35;
}

.blog-article-meta {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.blog-article-meta__sep {
  margin: 0 0.35rem;
  opacity: 0.8;
}

.blog-article-excerpt {
  margin-top: 0.75rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.blog-article-body {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.section.section--dark.blog-article-body {
  padding-top: 3rem;
}

.toc-nav {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary);
  padding: 1.25rem 1.5rem;
  margin: 0 0 2rem;
  box-shadow: var(--shadow-sm);
}

.toc-nav h2 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.75rem;
  color: var(--accent-gold);
  padding-bottom: 0;
  border-bottom: none;
}

.toc-nav ol {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-secondary);
}

.toc-nav li {
  margin-bottom: 0.4rem;
}

.toc-nav a {
  color: var(--primary-light);
  font-weight: 500;
}

.toc-nav a:hover {
  color: var(--accent-gold);
}

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

@media (min-width: 640px) {
  .infographic-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.infographic-block {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: transform var(--transition-normal), border-color var(--transition-fast), box-shadow var(--transition-normal);
}

.infographic-block:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: var(--shadow-glow-gold);
}

.infographic-block__value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-gold);
  display: block;
  margin-bottom: 0.25rem;
}

.infographic-block__label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.step-list {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
  margin: 1.5rem 0;
}

.step-list li {
  counter-increment: step;
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.25rem;
  padding-top: 0.25rem;
}

.step-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  background: var(--gradient-primary);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-list li strong {
  display: block;
  margin-bottom: 0.25rem;
}

.listicle {
  list-style: none;
  padding-left: 0;
}

.listicle li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.75rem;
}

.listicle li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.seo-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.seo-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
}

.seo-table th,
.seo-table td {
  padding: 0.75rem 0.5rem;
  text-align: left;
  border: 1px solid var(--border-color);
}

@media (min-width: 640px) {

  .seo-table th,
  .seo-table td {
    padding: 0.75rem 1rem;
  }
}

.seo-table th {
  background: rgba(220, 38, 38, 0.15);
  color: var(--primary-light);
  font-weight: 600;
}

.seo-table tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.callout-box {
  background: linear-gradient(135deg, rgba(196, 30, 58, 0.1) 0%, rgba(212, 175, 55, 0.06) 100%);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-left: 4px solid var(--accent-gold);
  padding: 1.35rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  backdrop-filter: blur(8px);
}

/* Animations */
@keyframes pulse-glow {

  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

.animate-pulse {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* ============================================
   CTA Banner — glass gold ribbon + shimmer
   ============================================ */
.section.cta-banner.melbet-banner {
  position: relative;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.14) 0%, rgba(196, 30, 58, 0.08) 50%, rgba(212, 175, 55, 0.12) 100%) !important;
  border: none !important;
  border-top: 1px solid rgba(212, 175, 55, 0.25) !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25) !important;
  padding: 2.75rem 0 !important;
  margin: 0 !important;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.section.cta-banner.melbet-banner.cta-banner--enter {
  animation: cta-banner-enter 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes cta-banner-enter {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {

  .section.cta-banner.melbet-banner.cta-banner--enter,
  .melbet-banner__sparkle {
    animation: none;
  }
}

.section.cta-banner.melbet-banner .container {
  position: relative;
  z-index: 2;
}

.section.cta-banner.melbet-banner .cta-banner__inner {
  padding: 0 !important;
  align-items: center;
}

.section.cta-banner.melbet-banner .cta-banner__title {
  font-family: var(--font-display);
  color: var(--accent-gold-light) !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  margin-bottom: 0.4rem !important;
}

@media (min-width: 640px) {
  .section.cta-banner.melbet-banner .cta-banner__title {
    font-size: 1.85rem !important;
  }
}

.section.cta-banner.melbet-banner .cta-banner__subtitle {
  color: var(--text-secondary) !important;
  font-size: 0.95rem !important;
}

.melbet-banner__sparkle {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(105deg, transparent 0%, transparent 35%, rgba(240, 215, 140, 0.15) 48%, rgba(255, 255, 255, 0.2) 50%, rgba(240, 215, 140, 0.15) 52%, transparent 65%, transparent 100%);
  background-size: 300% 100%;
  animation: melbet-sparkle 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes melbet-sparkle {
  0% {
    background-position: 150% 0;
  }

  100% {
    background-position: -150% 0;
  }
}

.melbet-banner__btn {
  flex-shrink: 0;
}

/* Promo cards — elegant gold accent */
.melbet-promos .promo-card {
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.melbet-promos .promo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-gold);
  z-index: 2;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

.melbet-promos .promo-card:hover::before {
  transform: scaleX(1);
}

.melbet-promos .promo-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: var(--shadow-glow-gold);
}

.melbet-promos .promo-card__title {
  color: var(--accent-gold-light);
}

.melbet-promos .promo-card__cta {
  transition: letter-spacing var(--transition-fast), color var(--transition-fast);
}

.melbet-promos .promo-card:hover .promo-card__cta {
  letter-spacing: 0.06em;
  color: #fff;
}

/* Motion: hero entrance + scroll reveals (JS adds .hero__content--animate, .reveal-from-bottom) */
@keyframes win777-hero-in {
  from {
    opacity: 0;
    transform: translate3d(0, 1.15rem, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.hero__content--animate>* {
  opacity: 0;
  animation: win777-hero-in 0.78s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero__content--animate>*:nth-child(1) {
  animation-delay: 0.07s;
}

.hero__content--animate>*:nth-child(2) {
  animation-delay: 0.15s;
}

.hero__content--animate>*:nth-child(3) {
  animation-delay: 0.24s;
}

.hero__content--animate>*:nth-child(4) {
  animation-delay: 0.32s;
}

.hero__content--animate>*:nth-child(5) {
  animation-delay: 0.4s;
}

.hero__content--animate>*:nth-child(6) {
  animation-delay: 0.48s;
}

.reveal-from-bottom {
  opacity: 0;
  transform: translate3d(0, 1.1rem, 0);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-from-bottom.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {

  .hero__content--animate>*,
  .reveal-from-bottom {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .melbet-banner__sparkle,
  .shader-bg {
    display: none;
  }

  .btn::before {
    display: none;
  }
}

/* Main content above shader layer */
#main-content,
.footer {
  position: relative;
  z-index: 1;
}