/* ==========================================================================
   Tappy Bird 100HP - Game Review Website Stylesheet
   Mobile-first, dark theme with pixel-art game accents
   ========================================================================== */

/* ==========================================================================
   1. CSS Custom Properties
   ========================================================================== */

:root {
  /* Color Palette */
  --primary: #4EC5D4;
  --primary-dark: #3BA3B0;
  --primary-light: rgba(78, 197, 212, 0.15);
  --secondary: #73BF2E;
  --secondary-dark: #5A9A22;
  --secondary-light: rgba(115, 191, 46, 0.15);
  --accent: #FFD700;
  --accent-hover: #FFC000;
  --accent-light: rgba(255, 215, 0, 0.15);
  --accent-glow: rgba(255, 215, 0, 0.4);
  --dark: #1A1A2E;
  --dark-secondary: #16213E;
  --dark-card: #1E2A3A;
  --dark-card-hover: #243344;
  --danger: #E74C3C;
  --danger-light: rgba(231, 76, 60, 0.12);
  --success: #2ECC71;
  --success-light: rgba(46, 204, 113, 0.12);
  --text-light: #FFFFFF;
  --text-muted: #94A3B8;
  --text-dark: #333333;
  --border-color: #2A3A4A;

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-pixel: 'Press Start 2P', monospace;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Font Sizes - Mobile first */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 1.875rem;
  --fs-3xl: 2.25rem;
  --fs-4xl: 3rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 2rem;
  --space-3xl: 2.5rem;
  --space-4xl: 3.5rem;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 800px;
  --header-height: 64px;
  --mobile-cta-height: 60px;
  --border-radius: 8px;
  --border-radius-sm: 4px;
  --border-radius-lg: 12px;
  --border-radius-xl: 16px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-glow-accent: 0 0 20px rgba(255, 215, 0, 0.3);
  --shadow-glow-primary: 0 0 20px rgba(78, 197, 212, 0.3);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Z-index scale */
  --z-sticky: 100;
  --z-header: 200;
  --z-overlay: 300;
  --z-mobile-menu: 400;
  --z-modal: 500;
  --z-cookie: 600;
  --z-mobile-cta: 550;
}


/* ==========================================================================
   2. CSS Reset / Normalize
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-size: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text-light);
  background-color: var(--dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

body.menu-open {
  overflow: hidden;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

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

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

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-light);
}

p {
  margin-bottom: var(--space-md);
}

table {
  border-collapse: collapse;
  width: 100%;
}

blockquote {
  margin: 0;
}

fieldset {
  border: none;
}

::selection {
  background-color: var(--primary);
  color: var(--dark);
}


/* ==========================================================================
   3. Typography Scale
   ========================================================================== */

h1 {
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-lg);
}

h2 {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-md);
}

h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-md);
}

h4 {
  font-size: var(--fs-md);
  margin-bottom: var(--space-sm);
}

h5 {
  font-size: var(--fs-base);
  margin-bottom: var(--space-sm);
}

h6 {
  font-size: var(--fs-sm);
  margin-bottom: var(--space-sm);
}

.pixel-heading {
  font-family: var(--font-pixel);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-muted {
  color: var(--text-muted);
}

.text-accent {
  color: var(--accent);
}

.text-success {
  color: var(--success);
}

.text-danger {
  color: var(--danger);
}

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

small,
.text-sm {
  font-size: var(--fs-sm);
}


/* ==========================================================================
   4. Skip Link (Accessibility)
   ========================================================================== */

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--accent);
  color: var(--dark);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  z-index: 9999;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-md);
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}


/* ==========================================================================
   5. Focus Visible (Accessibility)
   ========================================================================== */

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}


/* ==========================================================================
   6. Layout / Container
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-2xl) 0;
}

.section--dark {
  background-color: var(--dark-secondary);
}


/* ==========================================================================
   7. Header - Sticky, Dark, Logo + Nav + CTA
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  height: var(--header-height);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 800;
  font-size: var(--fs-lg);
  color: var(--text-light);
  text-decoration: none;
  flex-shrink: 0;
}

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

.header__logo img {
  height: 36px;
  width: auto;
}

/* Desktop nav - hidden on mobile */
.header__nav {
  display: none;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.header__nav-link {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  font-weight: 500;
  transition: color var(--transition-fast);
  white-space: nowrap;
  position: relative;
}

.header__nav-link:hover,
.header__nav-link--active {
  color: var(--text-light);
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-base);
}

.header__nav-link:hover::after,
.header__nav-link--active::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.header__cta {
  display: none;
}


/* ==========================================================================
   8. Hamburger Menu Button
   ========================================================================== */

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: calc(var(--z-mobile-menu) + 1);
  position: relative;
}

.hamburger__line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-light);
  border-radius: 2px;
  transition: all var(--transition-base);
  position: absolute;
}

.hamburger__line:nth-child(1) {
  transform: translateY(-7px);
}

.hamburger__line:nth-child(2) {
  transform: translateY(0);
}

.hamburger__line:nth-child(3) {
  transform: translateY(7px);
}

/* X state */
.hamburger--active .hamburger__line:nth-child(1) {
  transform: rotate(45deg) translateY(0);
}

.hamburger--active .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger--active .hamburger__line:nth-child(3) {
  transform: rotate(-45deg) translateY(0);
}


/* ==========================================================================
   9. Mobile Menu - Full Screen Overlay
   ========================================================================== */

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 46, 0.98);
  z-index: var(--z-mobile-menu);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

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

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
}

.mobile-menu__link {
  color: var(--text-light);
  font-size: var(--fs-xl);
  font-weight: 600;
  transition: color var(--transition-fast);
  opacity: 0;
  transform: translateY(20px);
}

.mobile-menu--open .mobile-menu__link {
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--transition-slow), transform var(--transition-slow), color var(--transition-fast);
}

.mobile-menu--open .mobile-menu__link:nth-child(1) { transition-delay: 100ms; }
.mobile-menu--open .mobile-menu__link:nth-child(2) { transition-delay: 150ms; }
.mobile-menu--open .mobile-menu__link:nth-child(3) { transition-delay: 200ms; }
.mobile-menu--open .mobile-menu__link:nth-child(4) { transition-delay: 250ms; }
.mobile-menu--open .mobile-menu__link:nth-child(5) { transition-delay: 300ms; }
.mobile-menu--open .mobile-menu__link:nth-child(6) { transition-delay: 350ms; }

.mobile-menu__link:hover {
  color: var(--accent);
}

.mobile-menu__cta {
  margin-top: var(--space-2xl);
  opacity: 0;
  transform: translateY(20px);
}

.mobile-menu--open .mobile-menu__cta {
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--transition-slow) 400ms, transform var(--transition-slow) 400ms;
}


/* ==========================================================================
   10. Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.5rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--border-radius);
  transition: all var(--transition-base);
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: var(--dark);
  border-color: var(--accent);
  box-shadow: var(--shadow-glow-accent);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--accent-hover), var(--accent));
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
  color: var(--dark);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--secondary {
  background: var(--primary);
  color: var(--dark);
  border-color: var(--primary);
}

.btn--secondary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-primary);
  color: var(--dark);
}

.btn--ghost {
  background: transparent;
  color: var(--text-light);
  border-color: var(--border-color);
}

.btn--ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.btn--danger {
  background: var(--danger);
  color: var(--text-light);
  border-color: var(--danger);
}

.btn--danger:hover {
  background: #c0392b;
  transform: translateY(-2px);
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: var(--fs-xs);
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: var(--fs-base);
}

.btn--full {
  width: 100%;
}

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

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
  }
}


/* ==========================================================================
   11. Hero Section
   ========================================================================== */

.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-3xl) var(--space-md);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 26, 46, 0.7) 0%,
    rgba(26, 26, 46, 0.85) 60%,
    rgba(26, 26, 46, 1) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero__title {
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-md);
  line-height: 1.15;
}

.hero__subtitle {
  font-size: var(--fs-md);
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--accent-light);
  color: var(--accent);
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: var(--space-xs) var(--space-md);
  border-radius: 50px;
  margin-bottom: var(--space-md);
  border: 1px solid rgba(255, 215, 0, 0.3);
}


/* ==========================================================================
   12. Quick Stats Bar
   ========================================================================== */

.quick-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
}

.quick-stats__item {
  flex: 1 1 140px;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--dark-card);
  padding: var(--space-md);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
}

.quick-stats__icon {
  font-size: var(--fs-xl);
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: var(--border-radius-sm);
  color: var(--primary);
}

.quick-stats__label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  display: block;
}

.quick-stats__value {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--text-light);
}


/* ==========================================================================
   13. Breadcrumbs
   ========================================================================== */

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-md) 0;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.breadcrumbs__link {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

.breadcrumbs__separator {
  color: var(--border-color);
  margin: 0 var(--space-xs);
}

.breadcrumbs__separator::after {
  content: '>';
}

.breadcrumbs__current {
  color: var(--text-light);
  font-weight: 500;
}


/* ==========================================================================
   14. Updated Badge
   ========================================================================== */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.2rem 0.6rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  border-radius: 50px;
  line-height: 1.4;
}

.badge--updated {
  background: var(--success-light);
  color: var(--success);
  border: 1px solid rgba(46, 204, 113, 0.3);
}

.badge--updated::before {
  content: '\2713';
  font-weight: 700;
}

.badge--new {
  background: var(--accent-light);
  color: var(--accent);
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.badge--hot {
  background: var(--danger-light);
  color: var(--danger);
  border: 1px solid rgba(231, 76, 60, 0.3);
}


/* ==========================================================================
   15. Table of Contents
   ========================================================================== */

.toc {
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.toc__title {
  font-size: var(--fs-md);
  font-weight: 700;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border-color);
}

.toc__list {
  counter-reset: toc-counter;
}

.toc__item {
  counter-increment: toc-counter;
}

.toc__link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
  border-bottom: 1px solid rgba(42, 58, 74, 0.4);
}

.toc__link::before {
  content: counter(toc-counter) '.';
  color: var(--primary);
  font-weight: 700;
  min-width: 1.5em;
}

.toc__link:hover {
  color: var(--primary);
  padding-left: var(--space-sm);
}

.toc__item:last-child .toc__link {
  border-bottom: none;
}


/* ==========================================================================
   16. Casino / Operator Cards
   ========================================================================== */

.casino-card {
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
}

.casino-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow-primary);
}

.casino-card__badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
}

.casino-card__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-color);
}

.casino-card__logo {
  width: 120px;
  height: 60px;
  object-fit: contain;
  border-radius: var(--border-radius-sm);
  background: var(--dark-secondary);
  padding: var(--space-sm);
}

.casino-card__info {
  flex: 1;
}

.casino-card__name {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.casino-card__bonus {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 700;
  font-size: var(--fs-sm);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(255, 215, 0, 0.3);
  margin-bottom: var(--space-sm);
}

/* Star Ratings */
.star-rating {
  display: inline-flex;
  gap: 2px;
  align-items: center;
}

.star-rating__star {
  width: 18px;
  height: 18px;
  position: relative;
}

.star-rating__star::before {
  content: '\2605';
  font-size: 18px;
  color: var(--border-color);
}

.star-rating__star--full::before {
  color: var(--accent);
}

.star-rating__star--half {
  overflow: hidden;
}

.star-rating__star--half::before {
  color: var(--accent);
}

.star-rating__star--half::after {
  content: '\2605';
  font-size: 18px;
  color: var(--border-color);
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  overflow: hidden;
  direction: rtl;
}

.star-rating__value {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--accent);
  margin-left: var(--space-xs);
}

.casino-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.casino-card__footer {
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: stretch;
}

.casino-card__terms {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-align: center;
}


/* ==========================================================================
   17. Pros / Cons Lists
   ========================================================================== */

.pros-cons {
  display: grid;
  gap: var(--space-md);
}

.pros-list,
.cons-list {
  padding: 0;
}

.pros-list__item,
.cons-list__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  font-size: var(--fs-sm);
  line-height: 1.4;
}

.pros-list__item::before {
  content: '\2713';
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--success-light);
  border-radius: 50%;
  font-size: var(--fs-xs);
}

.cons-list__item::before {
  content: '\2717';
  color: var(--danger);
  font-weight: 700;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--danger-light);
  border-radius: 50%;
  font-size: var(--fs-xs);
}


/* ==========================================================================
   18. Responsive Tables
   ========================================================================== */

.table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: var(--space-lg);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
}

.table {
  min-width: 500px;
}

.table thead {
  background: var(--dark-secondary);
}

.table th {
  padding: var(--space-md);
  text-align: left;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.table td {
  padding: var(--space-md);
  font-size: var(--fs-sm);
  border-bottom: 1px solid var(--border-color);
}

.table tbody tr {
  transition: background var(--transition-fast);
}

.table tbody tr:hover {
  background: rgba(78, 197, 212, 0.05);
}

.table tbody tr:last-child td {
  border-bottom: none;
}


/* ==========================================================================
   19. FAQ Accordion
   ========================================================================== */

.faq {
  margin-bottom: var(--space-2xl);
}

.faq__item {
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  margin-bottom: var(--space-sm);
  overflow: hidden;
  transition: border-color var(--transition-base);
}

.faq__item--active {
  border-color: var(--primary);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  background: none;
  color: var(--text-light);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast);
  gap: var(--space-md);
}

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

.faq__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--dark-secondary);
  color: var(--primary);
  font-size: var(--fs-lg);
  font-weight: 300;
  transition: transform var(--transition-base), background var(--transition-base);
}

.faq__icon::before {
  content: '+';
}

.faq__item--active .faq__icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: var(--dark);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow) ease;
}

.faq__item--active .faq__answer {
  max-height: 500px;
}

.faq__answer-inner {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
}


/* ==========================================================================
   19b. Image Block (inline content images)
   ========================================================================== */

.image-block {
  margin: var(--space-lg) 0;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--dark-card);
}

.image-block img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.image-block .image-caption {
  padding: var(--space-sm) var(--space-md);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
  margin: 0;
}


/* ==========================================================================
   20. Image Gallery
   ========================================================================== */

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.gallery__item {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  cursor: pointer;
}

.gallery__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery__item:hover .gallery__image {
  transform: scale(1.08);
}

.gallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  font-size: var(--fs-sm);
  color: var(--text-light);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.gallery__item:hover .gallery__caption {
  opacity: 1;
  transform: translateY(0);
}


/* ==========================================================================
   21. Win Calculator Widget
   ========================================================================== */

.calculator {
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.calculator__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.calculator__grid {
  display: grid;
  gap: var(--space-md);
}

.calculator__field {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.calculator__label {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  font-weight: 500;
}

.calculator__input {
  background: var(--dark-secondary);
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 0.75rem var(--space-md);
  color: var(--text-light);
  font-size: var(--fs-base);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  width: 100%;
}

.calculator__input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(78, 197, 212, 0.2);
}

.calculator__input::placeholder {
  color: var(--text-muted);
  opacity: 0.5;
}

.calculator__result {
  background: var(--primary-light);
  border: 1px solid rgba(78, 197, 212, 0.3);
  border-radius: var(--border-radius);
  padding: var(--space-md);
  text-align: center;
  margin-top: var(--space-md);
}

.calculator__result-label {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

.calculator__result-value {
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--accent);
}


/* ==========================================================================
   22. Verdict Section
   ========================================================================== */

.verdict {
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--accent);
  border-radius: var(--border-radius);
  padding: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.verdict__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--accent);
}

.verdict__score {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-color);
}

.verdict__score-number {
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.verdict__score-max {
  font-size: var(--fs-lg);
  color: var(--text-muted);
}

.verdict__text {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
}


/* ==========================================================================
   23. Testimonial Cards
   ========================================================================== */

.testimonials {
  display: grid;
  gap: var(--space-lg);
}

.testimonial {
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  position: relative;
}

.testimonial::before {
  content: '\201C';
  font-size: 4rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.3;
  position: absolute;
  top: var(--space-sm);
  left: var(--space-md);
  font-family: Georgia, serif;
}

.testimonial__text {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-md);
  padding-top: var(--space-lg);
  font-style: italic;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-color);
}

.testimonial__name {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-light);
}

.testimonial__role {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}


/* ==========================================================================
   24. Changelog / Timeline
   ========================================================================== */

.changelog {
  position: relative;
  padding-left: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.changelog::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
}

.changelog__item {
  position: relative;
  padding-bottom: var(--space-lg);
}

.changelog__item:last-child {
  padding-bottom: 0;
}

.changelog__item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-xl) + 4px);
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--dark);
}

.changelog__date {
  font-size: var(--fs-xs);
  color: var(--primary);
  font-weight: 600;
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.changelog__title {
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.changelog__text {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.6;
}


/* ==========================================================================
   25. Sticky Mobile CTA Bar
   ========================================================================== */

.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-mobile-cta);
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  padding: var(--space-sm) var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  box-shadow: 0 -4px 20px rgba(255, 215, 0, 0.3);
  transform: translateY(100%);
  transition: transform var(--transition-base);
  height: var(--mobile-cta-height);
}

.mobile-cta-bar--visible {
  transform: translateY(0);
}

.mobile-cta-bar__text {
  color: var(--dark);
  font-weight: 700;
  font-size: var(--fs-sm);
}

.mobile-cta-bar__btn {
  background: var(--dark);
  color: var(--accent);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--border-radius);
  font-weight: 700;
  font-size: var(--fs-sm);
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition-fast);
}

.mobile-cta-bar__btn:hover {
  background: var(--dark-secondary);
  color: var(--accent);
}


/* ==========================================================================
   26. Cookie Consent Popup
   ========================================================================== */

.cookie-consent {
  position: fixed;
  bottom: var(--space-md);
  left: var(--space-md);
  z-index: var(--z-cookie);
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  max-width: 380px;
  box-shadow: var(--shadow-lg);
  transform: translateY(120%);
  transition: transform var(--transition-slow);
}

.cookie-consent--visible {
  transform: translateY(0);
}

.cookie-consent__title {
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.cookie-consent__text {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.cookie-consent__actions {
  display: flex;
  gap: var(--space-sm);
}

.cookie-consent__actions .btn {
  flex: 1;
  padding: 0.5rem;
  font-size: var(--fs-xs);
}


/* ==========================================================================
   27. Footer
   ========================================================================== */

.footer {
  background: linear-gradient(180deg, var(--dark-secondary), #0D1321);
  border-top: 1px solid var(--border-color);
  padding-top: var(--space-3xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.footer__col-title {
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-md);
  color: var(--text-light);
}

.footer__link {
  display: block;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer__link:hover {
  color: var(--primary);
  padding-left: var(--space-sm);
}

.footer__description {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

/* Trust Badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
  justify-content: center;
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: var(--space-lg);
}

.trust-badges__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-muted);
  font-size: var(--fs-xs);
}

.trust-badges__item img {
  height: 32px;
  width: auto;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.trust-badges__item:hover img {
  opacity: 1;
}

/* Disclaimer Box */
.disclaimer {
  background: rgba(231, 76, 60, 0.08);
  border: 1px solid rgba(231, 76, 60, 0.2);
  border-radius: var(--border-radius);
  padding: var(--space-md);
  margin-bottom: var(--space-lg);
}

.disclaimer__title {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--danger);
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.disclaimer__text {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Copyright */
.footer__copyright {
  text-align: center;
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--border-color);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}


/* ==========================================================================
   28. Utility Classes
   ========================================================================== */

.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;
}

.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

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

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }


/* ==========================================================================
   29. Animations
   ========================================================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-in {
  opacity: 0;
}

.animate-fade-in--visible {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-in--visible:nth-child(2) { animation-delay: 100ms; }
.animate-fade-in--visible:nth-child(3) { animation-delay: 200ms; }
.animate-fade-in--visible:nth-child(4) { animation-delay: 300ms; }

.animate-slide-left {
  opacity: 0;
}

.animate-slide-left--visible {
  animation: slideInLeft 0.6s ease forwards;
}

.animate-slide-right {
  opacity: 0;
}

.animate-slide-right--visible {
  animation: slideInRight 0.6s ease forwards;
}


/* ==========================================================================
   30. Media Query: 576px (Small phones up)
   ========================================================================== */

@media (min-width: 576px) {
  :root {
    --fs-2xl: 2rem;
    --fs-3xl: 2.5rem;
  }

  .hero__actions {
    flex-direction: row;
    justify-content: center;
  }

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

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

  .casino-card__header {
    flex-direction: row;
    align-items: center;
  }

  .casino-card__footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

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


/* ==========================================================================
   31. Media Query: 768px (Tablet)
   ========================================================================== */

@media (min-width: 768px) {
  :root {
    --fs-2xl: 2.25rem;
    --fs-3xl: 2.75rem;
    --fs-4xl: 3.5rem;
  }

  .container {
    padding: 0 var(--space-lg);
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  h1 {
    font-size: var(--fs-3xl);
  }

  .hero {
    min-height: 70vh;
    padding: var(--space-4xl) var(--space-lg);
  }

  .hero__title {
    font-size: var(--fs-3xl);
  }

  .hero__subtitle {
    font-size: var(--fs-lg);
  }

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

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

  .quick-stats {
    flex-wrap: nowrap;
  }

  .cookie-consent {
    bottom: var(--space-lg);
    left: var(--space-lg);
  }
}


/* ==========================================================================
   32. Media Query: 992px (Desktop)
   ========================================================================== */

@media (min-width: 992px) {
  :root {
    --fs-3xl: 3rem;
    --fs-4xl: 4rem;
  }

  /* Show desktop nav, hide burger */
  .hamburger {
    display: none;
  }

  .header__nav {
    display: flex;
  }

  .header__cta {
    display: inline-flex;
  }

  /* Hide mobile CTA bar on desktop */
  .mobile-cta-bar {
    display: none;
  }

  .hero__title {
    font-size: var(--fs-4xl);
  }

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

  .faq__question {
    font-size: var(--fs-base);
    padding: var(--space-lg);
  }

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

  .casino-card {
    padding: var(--space-xl);
  }

  .casino-card__body {
    flex-direction: row;
  }
}


/* ==========================================================================
   33. Media Query: 1200px (Large Desktop)
   ========================================================================== */

@media (min-width: 1200px) {
  .container {
    padding: 0 var(--space-xl);
  }

  .section {
    padding: var(--space-4xl) 0;
  }

  .hero {
    min-height: 80vh;
  }
}


/* ==========================================================================
   34. Reduced Motion Preference
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ==========================================================================
   35. Print Styles
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  a,
  a:visited {
    text-decoration: underline;
    color: #000 !important;
  }

  a[href]::after {
    content: ' (' attr(href) ')';
    font-size: 10pt;
    color: #666 !important;
  }

  a[href^="#"]::after,
  a[href^="javascript"]::after {
    content: '';
  }

  .header,
  .hamburger,
  .mobile-menu,
  .mobile-cta-bar,
  .cookie-consent,
  .btn--primary,
  .btn--secondary {
    display: none !important;
  }

  .hero {
    min-height: auto;
    padding: 1rem 0;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

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

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  h2, h3 {
    page-break-after: avoid;
  }

  .casino-card,
  .verdict,
  .calculator,
  .toc {
    page-break-inside: avoid;
    border: 1px solid #ccc !important;
  }
}


/* ==========================================================================
   Content Image Blocks
   ========================================================================== */

.image-block {
  margin: 1.5rem 0;
  text-align: center;
  border-radius: 12px;
  overflow: hidden;
  background: var(--dark-card);
  border: 1px solid var(--border-color);
}

.image-block img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.image-caption {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  padding: 0.75rem 1rem;
  font-style: italic;
  background: rgba(0,0,0,0.2);
}


/* ==========================================================================
   Hyphenated FAQ & Table Aliases (match BEM equivalents)
   ========================================================================== */

.faq-item {
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  margin-bottom: var(--space-sm);
  overflow: hidden;
  transition: border-color var(--transition-base);
}

.faq-item.active {
  border-color: var(--primary);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  background: none;
  border: none;
  color: var(--text-light);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast);
  gap: var(--space-md);
  font-family: inherit;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform var(--transition-base);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow) ease;
}

.faq-answer p {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
  margin: 0;
}

.faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Table aliases for table-responsive / specs-table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: var(--space-lg);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
}

.specs-table {
  width: 100%;
  min-width: 500px;
  border-collapse: collapse;
}

.specs-table thead {
  background: var(--dark-secondary);
}

.specs-table th {
  padding: var(--space-md);
  text-align: left;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.specs-table td {
  padding: var(--space-md);
  font-size: var(--fs-sm);
  border-bottom: 1px solid var(--border-color);
  color: var(--text-light);
}

.specs-table tbody tr {
  transition: background var(--transition-fast);
}

.specs-table tbody tr:hover {
  background: rgba(78, 197, 212, 0.05);
}

.specs-table tbody tr:last-child td {
  border-bottom: none;
}


/* ==========================================================================
   Team Cards (About page)
   ========================================================================== */

.team-card {
  display: flex;
  gap: 1.5rem;
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.team-card-photo img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
}
.team-card-info h3 { margin-bottom: 0.25rem; }
.team-role { color: var(--primary); font-size: 0.9rem; display: block; margin-bottom: 0.75rem; }
.credentials-list { list-style: none; padding: 0; }
.credentials-list li { padding: 0.25rem 0; padding-left: 1.5rem; position: relative; }
.credentials-list li::before { content: "\2713"; color: var(--success); position: absolute; left: 0; }
@media (max-width: 576px) {
  .team-card { flex-direction: column; align-items: center; text-align: center; }
  .team-card-photo img { width: 120px; height: 120px; }
}


/* ==========================================================================
   Promo Code
   ========================================================================== */

.promo-code {
  display: inline-block;
  background: var(--dark);
  border: 2px dashed var(--accent);
  color: var(--accent);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-family: monospace;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}
.promo-code:hover { background: rgba(255, 215, 0, 0.1); }
.promo-code.copied { border-color: var(--success); color: var(--success); }


/* ==========================================================================
   Step Cards (How-to guides)
   ========================================================================== */

.step-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}


/* ==========================================================================
   Contact Form
   ========================================================================== */

.contact-form { max-width: 600px; margin: 0 auto; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--text-light); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-light);
  font-size: 1rem;
  transition: border-color 0.3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(78, 197, 212, 0.15);
}
.form-group textarea { min-height: 150px; resize: vertical; }


/* ==========================================================================
   Error Page (404)
   ========================================================================== */

.error-page { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 2rem; }
.error-icon { font-size: 5rem; margin-bottom: 1rem; }
.error-title { font-size: 4rem; font-weight: 800; color: var(--accent); margin-bottom: 0.5rem; }
.error-subtitle { font-size: 1.5rem; color: var(--primary); margin-bottom: 1rem; }
.error-text { color: var(--text-muted); max-width: 500px; margin: 0 auto 2rem; }
.error-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }


/* ==========================================================================
   Hero Background (hero-bg bridge for index.html)
   ========================================================================== */

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 26, 46, 0.7) 0%,
    rgba(26, 26, 46, 0.85) 60%,
    rgba(26, 26, 46, 1) 100%
  );
}


/* ==========================================================================
   Homepage non-BEM bridge classes (match HTML to CSS)
   ========================================================================== */

/* Header bridge */
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-md); }
.logo { display: flex; align-items: center; gap: var(--space-sm); font-weight: 800; font-size: var(--fs-lg); color: var(--text-light); text-decoration: none; flex-shrink: 0; }
.logo:hover { color: var(--primary); }
.logo img { height: 36px; width: auto; }
.main-nav { display: none; }
.nav-list { display: flex; align-items: center; gap: var(--space-lg); list-style: none; }
.nav-list a { color: var(--text-muted); font-size: var(--fs-sm); font-weight: 500; transition: color var(--transition-fast); white-space: nowrap; text-decoration: none; }
.nav-list a:hover { color: var(--text-light); }
.header-cta { display: none; }
.burger-menu { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 40px; height: 40px; cursor: pointer; z-index: calc(var(--z-mobile-menu) + 1); position: relative; gap: 6px; background: none; border: none; }
.burger-menu span { display: block; width: 24px; height: 2px; background-color: var(--text-light); border-radius: 2px; transition: all var(--transition-base); }
.mobile-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(26, 26, 46, 0.98); z-index: var(--z-mobile-menu); display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity var(--transition-slow), visibility var(--transition-slow); }
.mobile-menu-overlay.open { opacity: 1; visibility: visible; }
.mobile-nav-list { display: flex; flex-direction: column; align-items: center; gap: var(--space-xl); list-style: none; padding: 0; }
.mobile-nav-list a { color: var(--text-light); font-size: var(--fs-xl); font-weight: 600; text-decoration: none; }
.mobile-nav-list a:hover { color: var(--accent); }
.mobile-cta { margin-top: var(--space-md); }

/* Hero bridge */
.hero-content { position: relative; z-index: 1; max-width: 700px; text-align: center; }
.hero-subtitle { font-size: var(--fs-md); color: var(--text-muted); margin-bottom: var(--space-xl); line-height: 1.5; }
.hero-stats { display: flex; flex-wrap: wrap; gap: var(--space-md); justify-content: center; margin-bottom: var(--space-xl); }
.hero-stat { background: rgba(0,0,0,0.3); border: 1px solid var(--border-color); border-radius: var(--border-radius); padding: var(--space-sm) var(--space-md); text-align: center; }
.hero-stat-label { display: block; font-size: var(--fs-xs); color: var(--text-muted); margin-bottom: var(--space-xs); }
.hero-stat-value { display: block; font-size: var(--fs-md); font-weight: 700; color: var(--accent); }
.hero-ctas { display: flex; flex-direction: column; gap: var(--space-md); align-items: center; }

/* Badge bridge */
.badge-updated { background: var(--success-light); color: var(--success); border: 1px solid rgba(46, 204, 113, 0.3); }
.badge-updated::before { content: '\2713'; font-weight: 700; margin-right: var(--space-xs); }

/* Button bridge */
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-hover)); color: var(--dark); border-color: var(--accent); box-shadow: var(--shadow-glow-accent); }
.btn-primary:hover { background: linear-gradient(135deg, var(--accent-hover), var(--accent)); transform: translateY(-2px); box-shadow: 0 0 30px rgba(255, 215, 0, 0.5); color: var(--dark); }
.btn-secondary { background: var(--primary); color: var(--dark); border-color: var(--primary); }
.btn-secondary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-glow-primary); color: var(--dark); }
.btn-lg { padding: 1rem 2rem; font-size: var(--fs-base); }

/* TOC bridge */
.toc-title { font-size: var(--fs-md); font-weight: 700; margin-bottom: var(--space-md); padding-bottom: var(--space-sm); border-bottom: 1px solid var(--border-color); }
.toc-list { counter-reset: toc-counter; list-style: none; padding: 0; }
.toc-list li { counter-increment: toc-counter; }
.toc-list li a { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-sm) 0; color: var(--text-muted); font-size: var(--fs-sm); transition: color var(--transition-fast), padding-left var(--transition-fast); border-bottom: 1px solid rgba(42, 58, 74, 0.4); text-decoration: none; }
.toc-list li a::before { content: counter(toc-counter) '.'; color: var(--primary); font-weight: 700; min-width: 1.5em; }
.toc-list li a:hover { color: var(--primary); padding-left: var(--space-sm); }
.toc-list li:last-child a { border-bottom: none; }

/* Feature list */
.feature-list { list-style: none; padding: 0; margin-bottom: var(--space-lg); }
.feature-list li { display: flex; align-items: flex-start; gap: var(--space-sm); padding: var(--space-sm) 0; font-size: var(--fs-sm); line-height: 1.5; }
.feature-list li::before { content: '\2713'; color: var(--success); font-weight: 700; flex-shrink: 0; }

/* Section alt */
.section-alt { background: var(--dark-secondary); }

/* Casino cards bridge */
.casino-cards { display: grid; gap: var(--space-lg); margin-bottom: var(--space-lg); }
.casino-card-header { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); margin-bottom: var(--space-md); padding-bottom: var(--space-md); border-bottom: 1px solid var(--border-color); }
.casino-logo { width: 120px; height: 60px; object-fit: contain; border-radius: var(--border-radius-sm); background: var(--dark-secondary); padding: var(--space-sm); }
.casino-info { flex: 1; min-width: 0; }
.casino-info h4 { font-size: var(--fs-lg); font-weight: 700; margin-bottom: var(--space-xs); }
.bonus-badge { display: inline-block; background: var(--accent-light); color: var(--accent); font-weight: 700; font-size: var(--fs-sm); padding: var(--space-xs) var(--space-sm); border-radius: var(--border-radius-sm); border: 1px solid rgba(255, 215, 0, 0.3); }
.rating { display: inline-flex; gap: 2px; align-items: center; }
.star { color: var(--border-color); }
.star.filled { color: var(--accent); }
.star.half { color: var(--accent); opacity: 0.6; }
.rating-text { font-size: var(--fs-sm); font-weight: 700; color: var(--accent); margin-left: var(--space-xs); }
.casino-card-body { display: flex; flex-direction: column; gap: var(--space-md); margin-bottom: var(--space-md); }
.casino-pros h5, .casino-cons h5 { font-size: var(--fs-sm); margin-bottom: var(--space-sm); }
.casino-pros ul, .casino-cons ul { list-style: none; padding: 0; }
.casino-pros li, .casino-cons li { display: flex; align-items: flex-start; gap: var(--space-sm); padding: var(--space-xs) 0; font-size: var(--fs-sm); line-height: 1.4; }
.casino-pros li::before { content: '\2713'; color: var(--success); font-weight: 700; flex-shrink: 0; }
.casino-cons li::before { content: '\2717'; color: var(--danger); font-weight: 700; flex-shrink: 0; }
.casino-card-footer { padding-top: var(--space-md); border-top: 1px solid var(--border-color); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-sm); }
.affiliate-disclosure { font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.6; margin-top: var(--space-md); padding: var(--space-md); background: var(--dark-card); border-radius: var(--border-radius); border: 1px solid var(--border-color); }

/* Steps grid */
.steps-grid { display: grid; gap: var(--space-lg); margin-bottom: var(--space-lg); }

/* Section CTA text */
.section-cta-text { text-align: center; margin-top: var(--space-lg); }

/* Gallery grid bridge */
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-md); margin-bottom: var(--space-2xl); }
.gallery-item { position: relative; border-radius: var(--border-radius-lg); overflow: hidden; aspect-ratio: 16 / 10; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item figcaption { position: absolute; bottom: 0; left: 0; right: 0; padding: var(--space-md); background: linear-gradient(transparent, rgba(0, 0, 0, 0.8)); font-size: var(--fs-sm); color: var(--text-light); opacity: 0; transform: translateY(10px); transition: opacity var(--transition-base), transform var(--transition-base); }
.gallery-item:hover figcaption { opacity: 1; transform: translateY(0); }

/* Calculator bridge */
.calculator-box { background: var(--dark-card); border: 1px solid var(--border-color); border-radius: var(--border-radius-lg); padding: var(--space-lg); max-width: 500px; margin: 0 auto; }
.calc-field { margin-bottom: var(--space-md); }
.calc-field label { display: block; font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: var(--space-xs); font-weight: 600; }
.calc-field input { width: 100%; padding: var(--space-sm) var(--space-md); background: var(--dark-secondary); border: 1px solid var(--border-color); border-radius: var(--border-radius); color: var(--text-light); font-size: var(--fs-base); }
.calc-field input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(78, 197, 212, 0.15); }
.calc-btn { width: 100%; margin-bottom: var(--space-md); }
.calc-result { text-align: center; padding: var(--space-md); background: var(--accent-light); border-radius: var(--border-radius); border: 1px solid rgba(255, 215, 0, 0.3); }
.calc-result-label { display: block; font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: var(--space-xs); }
.calc-result-value { display: block; font-size: var(--fs-2xl); font-weight: 800; color: var(--accent); }

/* Strategy cards bridge */
.strategy-cards { display: grid; gap: var(--space-lg); margin-bottom: var(--space-lg); }
.strategy-card { background: var(--dark-card); border: 1px solid var(--border-color); border-radius: var(--border-radius-lg); padding: var(--space-lg); }
.strategy-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-md); }
.strategy-header h3 { margin-bottom: 0; }
.strategy-risk { font-size: var(--fs-xs); font-weight: 700; padding: var(--space-xs) var(--space-sm); border-radius: var(--border-radius-sm); }
.strategy-conservative .strategy-risk { background: var(--success-light); color: var(--success); }
.strategy-balanced .strategy-risk { background: var(--accent-light); color: var(--accent); }
.strategy-aggressive .strategy-risk { background: var(--danger-light); color: var(--danger); }
.strategy-card ul { list-style: none; padding: 0; margin-top: var(--space-md); }
.strategy-card li { padding: var(--space-xs) 0; font-size: var(--fs-sm); color: var(--text-muted); }

/* Testimonial bridge */
.testimonial-cards { display: grid; gap: var(--space-lg); }
.testimonial-card { background: var(--dark-card); border: 1px solid var(--border-color); border-radius: var(--border-radius-lg); padding: var(--space-lg); position: relative; }
.testimonial-card::before { content: '\201C'; font-size: 4rem; line-height: 1; color: var(--primary); opacity: 0.3; position: absolute; top: var(--space-sm); left: var(--space-md); font-family: Georgia, serif; }
.testimonial-header { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-md); }
.testimonial-photo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border-color); }
.testimonial-location { display: block; font-size: var(--fs-xs); color: var(--text-muted); }
.testimonial-header .rating { margin-left: auto; }
.testimonial-card > p { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.7; font-style: italic; padding-top: var(--space-sm); }
.disclaimer-text { font-size: var(--fs-xs); color: var(--text-muted); text-align: center; margin-top: var(--space-md); }
.share-experience { background: var(--dark-card); border: 1px solid var(--border-color); border-radius: var(--border-radius-lg); padding: var(--space-lg); margin-top: var(--space-xl); text-align: center; }

/* Verdict bridge */
.verdict-grid { display: grid; gap: var(--space-md); margin-bottom: var(--space-xl); }
.verdict-pros, .verdict-cons { background: var(--dark-card); border-radius: var(--border-radius); padding: var(--space-lg); border: 1px solid var(--border-color); }
.verdict-pros h3 { color: var(--success); }
.verdict-cons h3 { color: var(--danger); }
.verdict-pros ul, .verdict-cons ul { list-style: none; padding: 0; }
.verdict-pros li, .verdict-cons li { display: flex; align-items: flex-start; gap: var(--space-sm); padding: var(--space-xs) 0; font-size: var(--fs-sm); line-height: 1.5; }
.verdict-pros li::before { content: '\2713'; color: var(--success); font-weight: 700; }
.verdict-cons li::before { content: '\2717'; color: var(--danger); font-weight: 700; }
.verdict-rating-box { background: var(--dark-card); border: 1px solid var(--border-color); border-left: 4px solid var(--accent); border-radius: var(--border-radius); padding: var(--space-lg); margin-bottom: var(--space-xl); text-align: center; }
.verdict-overall { margin-bottom: var(--space-sm); }
.verdict-score { font-size: var(--fs-4xl); font-weight: 800; color: var(--accent); line-height: 1; }
.verdict-max { font-size: var(--fs-lg); color: var(--text-muted); }
.verdict-stars { margin-bottom: var(--space-md); }
.verdict-stars .star { font-size: var(--fs-xl); }
.verdict-rating-box > p { color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.7; max-width: 700px; margin: 0 auto; }
.who-is-for { margin-bottom: var(--space-xl); }
.who-is-for ul { list-style: none; padding: 0; }
.who-is-for li { display: flex; align-items: flex-start; gap: var(--space-sm); padding: var(--space-sm) 0; font-size: var(--fs-sm); line-height: 1.5; }
.who-is-for li::before { content: '\2713'; color: var(--primary); font-weight: 700; flex-shrink: 0; }
.verdict-cta { text-align: center; }

/* Verdict Author Block */
.verdict-author-block {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding: 12px 16px;
  background: var(--dark-card, #1E2A3A);
  border-radius: 12px;
  border-left: 4px solid var(--accent, #FFD700);
}
.verdict-author-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent, #FFD700);
  flex-shrink: 0;
}
.verdict-author-info {
  display: flex;
  flex-direction: column;
}
.verdict-author-info strong {
  font-size: 1.05rem;
  color: var(--text-light, #fff);
}
.verdict-author-info span {
  font-size: 0.85rem;
  color: var(--text-muted, #94A3B8);
}
.verdict-author-social {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.verdict-author-social a {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent, #FFD700);
  text-decoration: none;
  padding: 2px 8px;
  border: 1px solid var(--accent, #FFD700);
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
}
.verdict-author-social a:hover {
  background: var(--accent, #FFD700);
  color: var(--dark, #1A1A2E);
}
.verdict-summary {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-light, #fff);
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.verdict-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 20px 0;
}
@media (min-width: 768px) {
  .verdict-cards { grid-template-columns: 1fr 1fr; }
}
.verdict-card {
  border-radius: 12px;
  padding: 20px 24px;
}
.verdict-card h3 {
  margin-top: 0;
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.verdict-card ul {
  margin: 0;
  padding-left: 1.2em;
}
.verdict-card li {
  margin-bottom: 6px;
  font-size: 0.95rem;
}
.verdict-pros {
  background: rgba(46,204,113,0.12);
  border: 1px solid rgba(46,204,113,0.3);
}
.verdict-pros h3 { color: var(--success, #2ECC71); }
.verdict-cons {
  background: rgba(231,76,60,0.12);
  border: 1px solid rgba(231,76,60,0.3);
}
.verdict-cons h3 { color: var(--danger, #E74C3C); }

/* Social Share */
.social-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,215,0,0.15);
}
.share-label {
  font-size: 0.9rem;
  color: var(--text-muted, #94A3B8);
  opacity: 0.7;
}
.share-btn {
  display: inline-block;
  padding: 0.45rem 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}
.share-btn:hover { opacity: 0.85; }
.share-twitter { background: #1DA1F2; color: #fff; }
.share-facebook { background: #1877F2; color: #fff; }
.share-telegram { background: #0088cc; color: #fff; }

/* Changelog bridge */
.changelog-entries { position: relative; padding-left: var(--space-xl); }
.changelog-entries::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: var(--border-color); }
.changelog-entry { position: relative; padding-bottom: var(--space-lg); }
.changelog-entry:last-child { padding-bottom: 0; }
.changelog-entry::before { content: ''; position: absolute; left: calc(-1 * var(--space-xl) + 4px); top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); border: 2px solid var(--dark); }
.changelog-date { display: block; font-size: var(--fs-xs); color: var(--primary); font-weight: 600; margin-bottom: var(--space-xs); text-transform: uppercase; letter-spacing: 0.5px; }

/* Responsive bridge */
@media (min-width: 576px) {
  .hero-ctas { flex-direction: row; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .main-nav { display: flex; }
  .burger-menu { display: none; }
  .header-cta { display: inline-flex; }
  .strategy-cards { grid-template-columns: repeat(3, 1fr); }
  .verdict-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-cards { grid-template-columns: repeat(2, 1fr); }
}

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