/* ==========================================================================
   REWARDSCOPE — GOOGLE MATERIAL DESIGN 3 (MATERIAL YOU) DESIGN SYSTEM
   Modern, Accessible, High-Performance CSS Architecture
   ========================================================================== */

/* --- 1. MD3 DESIGN TOKENS (CSS CUSTOM PROPERTIES) --- */
:root {
  /* MD3 Color System — Primary Tonal Palette (Tech Sapphire / Material Blue) */
  --md-sys-color-primary: #0b57d0;
  --md-sys-color-on-primary: #ffffff;
  --md-sys-color-primary-container: #d3e3fd;
  --md-sys-color-on-primary-container: #041e49;
  
  /* MD3 Secondary Tonal Palette (Teal Slate / Focus & Balance) */
  --md-sys-color-secondary: #00639b;
  --md-sys-color-on-secondary: #ffffff;
  --md-sys-color-secondary-container: #c2e7ff;
  --md-sys-color-on-secondary-container: #001d35;

  /* MD3 Tertiary Tonal Palette (Dynamic Coral Accent / Reward Energy) */
  --md-sys-color-tertiary: #b3261e;
  --md-sys-color-on-tertiary: #ffffff;
  --md-sys-color-tertiary-container: #ffdad6;
  --md-sys-color-on-tertiary-container: #410002;
  --md-sys-color-accent: #e85d04;
  --md-sys-color-accent-container: #ffe5d9;

  /* MD3 Neutral Surface Palettes (Tonal Surface Hierarchy) */
  --md-sys-color-surface: #f8f9fa;
  --md-sys-color-surface-dim: #dedfe3;
  --md-sys-color-surface-bright: #ffffff;
  --md-sys-color-surface-container-lowest: #ffffff;
  --md-sys-color-surface-container-low: #f0f4f9;
  --md-sys-color-surface-container: #e9eef6;
  --md-sys-color-surface-container-high: #e1e7f0;
  --md-sys-color-surface-container-highest: #d9e2ec;

  /* On-Surface Typography & Icons */
  --md-sys-color-on-surface: #1f1f1f;
  --md-sys-color-on-surface-variant: #444746;
  --md-sys-color-outline: #747775;
  --md-sys-color-outline-variant: #c4c7c5;
  --md-sys-color-inverse-surface: #2f3033;
  --md-sys-color-inverse-on-surface: #f1f0f4;

  /* Dark Tonal Mode for Hero & Featured Sections */
  --md-sys-dark-surface: #0a101d;
  --md-sys-dark-surface-container: #111b2e;
  --md-sys-dark-surface-container-high: #19263f;
  --md-sys-dark-on-surface: #e2e8f0;
  --md-sys-dark-outline: rgba(255, 255, 255, 0.12);

  /* MD3 Elevation Levels (Composite Ambient & Key Shadows) */
  --md-sys-elevation-0: none;
  --md-sys-elevation-1: 0px 1px 3px 1px rgba(0, 0, 0, 0.08), 0px 1px 2px 0px rgba(0, 0, 0, 0.15);
  --md-sys-elevation-2: 0px 2px 6px 2px rgba(0, 0, 0, 0.08), 0px 1px 2px 0px rgba(0, 0, 0, 0.15);
  --md-sys-elevation-3: 0px 4px 8px 3px rgba(0, 0, 0, 0.08), 0px 1px 3px 0px rgba(0, 0, 0, 0.15);
  --md-sys-elevation-4: 0px 6px 10px 4px rgba(0, 0, 0, 0.08), 0px 2px 3px 0px rgba(0, 0, 0, 0.15);
  --md-sys-elevation-5: 0px 8px 12px 6px rgba(0, 0, 0, 0.08), 0px 4px 4px 0px rgba(0, 0, 0, 0.15);

  /* MD3 Shape Tokens */
  --md-sys-shape-corner-none: 0px;
  --md-sys-shape-corner-extra-small: 4px;
  --md-sys-shape-corner-small: 8px;
  --md-sys-shape-corner-medium: 12px;
  --md-sys-shape-corner-large: 16px;
  --md-sys-shape-corner-extra-large: 28px;
  --md-sys-shape-corner-full: 9999px;

  /* Typography Scale */
  --font-family-brand: "Google Sans", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-family-body: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Transitions & Motion */
  --md-sys-motion-duration-short: 150ms;
  --md-sys-motion-duration-medium: 250ms;
  --md-sys-motion-duration-long: 350ms;
  --md-sys-motion-easing-standard: cubic-bezier(0.2, 0, 0, 1);
  --md-sys-motion-easing-emphasized: cubic-bezier(0.2, 0, 0.2, 1);

  /* Layout */
  --container-max-width: 1240px;
  --content-padding: clamp(16px, 4vw, 32px);
}

/* --- 2. BASE & RESET --- */
*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding: 0;
  background-color: var(--md-sys-color-surface);
  color: var(--md-sys-color-on-surface);
  font-family: var(--font-family-body);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--md-sys-color-primary);
  text-decoration: none;
  transition: color var(--md-sys-motion-duration-short) var(--md-sys-motion-easing-standard);
}

a:hover {
  text-decoration: underline;
}

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

[hidden] {
  display: none !important;
}

/* Accessibility Skip Link */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  padding: 10px 18px;
  border-radius: var(--md-sys-shape-corner-full);
  font-weight: 500;
  font-size: 0.875rem;
  transform: translateY(-200%);
  transition: transform var(--md-sys-motion-duration-medium) var(--md-sys-motion-easing-emphasized);
  box-shadow: var(--md-sys-elevation-3);
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

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

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

/* --- 3. TOP APP BAR (HEADER) --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--md-sys-color-surface-container-high);
  transition: box-shadow var(--md-sys-motion-duration-medium) var(--md-sys-motion-easing-standard);
}

.site-header.is-scrolled {
  box-shadow: var(--md-sys-elevation-2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 20px;
}

/* Brand Identity */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--md-sys-color-on-surface);
  text-decoration: none;
  font-family: var(--font-family-brand);
}

.brand-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: var(--md-sys-shape-corner-medium);
  background: linear-gradient(135deg, var(--md-sys-color-primary) 0%, #1a73e8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: var(--md-sys-elevation-1);
}

.brand-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.brand-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-text span {
  color: var(--md-sys-color-primary);
}

/* Navigation Menu */
.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: var(--md-sys-shape-corner-full);
  color: var(--md-sys-color-on-surface-variant);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--md-sys-motion-duration-short) var(--md-sys-motion-easing-standard);
}

.nav-link:hover {
  background-color: var(--md-sys-color-surface-container);
  color: var(--md-sys-color-on-surface);
  text-decoration: none;
}

.nav-link.is-active {
  background-color: var(--md-sys-color-secondary-container);
  color: var(--md-sys-color-on-secondary-container);
  font-weight: 600;
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  margin-left: 8px;
  border-radius: var(--md-sys-shape-corner-full);
  background-color: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary) !important;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: var(--md-sys-elevation-1);
  transition: all var(--md-sys-motion-duration-short) var(--md-sys-motion-easing-standard);
}

.nav-cta-btn:hover {
  box-shadow: var(--md-sys-elevation-2);
  background-color: #0842a0;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--md-sys-shape-corner-full);
  border: 1px solid var(--md-sys-color-outline-variant);
  background: transparent;
  color: var(--md-sys-color-on-surface);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--md-sys-motion-duration-short);
}

.menu-toggle:hover {
  background-color: var(--md-sys-color-surface-container);
}

/* --- 4. MATERIAL YOU HERO SECTION --- */
.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #071228 0%, #0c1a36 45%, #10244c 100%);
  color: #ffffff;
  padding: clamp(64px, 8vw, 100px) 0 clamp(72px, 9vw, 110px);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(11, 87, 208, 0.28) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(232, 93, 4, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(0, 99, 155, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

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

/* MD3 Category Pill Badge */
.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: rgba(211, 227, 253, 0.14);
  border: 1px solid rgba(211, 227, 253, 0.24);
  border-radius: var(--md-sys-shape-corner-full);
  color: #d3e3fd;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.hero-pill-badge svg {
  width: 16px;
  height: 16px;
  color: var(--md-sys-color-accent);
}

.hero-title {
  font-family: var(--font-family-brand);
  font-size: clamp(2.5rem, 5.2vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 20px 0;
}

.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, #70a6ff 0%, #a8c7fa 60%, #ffc2a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(1rem, 1.8vw, 1.1875rem);
  line-height: 1.6;
  color: #c4c7c5;
  margin: 0 0 32px 0;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

/* MD3 Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--md-sys-shape-corner-full);
  font-family: var(--font-family-brand);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--md-sys-motion-duration-short) var(--md-sys-motion-easing-standard);
  user-select: none;
}

.btn-primary {
  background-color: var(--md-sys-color-primary);
  color: #ffffff;
  box-shadow: var(--md-sys-elevation-1);
}

.btn-primary:hover {
  background-color: #1a73e8;
  box-shadow: var(--md-sys-elevation-2);
  transform: translateY(-1px);
}

.btn-tonal {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-tonal:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.btn-outlined {
  background-color: transparent;
  border-color: var(--md-sys-color-outline-variant);
  color: var(--md-sys-color-on-surface);
}

.btn-outlined:hover {
  background-color: var(--md-sys-color-surface-container);
  border-color: var(--md-sys-color-outline);
}

/* Hero Trust Highlights */
.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #e2e8f0;
}

.highlight-item svg {
  width: 18px;
  height: 18px;
  color: #70a6ff;
  flex-shrink: 0;
}

/* --- HERO GIFT CARD SHOWCASE (3D MATERIAL FAN DECK) --- */
.hero-showcase {
  position: relative;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-showcase-backdrop {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 87, 208, 0.45) 0%, rgba(255, 194, 32, 0.15) 55%, transparent 75%);
  filter: blur(48px);
  pointer-events: none;
}

.hero-cards-deck {
  position: relative;
  width: 360px;
  height: 250px;
  margin: 0 auto 32px;
  perspective: 1200px;
}

.hero-deck-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.2);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.45s ease;
  cursor: pointer;
  will-change: transform;
}

.hero-deck-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Card 1: Left Wing (PayPal) */
.hero-deck-card.card-left {
  transform: translateX(-65px) translateY(22px) rotate(-11deg) scale(0.92);
  z-index: 1;
}

/* Card 2: Right Wing (Amazon) */
.hero-deck-card.card-right {
  transform: translateX(65px) translateY(22px) rotate(11deg) scale(0.92);
  z-index: 2;
}

/* Card 3: Center & Front (#1 Walmart!) */
.hero-deck-card.card-center {
  transform: translateX(0) translateY(-6px) rotate(0deg) scale(1.03);
  z-index: 3;
  box-shadow: 0 30px 65px -12px rgba(0, 0, 0, 0.65), 0 0 0 1.5px rgba(255, 255, 255, 0.3);
}

/* Interactive Hover States */
.hero-cards-deck:hover .hero-deck-card.card-left {
  transform: translateX(-95px) translateY(26px) rotate(-16deg) scale(0.95);
}

.hero-cards-deck:hover .hero-deck-card.card-right {
  transform: translateX(95px) translateY(26px) rotate(16deg) scale(0.95);
}

.hero-cards-deck:hover .hero-deck-card.card-center {
  transform: translateX(0) translateY(-14px) rotate(0deg) scale(1.06);
}

.hero-deck-card:hover {
  transform: translateY(-22px) scale(1.08) !important;
  z-index: 10 !important;
  box-shadow: 0 38px 75px -10px rgba(0, 0, 0, 0.8), 0 0 0 2px rgba(255, 255, 255, 0.45) !important;
}

/* Elegant Material 3 Floating Pill Strip */
.hero-showcase-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: var(--md-sys-shape-corner-full);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e2e8f0;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.hero-showcase-pill svg {
  width: 18px;
  height: 18px;
  color: #ffc220; /* Walmart yellow spark */
}

@media (max-width: 900px) {
  .hero-cards-deck {
    width: 280px;
    height: 190px;
    margin-bottom: 24px;
  }
  .hero-deck-card.card-left {
    transform: translateX(-40px) translateY(14px) rotate(-9deg) scale(0.92);
  }
  .hero-deck-card.card-right {
    transform: translateX(40px) translateY(14px) rotate(9deg) scale(0.92);
  }
}

/* --- 5. SEARCH & FILTER TOOLBAR (MD3 SEARCH BAR & CHIPS) --- */
.offers-section {
  padding: clamp(56px, 7vw, 88px) 0 clamp(64px, 8vw, 100px);
  background-color: var(--md-sys-color-surface);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.section-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--md-sys-shape-corner-full);
  background-color: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-family-brand);
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 700;
  color: var(--md-sys-color-on-surface);
  margin: 0 0 14px 0;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--md-sys-color-on-surface-variant);
  margin: 0;
  line-height: 1.6;
}

/* MD3 Search & Filter Container */
.discovery-toolbar {
  background-color: var(--md-sys-color-surface-container-lowest);
  border: 1px solid var(--md-sys-color-surface-container-highest);
  border-radius: var(--md-sys-shape-corner-extra-large);
  padding: 20px 24px;
  box-shadow: var(--md-sys-elevation-1);
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* MD3 Search Field */
.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.search-icon-leading {
  position: absolute;
  left: 18px;
  width: 22px;
  height: 22px;
  color: var(--md-sys-color-on-surface-variant);
  pointer-events: none;
}

.search-input {
  width: 100%;
  height: 52px;
  padding: 0 48px 0 52px;
  border-radius: var(--md-sys-shape-corner-full);
  border: 1px solid var(--md-sys-color-outline-variant);
  background-color: var(--md-sys-color-surface-container-low);
  color: var(--md-sys-color-on-surface);
  font-size: 0.9375rem;
  outline: none;
  transition: all var(--md-sys-motion-duration-short) var(--md-sys-motion-easing-standard);
}

.search-input:focus {
  background-color: #ffffff;
  border-color: var(--md-sys-color-primary);
  box-shadow: 0 0 0 3px rgba(11, 87, 208, 0.18);
}

.search-input::placeholder {
  color: var(--md-sys-color-outline);
}

.search-clear-btn {
  position: absolute;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: var(--md-sys-shape-corner-full);
  border: none;
  background: transparent;
  color: var(--md-sys-color-on-surface-variant);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--md-sys-motion-duration-short);
}

.search-clear-btn:hover {
  background-color: var(--md-sys-color-surface-container-high);
}

/* MD3 Filter Chips */
.filter-chips-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-chips-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 16px;
  border-radius: var(--md-sys-shape-corner-full);
  border: 1px solid var(--md-sys-color-outline-variant);
  background-color: var(--md-sys-color-surface-container-lowest);
  color: var(--md-sys-color-on-surface-variant);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--md-sys-motion-duration-short) var(--md-sys-motion-easing-standard);
  user-select: none;
}

.filter-chip svg {
  width: 16px;
  height: 16px;
}

.filter-chip:hover {
  background-color: var(--md-sys-color-surface-container-low);
  border-color: var(--md-sys-color-outline);
  color: var(--md-sys-color-on-surface);
}

.filter-chip.is-active {
  background-color: var(--md-sys-color-secondary-container);
  border-color: var(--md-sys-color-secondary-container);
  color: var(--md-sys-color-on-secondary-container);
  font-weight: 600;
}

.filter-chip .chip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  padding: 2px 6px;
  border-radius: var(--md-sys-shape-corner-full);
  background-color: rgba(0, 0, 0, 0.08);
  margin-left: 2px;
}

.results-meta {
  font-size: 0.8125rem;
  color: var(--md-sys-color-on-surface-variant);
  font-weight: 500;
}

/* Region Filter Toolbar Row */
.filter-regions-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--md-sys-color-surface-container-high);
}

.filter-row-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--md-sys-color-on-surface-variant);
  margin-right: 4px;
}

.region-chips-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.region-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: var(--md-sys-shape-corner-full);
  border: 1px solid var(--md-sys-color-outline-variant);
  background-color: var(--md-sys-color-surface-container-lowest);
  color: var(--md-sys-color-on-surface-variant);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--md-sys-motion-duration-short) var(--md-sys-motion-easing-standard);
  user-select: none;
}

.region-chip:hover {
  background-color: var(--md-sys-color-surface-container-low);
  border-color: var(--md-sys-color-outline);
  color: var(--md-sys-color-on-surface);
}

.region-chip.is-active {
  background-color: var(--md-sys-color-primary-container);
  border-color: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
  font-weight: 600;
}

/* Mandatory Affiliate & Trademark Disclosure Callout */
.transparency-disclosure-card {
  max-width: 960px;
  margin: 0 auto 36px;
  background-color: var(--md-sys-color-surface-container-low);
  border: 1px solid var(--md-sys-color-surface-container-high);
  border-left: 4px solid var(--md-sys-color-primary);
  border-radius: var(--md-sys-shape-corner-large);
  padding: 18px 22px;
}

.transparency-disclosure-card .disclosure-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-family-brand);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--md-sys-color-on-surface);
  margin-bottom: 8px;
}

.transparency-disclosure-card .disclosure-header svg {
  color: var(--md-sys-color-primary);
  flex-shrink: 0;
}

.transparency-disclosure-card p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--md-sys-color-on-surface-variant);
}

/* --- 6. MD3 ELEVATED PROMOTIONAL OFFER CARDS --- */
.offer-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  margin-bottom: 40px;
}

.offer-card {
  display: flex;
  flex-direction: column;
  background-color: var(--md-sys-color-surface-container-lowest);
  border: 1px solid var(--md-sys-color-surface-container-high);
  border-radius: var(--md-sys-shape-corner-extra-large);
  overflow: hidden;
  box-shadow: var(--md-sys-elevation-1);
  transition: transform var(--md-sys-motion-duration-medium) var(--md-sys-motion-easing-standard),
              box-shadow var(--md-sys-motion-duration-medium) var(--md-sys-motion-easing-standard),
              border-color var(--md-sys-motion-duration-medium) var(--md-sys-motion-easing-standard);
}

.offer-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--md-sys-elevation-3);
  border-color: var(--md-sys-color-outline-variant);
}

.offer-card.is-hidden {
  display: none !important;
}

/* Card Visual Header / Media Box */
.card-media-box {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--md-sys-dark-surface-container);
}

.card-backdrop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--md-sys-motion-duration-long) var(--md-sys-motion-easing-emphasized);
  filter: brightness(0.85);
}

.offer-card:hover .card-backdrop-img {
  transform: scale(1.05);
}

/* Floating Card Overlay Simulation */
.card-brand-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--md-sys-shape-corner-full);
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-brand-badge img,
.card-brand-badge svg {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.card-reward-amount-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--md-sys-shape-corner-full);
  background: linear-gradient(135deg, var(--md-sys-color-primary) 0%, #1a73e8 100%);
  color: #ffffff;
  font-family: var(--font-family-brand);
  font-size: 0.9375rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.card-geo-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: var(--md-sys-shape-corner-small);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
  color: #1f1f1f;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* Card Content Body */
.card-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.card-category-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--md-sys-color-primary);
}

.card-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #137333;
  background-color: #e6f4ea;
  padding: 2px 8px;
  border-radius: var(--md-sys-shape-corner-full);
}

.card-status-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #1e8e3e;
}

.card-title {
  font-family: var(--font-family-brand);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--md-sys-color-on-surface);
  margin: 0 0 10px 0;
  letter-spacing: -0.01em;
}

.card-description {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--md-sys-color-on-surface-variant);
  margin: 0 0 18px 0;
  flex-grow: 1;
}

/* Card Compliance Note */
.card-verification-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--md-sys-shape-corner-medium);
  background-color: var(--md-sys-color-surface-container-low);
  border: 1px solid var(--md-sys-color-surface-container-high);
  margin-bottom: 18px;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--md-sys-color-on-surface-variant);
}

.card-verification-note svg {
  width: 15px;
  height: 15px;
  color: var(--md-sys-color-outline);
  flex-shrink: 0;
  margin-top: 1px;
}

/* Card Action Button (MD3 Filled Tonal Button) */
.card-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--md-sys-shape-corner-full);
  background-color: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary) !important;
  font-family: var(--font-family-brand);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: all var(--md-sys-motion-duration-short) var(--md-sys-motion-easing-standard);
  box-shadow: var(--md-sys-elevation-1);
}

.card-cta-btn:hover {
  background-color: #0842a0;
  box-shadow: var(--md-sys-elevation-2);
  transform: translateY(-1px);
}

.card-cta-btn svg {
  width: 16px;
  height: 16px;
  transition: transform var(--md-sys-motion-duration-short);
}

.card-cta-btn:hover svg {
  transform: translate(2px, -2px);
}

.card-redirect-notice {
  display: block;
  font-size: 0.6875rem;
  line-height: 1.4;
  color: var(--md-sys-color-outline);
  text-align: center;
  margin-top: 8px;
}

/* Empty Results State */
.empty-results-box {
  text-align: center;
  padding: 60px 24px;
  background-color: var(--md-sys-color-surface-container-lowest);
  border: 1px dashed var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-extra-large);
  margin: 20px 0;
}

.empty-results-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background-color: var(--md-sys-color-surface-container);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--md-sys-color-outline);
}

.empty-results-box h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.empty-results-box p {
  font-size: 0.9375rem;
  color: var(--md-sys-color-on-surface-variant);
  margin: 0 0 20px;
}

/* Disclosure Callout Box */
.section-disclosure-banner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--md-sys-shape-corner-large);
  background-color: var(--md-sys-color-surface-container-low);
  border: 1px solid var(--md-sys-color-surface-container-high);
  margin-top: 32px;
}

.disclosure-icon {
  width: 24px;
  height: 24px;
  color: var(--md-sys-color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.disclosure-content p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--md-sys-color-on-surface-variant);
}

.disclosure-content strong {
  color: var(--md-sys-color-on-surface);
}

/* --- 7. HOW IT WORKS (MD3 STEPPER) --- */
.process-section {
  padding: clamp(56px, 7vw, 88px) 0;
  background-color: var(--md-sys-color-surface-container-low);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 40px 0 0 0;
}

.step-card {
  position: relative;
  background-color: var(--md-sys-color-surface-container-lowest);
  border: 1px solid var(--md-sys-color-surface-container-high);
  border-radius: var(--md-sys-shape-corner-large);
  padding: 32px 28px;
  box-shadow: var(--md-sys-elevation-1);
}

.step-number-token {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--md-sys-shape-corner-medium);
  background-color: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
  font-family: var(--font-family-brand);
  font-size: 1.125rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.step-card h3 {
  font-family: var(--font-family-brand);
  font-size: 1.1875rem;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: var(--md-sys-color-on-surface);
}

.step-card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--md-sys-color-on-surface-variant);
}

/* --- 8. SMART VERIFICATION & SAFETY (ANTI-FRAUD AUDIT) --- */
.verification-section {
  padding: clamp(56px, 7vw, 88px) 0;
  background-color: var(--md-sys-color-surface);
}

.verification-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.verification-card {
  background-color: var(--md-sys-color-surface-container-lowest);
  border: 1px solid var(--md-sys-color-surface-container-high);
  border-radius: var(--md-sys-shape-corner-large);
  padding: 28px;
  box-shadow: var(--md-sys-elevation-1);
}

.verification-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--md-sys-shape-corner-medium);
  background-color: var(--md-sys-color-secondary-container);
  color: var(--md-sys-color-on-secondary-container);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.verification-card h3 {
  font-family: var(--font-family-brand);
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: var(--md-sys-color-on-surface);
}

.verification-card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--md-sys-color-on-surface-variant);
}

/* --- 9. MD3 FAQ ACCORDION --- */
.faq-section {
  padding: clamp(56px, 7vw, 88px) 0;
  background-color: var(--md-sys-color-surface-container-low);
}

.faq-container {
  max-width: 840px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background-color: var(--md-sys-color-surface-container-lowest);
  border: 1px solid var(--md-sys-color-surface-container-high);
  border-radius: var(--md-sys-shape-corner-large);
  overflow: hidden;
  box-shadow: var(--md-sys-elevation-1);
  transition: all var(--md-sys-motion-duration-short);
}

.faq-item[open] {
  border-color: var(--md-sys-color-outline-variant);
  box-shadow: var(--md-sys-elevation-2);
}

.faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-family: var(--font-family-brand);
  font-size: 1rem;
  font-weight: 600;
  color: var(--md-sys-color-on-surface);
  cursor: pointer;
  user-select: none;
  list-style: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--md-sys-color-outline);
  transition: transform var(--md-sys-motion-duration-short) var(--md-sys-motion-easing-standard);
  flex-shrink: 0;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--md-sys-color-primary);
}

.faq-content {
  padding: 0 24px 22px;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--md-sys-color-on-surface-variant);
}

.faq-content p {
  margin: 0;
}

/* --- 10. FINAL CALL TO ACTION --- */
.final-cta-section {
  padding: clamp(64px, 8vw, 96px) 0;
  background: linear-gradient(135deg, #071228 0%, #0c2044 100%);
  color: #ffffff;
  text-align: center;
}

.final-cta-inner {
  max-width: 680px;
  margin: 0 auto;
}

.final-cta-inner h2 {
  font-family: var(--font-family-brand);
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.final-cta-inner p {
  font-size: 1.125rem;
  color: #c4c7c5;
  margin: 0 0 32px;
  line-height: 1.6;
}

/* --- 11. MD3 FOOTER & COMPLIANCE --- */
.site-footer {
  background-color: var(--md-sys-color-surface-container);
  border-top: 1px solid var(--md-sys-color-surface-container-high);
  padding: 64px 0 32px;
  color: var(--md-sys-color-on-surface-variant);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  margin-bottom: 48px;
}

.footer-brand-column p {
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 16px 0 0;
  color: var(--md-sys-color-on-surface-variant);
}

.footer-column h4 {
  font-family: var(--font-family-brand);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--md-sys-color-on-surface);
  margin: 0 0 16px 0;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  font-size: 0.875rem;
  color: var(--md-sys-color-on-surface-variant);
  text-decoration: none;
  transition: color var(--md-sys-motion-duration-short);
}

.footer-links-list a:hover {
  color: var(--md-sys-color-primary);
  text-decoration: underline;
}

/* Legal Disclaimers & Independent Status */
.footer-disclaimers {
  padding: 24px;
  border-radius: var(--md-sys-shape-corner-large);
  background-color: var(--md-sys-color-surface-container-low);
  border: 1px solid var(--md-sys-color-surface-container-high);
  margin-bottom: 32px;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--md-sys-color-outline);
}

.footer-disclaimers strong {
  color: var(--md-sys-color-on-surface);
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--md-sys-color-surface-container-high);
  font-size: 0.8125rem;
  color: var(--md-sys-color-outline);
}

/* --- 12. RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-highlights {
    justify-content: center;
  }
  .hero-showcase {
    min-height: 380px;
    margin-top: 20px;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    min-height: 60px;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: var(--md-sys-elevation-3);
    border-bottom: 1px solid var(--md-sys-color-surface-container-high);
    flex-direction: column;
    padding: 16px;
    gap: 8px;
  }
  .site-nav.is-open {
    display: flex;
  }
  .nav-link {
    width: 100%;
    padding: 12px 18px;
    border-radius: var(--md-sys-shape-corner-medium);
  }
  .nav-cta-btn {
    width: 100%;
    margin-left: 0;
    justify-content: center;
  }
  .menu-toggle {
    display: flex;
  }
  .discovery-toolbar {
    padding: 16px;
  }
  .filter-chips-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .offer-cards-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
  }
  .hero-floating-stat {
    right: 10px;
    bottom: -10px;
  }
}
