/* ============================================================
   OCEAN TEAL THEME — Portuguese Casino Aggregator
   Maritime-inspired premium dark theme
   Fonts: Lora (headings) + Karla (body)
   ============================================================ */

/* --- 1. CSS Variables (:root) --- */
:root {
  /* Backgrounds */
  --bg-body: #0c1929;
  --bg-card: #132338;
  --bg-secondary: #1a2d47;
  --bg-surface: #0f1e33;
  --bg-footer: #091420;

  /* Teal palette */
  --teal-primary: #0891b2;
  --teal-hover: #0e7490;
  --teal-dark: #065a73;
  --teal-deep: #053e50;

  /* Cyan palette */
  --cyan-accent: #06b6d4;
  --cyan-highlight: #22d3ee;
  --cyan-glow: rgba(6, 182, 212, 0.15);
  --cyan-glow-strong: rgba(6, 182, 212, 0.3);

  /* Text */
  --text-primary: #e0eaf0;
  --text-muted: #8ba3b8;
  --text-accent: #06b6d4;
  --text-heading: #f0f6fa;
  --text-inverse: #0c1929;

  /* Borders */
  --border-subtle: rgba(8, 145, 178, 0.2);
  --border-card: rgba(8, 145, 178, 0.12);
  --border-teal: rgba(8, 145, 178, 0.4);

  /* Radius */
  --radius-card: 14px;
  --radius-btn: 8px;
  --radius-sm: 6px;
  --radius-lg: 20px;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.25);
  --shadow-card-hover: 0 8px 40px rgba(8, 145, 178, 0.18);
  --shadow-teal-glow: 0 0 30px rgba(8, 145, 178, 0.2);
  --shadow-btn: 0 2px 12px rgba(8, 145, 178, 0.25);
  --shadow-btn-hover: 0 4px 20px rgba(8, 145, 178, 0.35);

  /* Typography */
  --font-heading: 'Lora', Georgia, 'Times New Roman', serif;
  --font-body: 'Karla', 'Segoe UI', Tahoma, sans-serif;

  /* Transitions */
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Layout */
  --container-max: 1180px;
  --section-padding: 80px 0;
  --content-padding: 0 20px;
}


/* --- 2. Base Styles --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg-body);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  line-height: 1.3;
  font-weight: 600;
}

h1 { font-size: 2.6rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 600; }
h3 { font-size: 1.45rem; font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 500; }

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

a {
  color: var(--cyan-accent);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--cyan-highlight);
}

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

ul, ol {
  list-style: none;
}

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

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--cyan-accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 640px;
  line-height: 1.75;
}

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

.text-highlight {
  color: var(--cyan-highlight);
}


/* --- 3. Top Bar --- */
.top-bar {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal-primary));
  padding: 8px 0;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(224, 234, 240, 0.85);
  letter-spacing: 0.3px;
  position: relative;
  z-index: 100;
}

.top-bar a {
  color: var(--cyan-highlight);
  font-weight: 600;
}

.top-bar a:hover {
  text-decoration: underline;
}


/* --- 4. Header (Sticky) --- */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(12, 25, 41, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow var(--transition-base);
}

.header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--teal-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--teal-primary), var(--cyan-accent));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: white;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-base);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan-accent);
  border-radius: 1px;
  transition: width var(--transition-base);
}

.nav a:hover,
.nav a.active {
  color: var(--cyan-highlight);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-base);
}


/* --- 5. Hero Section --- */
.hero {
  position: relative;
  padding: 100px 0 120px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -180px;
  left: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 540px;
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-content h1 span {
  background: linear-gradient(135deg, var(--teal-primary), var(--cyan-highlight));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 32px;
  color: var(--text-muted);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-aside {
  display: flex;
  justify-content: flex-end;
}

.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border-teal);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  max-width: 400px;
  box-shadow: var(--shadow-teal-glow);
  position: relative;
  overflow: hidden;
}

.trust-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-primary), var(--cyan-accent), var(--teal-primary));
}

.trust-card h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: var(--text-heading);
}

.trust-card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.trust-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.trust-stat {
  text-align: center;
  padding: 16px 8px;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
}

.trust-stat .stat-value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--cyan-accent);
  display: block;
}

.trust-stat .stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Hero bottom wave */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  overflow: hidden;
  z-index: 1;
}

.hero-wave::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -5%;
  width: 110%;
  height: 80px;
  background: var(--bg-body);
  clip-path: polygon(
    0% 60%, 5% 55%, 10% 52%, 15% 50%, 20% 52%, 25% 56%,
    30% 58%, 35% 55%, 40% 50%, 45% 48%, 50% 50%, 55% 55%,
    60% 58%, 65% 56%, 70% 52%, 75% 50%, 80% 52%, 85% 56%,
    90% 60%, 95% 58%, 100% 55%, 100% 100%, 0% 100%
  );
}


/* --- 6. Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible,
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }


/* --- 7. Casino Cards --- */
.cards-section {
  padding: var(--section-padding);
  position: relative;
}

.cards-header {
  text-align: center;
  margin-bottom: 48px;
}

.cards-header .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  position: relative;
}

/* Wave pattern on top of each card */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--teal-primary), var(--cyan-accent), var(--teal-primary));
  clip-path: polygon(
    0% 0%, 8% 60%, 16% 100%, 24% 60%, 32% 0%,
    40% 60%, 48% 100%, 56% 60%, 64% 0%,
    72% 60%, 80% 100%, 88% 60%, 96% 0%, 100% 0%,
    100% 100%, 0% 100%
  );
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-teal);
}

.card-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 28px 32px 24px;
}

.card-rank {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal-primary);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 145, 178, 0.1);
  border-radius: 50%;
  flex-shrink: 0;
}

.card-info {
  min-width: 0;
}

.card-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.card-details {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.card-details span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.card-bonus {
  font-size: 0.92rem;
  color: var(--cyan-highlight);
  font-weight: 600;
  margin-top: 8px;
}

.card-score {
  text-align: center;
  flex-shrink: 0;
}

.card-score-value {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--cyan-accent);
  line-height: 1;
}

.card-score-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.card-score-bar {
  width: 60px;
  height: 4px;
  background: var(--bg-secondary);
  border-radius: 2px;
  margin-top: 8px;
  overflow: hidden;
}

.card-score-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal-primary), var(--cyan-accent));
  border-radius: 2px;
  transition: width 0.8s ease;
}

.card-cta {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.card-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(8, 145, 178, 0.12);
  color: var(--cyan-accent);
  border: 1px solid rgba(8, 145, 178, 0.25);
}

.card-badge.hot {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.25);
}

.card-badge.new {
  background: rgba(34, 211, 238, 0.12);
  color: var(--cyan-highlight);
  border-color: rgba(34, 211, 238, 0.25);
}


/* --- 8. Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-btn);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  line-height: 1.4;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal-primary), var(--teal-hover));
  color: #ffffff;
  border-color: var(--teal-primary);
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--teal-hover), var(--teal-dark));
  box-shadow: var(--shadow-btn-hover);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-secondary {
  background: transparent;
  color: var(--cyan-accent);
  border-color: var(--cyan-accent);
}

.btn-secondary:hover {
  background: rgba(6, 182, 212, 0.1);
  color: var(--cyan-highlight);
  border-color: var(--cyan-highlight);
  transform: translateY(-2px);
}

.btn-sm {
  font-size: 0.84rem;
  padding: 9px 20px;
}

.btn-lg {
  font-size: 1rem;
  padding: 15px 36px;
}

.btn-link {
  background: none;
  border: none;
  color: var(--cyan-accent);
  font-weight: 500;
  padding: 4px 0;
  font-size: 0.88rem;
}

.btn-link:hover {
  color: var(--cyan-highlight);
  text-decoration: underline;
}


/* --- 9. Info Blocks --- */
.info-section {
  padding: var(--section-padding);
  position: relative;
}

.info-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg-body);
  clip-path: polygon(
    0% 0%, 100% 0%, 100% 40%,
    95% 65%, 90% 80%, 85% 70%, 80% 55%, 75% 65%,
    70% 80%, 65% 70%, 60% 55%, 55% 65%, 50% 80%,
    45% 70%, 40% 55%, 35% 65%, 30% 80%, 25% 70%,
    20% 55%, 15% 65%, 10% 80%, 5% 65%, 0% 40%
  );
  z-index: 2;
}

.info-header {
  text-align: center;
  margin-bottom: 48px;
}

.info-header .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

/* Teal wave top border */
.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--teal-primary), var(--cyan-accent));
  clip-path: polygon(
    0% 0%, 10% 80%, 20% 0%, 30% 80%, 40% 0%,
    50% 80%, 60% 0%, 70% 80%, 80% 0%, 90% 80%, 100% 0%,
    100% 100%, 0% 100%
  );
}

/* Subtle teal glow */
.info-card::after {
  content: '';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 80px;
  background: radial-gradient(ellipse, rgba(8, 145, 178, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

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

.info-card-icon {
  width: 50px;
  height: 50px;
  background: rgba(8, 145, 178, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--teal-primary);
  border: 1px solid rgba(8, 145, 178, 0.2);
}

.info-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.info-card p {
  font-size: 0.92rem;
  line-height: 1.7;
}


/* --- 10. Methodology Section --- */
.methodology-section {
  padding: var(--section-padding);
  background: var(--bg-surface);
  position: relative;
}

.methodology-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.methodology-content {
  padding-right: 20px;
}

.methodology-content .section-desc {
  margin-bottom: 24px;
}

.methodology-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.methodology-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.methodology-weight {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--teal-primary);
  min-width: 64px;
  flex-shrink: 0;
  line-height: 1.2;
}

.methodology-item-content h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: var(--text-heading);
}

.methodology-item-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.methodology-aside {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}

.methodology-aside::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--teal-primary), var(--cyan-accent));
  border-radius: 2px;
}

.methodology-aside h3 {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.methodology-aside ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.methodology-aside li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.methodology-aside li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-primary);
  flex-shrink: 0;
}


/* --- 11. FAQ Accordion --- */
.faq-section {
  padding: var(--section-padding);
  position: relative;
}

.faq-header {
  text-align: center;
  margin-bottom: 48px;
}

.faq-header .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: border-color var(--transition-base);
}

.faq-item.active,
.faq-item.is-open {
  border-color: var(--border-teal);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 28px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-heading);
  transition: color var(--transition-base);
}

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

.faq-chevron {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-base);
  color: var(--teal-primary);
}

.faq-chevron::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--teal-primary);
  border-bottom: 2px solid var(--teal-primary);
  transform: rotate(45deg);
  transition: transform var(--transition-base), border-color var(--transition-base);
}

.faq-item.active .faq-chevron::after,
.faq-item.is-open .faq-chevron::after {
  transform: rotate(-135deg);
  border-color: var(--cyan-accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer,
.faq-item.is-open .faq-answer {
  max-height: 400px;
}

.faq-answer-inner {
  padding: 0 28px 24px;
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--text-muted);
}


/* --- 12. CTA Panel --- */
.cta-section {
  padding: 80px 0;
  position: relative;
}

.cta-panel {
  background: linear-gradient(135deg, var(--teal-primary), var(--cyan-accent));
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(8, 145, 178, 0.2);
}

.cta-panel::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -30%;
  width: 60%;
  height: 200%;
  background: rgba(255, 255, 255, 0.04);
  transform: rotate(25deg);
  pointer-events: none;
}

.cta-panel::after {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-panel h2 {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.cta-panel p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

.cta-panel .btn {
  position: relative;
  z-index: 2;
}

.cta-panel .btn-primary {
  background: #ffffff;
  color: var(--teal-primary);
  border-color: #ffffff;
}

.cta-panel .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}


/* --- 13. Footer --- */
.footer {
  background: var(--bg-footer);
  padding: 64px 0 0;
  border-top: 1px solid var(--border-subtle);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: var(--bg-body);
  clip-path: polygon(
    0% 0%, 100% 0%,
    100% 30%, 97% 50%, 94% 70%, 91% 50%, 88% 30%,
    85% 50%, 82% 70%, 79% 50%, 76% 30%, 73% 50%, 70% 70%,
    67% 50%, 64% 30%, 61% 50%, 58% 70%, 55% 50%, 52% 30%,
    49% 50%, 46% 70%, 43% 50%, 40% 30%, 37% 50%, 34% 70%,
    31% 50%, 28% 30%, 25% 50%, 22% 70%, 19% 50%, 16% 30%,
    13% 50%, 10% 70%, 7% 50%, 4% 30%, 0% 50%
  );
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  position: relative;
  z-index: 2;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 16px;
  color: var(--text-muted);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--teal-primary);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition-base), padding-left var(--transition-base);
}

.footer-links a:hover {
  color: var(--cyan-accent);
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 24px 0;
  position: relative;
  z-index: 2;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-legal a:hover {
  color: var(--cyan-accent);
}

/* 18+ Disclaimer */
.disclaimer-block {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 24px 28px;
  margin-top: 32px;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
}

.disclaimer-block .age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 50%;
  border: 2px solid rgba(239, 68, 68, 0.3);
  margin-right: 16px;
  float: left;
}

.disclaimer-block p {
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 0;
}


/* --- 14. Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(19, 35, 56, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-subtle);
  padding: 20px 0;
  transform: translateY(100%);
  transition: transform 0.5s ease;
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
}

.cookie-banner.visible,
.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

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

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-actions .btn {
  font-size: 0.84rem;
  padding: 10px 22px;
}


/* --- 15. Page Content (Subpages) --- */
.page-content {
  padding: 60px 0 80px;
  min-height: 60vh;
}

.page-content .container {
  max-width: 860px;
}

.page-hero {
  text-align: center;
  padding: 80px 0 48px;
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(8, 145, 178, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
  position: relative;
}

.page-hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.page-block {
  margin-bottom: 48px;
}

.page-block h2 {
  font-size: 1.55rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-subtle);
}

.page-block h3 {
  font-size: 1.2rem;
  margin-top: 28px;
  margin-bottom: 12px;
}

.page-block p {
  font-size: 0.96rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.page-block ul,
.page-block ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.page-block ul {
  list-style: disc;
}

.page-block ol {
  list-style: decimal;
}

.page-block li {
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.page-block table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.page-block th,
.page-block td {
  padding: 14px 18px;
  text-align: left;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-subtle);
}

.page-block th {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-heading);
  background: var(--bg-secondary);
}

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

.page-block blockquote {
  border-left: 3px solid var(--teal-primary);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--bg-card);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.page-block blockquote p {
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 0;
}


/* --- 16. Responsive --- */
@media (max-width: 1024px) {
  :root {
    --section-padding: 64px 0;
  }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.75rem; }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content h1 {
    font-size: 2.4rem;
  }

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

  .trust-card {
    max-width: 480px;
  }

  .methodology-section .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .methodology-content {
    padding-right: 0;
  }

  .card-inner {
    grid-template-columns: auto 1fr;
    gap: 16px;
  }

  .card-score {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .card-cta {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 52px 0;
  }

  html {
    font-size: 15px;
  }

  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }

  .section-title {
    font-size: 1.65rem;
  }

  /* Header mobile */
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(12, 25, 41, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav.open,
  .nav.is-open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Hero mobile */
  .hero {
    padding: 60px 0 80px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .trust-stats {
    grid-template-columns: 1fr 1fr;
  }

  /* Cards mobile */
  .card-inner {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px 20px 20px;
  }

  .card-rank {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }

  .card-score {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .card-cta {
    flex-direction: column;
    align-items: stretch;
  }

  /* Info blocks mobile */
  .info-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* FAQ mobile */
  .faq-question {
    padding: 18px 20px;
    font-size: 0.98rem;
  }

  .faq-answer-inner {
    padding: 0 20px 20px;
  }

  /* CTA mobile */
  .cta-panel {
    padding: 44px 28px;
  }

  .cta-panel h2 {
    font-size: 1.65rem;
  }

  /* Footer mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

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

  /* Cookie banner mobile */
  .cookie-banner .container {
    flex-direction: column;
    text-align: center;
  }

  .cookie-actions {
    width: 100%;
    justify-content: center;
  }

  /* Page content mobile */
  .page-hero {
    padding: 52px 0 32px;
  }

  .page-hero h1 {
    font-size: 1.9rem;
  }
}


/* --- 17. Decorative Elements --- */

/* Section wave dividers */
.wave-divider {
  position: relative;
  height: 60px;
  overflow: hidden;
}

.wave-divider::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -5%;
  width: 110%;
  height: 100%;
  background: var(--bg-body);
  clip-path: polygon(
    0% 65%, 3% 58%, 6% 52%, 9% 48%, 12% 45%, 15% 48%,
    18% 52%, 21% 58%, 24% 62%, 27% 58%, 30% 52%, 33% 48%,
    36% 45%, 39% 48%, 42% 52%, 45% 58%, 48% 62%, 51% 58%,
    54% 52%, 57% 48%, 60% 45%, 63% 48%, 66% 52%, 69% 58%,
    72% 62%, 75% 58%, 78% 52%, 81% 48%, 84% 45%, 87% 48%,
    90% 52%, 93% 58%, 96% 62%, 100% 58%,
    100% 100%, 0% 100%
  );
}

.wave-divider--dark::before {
  background: var(--bg-surface);
}

.wave-divider--footer::before {
  background: var(--bg-footer);
}

/* Teal gradient orbs (decorative backgrounds) */
.teal-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.teal-orb--lg {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.07) 0%, transparent 65%);
}

.teal-orb--md {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.06) 0%, transparent 65%);
}

.teal-orb--sm {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.05) 0%, transparent 65%);
}

/* Animated wave at hero bottom */
@keyframes waveFloat {
  0% { transform: translateX(0) translateY(0); }
  25% { transform: translateX(-12px) translateY(3px); }
  50% { transform: translateX(0) translateY(6px); }
  75% { transform: translateX(12px) translateY(3px); }
  100% { transform: translateX(0) translateY(0); }
}

@keyframes waveFloat2 {
  0% { transform: translateX(0) translateY(0); }
  25% { transform: translateX(10px) translateY(-4px); }
  50% { transform: translateX(0) translateY(-7px); }
  75% { transform: translateX(-10px) translateY(-4px); }
  100% { transform: translateX(0) translateY(0); }
}

.hero-wave-animated {
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 100px;
  overflow: hidden;
  z-index: 1;
}

.hero-wave-animated::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -5%;
  width: 110%;
  height: 60px;
  background: var(--bg-body);
  clip-path: polygon(
    0% 60%, 4% 50%, 8% 42%, 12% 38%, 16% 42%, 20% 50%,
    24% 58%, 28% 50%, 32% 42%, 36% 38%, 40% 42%, 44% 50%,
    48% 58%, 52% 50%, 56% 42%, 60% 38%, 64% 42%, 68% 50%,
    72% 58%, 76% 50%, 80% 42%, 84% 38%, 88% 42%, 92% 50%,
    96% 58%, 100% 50%, 100% 100%, 0% 100%
  );
  animation: waveFloat 6s ease-in-out infinite;
  opacity: 0.6;
}

.hero-wave-animated::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -5%;
  width: 110%;
  height: 50px;
  background: var(--bg-body);
  clip-path: polygon(
    0% 70%, 5% 58%, 10% 48%, 15% 44%, 20% 48%, 25% 58%,
    30% 68%, 35% 58%, 40% 48%, 45% 44%, 50% 48%, 55% 58%,
    60% 68%, 65% 58%, 70% 48%, 75% 44%, 80% 48%, 85% 58%,
    90% 68%, 95% 58%, 100% 48%, 100% 100%, 0% 100%
  );
  animation: waveFloat2 5s ease-in-out infinite;
  opacity: 0.35;
}

/* Glow pulse on hover */
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(8, 145, 178, 0.1); }
  50% { box-shadow: 0 0 35px rgba(8, 145, 178, 0.25); }
}

.card:hover {
  animation: glowPulse 2s ease-in-out infinite;
}

/* Teal accent line animation */
@keyframes tealShimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.teal-shimmer-line {
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--teal-primary) 25%,
    var(--cyan-highlight) 50%,
    var(--teal-primary) 75%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: tealShimmer 3s ease infinite;
  border-radius: 1px;
}

/* Floating orb animation for decorative use */
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(15px, -20px) scale(1.03); }
  66% { transform: translate(-10px, 10px) scale(0.97); }
}

.floating-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: orbFloat 12s ease-in-out infinite;
}

.floating-orb--teal {
  background: radial-gradient(circle, rgba(8, 145, 178, 0.08), transparent 70%);
}

.floating-orb--cyan {
  background: radial-gradient(circle, rgba(6, 182, 212, 0.06), transparent 70%);
}

/* Ocean ripple effect on interactive elements */
@keyframes ripple {
  0% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

.ripple-effect {
  position: relative;
  overflow: hidden;
}

.ripple-effect::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background: rgba(6, 182, 212, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
}

.ripple-effect:active::after {
  animation: ripple 0.6s ease-out;
}

/* Utility: section with relative positioning for orbs */
.section-decorated {
  position: relative;
  overflow: hidden;
}

/* Scroll indicator for hero */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-indicator-dot {
  width: 6px;
  height: 10px;
  border: 1.5px solid var(--teal-primary);
  border-radius: 4px;
  position: relative;
}

.scroll-indicator-dot::before {
  content: '';
  width: 2px;
  height: 3px;
  background: var(--teal-primary);
  border-radius: 1px;
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollBounce 1.5s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(4px); opacity: 0.4; }
}

.scroll-indicator-text {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  opacity: 0.5;
}

/* Card wave pattern alternative (gradient-based) */
.card-wave-gradient {
  background:
    linear-gradient(135deg, rgba(8, 145, 178, 0.06) 0%, transparent 50%),
    var(--bg-card);
}

/* Subtle gradient overlays for depth */
.depth-overlay {
  position: relative;
}

.depth-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(8, 145, 178, 0.02) 50%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 0;
}


/* ============================================================
   18. CASINO ATMOSPHERE — Visual Richness Layer
   Appended decorative CSS for background images, depth & texture
   ============================================================ */

/* --- 18a. Hero: Casino background image with dark teal overlay --- */
.hero {
  background:
    linear-gradient(
      180deg,
      rgba(12, 25, 41, 0.92) 0%,
      rgba(5, 62, 80, 0.85) 40%,
      rgba(12, 25, 41, 0.95) 100%
    ),
    url('https://images.unsplash.com/photo-1517232115160-ff93364542dd?w=1920&q=80') center center / cover no-repeat;
}

/* --- 18b. Floating card suit symbols on hero via .hero .container::before --- */
.hero .container::before {
  content: '\2660  \2665  \2666  \2663  \2660  \2665  \2666  \2663  \2660  \2665  \2666  \2663';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 8rem;
  letter-spacing: 0.4em;
  color: var(--teal-primary);
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
  white-space: nowrap;
  width: 200%;
  text-align: center;
  line-height: 2.5;
  overflow: hidden;
}

/* Ensure hero container children sit above the decorative layer */
.hero .container > * {
  position: relative;
  z-index: 1;
}

/* --- 18c. Cards section: radial gradient glow spots behind cards --- */
.cards-section::before {
  content: '';
  position: absolute;
  top: 15%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.07) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.cards-section::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: -8%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.06) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.cards-section .container {
  position: relative;
  z-index: 1;
}

/* --- 18d. Info section: subtle gradient mesh background --- */
.info-section {
  background:
    radial-gradient(ellipse at 20% 30%, rgba(8, 145, 178, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(6, 182, 212, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(5, 62, 80, 0.04) 0%, transparent 60%),
    var(--bg-body);
}

/* --- 18e. Methodology section: decorative diamond character --- */
.methodology-section::after {
  content: '\2666';
  position: absolute;
  bottom: 40px;
  right: 60px;
  font-size: 12rem;
  color: var(--teal-primary);
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
  line-height: 1;
}

.methodology-section .container {
  position: relative;
  z-index: 1;
}

/* --- 18f. CTA section: background image with gradient overlay --- */
.cta-section {
  background:
    linear-gradient(
      135deg,
      rgba(12, 25, 41, 0.88) 0%,
      rgba(5, 62, 80, 0.80) 50%,
      rgba(12, 25, 41, 0.90) 100%
    ),
    url('https://images.unsplash.com/photo-1596838132731-3301c3fd4317?w=1200&q=80') center center / cover no-repeat;
}

/* --- 18g. Card hover shine effect (diagonal gradient sweep) --- */
.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(8, 145, 178, 0.06) 45%,
    rgba(6, 182, 212, 0.10) 50%,
    rgba(8, 145, 178, 0.06) 55%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
  transition: left 0.6s ease;
}

.card:hover::after {
  left: 100%;
}

.card .card-inner {
  position: relative;
  z-index: 1;
}

/* --- 18h. Footer: subtle radial gradient glows --- */
.footer::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  background:
    radial-gradient(ellipse at 15% 80%, rgba(8, 145, 178, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 20%, rgba(6, 182, 212, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.footer .container {
  position: relative;
  z-index: 2;
}

/* --- 18i. FAQ section: decorative club character --- */
.faq-section::before {
  content: '\2663';
  position: absolute;
  top: 60px;
  left: 40px;
  font-size: 10rem;
  color: var(--teal-primary);
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
  line-height: 1;
}

.faq-section::after {
  content: '\2660';
  position: absolute;
  bottom: 40px;
  right: 50px;
  font-size: 8rem;
  color: var(--cyan-accent);
  opacity: 0.025;
  pointer-events: none;
  z-index: 0;
  line-height: 1;
}

.faq-section .container {
  position: relative;
  z-index: 1;
}

/* --- 18j. Score/rating badge: teal box-shadow glow --- */
.card-score-value {
  text-shadow: 0 0 20px rgba(6, 182, 212, 0.35), 0 0 40px rgba(6, 182, 212, 0.15);
}

.card-rank {
  box-shadow: 0 0 16px rgba(8, 145, 178, 0.2), 0 0 32px rgba(8, 145, 178, 0.08);
}

/* --- 18k. Responsive: hide decorative pseudo-elements on mobile --- */
@media (max-width: 768px) {
  .hero .container::before,
  .cards-section::before,
  .cards-section::after,
  .methodology-section::after,
  .faq-section::before,
  .faq-section::after {
    display: none;
  }

  .hero {
    background:
      linear-gradient(
        180deg,
        rgba(12, 25, 41, 0.95) 0%,
        rgba(5, 62, 80, 0.90) 40%,
        rgba(12, 25, 41, 0.97) 100%
      ),
      url('https://images.unsplash.com/photo-1517232115160-ff93364542dd?w=1920&q=80') center center / cover no-repeat;
  }

  .card::after {
    display: none;
  }
}

/* ============================================================
   19. Feature Visual Block
   ============================================================ */
.feature-visual {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.feature-visual__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.feature-visual__image {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-card);
}

.feature-visual__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 320px;
}

.feature-visual__content .section-title {
  text-align: left;
}

.feature-visual__content p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
  font-size: 1rem;
}

.feature-visual__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-visual__list li {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  padding-left: 28px;
  position: relative;
}

.feature-visual__list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--cyan-accent);
  font-weight: 700;
}

@media (max-width: 768px) {
  .feature-visual__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .feature-visual__image img {
    min-height: 200px;
    max-height: 260px;
  }
}

/* ===== Parallax Casino Background Section ===== */
.parallax-casino {
  position: relative;
  height: 400px;
  background-image: url('https://images.unsplash.com/photo-1706129867447-b4f156c46641?w=1920&q=80');
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

.parallax-casino__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 25, 41, 0.78) 0%, rgba(12, 25, 41, 0.88) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax-casino__content {
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
}

.parallax-casino__title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.3;
}

.parallax-casino__text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .parallax-casino {
    height: 300px;
    background-attachment: scroll;
  }
  .parallax-casino__title {
    font-size: 1.5rem;
  }
}
