/* ==========================================================================
   Fortune Dark Design System — Landing Page
   iGaming / Slots Expert Landing
   ========================================================================== */

/* ==========================================================================
   1. CSS Custom Properties (Design Tokens)
   ========================================================================== */

:root {
  /* Colors */
  --bg-primary: #0B0B12;
  --bg-surface: #14141F;
  --bg-elevated: #1A1A2E;
  --brand-gold: #F5A623;
  --brand-gold-light: #FFD700;
  --brand-purple: #7B2FBE;
  --brand-purple-glow: #9945FF;
  --success: #00E676;
  --text-primary: #FFFFFF;
  --text-secondary: #A0A0B8;
  --text-muted: #8585A0;
  --border-subtle: rgba(255, 255, 255, 0.05);
  --error: #FF5252;
  --warning: #FFC107;

  /* Gradients */
  --gradient-hero: radial-gradient(ellipse at 50% 20%, rgba(123, 47, 190, 0.2) 0%, #0B0B12 70%);
  --gradient-gold: linear-gradient(135deg, #F5A623, #FFD700);
  --gradient-cta-final: radial-gradient(ellipse at 50% 80%, rgba(123, 47, 190, 0.2) 0%, #0B0B12 70%);
  --gradient-card: linear-gradient(180deg, #1A1A2E, #14141F);

  /* Spacing (base 4px) */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 40px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.2);
  --shadow-glow-gold: 0 0 40px rgba(245, 166, 35, 0.27);
  --shadow-glow-purple: 0 0 40px rgba(123, 47, 190, 0.27);
  --shadow-navbar: 0 1px 0 rgba(255, 255, 255, 0.05);

  /* Animation Durations */
  --duration-fast: 200ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --duration-counter: 1500ms;
  --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   2. Base / Reset
   ========================================================================== */

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

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

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

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 200;
  padding: var(--space-sm) var(--space-md);
  background-color: var(--brand-purple);
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-fast) var(--ease-default);
}

.skip-link:focus {
  top: var(--space-sm);
  left: var(--space-sm);
  opacity: 1;
  pointer-events: auto;
  outline: 2px solid var(--brand-purple-glow);
  outline-offset: 2px;
}

/* ==========================================================================
   4. Typography
   ========================================================================== */

h1 {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h2 {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

h3 {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--text-primary);
}

p {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0;
  color: var(--text-secondary);
}

small,
.text-small {
  font-family: 'Manrope', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
}

.text-caption,
.text-label {
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.1em;
}

.stat-number {
  font-family: 'Fira Code', monospace;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: 0;
  color: var(--brand-gold);
}

/* ==========================================================================
   5. Container
   ========================================================================== */

.landing-container {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-xl);
  padding-right: var(--space-xl);
}

/* ==========================================================================
   6. Buttons
   ========================================================================== */

/* --- btn-gold --- */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  background: var(--gradient-gold);
  color: #0B0B12;
  font-family: 'Inter Tight', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition:
    box-shadow var(--duration-normal) var(--ease-default),
    transform var(--duration-fast) var(--ease-default),
    filter var(--duration-fast) var(--ease-default);
}

.btn-gold:hover {
  box-shadow: var(--shadow-glow-gold);
  transform: translateY(-2px);
}

.btn-gold:active {
  transform: translateY(0);
  filter: brightness(0.95);
}

.btn-gold.btn-large {
  padding: 20px var(--space-2xl);
  font-size: 1.125rem;
}

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

/* --- btn-outline --- */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  background: transparent;
  color: var(--text-primary);
  font-family: 'Inter Tight', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 2px solid var(--text-primary);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition:
    background-color var(--duration-normal) var(--ease-default),
    border-color var(--duration-normal) var(--ease-default),
    transform var(--duration-fast) var(--ease-default);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.07);
}

.btn-outline--purple {
  border-color: #7B2FBE;
  color: #7B2FBE;
}

.btn-outline--purple:hover {
  background-color: rgba(123, 47, 190, 0.07);
}

.btn-outline--white {
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.btn-outline--white:hover {
  background-color: rgba(255, 255, 255, 0.07);
}

.btn-outline--gold {
  border-color: #F5A623;
  color: #F5A623;
}

.btn-outline--gold:hover {
  background-color: rgba(245, 166, 35, 0.07);
}

/* --- btn-ghost --- */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: transparent;
  color: var(--brand-purple);
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.0;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: text-decoration var(--duration-fast) var(--ease-default);
}

.btn-ghost:hover {
  text-decoration: underline;
}

/* ==========================================================================
   7. Badge Pill
   ========================================================================== */

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  border-radius: var(--radius-pill);
  padding: var(--space-xs) 12px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.badge-green {
  background-color: #00E67622;
  color: #00E676;
}

.badge-purple {
  background-color: #9945FF22;
  color: #9945FF;
}

.badge-gold {
  background-color: #F5A62322;
  color: #F5A623;
}

.badge-neutral {
  background-color: #FFFFFF0D;
  color: #A0A0B8;
}

/* ==========================================================================
   8. Section Label
   ========================================================================== */

.section-label {
  display: inline-block;
  background-color: #7B2FBE22;
  color: #9945FF;
  border-radius: var(--radius-pill);
  padding: 6px var(--space-md);
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ==========================================================================
   9. Navbar
   ========================================================================== */

.navbar-landing {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-md) var(--space-xl);
  transition: background-color var(--duration-normal) var(--ease-default);
}

.navbar-landing.scrolled {
  background-color: #0B0B1280;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-navbar);
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: 'Inter Tight', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
}

.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}

.nav-links a {
  font-family: 'Manrope', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-default);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-cta {
  display: none;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition:
    transform var(--duration-normal) var(--ease-default),
    opacity var(--duration-fast) var(--ease-default);
}

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

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

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

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-xl);
  background-color: var(--bg-primary);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-default);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  font-family: 'Manrope', sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-default);
}

.mobile-menu a:hover {
  color: var(--text-primary);
}

/* ==========================================================================
   10. Hero Section
   ========================================================================== */

#hero {
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  padding-top: 100px;
  padding-bottom: var(--space-2xl);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2xl);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.hero-content h1 {
  margin-bottom: var(--space-sm);
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

.hero-badge {
  display: inline-block;
  background-color: #F5A62322;
  color: var(--brand-gold);
  border-radius: var(--radius-pill);
  padding: 6px var(--space-md);
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-image {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Pulse glow on hero CTA */
.hero-actions .btn-gold {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* ==========================================================================
   11. Stat Card
   ========================================================================== */

.stat-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition:
    transform var(--duration-normal) var(--ease-default),
    box-shadow var(--duration-normal) var(--ease-default);
}

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

.stat-label {
  font-family: 'Manrope', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-top: var(--space-sm);
}

/* ==========================================================================
   12. Stats Section
   ========================================================================== */

#stats {
  padding: var(--space-3xl) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

/* ==========================================================================
   13. Benefit Card
   ========================================================================== */

.benefit-card {
  background-color: var(--bg-elevated);
  border: 1px solid #7B2FBE22;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  transition:
    border-color var(--duration-normal) var(--ease-default),
    transform var(--duration-normal) var(--ease-default),
    box-shadow var(--duration-normal) var(--ease-default);
}

.benefit-card:hover {
  border-color: #7B2FBE66;
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-purple);
}

.benefit-card-icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

.benefit-card h3 {
  margin-bottom: var(--space-sm);
}

.benefit-card p {
  font-size: 0.875rem;
}

/* ==========================================================================
   14. Benefits Section
   ========================================================================== */

#benefits {
  padding: var(--space-4xl) 0;
}

.benefits-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.benefits-header .section-label {
  margin-bottom: var(--space-md);
}

.benefits-header h2 {
  margin-top: var(--space-md);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

/* ==========================================================================
   15. Platform Card
   ========================================================================== */

.platform-card {
  background-color: var(--bg-surface);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition:
    border-color var(--duration-normal) var(--ease-default),
    transform var(--duration-normal) var(--ease-default),
    box-shadow var(--duration-normal) var(--ease-default);
}

.platform-card:hover {
  border-color: var(--brand-gold);
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(245, 166, 35, 0.15);
}

.platform-card.featured {
  border-color: transparent;
  box-shadow: none;
  position: relative;
}

.platform-card.featured::before {
  content: 'DESTAQUE';
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: var(--gradient-gold);
  color: var(--bg-primary);
  font-family: 'Manrope', sans-serif;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.platform-logo {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background-color: transparent;
  color: var(--text-primary);
  font-family: 'Inter Tight', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-md);
  overflow: hidden;
}

.platform-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.platform-card h3 {
  margin-bottom: var(--space-xs);
}

.platform-card p {
  font-size: 0.875rem;
}

/* ==========================================================================
   16. Filter Bar
   ========================================================================== */

.filter-bar {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-xl);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  flex-shrink: 0;
  border-radius: var(--radius-pill);
  border: 1px solid #FFFFFF22;
  background: transparent;
  color: var(--text-secondary);
  padding: var(--space-sm) 20px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color var(--duration-fast) var(--ease-default),
    color var(--duration-fast) var(--ease-default),
    border-color var(--duration-fast) var(--ease-default);
}

.filter-btn:hover {
  border-color: #FFFFFF44;
  color: var(--text-primary);
}

.filter-btn.active {
  background-color: var(--brand-gold);
  color: #0B0B12;
  border-color: var(--brand-gold);
}

/* ==========================================================================
   17. Platforms Section
   ========================================================================== */

#platforms {
  padding: var(--space-4xl) 0;
}

.platforms-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.platforms-header .section-label {
  margin-bottom: var(--space-md);
}

.platforms-header h2 {
  margin-top: var(--space-md);
}

.platforms-grid {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: var(--space-sm) 0;
}

.platforms-grid::-webkit-scrollbar {
  display: none;
}

.platforms-grid .platform-card {
  flex: 0 0 280px;
}

/* ==========================================================================
   18. Step Item
   ========================================================================== */

.step-item {
  text-align: center;
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  border: 2px solid var(--brand-gold);
  background-color: #F5A62322;
  color: var(--brand-gold);
  font-family: 'Inter Tight', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-md);
}

.step-item h3 {
  margin-bottom: var(--space-sm);
}

.step-item p {
  font-size: 0.875rem;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.step-connector {
  display: none;
}

/* ==========================================================================
   19. Steps Section
   ========================================================================== */

#steps {
  background-color: var(--bg-surface);
  padding: var(--space-4xl) 0;
}

.steps-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.steps-header .section-label {
  margin-bottom: var(--space-md);
}

.steps-header h2 {
  margin-top: var(--space-md);
}

.steps-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  position: relative;
}

/* Mobile: vertical connector line */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 24px;
  bottom: 24px;
  width: 2px;
  border-left: 2px dashed #F5A62344;
}

/* Mobile step layout override */
.steps-grid .step-item {
  text-align: left;
  padding-left: 72px;
  position: relative;
}

.steps-grid .step-item .step-number {
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
}

.steps-grid .step-item p {
  margin-left: 0;
}

/* ==========================================================================
   20. Testimonial Card
   ========================================================================== */

.testimonial-card {
  background-color: var(--bg-surface);
  border-left: 3px solid var(--brand-gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px;
}

.testimonial-card blockquote,
.testimonial-quote {
  font-family: 'Manrope', sans-serif;
  font-style: italic;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.testimonial-author {
  font-family: 'Manrope', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* ==========================================================================
   21. Social Proof Section
   ========================================================================== */

#social-proof {
  padding: var(--space-4xl) 0;
}

.social-proof-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.social-proof-header .section-label {
  margin-bottom: var(--space-md);
}

.social-proof-header h2 {
  margin-top: var(--space-md);
}

.social-proof-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.video-container {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--bg-surface);
  width: 100%;
}

.video-container iframe,
.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

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

/* ==========================================================================
   22. Responsible Gaming
   ========================================================================== */

#responsible {
  padding: var(--space-4xl) 0;
  text-align: center;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

#responsible h2 {
  margin-bottom: var(--space-md);
}

#responsible p {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   23. CTA Final
   ========================================================================== */

#cta-final {
  padding: var(--space-5xl) 0;
  text-align: center;
  background: var(--gradient-cta-final);
}

#cta-final h2 {
  margin-bottom: var(--space-md);
}

#cta-final p {
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-xl);
}

/* ==========================================================================
   24. Footer
   ========================================================================== */

.landing-footer {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-2xl) var(--space-xl) 80px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-brand .navbar-logo {
  font-size: 1.125rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 300px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
}

.footer-links-group h4 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.footer-links-group ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer-links-group a {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-default);
}

.footer-links-group a:hover {
  color: var(--text-secondary);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background-color: #FFFFFF0D;
  color: var(--text-secondary);
  font-size: 1.125rem;
  transition:
    background-color var(--duration-fast) var(--ease-default),
    color var(--duration-fast) var(--ease-default);
}

.footer-social a:hover {
  background-color: #FFFFFF1A;
  color: var(--text-primary);
}

/* footer-compliance: styled in footer-bottom block below */

/* ==========================================================================
   25. Sticky CTA (Mobile Only)
   ========================================================================== */

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 12px var(--space-md);
  background-color: rgba(11, 11, 18, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  transform: translateY(0);
  transition: transform var(--duration-normal) var(--ease-default);
}

/* ==========================================================================
   26. Star Rating
   ========================================================================== */

.star-rating {
  display: flex;
  gap: 2px;
}

.star-rating .star {
  width: 16px;
  height: 16px;
  font-size: 16px;
  line-height: 1;
}

.star-rating .star--filled {
  color: #FFD700;
}

.star-rating .star--empty {
  color: #6B6B80;
}

/* ==========================================================================
   27. Animations
   ========================================================================== */

/* Fade In Up */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
}

.fade-in-up-child {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
}

.fade-in-up.visible .fade-in-up-child {
  opacity: 1;
  transform: translateY(0);
}

/* Pulse Glow */
@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 rgba(245, 166, 35, 0);
  }
  50% {
    box-shadow: var(--shadow-glow-gold);
  }
  100% {
    box-shadow: 0 0 0 rgba(245, 166, 35, 0);
  }
}

/* Counter Animated */
.counter-animated {
  transition: all var(--duration-counter) var(--ease-out);
}

/* ==========================================================================
   28. Responsive Breakpoints
   ========================================================================== */

/* --- Mobile: max-width 639px --- */
@media (max-width: 639px) {
  .landing-container {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }

  .navbar-landing {
    padding: var(--space-md) var(--space-md);
  }

  /* Hero stacks vertically */
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

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

  .hero-content p {
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
    flex-direction: column;
    align-items: stretch;
  }

  /* Stats: 2+1 */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Benefits: 1 col */
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  /* Platforms: horizontal scroll on mobile (defined in base) */

  /* Social proof stack */
  .social-proof-inner {
    flex-direction: column;
  }

  /* Navbar hamburger visible (handled by default), nav-links and nav-cta hidden (default) */

  /* Sticky CTA visible on mobile */
  .sticky-cta {
    display: block;
  }

  /* Smaller section padding */
  #benefits,
  #platforms,
  #social-proof,
  #responsible {
    padding: var(--space-3xl) 0;
  }

  #steps {
    padding: var(--space-3xl) 0;
  }

  #cta-final {
    padding: var(--space-4xl) 0;
  }

  .landing-footer {
    padding: var(--space-xl) var(--space-md) 80px;
  }
}

/* --- Tablet: 640px to 1023px --- */
@media (min-width: 640px) and (max-width: 1023px) {
  /* Show nav links */
  .nav-links {
    display: flex;
  }

  .nav-cta {
    display: inline-flex;
  }

  .hamburger {
    display: none;
  }

  /* Hero: still stacked but wider */
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

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

  .hero-content p {
    text-align: center;
  }

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

  .hero-image-wrapper {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Stats: 2x2 (balanced) */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Benefits: 2 cols */
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Platforms: still horizontal scroll on tablet */

  /* Social proof: stack */
  .social-proof-inner {
    flex-direction: column;
  }

  /* Sticky CTA visible on tablet */
  .sticky-cta {
    display: block;
  }
}

/* --- Desktop: 1024px+ --- */
@media (min-width: 1024px) {
  /* Show nav links and CTA, hide hamburger */
  .nav-links {
    display: flex;
  }

  .nav-cta {
    display: inline-flex;
  }

  .hamburger {
    display: none;
  }

  /* Hero: 2 columns (55% / 45%) */
  .hero-inner {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }

  .hero-content {
    flex: 0 0 55%;
    align-items: flex-start;
  }

  .hero-content p {
    text-align: left;
  }

  .hero-image-wrapper {
    flex: 0 0 45%;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  /* Stats: 4 cols (all in one row) */
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
  }

  /* Benefits: 2x2 */
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

  /* Platforms: 4 visible, scroll horizontal on desktop too */
  .platforms-grid .platform-card {
    flex: 0 0 calc((100% - 3 * var(--space-lg)) / 4);
  }

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

  /* Steps: horizontal with connectors */
  .steps-grid {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
  }

  .steps-grid::before {
    display: none;
  }

  .steps-grid .step-item {
    flex: 1;
    text-align: center;
    padding-left: 0;
  }

  .steps-grid .step-item .step-number {
    position: static;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--space-md);
  }

  .steps-grid .step-item p {
    margin-left: auto;
    margin-right: auto;
  }

  .step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 60px;
    height: 48px;
  }

  .step-connector::after {
    content: '';
    display: block;
    width: 100%;
    border-top: 2px dashed #F5A62344;
  }

  /* Social Proof: 2 cols (2/3 + 1/3) */
  .social-proof-inner {
    flex-direction: row;
  }

  .video-container {
    flex: 0 0 66.666%;
  }

  .testimonials-column {
    flex: 0 0 calc(33.333% - var(--space-xl));
  }

  /* Sticky CTA: hidden on desktop */
  .sticky-cta {
    display: none;
  }

  .landing-footer {
    padding-bottom: var(--space-2xl);
  }

  /* Larger spacing */
  #benefits,
  #platforms,
  #social-proof,
  #responsible {
    padding: var(--space-4xl) 0;
  }

  #steps {
    padding: var(--space-4xl) 0;
  }

  #cta-final {
    padding: var(--space-5xl) 0;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer-links {
    gap: var(--space-2xl);
  }
}

/* ==========================================================================
   29. Missing Styles — HTML Template Alignment
   ========================================================================== */

/* --- Utility --- */
.text-gold {
  color: var(--brand-gold);
}

/* --- Trust Bar (Hero) --- */
.trust-bar {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.trust-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
}

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

.trust-logo-item {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--text-secondary);
  font-family: 'Inter Tight', sans-serif;
}

.trust-logo-more {
  background-color: var(--brand-purple);
  color: var(--text-primary);
  border-color: var(--brand-purple);
}

/* --- Hero Image Glow --- */
.hero-image-wrapper {
  position: relative;
}

.hero-image-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(123, 47, 190, 0.25) 0%, transparent 70%);
  border-radius: var(--radius-full);
  z-index: 0;
  pointer-events: none;
}

.hero-image {
  position: relative;
  z-index: 1;
}

/* --- Stat Icon --- */
.stat-icon {
  color: var(--brand-gold);
  margin-bottom: var(--space-md);
}

.stat-icon svg {
  width: 32px;
  height: 32px;
}

/* --- Benefit sub-elements --- */
.benefit-icon {
  color: var(--brand-purple-glow);
  margin-bottom: var(--space-md);
}

.benefit-icon svg {
  width: 48px;
  height: 48px;
}

.benefit-title {
  margin-bottom: var(--space-sm);
}

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

/* --- Platform sub-elements --- */
.platform-name {
  margin-bottom: var(--space-xs);
}

.platform-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  justify-content: center;
  margin: var(--space-sm) 0;
}

.platform-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.platform-cta {
  margin-top: auto;
}

.platforms-footer {
  text-align: center;
  margin-top: var(--space-xl);
}

/* Platform filter animation */
.platform-card {
  transition:
    opacity var(--duration-normal) var(--ease-default),
    transform var(--duration-normal) var(--ease-default),
    border-color var(--duration-normal) var(--ease-default),
    box-shadow var(--duration-normal) var(--ease-default);
}

.platform-card.hiding {
  opacity: 0;
  transform: scale(0.95);
}

.platform-card.hidden {
  display: none;
}

/* --- Platforms Carousel --- */
.platforms-carousel {
  position: relative;
}

.carousel-arrow {
  display: none;
}

@media (min-width: 1024px) {
  .carousel-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
    background: rgba(11, 11, 18, 0.85);
    backdrop-filter: blur(8px);
    color: var(--text-primary);
    cursor: pointer;
    transition:
      background-color var(--duration-fast) var(--ease-default),
      border-color var(--duration-fast) var(--ease-default);
  }

  .carousel-arrow:hover {
    background: var(--bg-elevated);
    border-color: var(--brand-gold);
    color: var(--brand-gold);
  }

  .carousel-arrow--left {
    left: -22px;
  }

  .carousel-arrow--right {
    right: -22px;
  }
}

.no-results {
  text-align: center;
  padding: var(--space-2xl) 0;
  color: var(--text-secondary);
}

/* --- Step sub-elements --- */
.step-icon {
  color: var(--brand-purple-glow);
  margin-bottom: var(--space-sm);
}

.step-icon svg {
  width: 32px;
  height: 32px;
}

.step-title {
  margin-bottom: var(--space-sm);
}

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

/* --- Testimonial stars --- */
.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-sm);
}

/* --- Video Facade --- */
.video-facade {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background-color: var(--bg-elevated);
}

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

.video-play-btn {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  transition: transform var(--duration-fast) var(--ease-default);
}

.video-play-btn:hover {
  transform: scale(1.1);
}

.video-play-btn svg {
  width: 28px;
  height: 28px;
  color: var(--bg-primary);
}

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

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Video Overlay (Fullscreen Modal) --- */
.video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background-color: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  transition: background-color var(--duration-normal) var(--ease-default);
}

.video-overlay.active {
  background-color: rgba(0, 0, 0, 0.92);
}

.video-overlay-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 201;
  transition:
    background-color var(--duration-fast) var(--ease-default),
    transform var(--duration-fast) var(--ease-default);
}

.video-overlay-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.video-overlay-close svg {
  width: 24px;
  height: 24px;
}

.video-overlay-wrapper {
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  opacity: 0;
  transform: scale(0.95);
  transition:
    opacity var(--duration-normal) var(--ease-default),
    transform var(--duration-normal) var(--ease-default);
}

.video-overlay.active .video-overlay-wrapper {
  opacity: 1;
  transform: scale(1);
}

.video-overlay-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.section-subtitle {
  color: var(--text-secondary);
  margin-top: var(--space-sm);
}

/* --- Responsible Gaming sub-elements --- */
.responsible-content {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.responsible-icon {
  color: var(--brand-gold);
  margin-bottom: var(--space-lg);
}

.responsible-icon svg {
  width: 48px;
  height: 48px;
}

.responsible-text {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.responsible-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.responsible-links {
  margin-top: var(--space-md);
}

/* --- CTA Final sub-elements --- */
.cta-final-content {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-final-title {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.cta-final-text {
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

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

.cta-secondary-row {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
}

/* --- Footer sub-elements --- */
.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: var(--space-xs);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-heading {
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--duration-fast) var(--ease-default);
}

.footer-link:hover {
  color: var(--text-secondary);
}

.footer-social-links {
  display: flex;
  gap: var(--space-md);
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  text-decoration: none;
  transition:
    background-color var(--duration-fast) var(--ease-default),
    color var(--duration-fast) var(--ease-default);
}

.footer-social-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--brand-gold);
}

.footer-social-link svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-lg);
  margin-top: var(--space-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-align: center;
}

.footer-compliance {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.footer-copyright {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* --- Navbar sub-elements --- */
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--gradient-gold);
  color: var(--bg-primary);
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.875rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-text {
  font-family: 'Inter Tight', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}

.nav-link {
  font-family: 'Manrope', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-default);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

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

.hamburger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  padding: 0;
}

.hamburger-btn svg {
  width: 24px;
  height: 24px;
}

/* --- Mobile menu sub-elements --- */
.mobile-menu-header {
  position: absolute;
  top: var(--space-md);
  left: var(--space-xl);
  right: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-close svg {
  width: 24px;
  height: 24px;
}

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

.mobile-menu-link {
  font-family: 'Manrope', sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-default);
}

.mobile-menu-link:hover {
  color: var(--text-primary);
}

.mobile-menu-cta {
  width: 100%;
  max-width: 300px;
  padding: 0 var(--space-xl);
}

/* --- Navbar compact CTA --- */
.btn-nav-cta {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-nav-cta svg {
  width: 16px;
  height: 16px;
}

/* --- Hide/show based on breakpoints --- */
@media (max-width: 1023px) {
  .nav-links {
    display: none;
  }

  .nav-logo-text {
    display: none;
  }

  .btn-nav-desktop-only {
    display: none;
  }
}

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

  .hamburger-btn {
    display: none;
  }

  .nav-logo-text {
    display: block;
  }
}

/* --- Responsive additions for new classes --- */
@media (max-width: 639px) {
  .trust-bar {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn-gold,
  .hero-actions .btn-outline {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .cta-secondary-row {
    flex-direction: column;
    width: 100%;
  }

  .cta-secondary-row .btn-outline {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .social-proof-inner {
    flex-direction: column;
  }

  .footer-inner {
    flex-direction: column;
    gap: var(--space-xl);
  }

}

@media (min-width: 1024px) {
  .social-proof-inner {
    flex-direction: row;
    gap: var(--space-xl);
  }

  .video-container {
    flex: 0 0 66.666%;
  }

  .testimonials-column {
    flex: 0 0 calc(33.333% - var(--space-xl));
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .trust-bar {
    flex-direction: row;
  }
}

/* ==========================================================================
   30. Narrative Section (NEW)
   ========================================================================== */

#narrative {
  padding: var(--space-4xl) 0;
}

.narrative-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

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

.narrative-problem .section-label {
  margin-bottom: var(--space-md);
}

.narrative-problem h2 {
  margin-top: var(--space-md);
  line-height: 1.3;
}

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

.narrative-solution {
  background-color: var(--bg-surface);
  border: 1px solid rgba(123, 47, 190, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  position: relative;
}

.narrative-solution-icon {
  color: var(--success);
  margin-bottom: var(--space-md);
}

.narrative-solution-icon svg {
  width: 48px;
  height: 48px;
}

.narrative-solution p {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

/* ==========================================================================
   31. Portal Features Section (NEW)
   ========================================================================== */

#portal-features {
  padding: var(--space-4xl) 0;
  background-color: var(--bg-surface);
}

.portal-features-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.portal-features-header .section-label {
  margin-bottom: var(--space-md);
}

.portal-features-header h2 {
  margin-top: var(--space-md);
}

.portal-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.portal-feature-card {
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition:
    border-color var(--duration-normal) var(--ease-default),
    transform var(--duration-normal) var(--ease-default),
    box-shadow var(--duration-normal) var(--ease-default);
}

.portal-feature-card:hover {
  border-color: rgba(245, 166, 35, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-gold);
}

.portal-feature-icon {
  color: var(--brand-gold);
  margin-bottom: var(--space-md);
}

.portal-feature-icon svg {
  width: 40px;
  height: 40px;
}

.portal-feature-title {
  margin-bottom: var(--space-sm);
}

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

.portal-features-cta {
  text-align: center;
  margin-top: var(--space-2xl);
}

/* ==========================================================================
   32. About Daniel Section (NEW)
   ========================================================================== */

#about {
  padding: var(--space-4xl) 0;
}

.about-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2xl);
}

.about-image-wrapper {
  position: relative;
  max-width: 280px;
  width: 100%;
}

.about-image-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  background: radial-gradient(circle, rgba(123, 47, 190, 0.25) 0%, transparent 70%);
  border-radius: var(--radius-full);
  z-index: 0;
  pointer-events: none;
}

.about-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

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

.about-content .section-label {
  margin-bottom: var(--space-md);
}

.about-content h2 {
  margin-top: var(--space-md);
  margin-bottom: var(--space-lg);
}

.about-text {
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto var(--space-xl);
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  margin-bottom: var(--space-xl);
}

.about-highlight {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
}

.about-highlight svg {
  width: 20px;
  height: 20px;
  color: var(--brand-gold);
  flex-shrink: 0;
}

/* ==========================================================================
   33. Responsive — New Sections
   ========================================================================== */

@media (max-width: 639px) {
  #narrative,
  #portal-features,
  #about {
    padding: var(--space-3xl) 0;
  }

  .portal-features-grid {
    grid-template-columns: 1fr;
  }

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

  .about-image-wrapper {
    max-width: 220px;
  }
}

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

  .narrative-content {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }

  .narrative-problem {
    text-align: left;
  }

  .narrative-solution {
    text-align: left;
  }

  .about-highlights {
    flex-direction: row;
    justify-content: center;
    gap: var(--space-xl);
  }
}

@media (min-width: 1024px) {
  .portal-features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }

  .about-inner {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }

  .about-image-wrapper {
    flex: 0 0 340px;
    max-width: 340px;
  }

  .about-content {
    flex: 1;
    text-align: left;
  }

  .about-text {
    margin-left: 0;
  }

  .about-highlights {
    justify-content: flex-start;
  }
}

/* ==========================================================================
   34. Accessibility
   ========================================================================== */

/* Focus Styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #9945FF;
  outline-offset: 2px;
}

/* Screen Reader Only */
.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;
}

/* Reduced Motion */
@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;
  }

  .fade-in-up {
    opacity: 1;
    transform: none;
  }

  .fade-in-up.visible {
    transition: none;
  }

  .hero-actions .btn-gold {
    animation: none;
  }
}
