/*


 */

:root {
  --midnight-black: #0B0B0D;
  --casino-red: #B3131B;
  --velvet-crimson: #8F1016;
  --ivory-white: #F7F3EE;
  --charcoal-slate: #23252B;
  --smoke-gray: #6B7078;
  --antique-gold: #C6A15B;
  --graphite-line: #2F3138;
  --white: #FFFFFF;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--charcoal-slate);
  background: var(--ivory-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gold {
  color: var(--antique-gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.875rem;
}

.btn-sm.btn-primary {
  padding-right: 44px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--casino-red);
  color: var(--ivory-white);
  border-color: var(--casino-red);
  padding-right: 56px;
}

.btn-primary .btn-label {
  transition: opacity 0.5s ease;
}

.btn-primary .btn-chevron {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  width: 25%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  transition: width 0.5s ease;
  z-index: 1;
}

.btn-primary .btn-chevron svg {
  width: 16px;
  height: 16px;
  stroke: var(--ivory-white);
  stroke-width: 2;
  fill: none;
  transition: transform 0.3s ease;
}

.btn-primary:hover .btn-label {
  opacity: 0;
}

.btn-primary:hover .btn-chevron {
  width: calc(100% - 8px);
}

.btn-primary:active .btn-chevron {
  transform: scale(0.95);
}

.btn-primary:hover {
  background: var(--velvet-crimson);
  border-color: var(--velvet-crimson);
}

.btn-outline {
  background: transparent;
  color: var(--ivory-white);
  border-color: var(--ivory-white);
}

.btn-outline:hover {
  background: var(--ivory-white);
  color: var(--midnight-black);
}

.btn-outline-light {
  background: transparent;
  color: var(--ivory-white);
  border-color: rgba(247, 243, 238, 0.4);
}

.btn-outline-light:hover {
  background: var(--ivory-white);
  color: var(--midnight-black);
  border-color: var(--ivory-white);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 11, 13, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--graphite-line);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar-brand {
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}

.brand-casino {
  color: var(--casino-red);
}

.brand-party {
  color: var(--ivory-white);
}

.brand-dealers {
  color: var(--antique-gold);
}

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

.nav-link {
  color: rgba(247, 243, 238, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--ivory-white);
}

.nav-phone {
  color: var(--antique-gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

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

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ivory-white);
  transition: all 0.3s;
}

@keyframes aurora {
  from {
    background-position: 50% 50%, 50% 50%;
  }
  to {
    background-position: 350% 50%, 350% 50%;
  }
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--midnight-black);
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.42;
  filter: saturate(1.05) contrast(1.05);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 60%, transparent 0%, rgba(11, 11, 13, 0.55) 60%, rgba(11, 11, 13, 0.85) 100%),
    linear-gradient(180deg, rgba(11, 11, 13, 0.55) 0%, rgba(11, 11, 13, 0.25) 35%, rgba(11, 11, 13, 0.45) 70%, rgba(11, 11, 13, 0.9) 100%);
  pointer-events: none;
}

.aurora-bg {
  position: absolute;
  inset: -10px;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
  opacity: 0.65;
}

.aurora-layer {
  position: absolute;
  inset: -10px;
  opacity: 0.5;
  will-change: transform;
  filter: blur(10px);
  background-image:
    repeating-linear-gradient(
      100deg,
      #0B0B0D 0%, #0B0B0D 7%, transparent 10%, transparent 12%, #0B0B0D 16%
    ),
    repeating-linear-gradient(
      100deg,
      #B3131B 10%, #C6A15B 15%, #8F1016 20%, #D4A85C 25%, #B3131B 30%
    );
  background-size: 300% 200%;
  background-position: 50% 50%, 50% 50%;
  animation: aurora 60s linear infinite;
}

.aurora-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      100deg,
      #0B0B0D 0%, #0B0B0D 7%, transparent 10%, transparent 12%, #0B0B0D 16%
    ),
    repeating-linear-gradient(
      100deg,
      #B3131B 10%, #C6A15B 15%, #8F1016 20%, #D4A85C 25%, #B3131B 30%
    );
  background-size: 200% 100%;
  animation: aurora 60s linear infinite;
  background-attachment: fixed;
  mix-blend-mode: difference;
}

.hero-radial-mask {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 100% 0%, black 10%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 820px;
  margin: 0 auto;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(198, 161, 91, 0.15);
  border: 1px solid rgba(198, 161, 91, 0.35);
  border-radius: 100px;
  color: var(--antique-gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  color: var(--ivory-white);
  margin-bottom: 24px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(247, 243, 238, 0.7);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* ── Logo Scroll ── */
.logo-scroll-section {
  background: var(--midnight-black);
  border-top: 1px solid var(--graphite-line);
  border-bottom: 1px solid var(--graphite-line);
  padding: 32px 0;
  overflow: hidden;
}

.logo-scroll-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247, 243, 238, 0.35);
  margin-bottom: 24px;
}

.logo-scroll-track-wrapper {
  position: relative;
  overflow: hidden;
}

.logo-scroll-track-wrapper::before,
.logo-scroll-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.logo-scroll-track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--midnight-black), transparent);
}

.logo-scroll-track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--midnight-black), transparent);
}

@keyframes logoScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.logo-scroll-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: logoScroll 30s linear infinite;
}

.logo-scroll-item {
  padding: 0 48px;
  border-right: 1px solid var(--graphite-line);
  flex-shrink: 0;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(247, 243, 238, 0.4);
  white-space: nowrap;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.logo-scroll-item:hover .logo-text {
  color: var(--antique-gold);
}

/* ── Pathways ── */
.pathways {
  padding: 100px 0;
  background: var(--ivory-white);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--charcoal-slate);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--smoke-gray);
  max-width: 560px;
  margin: 0 auto;
}

.pathways-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pathway-card {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(35, 37, 43, 0.08);
  border-radius: 12px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.pathway-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.pathway-card-featured {
  border-color: var(--casino-red);
  box-shadow: 0 4px 20px rgba(179, 19, 27, 0.1);
}

.pathway-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--casino-red);
  color: var(--ivory-white);
  padding: 4px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pathway-icon {
  margin-bottom: 20px;
}

.pathway-card h3 {
  font-size: 1.35rem;
  color: var(--charcoal-slate);
  margin-bottom: 12px;
}

.pathway-card p {
  color: var(--smoke-gray);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.65;
}

.pathway-benefits {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}

.pathway-benefits li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--charcoal-slate);
  position: relative;
  padding-left: 20px;
}

.pathway-benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 8px;
  height: 8px;
  background: var(--antique-gold);
  border-radius: 50%;
}

.pathway-card .btn {
  width: 100%;
  justify-content: center;
  min-height: 48px;
}

.stats-bar {
  background: var(--midnight-black);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--antique-gold);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(247, 243, 238, 0.6);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.how-it-works {
  padding: 100px 0;
  background: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.step-card {
  text-align: center;
  padding: 32px 24px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--midnight-black);
  color: var(--antique-gold);
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.step-card h3 {
  font-size: 1.2rem;
  color: var(--charcoal-slate);
  margin-bottom: 12px;
}

.step-card p {
  color: var(--smoke-gray);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ── Testimonials Scrolling Columns ── */
.testimonials-scroll-section {
  padding: 100px 0 0;
  background: var(--ivory-white);
  overflow: hidden;
}

.testimonials-scroll-header {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-scroll-badge {
  display: inline-block;
  padding: 5px 18px;
  border: 1px solid rgba(35, 37, 43, 0.15);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--smoke-gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.testimonials-scroll-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--charcoal-slate);
  margin-bottom: 14px;
}

.testimonials-scroll-sub {
  font-size: 1rem;
  color: var(--smoke-gray);
  max-width: 520px;
  margin: 0 auto;
}

.testimonials-columns-wrapper {
  display: flex;
  gap: 24px;
  justify-content: center;
  max-height: 720px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  padding: 0 24px;
}

@keyframes scrollUp1 {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}
@keyframes scrollUp2 {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}
@keyframes scrollUp3 {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

.testimonials-col-track {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
  max-width: 340px;
}

.testimonials-col-1 { animation: scrollUp1 20s linear infinite; }
.testimonials-col-2 { animation: scrollUp2 26s linear infinite; }
.testimonials-col-3 { animation: scrollUp3 22s linear infinite; }

.tcard {
  background: var(--white);
  border: 1px solid rgba(35, 37, 43, 0.08);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  flex-shrink: 0;
}

.tcard-stars {
  color: var(--antique-gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.tcard p {
  font-size: 0.9rem;
  color: var(--charcoal-slate);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.tcard-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tcard-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.tcard-author strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal-slate);
  font-style: normal;
}

.tcard-author span {
  display: block;
  font-size: 0.775rem;
  color: var(--smoke-gray);
}

.faq-section {
  padding: 100px 0;
  background: var(--white);
}

.faq-list {
  max-width: 740px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(35, 37, 43, 0.1);
}

.faq-item summary {
  padding: 22px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--charcoal-slate);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s;
}

.faq-item summary:hover {
  color: var(--casino-red);
}

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

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--smoke-gray);
  transition: transform 0.3s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 24px 22px;
  font-size: 0.95rem;
  color: var(--smoke-gray);
  line-height: 1.7;
}

.cta-section {
  padding: 100px 0;
  background: var(--midnight-black);
  text-align: center;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--ivory-white);
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.1rem;
  color: rgba(247, 243, 238, 0.65);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer {
  background: var(--charcoal-slate);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(247, 243, 238, 0.1);
}

.footer-tagline {
  color: rgba(247, 243, 238, 0.5);
  font-size: 0.9rem;
  margin-top: 12px;
  font-style: italic;
}

.footer-phone {
  margin-top: 16px;
}

.footer-phone a {
  color: var(--antique-gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
}

.footer-links h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ivory-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(247, 243, 238, 0.55);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--ivory-white);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(247, 243, 238, 0.35);
  font-size: 0.8rem;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
details summary:focus-visible {
  outline: 2px solid var(--antique-gold);
  outline-offset: 2px;
}

@media (max-width: 968px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .navbar-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(11, 11, 13, 0.98);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--graphite-line);
  }

  .nav-open .navbar-nav {
    display: flex;
  }

  .pathways-grid,
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonials-col-2,
  .testimonials-col-3 {
    display: none;
  }

  .testimonials-columns-wrapper {
    max-height: 500px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

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

  .hero {
    min-height: auto;
    align-items: flex-start;
  }

  .hero-content {
    padding: 110px 16px 60px;
  }
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .hero-content {
    padding: 100px 16px 56px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-lg {
    width: 100%;
    max-width: 320px;
  }
}

/* ─────────────────────────────────────────
   SHARED PAGE ELEMENTS
───────────────────────────────────────── */
.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--casino-red);
  margin-bottom: 12px;
}

.page-hero {
  padding: 140px 0 80px;
  text-align: center;
}

.page-hero--dark {
  background: var(--midnight-black);
}

.page-hero--light {
  background: var(--ivory-white);
  border-bottom: 1px solid rgba(35, 37, 43, 0.08);
}

.page-hero-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--ivory-white);
  margin: 16px 0 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.page-hero-title--dark {
  color: var(--charcoal-slate);
}

.page-hero-sub {
  font-size: 1.1rem;
  color: rgba(247, 243, 238, 0.7);
  max-width: 580px;
  line-height: 1.7;
}

.page-hero-sub--dark {
  color: var(--smoke-gray);
}

.hero-badge--dark {
  background: rgba(35, 37, 43, 0.07);
  border-color: rgba(35, 37, 43, 0.15);
  color: var(--charcoal-slate);
}

/* ─────────────────────────────────────────
   ABOUT PAGE
───────────────────────────────────────── */
.about-mission {
  padding: 100px 0;
  background: var(--white);
}

.about-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-mission-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--charcoal-slate);
  margin: 12px 0 20px;
}

.about-mission-text p {
  color: var(--smoke-gray);
  line-height: 1.75;
  margin-bottom: 16px;
  font-size: 1rem;
}

.about-mission-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.about-stat {
  background: var(--ivory-white);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  border: 1px solid rgba(35, 37, 43, 0.06);
}

.about-stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--casino-red);
  margin-bottom: 6px;
}

.about-stat-label {
  font-size: 0.82rem;
  color: var(--smoke-gray);
  font-weight: 500;
  line-height: 1.4;
}

.about-story {
  padding: 100px 0;
  background: var(--midnight-black);
}

.about-story-inner {
  max-width: 760px;
  margin: 0 auto;
}

.about-story .section-eyebrow {
  color: var(--antique-gold);
}

.about-story h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--ivory-white);
  margin: 12px 0 28px;
}

.about-story-body p {
  color: rgba(247, 243, 238, 0.7);
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 18px;
}

.about-values {
  padding: 110px 0;
  background: var(--ivory-white);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--white);
  border: 1px solid rgba(35, 37, 43, 0.07);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.value-icon {
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 1.1rem;
  color: var(--charcoal-slate);
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.88rem;
  color: var(--smoke-gray);
  line-height: 1.65;
}

.about-cta {
  padding: 100px 0;
  background: var(--midnight-black);
  text-align: center;
}

.about-cta .cta-content h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--ivory-white);
  margin-bottom: 16px;
}

.about-cta .cta-content p {
  font-size: 1.1rem;
  color: rgba(247, 243, 238, 0.65);
  max-width: 480px;
  margin: 0 auto 36px;
}

/* ─────────────────────────────────────────
   JOIN / SQUEEZE PAGE
───────────────────────────────────────── */
.join-hero {
  position: relative;
  padding: 140px 0 80px;
  background: var(--midnight-black);
  overflow: hidden;
  text-align: center;
}

.join-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 30%, rgba(179,19,27,0.25) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(198,161,91,0.12) 0%, transparent 50%);
  pointer-events: none;
}

.join-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.join-hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  color: var(--ivory-white);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 16px 0 20px;
  line-height: 1.1;
}

.join-hero-sub {
  font-size: 1.1rem;
  color: rgba(247, 243, 238, 0.72);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.join-trust-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.join-trust-item {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--antique-gold);
  letter-spacing: 0.01em;
}

.join-main {
  padding: 80px 0 100px;
  background: var(--ivory-white);
}

.join-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.join-form-card {
  background: var(--white);
  border-radius: 16px;
  padding: 48px 40px;
  border: 1px solid rgba(35, 37, 43, 0.08);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.join-form-card h2 {
  font-size: 1.8rem;
  color: var(--charcoal-slate);
  margin-bottom: 8px;
}

.join-form-sub {
  font-size: 0.95rem;
  color: var(--smoke-gray);
  margin-bottom: 28px;
}

.join-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal-slate);
}

.form-input {
  padding: 12px 16px;
  border: 1.5px solid rgba(35, 37, 43, 0.15);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  color: var(--charcoal-slate);
  background: var(--ivory-white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input:focus {
  border-color: var(--casino-red);
  box-shadow: 0 0 0 3px rgba(179, 19, 27, 0.1);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7078' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}

.join-submit {
  width: 100%;
  margin-top: 8px;
  justify-content: center;
}

.join-form-disclaimer {
  font-size: 0.78rem;
  color: var(--smoke-gray);
  text-align: center;
  line-height: 1.5;
  margin-top: 16px;
}

.join-form-embed {
  width: 100%;
  margin-top: 8px;
}

.join-form-embed iframe {
  width: 100%;
  min-height: 1020px;
  border: none;
  border-radius: 12px;
  display: block;
  background: transparent;
}

@media (max-width: 600px) {
  .join-form-embed iframe {
    min-height: 1180px;
  }
}

.join-form-disclaimer a {
  color: var(--casino-red);
  text-decoration: none;
}

.join-benefits-col h3 {
  font-size: 1.5rem;
  color: var(--charcoal-slate);
  margin-bottom: 28px;
}

.join-benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.join-benefits-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.jb-icon {
  font-size: 1rem;
  color: var(--antique-gold);
  margin-top: 3px;
  flex-shrink: 0;
}

.join-benefits-list strong {
  display: block;
  font-size: 0.95rem;
  color: var(--charcoal-slate);
  margin-bottom: 4px;
}

.join-benefits-list p {
  font-size: 0.875rem;
  color: var(--smoke-gray);
  line-height: 1.6;
  margin: 0;
}

.join-testimonial {
  background: var(--midnight-black);
  border-radius: 12px;
  padding: 28px;
}

.join-test-stars {
  color: var(--antique-gold);
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.join-testimonial blockquote {
  font-size: 0.9rem;
  color: rgba(247, 243, 238, 0.82);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 16px;
}

.join-test-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.join-test-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.join-test-author strong {
  display: block;
  font-size: 0.875rem;
  color: var(--ivory-white);
}

.join-test-author span {
  font-size: 0.78rem;
  color: rgba(247, 243, 238, 0.5);
}

/* ─────────────────────────────────────────
   HOW IT WORKS PAGE
───────────────────────────────────────── */
.hiw-section {
  padding: 100px 0;
  background: var(--white);
}

.hiw-section--alt {
  background: var(--ivory-white);
}

.hiw-path-header {
  margin-bottom: 60px;
}

.hiw-path-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--charcoal-slate);
  margin: 10px 0 12px;
}

.hiw-path-header p {
  font-size: 1rem;
  color: var(--smoke-gray);
  max-width: 520px;
}

.hiw-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.hiw-steps::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 56px;
  bottom: 56px;
  width: 2px;
  background: linear-gradient(to bottom, var(--casino-red), var(--antique-gold));
  opacity: 0.25;
}

.hiw-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(35, 37, 43, 0.06);
  align-items: start;
}

.hiw-step:last-child {
  border-bottom: none;
}

.hiw-step-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--casino-red);
  line-height: 1;
  padding-top: 4px;
  text-align: center;
}

.hiw-step-content h3 {
  font-size: 1.2rem;
  color: var(--charcoal-slate);
  margin-bottom: 10px;
}

.hiw-step-content p {
  font-size: 0.95rem;
  color: var(--smoke-gray);
  line-height: 1.7;
  margin-bottom: 12px;
}

.hiw-step-content a {
  color: var(--casino-red);
  text-decoration: none;
}

.hiw-detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hiw-detail-list li {
  font-size: 0.875rem;
  color: var(--charcoal-slate);
  padding-left: 18px;
  position: relative;
}

.hiw-detail-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  background: var(--antique-gold);
  border-radius: 50%;
}

/* ─────────────────────────────────────────
   RESOURCES PAGE
───────────────────────────────────────── */
.resources-section {
  padding: 80px 0 100px;
  background: var(--ivory-white);
}

.resources-filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.resources-filter {
  padding: 8px 18px;
  border-radius: 100px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  border: 1.5px solid rgba(35, 37, 43, 0.12);
  color: var(--smoke-gray);
  transition: all 0.2s;
  background: var(--white);
}

.resources-filter:hover,
.resources-filter.active {
  background: var(--midnight-black);
  color: var(--ivory-white);
  border-color: var(--midnight-black);
}

.resources-filter-count {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(35, 37, 43, 0.08);
  color: var(--smoke-gray);
  transition: all 0.2s;
}

.resources-filter:hover .resources-filter-count,
.resources-filter.active .resources-filter-count {
  background: rgba(247, 243, 238, 0.18);
  color: var(--ivory-white);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.resources-empty {
  margin-top: 32px;
  padding: 32px 24px;
  text-align: center;
  color: var(--smoke-gray);
  font-size: 1rem;
  background: var(--white);
  border: 1px dashed rgba(35, 37, 43, 0.15);
  border-radius: 12px;
}

.resources-empty[hidden] {
  display: none;
}

.resource-card {
  background: var(--white);
  border: 1px solid rgba(35, 37, 43, 0.07);
  border-radius: 14px;
  padding: 28px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.resource-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.resource-card--featured {
  grid-column: span 2;
  background: var(--midnight-black);
  border-color: transparent;
}

.resource-card--featured .resource-card-tag {
  background: rgba(198, 161, 91, 0.2);
  color: var(--antique-gold);
  border-color: rgba(198, 161, 91, 0.3);
}

.resource-card.resource-card--featured h3 {
  color: var(--ivory-white);
}

.resource-card.resource-card--featured p {
  color: rgba(247, 243, 238, 0.7);
}

.resource-card--featured .resource-read-time {
  color: rgba(247, 243, 238, 0.45);
}

.resource-card--featured .resource-card-topics span {
  background: rgba(247, 243, 238, 0.08);
  color: rgba(247, 243, 238, 0.6);
}

.resource-card--featured .resource-level--beginner {
  background: rgba(74, 222, 128, 0.18);
  color: #4ade80;
}

.resource-card--featured .resource-level--intermediate {
  background: rgba(250, 204, 21, 0.2);
  color: #facc15;
}

.resource-card--featured .resource-level--advanced {
  background: rgba(248, 113, 113, 0.2);
  color: #f87171;
}

.resource-card-tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(179, 19, 27, 0.08);
  color: var(--casino-red);
  border: 1px solid rgba(179, 19, 27, 0.15);
  margin-bottom: 14px;
}

.resource-card h3 {
  font-size: 1.05rem;
  color: var(--charcoal-slate);
  margin-bottom: 10px;
  line-height: 1.4;
}

.resource-card p {
  font-size: 0.875rem;
  color: var(--smoke-gray);
  line-height: 1.65;
  margin-bottom: 16px;
}

.resource-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.resource-read-time {
  font-size: 0.78rem;
  color: var(--smoke-gray);
}

.resource-level {
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.resource-level--beginner { background: rgba(34, 197, 94, 0.1); color: #16a34a; }
.resource-level--intermediate { background: rgba(234, 179, 8, 0.1); color: #b45309; }
.resource-level--advanced { background: rgba(179, 19, 27, 0.1); color: var(--casino-red); }

.resource-card-topics {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.resource-card-topics span {
  padding: 3px 10px;
  background: var(--ivory-white);
  border-radius: 100px;
  font-size: 0.72rem;
  color: var(--smoke-gray);
  font-weight: 500;
}

.resource-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.resource-card-link--featured {
  grid-column: span 2;
}

.resource-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.resource-card-read-more {
  margin-top: auto;
  padding-top: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--casino-red);
  letter-spacing: 0.02em;
}

.resource-card--featured .resource-card-read-more {
  color: var(--antique-gold);
}

.resource-card-link:hover .resource-card-read-more {
  text-decoration: underline;
}

/* ─────────────────────────────────────────
   ARTICLE PAGE (individual resource)
───────────────────────────────────────── */
.article-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(11, 11, 13, 0.06);
  z-index: 100;
}

.article-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--casino-red);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.05s linear;
}

.article-hero {
  background: var(--ivory-white);
  padding: 120px 0 40px;
}

.article-back {
  margin-bottom: 28px;
}

.article-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--smoke-gray);
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 0.2s;
}

.article-back-link:hover {
  color: var(--casino-red);
}

.article-meta-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.article-meta-top .resource-card-tag {
  margin-bottom: 0;
}

.article-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--charcoal-slate);
  margin-bottom: 18px;
  max-width: 820px;
  line-height: 1.15;
}

.article-excerpt {
  font-size: 1.15rem;
  color: var(--smoke-gray);
  line-height: 1.6;
  max-width: 720px;
}

.article-body {
  background: var(--white);
  padding: 60px 0 80px;
}

.article-content {
  max-width: 740px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--charcoal-slate);
}

.article-content h2 {
  font-size: 1.6rem;
  margin: 44px 0 16px;
  color: var(--midnight-black);
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content p {
  margin-bottom: 18px;
}

.article-content ul,
.article-content ol {
  margin: 0 0 22px 24px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-content strong {
  color: var(--midnight-black);
  font-weight: 700;
}

.related-articles {
  background: var(--ivory-white);
  padding: 70px 0;
  border-top: 1px solid rgba(35, 37, 43, 0.07);
}

.related-articles-heading {
  font-size: 1.6rem;
  color: var(--midnight-black);
  margin-bottom: 28px;
  text-align: center;
}

.related-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .related-articles-grid {
    grid-template-columns: 1fr;
  }
}

.article-cta {
  background: var(--midnight-black);
  padding: 70px 0;
}

.article-cta-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.article-cta-inner h2 {
  font-size: 1.85rem;
  color: var(--ivory-white);
  margin-bottom: 12px;
}

.article-cta-inner p {
  color: rgba(247, 243, 238, 0.65);
  margin-bottom: 28px;
  line-height: 1.7;
}

.resources-cta {
  background: var(--midnight-black);
  padding: 80px 0;
}

.resources-cta-inner {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.resources-cta-inner h2 {
  font-size: 2rem;
  color: var(--ivory-white);
  margin-bottom: 12px;
}

.resources-cta-inner p {
  color: rgba(247, 243, 238, 0.65);
  margin-bottom: 28px;
  line-height: 1.7;
}

/* ─────────────────────────────────────────
   LEGAL PAGES (Privacy & Terms)
───────────────────────────────────────── */
.legal-hero {
  background: var(--charcoal-slate);
  padding: 120px 0 60px;
}

.legal-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--ivory-white);
  margin-bottom: 10px;
}

.legal-updated {
  font-size: 0.875rem;
  color: rgba(247, 243, 238, 0.45);
}

.legal-body {
  padding: 80px 0 100px;
  background: var(--white);
}

.legal-content {
  max-width: 780px;
  margin: 0 auto;
}

.legal-intro {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(35, 37, 43, 0.08);
}

.legal-intro p {
  font-size: 1rem;
  color: var(--smoke-gray);
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(35, 37, 43, 0.06);
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: 1.3rem;
  color: var(--charcoal-slate);
  margin-bottom: 16px;
}

.legal-section h3 {
  font-size: 1rem;
  color: var(--charcoal-slate);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  margin: 20px 0 10px;
}

.legal-section p {
  font-size: 0.95rem;
  color: var(--smoke-gray);
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-section ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

.legal-section ul li {
  font-size: 0.95rem;
  color: var(--smoke-gray);
  line-height: 1.8;
  margin-bottom: 6px;
}

.legal-contact {
  background: var(--ivory-white);
  border-radius: 10px;
  padding: 24px;
  margin-top: 16px;
}

.legal-contact p {
  margin-bottom: 6px !important;
}

.legal-contact a {
  color: var(--casino-red);
  text-decoration: none;
}

/* ─────────────────────────────────────────
   PATHWAYS — TWO COLUMN VARIANT
───────────────────────────────────────── */
.pathways-grid--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 980px;
  margin: 0 auto;
  gap: 32px;
}

@media (max-width: 768px) {
  .pathways-grid--two {
    grid-template-columns: 1fr;
  }
}


/* ─────────────────────────────────────────
   JOIN CONFIRMATION PAGE
───────────────────────────────────────── */
.confirmation-section {
  position: relative;
  padding: 120px 0 100px;
  background: var(--midnight-black);
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.confirmation-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(198, 161, 91, 0.18), transparent 70%),
    radial-gradient(ellipse 50% 40% at 50% 80%, rgba(179, 19, 27, 0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

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

.confirmation-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.confirmation-icon {
  margin-bottom: 28px;
  display: inline-flex;
  padding: 10px;
  border-radius: 50%;
  background: rgba(198, 161, 91, 0.08);
  border: 1px solid rgba(198, 161, 91, 0.25);
}

.confirmation-headline {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  line-height: 1.05;
  color: var(--ivory-white);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.sparkles-text {
  position: relative;
  display: inline-block;
}

.sparkles-text strong {
  font-weight: inherit;
  background: linear-gradient(180deg, #ffffff 0%, #f0e6d4 60%, #C6A15B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sparkle {
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  opacity: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 21 21'><path d='M9.825 0.844c0.23-0.629 1.12-0.629 1.35 0l0.687 1.876c0.539 1.472 0.53 3.672 1.638 4.78c1.108 1.108 3.308 1.099 4.78 1.638l1.876 0.687c0.63 0.23 0.63 1.12 0 1.35l-1.876 0.687c-1.472 0.539-3.672 0.53-4.78 1.638c-1.108 1.108-1.099 3.308-1.638 4.78l-0.687 1.876c-0.23 0.63-1.12 0.63-1.35 0l-0.687-1.876c-0.539-1.472-0.53-3.672-1.638-4.78c-1.108-1.108-3.308-1.099-4.78-1.638L0.844 11.175c-0.629-0.23-0.629-1.12 0-1.35l1.876-0.687c1.472-0.539 3.672-0.53 4.78-1.638c1.108-1.108 1.099-3.308 1.638-4.78z' fill='%23C6A15B'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  animation: sparkle-twinkle 1.6s ease-in-out infinite;
  filter: drop-shadow(0 0 4px rgba(198, 161, 91, 0.6));
}

.sparkle--1  { top: -10%;  left:  -2%; width: 12px; animation-delay: 0s;    }
.sparkle--2  { top:  20%;  left: -6%;  width: 10px; animation-delay: 0.3s;  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 21 21'><path d='M9.825 0.844c0.23-0.629 1.12-0.629 1.35 0l0.687 1.876c0.539 1.472 0.53 3.672 1.638 4.78c1.108 1.108 3.308 1.099 4.78 1.638l1.876 0.687c0.63 0.23 0.63 1.12 0 1.35l-1.876 0.687c-1.472 0.539-3.672 0.53-4.78 1.638c-1.108 1.108-1.099 3.308-1.638 4.78l-0.687 1.876c-0.23 0.63-1.12 0.63-1.35 0l-0.687-1.876c-0.539-1.472-0.53-3.672-1.638-4.78c-1.108-1.108-3.308-1.099-4.78-1.638L0.844 11.175c-0.629-0.23-0.629-1.12 0-1.35l1.876-0.687c1.472-0.539 3.672-0.53 4.78-1.638c1.108-1.108 1.099-3.308 1.638-4.78z' fill='%23F7F3EE'/></svg>"); }
.sparkle--3  { top: -18%; left:  22%; width: 16px; animation-delay: 0.7s;  }
.sparkle--4  { top:  60%;  left: -4%;  width: 11px; animation-delay: 1.1s;  }
.sparkle--5  { top: -14%; left:  48%; width: 13px; animation-delay: 0.5s;  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 21 21'><path d='M9.825 0.844c0.23-0.629 1.12-0.629 1.35 0l0.687 1.876c0.539 1.472 0.53 3.672 1.638 4.78c1.108 1.108 3.308 1.099 4.78 1.638l1.876 0.687c0.63 0.23 0.63 1.12 0 1.35l-1.876 0.687c-1.472 0.539-3.672 0.53-4.78 1.638c-1.108 1.108-1.099 3.308-1.638 4.78l-0.687 1.876c-0.23 0.63-1.12 0.63-1.35 0l-0.687-1.876c-0.539-1.472-0.53-3.672-1.638-4.78c-1.108-1.108-3.308-1.099-4.78-1.638L0.844 11.175c-0.629-0.23-0.629-1.12 0-1.35l1.876-0.687c1.472-0.539 3.672-0.53 4.78-1.638c1.108-1.108 1.099-3.308 1.638-4.78z' fill='%23F7F3EE'/></svg>"); }
.sparkle--6  { top:  90%;  left:  18%; width: 12px; animation-delay: 0.9s;  }
.sparkle--7  { top: -8%;  left:  72%; width: 10px; animation-delay: 0.2s;  }
.sparkle--8  { top:  35%;  left: 100%; width: 14px; animation-delay: 0.6s;  }
.sparkle--9  { top:  80%;  left:  88%; width: 11px; animation-delay: 1.3s;  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 21 21'><path d='M9.825 0.844c0.23-0.629 1.12-0.629 1.35 0l0.687 1.876c0.539 1.472 0.53 3.672 1.638 4.78c1.108 1.108 3.308 1.099 4.78 1.638l1.876 0.687c0.63 0.23 0.63 1.12 0 1.35l-1.876 0.687c-1.472 0.539-3.672 0.53-4.78 1.638c-1.108 1.108-1.099 3.308-1.638 4.78l-0.687 1.876c-0.23 0.63-1.12 0.63-1.35 0l-0.687-1.876c-0.539-1.472-0.53-3.672-1.638-4.78c-1.108-1.108-3.308-1.099-4.78-1.638L0.844 11.175c-0.629-0.23-0.629-1.12 0-1.35l1.876-0.687c1.472-0.539 3.672-0.53 4.78-1.638c1.108-1.108 1.099-3.308 1.638-4.78z' fill='%23F7F3EE'/></svg>"); }
.sparkle--10 { top: -12%; left: 105%; width: 13px; animation-delay: 1.0s;  }

@keyframes sparkle-twinkle {
  0%   { opacity: 0; transform: scale(0) rotate(75deg); }
  40%  { opacity: 1; transform: scale(1) rotate(120deg); }
  100% { opacity: 0; transform: scale(0) rotate(150deg); }
}

@media (prefers-reduced-motion: reduce) {
  .sparkle { animation: none; opacity: 0.6; transform: scale(1); }
}

.confirmation-sub {
  font-size: 1.1rem;
  color: rgba(247, 243, 238, 0.75);
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.confirmation-sub strong {
  color: var(--antique-gold);
  font-weight: 700;
}

.confirmation-details {
  display: flex;
  flex-direction: column;
  gap: 22px;
  text-align: left;
  margin-bottom: 48px;
  background: rgba(247, 243, 238, 0.04);
  border-radius: 18px;
  padding: 36px;
  border: 1px solid rgba(198, 161, 91, 0.18);
  backdrop-filter: blur(8px);
}

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

.cdi-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(198, 161, 91, 0.25), rgba(198, 161, 91, 0.08));
  border: 1px solid rgba(198, 161, 91, 0.4);
  color: var(--antique-gold);
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.confirmation-detail-item strong {
  display: block;
  font-size: 1rem;
  color: var(--ivory-white);
  margin-bottom: 6px;
  font-weight: 600;
}

.confirmation-detail-item p {
  font-size: 0.9rem;
  color: rgba(247, 243, 238, 0.65);
  line-height: 1.6;
  margin: 0;
}

.confirmation-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.confirmation-actions .btn-outline {
  color: var(--ivory-white);
  border-color: rgba(247, 243, 238, 0.3);
  background: transparent;
}

.confirmation-actions .btn-outline:hover {
  background: rgba(247, 243, 238, 0.08);
  color: var(--ivory-white);
  border-color: rgba(198, 161, 91, 0.5);
}

@media (max-width: 640px) {
  .confirmation-section { padding: 90px 0 70px; }
  .confirmation-details { padding: 24px; }
  .confirmation-actions .btn { width: 100%; }
}

/* ─────────────────────────────────────────
   RESPONSIVE — NEW PAGES
───────────────────────────────────────── */
@media (max-width: 968px) {
  .about-mission-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .join-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .resources-grid {
    grid-template-columns: 1fr 1fr;
  }

  .resource-card--featured {
    grid-column: span 2;
  }

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

@media (max-width: 600px) {
  .page-hero {
    padding: 120px 0 60px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

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

  .join-main > .container {
    padding: 0 8px;
  }

  .join-form-card {
    padding: 20px 10px;
    border-radius: 12px;
  }

  .join-trust-row {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .resources-grid {
    grid-template-columns: 1fr;
  }

  .resource-card--featured {
    grid-column: span 1;
  }

  .resources-filter-bar {
    gap: 8px;
  }

  .hiw-step {
    grid-template-columns: 48px 1fr;
    gap: 16px;
  }
}

/* ==========================================================================
   Imagery Styles
   ========================================================================== */

/* Pathway cards with images */
.pathway-card--with-image {
  padding-top: 0;
  overflow: hidden;
}

.pathway-card--with-image .pathway-badge {
  z-index: 2;
}

.pathway-image {
  margin: 0 -32px 28px;
  height: 220px;
  overflow: hidden;
  position: relative;
  border-bottom: 3px solid var(--antique-gold);
  background: var(--midnight-black);
}

.pathway-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.pathway-card--with-image:hover .pathway-image img {
  transform: scale(1.04);
}

/* About story image */
.about-story-image {
  margin: 0 auto 40px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(198, 161, 91, 0.25);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  max-width: 760px;
}

.about-story-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Hero with background image */
.page-hero--imaged {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

/* Join hero with image */
.join-hero--imaged {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.join-hero--imaged .join-hero-bg {
  opacity: 0.35;
}

/* CTA section with image backdrop */
.cta-section--imaged {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

@media (min-width: 1024px) {
  .cta-section--imaged {
    background-attachment: fixed;
  }
}

@media (max-width: 768px) {
  .pathway-image {
    height: 180px;
  }

  .about-story-image {
    margin-bottom: 28px;
  }
}

/* ==========================================================================
   CTA — Singular Focus Variant
   ========================================================================== */
.cta-buttons--single {
  display: flex;
  justify-content: center;
}

.cta-subline {
  margin-top: 18px;
  color: rgba(247, 243, 238, 0.62);
  font-size: 0.95rem;
}

.cta-subline a {
  color: var(--antique-gold);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dotted rgba(198, 161, 91, 0.5);
}

.cta-subline a:hover {
  border-bottom-color: var(--antique-gold);
}

/* On about page (light bg) the subline color shifts via inheritance, but force good contrast */
.about-cta .cta-subline {
  color: rgba(247, 243, 238, 0.62);
}

/* ==========================================================================
   Article Hero — Imaged
   ========================================================================== */
.article-hero--imaged {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.article-hero--imaged .article-title {
  color: var(--ivory-white);
}

.article-hero--imaged .article-excerpt {
  color: rgba(247, 243, 238, 0.82);
}

.article-hero--imaged .article-back-link {
  color: rgba(247, 243, 238, 0.7);
}

.article-hero--imaged .article-back-link:hover {
  color: var(--antique-gold);
}

.article-hero--imaged .resource-read-time {
  color: rgba(247, 243, 238, 0.75);
}

.article-hero--imaged .resource-level--beginner {
  background: rgba(74, 222, 128, 0.18);
  color: #4ade80;
}

.article-hero--imaged .resource-level--intermediate {
  background: rgba(250, 204, 21, 0.2);
  color: #facc15;
}

.article-hero--imaged .resource-level--advanced {
  background: rgba(248, 113, 113, 0.2);
  color: #f87171;
}

.article-hero--imaged .resource-card-tag {
  background: rgba(179, 19, 27, 0.2);
  color: #fca5a5;
  border-color: rgba(179, 19, 27, 0.4);
}

/* ==========================================================================
   FAQ Page (scoped to .faq-page to avoid clashing with home mini-FAQ rules)
   ========================================================================== */
.faq-page .faq-item summary::after {
  content: none;
}

.faq-page .faq-item[open] summary::after {
  transform: none;
}

.faq-page .faq-item p {
  padding: 0;
  font-size: inherit;
  color: inherit;
}

.faq-page .faq-section {
  padding: 80px 0 60px;
  background: var(--ivory-white);
}

.faq-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto 32px;
  flex-wrap: wrap;
}

.faq-search {
  flex: 1;
  min-width: 240px;
  padding: 14px 18px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
  border: 2px solid rgba(35, 37, 43, 0.12);
  border-radius: 10px;
  color: var(--charcoal-slate);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-search:focus {
  outline: none;
  border-color: var(--casino-red);
  box-shadow: 0 0 0 3px rgba(179, 19, 27, 0.1);
}

.faq-search-meta {
  font-size: 0.9rem;
  color: rgba(35, 37, 43, 0.6);
  font-weight: 500;
}

.faq-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto 56px;
  padding: 24px;
  background: var(--white);
  border: 1px solid rgba(35, 37, 43, 0.08);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.faq-toc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal-slate);
  background: var(--ivory-white);
  border: 1px solid rgba(35, 37, 43, 0.08);
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.faq-toc-link:hover {
  background: var(--casino-red);
  color: var(--ivory-white);
  border-color: var(--casino-red);
}

.faq-toc-count {
  color: rgba(35, 37, 43, 0.5);
  font-weight: 500;
  font-size: 0.85rem;
}

.faq-toc-link:hover .faq-toc-count {
  color: rgba(247, 243, 238, 0.75);
}

.faq-categories {
  max-width: 860px;
  margin: 0 auto;
}

.faq-category {
  margin-bottom: 64px;
  scroll-margin-top: 80px;
}

.faq-category-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--antique-gold);
}

.faq-category-header h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--charcoal-slate);
  margin-bottom: 8px;
}

.faq-category-intro {
  color: rgba(35, 37, 43, 0.7);
  font-size: 1rem;
  margin: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid rgba(35, 37, 43, 0.08);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(198, 161, 91, 0.4);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--charcoal-slate);
  line-height: 1.45;
  transition: background-color 0.15s ease;
}

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

.faq-question:hover {
  background-color: rgba(247, 243, 238, 0.7);
}

.faq-q-text {
  flex: 1;
}

.faq-q-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--casino-red);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-q-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 4px 22px 22px;
  color: rgba(35, 37, 43, 0.85);
  line-height: 1.7;
  font-size: 0.98rem;
}

.faq-answer p {
  margin: 0;
}

.faq-empty {
  text-align: center;
  padding: 40px 20px;
  color: rgba(35, 37, 43, 0.6);
  font-style: italic;
}

@media (max-width: 768px) {
  .faq-toc {
    padding: 16px;
  }

  .faq-toc-link {
    font-size: 0.85rem;
    padding: 6px 12px;
  }

  .faq-question {
    padding: 16px 18px;
    font-size: 0.98rem;
  }

  .faq-answer {
    padding: 4px 18px 18px;
  }

  .faq-category {
    margin-bottom: 48px;
  }
}

/* Hero single-CTA meta line */
.hero-ctas--single {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.hero-cta-meta {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(247, 243, 238, 0.62);
  letter-spacing: 0.01em;
}

/* Why-deal feature grid */
.why-deal {
  padding: 96px 0;
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  max-width: 1140px;
  margin: 0 auto;
}

.why-card {
  background: var(--ivory-white);
  border: 1px solid rgba(35, 37, 43, 0.08);
  border-radius: 14px;
  padding: 32px 28px;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.why-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
  border-color: rgba(198, 161, 91, 0.4);
}

.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(198, 161, 91, 0.12);
  margin-bottom: 18px;
}

.why-card h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
  color: var(--charcoal-slate);
}

.why-card p {
  color: rgba(35, 37, 43, 0.72);
  line-height: 1.6;
  font-size: 0.96rem;
  margin: 0;
}

/* Inline text-link helper for "See all 219 answers" */
.text-link {
  color: var(--casino-red);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dotted rgba(179, 19, 27, 0.4);
}

.text-link:hover {
  border-bottom-color: var(--casino-red);
}

/* ─────────────────────────────────────────
   MOBILE OVERFLOW HARDENING (Resources + global)
───────────────────────────────────────── */
html, body {
  overflow-x: hidden;
}

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

.page-hero-title,
.article-title,
.article-excerpt,
.page-hero-sub,
.resource-card h3,
.resource-card p,
.article-content,
.article-content p,
.article-content li,
.article-content h2,
.article-content h3 {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.article-content {
  max-width: 100%;
}

@media (max-width: 740px) {
  .article-content {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.75;
  }
  .article-content h2 {
    font-size: 1.35rem;
    margin: 32px 0 12px;
  }
  .article-hero {
    padding: 100px 0 28px;
  }
  .article-body {
    padding: 36px 0 56px;
  }
  .article-meta-top {
    gap: 8px;
  }
  .article-cta {
    padding: 50px 0;
  }
  .article-cta-inner h2 {
    font-size: 1.4rem;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 18px;
  }
  .page-hero {
    padding: 110px 0 50px;
  }
  .page-hero-title {
    font-size: clamp(1.75rem, 8vw, 2.4rem);
    line-height: 1.15;
  }
  .page-hero-sub {
    font-size: 0.98rem;
  }
  .resources-section {
    padding: 48px 0 64px;
  }
  .resources-filter-bar {
    margin: 0 0 28px;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  .resources-filter {
    padding: 7px 12px;
    font-size: 0.78rem;
    white-space: nowrap;
  }
  .resources-filter-count {
    margin-left: 5px;
    padding: 1px 6px;
    font-size: 0.68rem;
  }
  .resource-card {
    padding: 22px;
  }
  .resource-card h3 {
    font-size: 1rem;
  }
  .resources-cta-inner h2,
  .article-cta-inner h2 {
    font-size: 1.4rem;
  }
  .article-title {
    font-size: clamp(1.6rem, 7vw, 2.1rem);
  }
  .article-excerpt {
    font-size: 1rem;
  }
}

/* ─────────────────────────────────────────
   MARQUEE HERO — Reusable dark animated hero
   Used on /resources, /about, /how-it-works.
   Opt in with class="marquee-hero" on a <section>.
───────────────────────────────────────── */
.marquee-hero {
  position: relative;
  background: var(--midnight-black);
  color: var(--ivory-white);
  overflow: hidden;
  min-height: 92vh;
  padding: 140px 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  gap: 60px;
}

.marquee-hero-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  height: 60vh;
  background: radial-gradient(
    ellipse at center,
    rgba(198, 161, 91, 0.18) 0%,
    rgba(179, 19, 27, 0.08) 35%,
    transparent 70%
  );
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.marquee-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.marquee-hero-badge {
  margin-bottom: 22px;
}

.marquee-hero-title {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  color: var(--ivory-white);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 900;
  margin: 0 0 22px;
}

.marquee-hero-sub {
  font-size: 1.15rem;
  color: rgba(247, 243, 238, 0.72);
  line-height: 1.7;
  font-weight: 300;
  max-width: 580px;
  margin: 0 auto 36px;
}

.marquee-hero-cta {
  margin-bottom: 16px;
}

.marquee-hero-marquee {
  position: relative;
  width: 100%;
  height: 320px;
  flex-shrink: 0;
  overflow: hidden;
  z-index: 1;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}

.marquee-hero-marquee::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(11, 11, 13, 0.55) 0%,
    rgba(11, 11, 13, 0) 30%,
    rgba(11, 11, 13, 0) 70%,
    rgba(11, 11, 13, 0.65) 100%
  );
}

.marquee-hero-marquee-track {
  display: flex;
  gap: 22px;
  width: max-content;
  height: 100%;
  align-items: center;
  padding: 0 22px;
  animation: marquee-hero-scroll 55s linear infinite;
}

.marquee-hero-marquee:hover .marquee-hero-marquee-track {
  animation-play-state: paused;
}

.marquee-hero-card {
  flex-shrink: 0;
  width: 220px;
  height: 290px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(198, 161, 91, 0.18);
  transform: rotate(var(--rot, 0deg));
  background: rgba(247, 243, 238, 0.04);
}

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

@keyframes marquee-hero-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-hero-marquee-track {
    animation: none;
  }
}

@media (max-width: 900px) {
  .marquee-hero {
    min-height: auto;
    padding: 120px 20px 0;
    gap: 40px;
  }
  .marquee-hero-marquee {
    height: 240px;
  }
  .marquee-hero-card {
    width: 160px;
    height: 210px;
    border-radius: 16px;
  }
  .marquee-hero-marquee-track {
    gap: 14px;
    animation-duration: 40s;
  }
}

@media (max-width: 480px) {
  .marquee-hero {
    padding: 100px 18px 0;
    gap: 32px;
  }
  .marquee-hero-sub {
    font-size: 1rem;
    margin-bottom: 28px;
  }
  .marquee-hero-marquee {
    height: 200px;
  }
  .marquee-hero-card {
    width: 140px;
    height: 184px;
  }
}

/* ─────────────────────────────────────────
   FUN AT WORK — Sticky-scroll Photo Gallery
───────────────────────────────────────── */
.fun-gallery {
  background: var(--midnight-black);
  padding: 100px 0 0;
  color: var(--ivory-white);
  position: relative;
  overflow: hidden;
}

.fun-gallery-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.fun-gallery-header .hero-badge {
  margin-bottom: 18px;
}

.fun-gallery-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--ivory-white);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.fun-gallery-header p {
  color: rgba(247, 243, 238, 0.7);
  font-size: 1.05rem;
  line-height: 1.7;
}

.fun-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  padding: 0 14px;
  max-width: 1500px;
  margin: 0 auto;
  align-items: start;
}

.fun-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fun-col:nth-child(2) {
  margin-top: 36px;
}

.fun-figure {
  margin: 0;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(247, 243, 238, 0.04);
  position: relative;
}

.fun-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.fun-figure:hover img {
  transform: scale(1.03);
}

.fun-gallery-cta {
  text-align: center;
  padding: 70px 0 100px;
}

@media (max-width: 900px) {
  .fun-gallery {
    padding: 70px 0 0;
  }
  .fun-gallery-grid {
    grid-template-columns: 1fr;
    padding: 0 18px;
    gap: 12px;
  }
  .fun-col {
    gap: 12px;
  }
  .fun-col:nth-child(2) {
    margin-top: 0;
  }
  .fun-figure {
    aspect-ratio: 4 / 3;
  }
  .fun-gallery-cta {
    padding: 48px 0 70px;
  }
}

/* ─────────────────────────────────────────
   RESOURCE PAGES — Extra-small mobile polish
───────────────────────────────────────── */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .page-hero {
    padding: 96px 0 44px;
  }
  .page-hero-title {
    font-size: clamp(1.55rem, 8.5vw, 2.1rem);
  }
  .page-hero-sub {
    font-size: 0.92rem;
  }
  .resources-section {
    padding: 36px 0 56px;
  }
  .resources-grid {
    gap: 14px;
  }
  .resource-card {
    padding: 18px;
    border-radius: 12px;
  }
  .resource-card h3 {
    font-size: 0.98rem;
  }
  .resource-card p {
    font-size: 0.85rem;
    margin-bottom: 12px;
  }
  .resource-card-meta {
    gap: 8px;
    margin-bottom: 10px;
  }
  .resource-card--featured {
    padding: 22px;
  }
  .resources-filter-bar {
    margin: 0 0 22px;
    padding: 0;
    gap: 6px;
  }
  .resources-filter {
    padding: 6px 10px;
    font-size: 0.74rem;
  }
  .resources-filter-count {
    margin-left: 4px;
    padding: 1px 5px;
    font-size: 0.66rem;
  }
  .article-hero {
    padding: 90px 0 22px;
  }
  .article-title {
    font-size: clamp(1.45rem, 7vw, 1.85rem);
  }
  .article-excerpt {
    font-size: 0.95rem;
  }
  .article-body {
    padding: 28px 0 44px;
  }
  .article-content {
    font-size: 0.97rem;
    line-height: 1.7;
  }
  .article-content h2 {
    font-size: 1.2rem;
    margin: 26px 0 10px;
  }
  .article-content ul,
  .article-content ol {
    margin-left: 20px;
  }
  .article-cta,
  .resources-cta {
    padding: 44px 0;
  }
  .article-cta-inner h2,
  .resources-cta-inner h2 {
    font-size: 1.25rem;
  }
  .article-cta-inner p,
  .resources-cta-inner p {
    font-size: 0.9rem;
  }
  .related-articles-grid {
    gap: 14px !important;
  }
}

/* Ensure related articles section (added by another task) stacks on mobile */
@media (max-width: 740px) {
  .related-articles-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   Events Page
   ========================================================================== */

.events-hero {
  position: relative;
  padding: 130px 0 80px;
  background: var(--midnight-black);
  color: var(--ivory-white);
  overflow: hidden;
}

.events-hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse at center, rgba(198, 161, 91, 0.18), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

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

.events-hero-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.events-hero-badge {
  background: rgba(198, 161, 91, 0.12);
  color: var(--antique-gold);
  border-color: rgba(198, 161, 91, 0.35);
}

.events-hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 18px 0 22px;
  color: var(--ivory-white);
}

.events-hero-headline .sparkles-text strong {
  font-weight: 800;
}

.events-hero-sub {
  font-size: 1.05rem;
  color: rgba(247, 243, 238, 0.78);
  line-height: 1.6;
  margin: 0 auto 24px;
  max-width: 620px;
}

.events-hero-sub strong {
  color: var(--antique-gold);
  font-weight: 600;
}

.events-hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
  font-size: 0.88rem;
  color: rgba(247, 243, 238, 0.7);
}

.events-hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.events-hero-cta {
  margin-top: 4px;
}

/* ---- Main / Toolbar ---- */

.events-main {
  padding: 60px 0 80px;
  background: var(--ivory-white);
}

.events-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.events-toolbar-title {
  font-size: 1.5rem;
  color: var(--charcoal-slate);
  margin: 0;
}

.events-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.events-filter {
  padding: 8px 16px;
  border-radius: 100px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid rgba(35, 37, 43, 0.12);
  color: var(--smoke-gray);
  background: var(--white);
  transition: all 0.2s;
}

.events-filter:hover,
.events-filter.active {
  background: var(--midnight-black);
  color: var(--ivory-white);
  border-color: var(--midnight-black);
}

.events-filter-count {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(35, 37, 43, 0.08);
  color: var(--smoke-gray);
  transition: all 0.2s;
}

.events-filter:hover .events-filter-count,
.events-filter.active .events-filter-count {
  background: rgba(247, 243, 238, 0.18);
  color: var(--ivory-white);
}

/* ---- Table ---- */

.events-table-wrap {
  background: var(--white);
  border: 1px solid rgba(35, 37, 43, 0.08);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.events-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.92rem;
  color: var(--charcoal-slate);
}

.events-table thead th {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--smoke-gray);
  padding: 14px 12px;
  border-bottom: 1px solid rgba(35, 37, 43, 0.1);
}

.events-table tbody tr {
  transition: background-color 0.15s;
}

.events-table tbody tr:nth-child(even) {
  background: rgba(35, 37, 43, 0.02);
}

.events-table tbody tr:hover {
  background: rgba(198, 161, 91, 0.07);
}

.events-table td {
  padding: 18px 12px;
  vertical-align: middle;
  border-bottom: 1px solid rgba(35, 37, 43, 0.05);
}

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

/* Date column */
.evt-col-date {
  width: 84px;
  text-align: center;
}

.evt-date-month {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--casino-red);
}

.evt-date-day {
  font-family: 'Playfair Display', serif;
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1;
  color: var(--charcoal-slate);
  margin-top: 2px;
}

.evt-date-dow {
  font-size: 0.72rem;
  color: var(--smoke-gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.evt-time-mobile {
  display: none;
}

/* Event column */
.evt-event-name {
  font-weight: 600;
  color: var(--charcoal-slate);
  font-size: 0.98rem;
  line-height: 1.35;
}

.evt-event-time {
  font-size: 0.78rem;
  color: var(--smoke-gray);
  margin-top: 4px;
}

/* Location */
.evt-venue {
  font-weight: 500;
  color: var(--charcoal-slate);
}

.evt-city {
  font-size: 0.8rem;
  color: var(--smoke-gray);
  margin-top: 3px;
}

/* Games */
.evt-games-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.evt-game-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(198, 161, 91, 0.12);
  color: #8b6f3a;
  border: 1px solid rgba(198, 161, 91, 0.25);
}

/* Need */
.evt-col-need {
  text-align: center;
  width: 70px;
}

.evt-need-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--charcoal-slate);
  line-height: 1;
}

.evt-need-label {
  font-size: 0.7rem;
  color: var(--smoke-gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* Pay */
.evt-col-pay {
  font-weight: 600;
  color: var(--casino-red);
  white-space: nowrap;
}

/* Status */
.evt-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.evt-status--open {
  background: rgba(74, 222, 128, 0.16);
  color: #16a34a;
}

.evt-status--filling {
  background: rgba(250, 204, 21, 0.18);
  color: #b45309;
}

.evt-status--filled {
  background: rgba(35, 37, 43, 0.08);
  color: var(--smoke-gray);
}

/* CTA */
.evt-col-cta {
  text-align: right;
  white-space: nowrap;
}

.evt-apply-btn {
  padding: 7px 14px;
  font-size: 0.82rem;
}

/* Empty / disclaimer */
.events-empty {
  text-align: center;
  padding: 48px 16px;
  color: var(--smoke-gray);
  font-size: 0.95rem;
}

.events-disclaimer {
  margin-top: 24px;
  padding: 14px 18px;
  background: rgba(198, 161, 91, 0.06);
  border: 1px solid rgba(198, 161, 91, 0.18);
  border-radius: 10px;
}

.events-disclaimer p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--smoke-gray);
  line-height: 1.5;
}

/* ---- Bottom CTA ---- */

.events-cta {
  background: var(--midnight-black);
  padding: 80px 0;
  color: var(--ivory-white);
}

.events-cta-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.events-cta-inner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  color: var(--ivory-white);
  margin-bottom: 14px;
}

.events-cta-inner p {
  font-size: 1.02rem;
  color: rgba(247, 243, 238, 0.72);
  line-height: 1.6;
  margin-bottom: 28px;
}

/* ---- Mobile: convert rows to cards ---- */

@media (max-width: 900px) {
  .events-hero {
    padding: 110px 0 60px;
  }

  .events-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .events-table-wrap {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    overflow: visible;
  }

  .events-table {
    display: block;
  }

  .events-table thead {
    display: none;
  }

  .events-table tbody {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .events-table tbody tr,
  .events-table tbody tr:nth-child(even) {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "date    event"
      "date    location"
      "games   games"
      "meta    meta"
      "cta     cta";
    column-gap: 16px;
    row-gap: 10px;
    background: var(--white);
    border: 1px solid rgba(35, 37, 43, 0.08);
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  }

  .events-table tbody tr:hover {
    background: var(--white);
  }

  .events-table tbody tr td {
    border-bottom: none;
    padding: 0;
  }

  .evt-col-date {
    grid-area: date;
    width: auto;
    min-width: 64px;
    padding: 6px 12px !important;
    background: rgba(179, 19, 27, 0.06);
    border-radius: 10px;
    align-self: start;
  }

  .evt-time-mobile {
    display: none;
  }

  .evt-col-event {
    grid-area: event;
    align-self: end;
  }

  .evt-col-location {
    grid-area: location;
  }

  .evt-col-games {
    grid-area: games;
  }

  .evt-col-need,
  .evt-col-pay,
  .evt-col-status {
    grid-area: unset;
  }

  .evt-col-need {
    display: none;
  }

  .evt-col-pay,
  .evt-col-status {
    display: inline-flex;
  }

  /* meta row: pay + status side by side */
  .events-table tbody tr {
    grid-template-areas:
      "date    event"
      "date    location"
      "games   games"
      "pay     status"
      "cta     cta";
  }

  .evt-col-pay {
    grid-area: pay;
    align-self: center;
    font-size: 1rem;
  }

  .evt-col-status {
    grid-area: status;
    text-align: right;
    justify-content: flex-end;
    align-self: center;
  }

  .evt-col-cta {
    grid-area: cta;
    text-align: stretch;
  }

  .evt-apply-btn {
    width: 100%;
    justify-content: center;
    padding: 10px 14px;
    font-size: 0.9rem;
  }
}

@media (max-width: 600px) {
  .events-main {
    padding: 40px 0 60px;
  }

  .events-cta {
    padding: 56px 0;
  }

  .evt-event-name {
    font-size: 0.94rem;
  }
}

/* ==========================================================================
   ADMIN PANEL (PIN-protected /admin/*)
   ========================================================================== */
.admin-body {
  background: #0f0f12;
  color: var(--ivory-white);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  margin: 0;
}
.admin-body * { box-sizing: border-box; }

.admin-header {
  background: #16161a;
  border-bottom: 1px solid rgba(198, 161, 91, 0.18);
  position: sticky;
  top: 0;
  z-index: 50;
}
.admin-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.admin-brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.admin-brand .brand-casino { color: var(--casino-red); }
.admin-brand .brand-party  { color: var(--ivory-white); }
.admin-brand .brand-dealers { color: var(--antique-gold); }
.admin-tag {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  background: var(--antique-gold);
  color: #111;
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 8px;
  font-weight: 700;
}
.admin-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.admin-nav-link {
  color: rgba(247, 243, 238, 0.78);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s;
}
.admin-nav-link:hover { color: var(--antique-gold); }
.admin-signout-btn {
  background: transparent;
  border: 1px solid rgba(198, 161, 91, 0.4);
  color: var(--antique-gold);
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.admin-signout-btn:hover { background: rgba(198, 161, 91, 0.12); }
.admin-signout-btn form, form.button_to { margin: 0; display: inline; }

.admin-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

.admin-flash {
  padding: 12px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-weight: 500;
  font-size: 0.95rem;
}
.admin-flash--notice {
  background: rgba(46, 160, 67, 0.14);
  border: 1px solid rgba(46, 160, 67, 0.4);
  color: #6fdc8c;
}
.admin-flash--alert {
  background: rgba(179, 19, 27, 0.16);
  border: 1px solid rgba(179, 19, 27, 0.5);
  color: #ff8b91;
}

/* ---- Login screen ---- */
.admin-login-wrap {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.admin-login-card {
  background: #16161a;
  border: 1px solid rgba(198, 161, 91, 0.22);
  border-radius: 14px;
  padding: 48px 40px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}
.admin-login-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.9rem;
  margin: 0 0 8px;
  color: var(--ivory-white);
}
.admin-login-sub {
  color: rgba(247, 243, 238, 0.6);
  font-size: 0.95rem;
  margin: 0 0 28px;
}
.admin-login-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.admin-pin-input {
  background: #0b0b0d;
  border: 1px solid rgba(198, 161, 91, 0.3);
  color: var(--ivory-white);
  font-size: 1.6rem;
  letter-spacing: 0.4em;
  text-align: center;
  padding: 16px 14px;
  border-radius: 10px;
  font-family: 'Inter', monospace;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.admin-pin-input:focus {
  border-color: var(--antique-gold);
  box-shadow: 0 0 0 3px rgba(198, 161, 91, 0.18);
}
.admin-login-btn { width: 100%; }

/* ---- Page chrome ---- */
.admin-page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(198, 161, 91, 0.18);
}
.admin-page-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  margin: 0 0 4px;
  color: var(--ivory-white);
}
.admin-page-sub {
  color: rgba(247, 243, 238, 0.6);
  margin: 0;
  font-size: 0.95rem;
}

.admin-section { margin-top: 36px; }
.admin-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--antique-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 14px;
}
.admin-empty {
  background: #16161a;
  border: 1px dashed rgba(198, 161, 91, 0.25);
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  color: rgba(247, 243, 238, 0.55);
}

/* ---- Tables ---- */
.admin-table-wrap {
  background: #16161a;
  border: 1px solid rgba(198, 161, 91, 0.16);
  border-radius: 12px;
  overflow-x: auto;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 800px;
}
.admin-table thead th {
  text-align: left;
  padding: 14px 16px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247, 243, 238, 0.5);
  border-bottom: 1px solid rgba(198, 161, 91, 0.18);
  background: #131316;
}
.admin-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: top;
}
.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover { background: rgba(198, 161, 91, 0.04); }
.admin-table--muted { opacity: 0.85; }

.admin-text-muted { color: rgba(247, 243, 238, 0.5); font-size: 0.85rem; }

.admin-pill {
  display: inline-block;
  background: rgba(198, 161, 91, 0.12);
  color: var(--antique-gold);
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  margin: 2px 3px 2px 0;
  font-weight: 500;
}

.admin-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.admin-status--open      { background: rgba(46, 160, 67, 0.18); color: #6fdc8c; }
.admin-status--filling   { background: rgba(255, 168, 38, 0.18); color: #ffc26b; }
.admin-status--filled    { background: rgba(120, 120, 130, 0.22); color: #c4c4cc; }
.admin-status--completed { background: rgba(80, 80, 90, 0.22); color: #888892; }

.admin-table-actions-col { width: 1%; white-space: nowrap; }
.admin-table-actions {
  white-space: nowrap;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.admin-table-actions form { display: inline; margin: 0; }

.admin-action {
  display: inline-block;
  background: var(--antique-gold);
  color: #111;
  padding: 7px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--antique-gold);
  cursor: pointer;
  font-family: inherit;
  transition: filter 0.15s;
}
.admin-action:hover { filter: brightness(1.1); }
.admin-action--ghost {
  background: transparent;
  color: var(--antique-gold);
  border-color: rgba(198, 161, 91, 0.4);
}
.admin-action--ghost:hover { background: rgba(198, 161, 91, 0.12); }
.admin-action--danger {
  background: transparent;
  color: #ff8b91;
  border-color: rgba(179, 19, 27, 0.5);
}
.admin-action--danger:hover { background: rgba(179, 19, 27, 0.18); }

/* ---- Forms ---- */
.admin-form {
  background: #16161a;
  border: 1px solid rgba(198, 161, 91, 0.16);
  border-radius: 12px;
  padding: 28px;
}
.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.admin-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.admin-form-group--span { grid-column: 1 / -1; }
.admin-form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(247, 243, 238, 0.85);
  letter-spacing: 0.02em;
}
.admin-input {
  background: #0b0b0d;
  border: 1px solid rgba(198, 161, 91, 0.22);
  color: var(--ivory-white);
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}
.admin-input:focus {
  border-color: var(--antique-gold);
  box-shadow: 0 0 0 3px rgba(198, 161, 91, 0.15);
}
select.admin-input {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--antique-gold) 50%), linear-gradient(135deg, var(--antique-gold) 50%, transparent 50%);
  background-position: calc(100% - 18px) center, calc(100% - 13px) center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.admin-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px;
  background: #0b0b0d;
  border: 1px solid rgba(198, 161, 91, 0.2);
  border-radius: 8px;
  padding: 14px;
}
.admin-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: rgba(247, 243, 238, 0.88);
  cursor: pointer;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}
.admin-checkbox-label input[type="checkbox"] {
  accent-color: var(--antique-gold);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.admin-form-actions {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .admin-form-grid { grid-template-columns: 1fr; }
  .admin-page-title { font-size: 1.5rem; }
  .admin-main { padding: 20px 16px 60px; }
  .admin-form { padding: 20px; }
}

/* ==========================================================================
   BARISTAS LANDING PAGE (/baristas)
   ========================================================================== */
.baristas-hero .join-hero-title { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.1; }

.baristas-why {
  background: var(--ivory-white);
  padding: 90px 0;
}
.baristas-why-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.baristas-why-header h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  color: var(--midnight-black);
  margin: 12px 0 14px;
}
.baristas-why-header p {
  color: var(--smoke-gray);
  font-size: 1.05rem;
  line-height: 1.65;
}
.baristas-skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.baristas-skill-card {
  background: #fff;
  border: 1px solid rgba(11, 11, 13, 0.08);
  border-radius: 14px;
  padding: 28px 26px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.baristas-skill-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(11, 11, 13, 0.08);
  border-color: rgba(198, 161, 91, 0.4);
}
.baristas-skill-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  display: inline-block;
}
.baristas-skill-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  color: var(--midnight-black);
  margin: 0 0 8px;
}
.baristas-skill-card p {
  color: var(--charcoal-slate);
  font-size: 0.96rem;
  line-height: 1.6;
  margin: 0;
}

.baristas-compare {
  background: var(--midnight-black);
  color: var(--ivory-white);
  padding: 90px 0;
}
.baristas-compare-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}
.baristas-compare-header h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  margin: 12px 0 12px;
  color: var(--ivory-white);
}
.baristas-compare-header p {
  color: rgba(247, 243, 238, 0.7);
  font-size: 1.05rem;
}
.baristas-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.baristas-compare-col {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(247, 243, 238, 0.1);
  border-radius: 14px;
  padding: 32px 28px;
}
.baristas-compare-col--cpd {
  border-color: rgba(198, 161, 91, 0.5);
  background: linear-gradient(180deg, rgba(198, 161, 91, 0.08), rgba(198, 161, 91, 0.02));
  position: relative;
  box-shadow: 0 20px 60px rgba(198, 161, 91, 0.12);
}
.baristas-compare-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  background: rgba(247, 243, 238, 0.1);
  color: rgba(247, 243, 238, 0.75);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.baristas-compare-tag--gold {
  background: var(--antique-gold);
  color: #111;
}
.baristas-compare-col h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  margin: 0 0 22px;
  color: var(--ivory-white);
}
.baristas-compare-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.baristas-compare-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid rgba(247, 243, 238, 0.07);
  font-size: 0.98rem;
}
.baristas-compare-list li:last-child {
  border-bottom: none;
  padding-top: 18px;
  margin-top: 6px;
  border-top: 1px solid rgba(247, 243, 238, 0.18);
  font-weight: 700;
}
.bc-label { color: rgba(247, 243, 238, 0.65); }
.bc-value { color: var(--ivory-white); font-weight: 600; }
.baristas-compare-col--cpd .baristas-compare-list li:last-child .bc-value { color: var(--antique-gold); font-size: 1.1rem; }
.baristas-compare-fineprint {
  text-align: center;
  margin: 32px auto 0;
  color: rgba(247, 243, 238, 0.45);
  font-size: 0.85rem;
  font-style: italic;
}

@media (max-width: 720px) {
  .baristas-compare-grid { grid-template-columns: 1fr; }
  .baristas-why, .baristas-compare { padding: 60px 0; }
}

.footer-bottom-admin {
  margin-top: 8px;
  font-size: 0.78rem;
  opacity: 0.45;
  text-align: center;
}
.footer-bottom-admin a {
  color: var(--antique-gold);
  text-decoration: none;
}
.footer-bottom-admin a:hover { opacity: 1; text-decoration: underline; }

/* ==========================================================================
   /admin/bust — Retro 64-bit Casino "BUST!" lockout screen
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=VT323&display=swap');

.bust-stage {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background:
    radial-gradient(ellipse at center, rgba(179, 19, 27, 0.18), transparent 65%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0 2px, transparent 2px 4px),
    #0b0b0d;
  position: relative;
  overflow: hidden;
}
.bust-stage::before, .bust-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 30%, rgba(198,161,91,0.08), transparent 35%),
    radial-gradient(circle at 82% 70%, rgba(179,19,27,0.12), transparent 40%);
}
.bust-stage::after {
  background: linear-gradient(180deg, transparent 0%, rgba(11,11,13,0.5) 100%);
}

.bust-saloon {
  position: relative;
  z-index: 2;
  max-width: 640px;
  width: 100%;
  padding: 50px 36px 38px;
  background: linear-gradient(180deg, #14110f 0%, #1a1714 100%);
  border: 4px solid var(--antique-gold);
  border-radius: 6px;
  box-shadow:
    0 0 0 4px #0b0b0d,
    0 0 0 6px var(--antique-gold),
    0 30px 80px rgba(0,0,0,0.7),
    inset 0 0 0 1px rgba(198,161,91,0.4);
  text-align: center;
  font-family: 'VT323', monospace;
  color: var(--ivory-white);
}

.bust-bulbs {
  position: absolute;
  top: -12px; left: 12px; right: 12px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.bust-bulb {
  width: 10px; height: 10px;
  background: var(--antique-gold);
  border-radius: 50%;
  box-shadow: 0 0 6px #ffd980, 0 0 12px rgba(255,217,128,0.6);
  animation: bustBlink 1.2s steps(2, end) infinite;
  animation-delay: calc(var(--i) * 0.1s);
}
@keyframes bustBlink {
  0%, 49%   { opacity: 1; background: var(--antique-gold); }
  50%, 100% { opacity: 0.25; background: #6a4d20; box-shadow: none; }
}

.bust-cards {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-bottom: 18px;
}
.bust-card {
  width: 56px;
  height: 76px;
  background: var(--ivory-white);
  border: 3px solid #0b0b0d;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Press Start 2P', monospace;
  color: #0b0b0d;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.5);
  position: relative;
  animation: bustCardWobble 2.4s ease-in-out infinite;
}
.bust-card--left  { transform: rotate(-12deg); animation-delay: 0s; }
.bust-card--right { transform: rotate(12deg);  animation-delay: 0.3s; color: var(--casino-red); }
.bust-card-rank {
  font-size: 1.05rem;
  line-height: 1;
  margin-bottom: 4px;
}
.bust-card-suit {
  font-family: 'Press Start 2P', monospace;
  font-size: 1.2rem;
  line-height: 1;
}
.bust-card--right .bust-card-suit { color: var(--casino-red); }
@keyframes bustCardWobble {
  0%, 100% { transform: rotate(-12deg) translateY(0); }
  50%      { transform: rotate(-8deg)  translateY(-4px); }
}
.bust-card--right { animation-name: bustCardWobbleR; }
@keyframes bustCardWobbleR {
  0%, 100% { transform: rotate(12deg) translateY(0); }
  50%      { transform: rotate(8deg)  translateY(-4px); }
}

.bust-headline {
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(2.4rem, 8vw, 4.4rem);
  line-height: 1;
  margin: 6px 0 22px;
  color: var(--casino-red);
  text-shadow:
    4px 0 0 #0b0b0d,
    -4px 0 0 #0b0b0d,
    0 4px 0 #0b0b0d,
    0 -4px 0 #0b0b0d,
    4px 4px 0 var(--antique-gold),
    8px 8px 0 rgba(0,0,0,0.4);
  letter-spacing: 0.04em;
  display: inline-block;
  animation: bustShake 0.6s ease-in-out 3;
}
.bust-letter {
  display: inline-block;
  animation: bustDrop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
  animation-delay: calc(var(--d) * 0.08s);
}
.bust-letter--bang {
  color: var(--antique-gold);
  animation: bustDrop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) backwards, bustBangPulse 0.9s ease-in-out infinite 0.6s;
  animation-delay: calc(var(--d) * 0.08s), 0.6s;
}
@keyframes bustDrop {
  0%   { transform: translateY(-120px) rotate(-12deg); opacity: 0; }
  60%  { transform: translateY(8px)   rotate(2deg);  opacity: 1; }
  100% { transform: translateY(0)     rotate(0);     opacity: 1; }
}
@keyframes bustShake {
  0%, 100% { transform: translateX(0); }
  20%      { transform: translateX(-8px) rotate(-1deg); }
  40%      { transform: translateX(8px)  rotate(1deg); }
  60%      { transform: translateX(-5px); }
  80%      { transform: translateX(5px); }
}
@keyframes bustBangPulse {
  0%, 100% { transform: scale(1) rotate(0); }
  50%      { transform: scale(1.18) rotate(6deg); }
}

.bust-subbanner {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--antique-gold);
  margin-bottom: 24px;
  text-transform: uppercase;
}
.bust-subbanner-dot { color: var(--casino-red); margin: 0 8px; }

.bust-message {
  font-family: 'VT323', monospace;
  font-size: 1.55rem;
  line-height: 1.35;
  color: var(--ivory-white);
  max-width: 460px;
  margin: 0 auto 28px;
}
.bust-message strong { color: var(--antique-gold); font-weight: normal; }

.bust-timer-wrap {
  background: #0b0b0d;
  border: 3px solid var(--antique-gold);
  border-radius: 4px;
  padding: 14px 18px;
  display: inline-block;
  margin-bottom: 24px;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,0.6), 4px 4px 0 rgba(0,0,0,0.5);
  min-width: 220px;
}
.bust-timer-label {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: rgba(247,243,238,0.55);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.bust-timer {
  font-family: 'Press Start 2P', monospace;
  font-size: 1.7rem;
  color: var(--casino-red);
  text-shadow: 2px 2px 0 #0b0b0d, 0 0 8px rgba(179,19,27,0.6);
  animation: bustTimerPulse 1s ease-in-out infinite;
}
@keyframes bustTimerPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.55; }
}

.bust-retry-btn {
  display: inline-block;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  background: #2a1a0a;
  color: rgba(247,243,238,0.5);
  border: 3px solid #4a3a2a;
  padding: 14px 24px;
  border-radius: 4px;
  text-transform: uppercase;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.5);
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s, color 0.2s, border-color 0.2s;
}
.bust-retry-btn[aria-disabled="true"] { opacity: 0.7; }
.bust-retry-btn--ready,
.bust-retry-btn:not([aria-disabled]) {
  background: var(--casino-red);
  color: var(--ivory-white);
  border-color: var(--antique-gold);
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 4px 4px 0 var(--antique-gold), 8px 8px 0 rgba(0,0,0,0.5);
  animation: bustReadyPulse 1.4s ease-in-out infinite;
}
.bust-retry-btn--ready:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--antique-gold), 10px 10px 0 rgba(0,0,0,0.5);
}
@keyframes bustReadyPulse {
  0%, 100% { box-shadow: 4px 4px 0 var(--antique-gold), 8px 8px 0 rgba(0,0,0,0.5); }
  50%      { box-shadow: 4px 4px 0 #ffd980, 8px 8px 0 rgba(0,0,0,0.5); }
}
.bust-retry-arrow {
  display: inline-block;
  margin-right: 6px;
  animation: bustArrowSlide 1s ease-in-out infinite;
}
@keyframes bustArrowSlide {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(-4px); }
}

.bust-fineprint {
  margin-top: 22px;
  font-family: 'VT323', monospace;
  font-size: 1.1rem;
  color: rgba(247,243,238,0.4);
  letter-spacing: 0.05em;
}

@media (max-width: 600px) {
  .bust-saloon { padding: 36px 20px 28px; }
  .bust-headline { font-size: clamp(2rem, 14vw, 3.2rem); }
  .bust-card { width: 48px; height: 66px; }
}

/* ==========================================================================
   SEO/AEO: Quick Answer block, Pillar pages, Intercept additions
   ========================================================================== */

/* Quick Answer / TL;DR block (AEO-friendly, lifted by answer engines) */
.quick-answer-section {
  background: var(--ivory-white);
  padding: 36px 0;
}
.quick-answer-section--first { padding-top: 48px; }
.quick-answer {
  max-width: 880px;
  margin: 0 auto;
  background: linear-gradient(180deg, #fffaf0 0%, #fff7e6 100%);
  border-left: 4px solid var(--antique-gold);
  border-radius: 6px;
  padding: 22px 28px;
  box-shadow: 0 4px 24px rgba(11, 11, 13, 0.04);
}
.quick-answer-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--casino-red);
  margin-bottom: 6px;
}
.quick-answer-text {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--midnight-black);
  font-weight: 500;
}

/* Pillar page layout */
.pillar-hero {
  background: linear-gradient(180deg, var(--midnight-black) 0%, #15161a 100%);
  color: var(--ivory-white);
  padding: 100px 0 70px;
  text-align: center;
  border-bottom: 1px solid var(--graphite-line);
}
.pillar-hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin: 18px 0 18px;
  color: var(--ivory-white);
}
.pillar-hero-sub {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(247, 243, 238, 0.78);
}
.pillar-body {
  background: var(--ivory-white);
  padding: 60px 0 100px;
}
.pillar-container {
  max-width: 820px;
}
.pillar-container h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--midnight-black);
  margin: 50px 0 18px;
  line-height: 1.2;
}
.pillar-container h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  color: var(--midnight-black);
  margin: 28px 0 12px;
}
.pillar-container p,
.pillar-container ul,
.pillar-container ol {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--charcoal-slate);
  margin: 0 0 16px;
}
.pillar-container ul, .pillar-container ol { padding-left: 22px; }
.pillar-container li { margin-bottom: 8px; }
.pillar-container a {
  color: var(--casino-red);
  text-decoration: underline;
  text-decoration-color: rgba(179, 19, 27, 0.35);
  text-underline-offset: 3px;
}
.pillar-container a:hover { color: var(--velvet-crimson); }
.pillar-container > h2:first-of-type { margin-top: 10px; }

.pillar-steps {
  margin: 18px 0 32px;
  display: grid;
  gap: 14px;
}
.pillar-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  background: #fff;
  border: 1px solid rgba(11, 11, 13, 0.08);
  border-radius: 12px;
  padding: 20px 22px;
}
.pillar-step-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--antique-gold);
  line-height: 1;
}
.pillar-step h3 { margin: 0 0 6px; font-size: 1.15rem; }
.pillar-step p { margin: 0; }

.pillar-compare-table-wrap {
  overflow-x: auto;
  margin: 18px 0 30px;
  border-radius: 10px;
  border: 1px solid rgba(11, 11, 13, 0.1);
}
.pillar-compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.96rem;
}
.pillar-compare-table th,
.pillar-compare-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(11, 11, 13, 0.06);
}
.pillar-compare-table th {
  background: var(--midnight-black);
  color: var(--ivory-white);
  font-weight: 600;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pillar-compare-table tbody tr:last-child td { border-bottom: none; }
.pillar-compare-table tbody tr:nth-child(even) td { background: rgba(198, 161, 91, 0.04); }
.pillar-compare-table .cell-good { color: var(--casino-red); }

.pillar-market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 20px 0 32px;
}
.pillar-market-card {
  background: #fff;
  border: 1px solid rgba(11, 11, 13, 0.08);
  border-radius: 12px;
  padding: 22px 20px;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.pillar-market-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(11, 11, 13, 0.08);
  border-color: rgba(198, 161, 91, 0.45);
}
.pillar-market-card h3 {
  margin: 0 0 4px;
  font-size: 1.15rem;
}
.pillar-market-card p {
  margin: 0 0 12px;
  color: var(--smoke-gray);
  font-size: 0.92rem;
}
.pillar-market-link {
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none !important;
}

.pillar-cta-block {
  background: linear-gradient(180deg, var(--midnight-black) 0%, #1a1c22 100%);
  border-radius: 14px;
  padding: 36px 32px;
  margin: 40px 0 30px;
  text-align: center;
  color: var(--ivory-white);
}
.pillar-cta-block h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--ivory-white);
  font-size: 1.5rem;
  margin: 0 0 10px;
}
.pillar-cta-block p {
  color: rgba(247, 243, 238, 0.78);
  margin: 0 0 22px;
}
.pillar-cta-block a.btn { text-decoration: none !important; color: var(--ivory-white) !important; }

.pillar-related-list { list-style: none; padding-left: 0; }
.pillar-related-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(11, 11, 13, 0.08);
}
.pillar-related-list li:last-child { border-bottom: none; }

/* Intercept page additions */
.intercept-faq {
  background: var(--ivory-white);
  padding: 80px 0;
}
.intercept-faq .faq-list {
  max-width: 760px;
  margin: 32px auto 0;
}
.intercept-siblings {
  background: var(--midnight-black);
  color: var(--ivory-white);
  padding: 70px 0;
}
.intercept-siblings-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}
.intercept-siblings-header h2 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--ivory-white);
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  margin: 10px 0 10px;
}
.intercept-siblings-header p {
  color: rgba(247, 243, 238, 0.7);
  margin: 0;
}
.intercept-siblings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  max-width: 920px;
  margin: 0 auto;
}
.intercept-sibling-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(247, 243, 238, 0.1);
  border-radius: 10px;
  padding: 18px 20px;
  color: var(--ivory-white);
  text-decoration: none;
  font-weight: 500;
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
}
.intercept-sibling-card:hover {
  background: rgba(198, 161, 91, 0.1);
  border-color: rgba(198, 161, 91, 0.5);
  transform: translateY(-2px);
}
.intercept-sibling-arrow {
  color: var(--antique-gold);
  font-size: 1.2rem;
  font-weight: 700;
}
.intercept-sibling-label { flex: 1; }

/* Resource article cross-link callout */
.article-industry-callout {
  background: var(--ivory-white);
  padding: 50px 0;
  border-top: 1px solid rgba(11, 11, 13, 0.06);
  border-bottom: 1px solid rgba(11, 11, 13, 0.06);
}
.article-industry-callout-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, #fdf8ef 100%);
  border: 1px solid rgba(198, 161, 91, 0.3);
  border-radius: 14px;
  padding: 32px 28px;
}
.article-industry-callout-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--casino-red);
  margin-bottom: 8px;
}
.article-industry-callout h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  margin: 0 0 8px;
  color: var(--midnight-black);
}
.article-industry-callout p {
  color: var(--charcoal-slate);
  margin: 0 0 18px;
}
.article-industry-callout-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.article-industry-callout-links a {
  display: inline-block;
  padding: 8px 16px;
  background: var(--midnight-black);
  color: var(--ivory-white);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 6px;
  border: 1px solid var(--antique-gold);
  transition: background 0.18s, transform 0.18s;
}
.article-industry-callout-links a:hover {
  background: var(--casino-red);
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .pillar-step { grid-template-columns: 44px 1fr; padding: 16px 18px; }
  .pillar-step-num { font-size: 1.5rem; }
  .pillar-cta-block { padding: 28px 20px; }
}

/* ============ Resources Pillars Grid ============ */
.resources-pillars {
  padding: 64px 0;
  background: var(--ivory-white);
  border-top: 1px solid rgba(35,37,43,0.08);
}
.resources-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 32px;
}
.resources-pillar-card {
  display: block;
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(35,37,43,0.1);
  border-radius: 14px;
  color: var(--charcoal-slate);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.resources-pillar-card:hover {
  border-color: var(--antique-gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(11,11,13,0.08);
}
.resources-pillar-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--casino-red);
  margin-bottom: 10px;
}
.resources-pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0 0 10px;
  color: var(--midnight-black);
  line-height: 1.25;
}
.resources-pillar-card p {
  font-size: 0.95rem;
  color: var(--smoke-gray);
  margin: 0 0 14px;
  line-height: 1.5;
}
.resources-pillar-cta {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--casino-red);
}

/* ============ Intercept Read-Next Block ============ */
.intercept-readnext {
  padding: 64px 0;
  background: var(--ivory-white);
  border-top: 1px solid rgba(35,37,43,0.08);
}
.intercept-readnext-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 32px;
}
.intercept-readnext-card {
  display: block;
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(35,37,43,0.1);
  border-radius: 14px;
  color: var(--charcoal-slate);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.intercept-readnext-card:hover {
  border-color: var(--antique-gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(11,11,13,0.08);
}
.intercept-readnext-card--feature {
  background: linear-gradient(135deg, rgba(179,19,27,0.04), rgba(198,161,91,0.06));
  border-color: rgba(198,161,91,0.4);
}
.intercept-readnext-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 10px 0;
  color: var(--midnight-black);
  line-height: 1.3;
}
.intercept-readnext-card p {
  font-size: 0.95rem;
  color: var(--smoke-gray);
  margin: 0 0 14px;
  line-height: 1.5;
}

/* ============== Dealer Auth + Dashboard + Trainer ============== */
.dealer-auth-section { padding: 110px 0 80px; min-height: 70vh; background: linear-gradient(180deg, #0B0B0D 0%, #14141a 100%); color: var(--ivory-white); }
.dealer-auth-card { max-width: 460px; margin: 0 auto; background: rgba(255,255,255,0.04); border: 1px solid rgba(198,161,91,0.25); border-radius: 16px; padding: 36px 32px; }
.dealer-auth-card h1 { font-family: 'Playfair Display', serif; font-size: 2rem; margin: 12px 0 6px; color: var(--ivory-white); }
.dealer-auth-sub { color: #b9bbc1; margin-bottom: 24px; font-size: 0.95rem; }
.dealer-auth-form label { display: block; margin-bottom: 14px; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; color: #c6a15b; }
.dealer-auth-form input { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; color: #fff; font-size: 1rem; font-family: inherit; }
.dealer-auth-form input:focus { outline: 2px solid var(--antique-gold); border-color: var(--antique-gold); }
.dealer-auth-hint { display: block; margin-top: 4px; font-size: 0.75rem; color: #888; text-transform: none; letter-spacing: 0; }
.dealer-auth-error { background: rgba(179,19,27,0.2); border: 1px solid var(--casino-red); padding: 10px 14px; border-radius: 8px; margin-bottom: 16px; color: #ffb4b8; font-size: 0.9rem; }
.dealer-auth-submit { width: 100%; margin-top: 10px; }
.dealer-auth-alt { text-align: center; color: #888; margin-top: 20px; font-size: 0.9rem; }
.dealer-auth-alt a { color: var(--antique-gold); }

.dealer-dash-section { padding: 110px 0 80px; background: #0B0B0D; color: var(--ivory-white); min-height: 80vh; }
.dealer-dash-section h1 { font-family: 'Playfair Display', serif; font-size: 2.4rem; margin: 12px 0 8px; }
.dealer-dash-section h2 { color: var(--ivory-white); font-family: 'Playfair Display', serif; font-size: 1.6rem; margin: 24px 0 16px; }
.dealer-dash-sub { color: #b9bbc1; max-width: 60ch; margin-bottom: 28px; }
.dealer-dash-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.dealer-logout-btn { white-space: nowrap; }
.dealer-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 32px; }
.dealer-stat { background: rgba(255,255,255,0.04); border: 1px solid rgba(198,161,91,0.2); border-radius: 12px; padding: 18px 16px; text-align: center; }
.dealer-stat-num { display: block; font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--antique-gold); font-weight: 700; }
.dealer-stat-lbl { display: block; color: #b9bbc1; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; }

.dealer-dash-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-bottom: 36px; }
.dealer-mode-card { display: block; background: linear-gradient(160deg, #1a1a22 0%, #0f0f14 100%); border: 1px solid rgba(198,161,91,0.25); border-radius: 14px; padding: 22px; color: var(--ivory-white); text-decoration: none; transition: all 0.2s; }
.dealer-mode-card:hover { transform: translateY(-3px); border-color: var(--antique-gold); }
.dealer-mode-card--test { border-color: var(--casino-red); background: linear-gradient(160deg, #2a0e10 0%, #110608 100%); }
.dealer-mode-tag { display: inline-block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--antique-gold); padding: 3px 10px; border: 1px solid rgba(198,161,91,0.4); border-radius: 100px; margin-bottom: 12px; }
.dealer-mode-card h3 { color: var(--ivory-white); margin: 0 0 6px; font-size: 1.3rem; font-family: 'Playfair Display', serif; }
.dealer-mode-card p { color: #b9bbc1; font-size: 0.92rem; margin: 0 0 14px; }
.dealer-mode-cta { color: var(--antique-gold); font-weight: 600; font-size: 0.9rem; }

.dealer-history { background: rgba(255,255,255,0.03); border-radius: 12px; padding: 20px; border: 1px solid rgba(255,255,255,0.06); }
.dealer-history-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.dealer-history-table th { text-align: left; color: var(--antique-gold); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid rgba(198,161,91,0.2); text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.05em; }
.dealer-history-table td { padding: 10px; border-bottom: 1px solid rgba(255,255,255,0.05); color: #ddd; }
.dealer-history-empty { color: #888; font-style: italic; }
.dealer-history-link { color: var(--antique-gold); text-decoration: none; }
.dealer-history-link:hover { text-decoration: underline; }
.dealer-grade { display: inline-block; min-width: 28px; padding: 2px 8px; border-radius: 6px; font-weight: 700; text-align: center; font-size: 0.85rem; }
.dealer-grade--a { background: #1e7f3e; color: #fff; }
.dealer-grade--b { background: #4a8a2c; color: #fff; }
.dealer-grade--c { background: #c69b1a; color: #111; }
.dealer-grade--d { background: #c66c1a; color: #fff; }
.dealer-grade--f { background: var(--casino-red); color: #fff; }

.dealer-feedback-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.dealer-feedback { background: rgba(255,255,255,0.04); border-left: 4px solid #888; padding: 12px 16px; border-radius: 6px; }
.dealer-feedback--minor { border-left-color: #c69b1a; }
.dealer-feedback--major { border-left-color: #c66c1a; }
.dealer-feedback--critical { border-left-color: var(--casino-red); }
.dealer-feedback-head { display: flex; justify-content: space-between; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--antique-gold); margin-bottom: 4px; }
.dealer-feedback-detail { color: #ddd; margin: 0; font-size: 0.95rem; }
.dealer-feedback-hand { display: inline-block; margin-top: 6px; color: #888; font-size: 0.8rem; }

/* ============== Trainer Stage ============== */
.trainer-body { background: #07070a; }
.trainer-section { background: #07070a; color: var(--ivory-white); min-height: 100vh; padding: 18px 16px 110px; }
.trainer-body .trainer-section { padding-top: 18px; }
.trainer-shell { max-width: 1300px; margin: 0 auto; }

/* Primary CTA bar — the always-visible "what to do next" button. */
.trainer-primary-bar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: linear-gradient(180deg, rgba(11,11,13,0.96), rgba(11,11,13,0.88));
  border: 1px solid rgba(198,161,91,0.45);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 0 0 14px;
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.45);
}
.trainer-primary-copy { display: flex; flex-direction: column; min-width: 0; }
.trainer-primary-label { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; color: var(--ivory-white); line-height: 1.1; }
.trainer-primary-sub { font-size: 0.82rem; color: rgba(247,243,238,0.65); margin-top: 3px; }
.trainer-primary-btn {
  background: var(--casino-red); color: var(--ivory-white);
  border: 1px solid var(--casino-red);
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1rem;
  padding: 14px 22px; border-radius: 10px; cursor: pointer;
  letter-spacing: 0.02em; text-transform: uppercase;
  transition: background 0.15s, transform 0.05s;
  flex: 0 0 auto; white-space: nowrap;
}
.trainer-primary-btn:hover { background: var(--velvet-crimson); }
.trainer-primary-btn:active { transform: translateY(1px); }
.trainer-primary-btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.trainer-fallback {
  background: #2a0f12; border: 1px solid rgba(179,19,27,0.5);
  color: #ffd1d4; padding: 14px 18px; border-radius: 10px;
  margin: 0 0 14px; font-size: 0.95rem; text-align: center;
}
.trainer-top { display: flex; justify-content: space-between; align-items: center; padding: 8px 0 14px; flex-wrap: wrap; gap: 10px; }
.trainer-badge { background: var(--antique-gold); color: #111; padding: 4px 12px; border-radius: 100px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-right: 14px; }
.trainer-hand-count, .trainer-score { color: #ccc; font-size: 0.9rem; margin-right: 14px; }
.trainer-exit { color: var(--antique-gold); text-decoration: none; font-size: 0.9rem; border: 1px solid rgba(198,161,91,0.4); padding: 5px 12px; border-radius: 6px; }
.trainer-exit:hover { background: rgba(198,161,91,0.15); }

.trainer-stage { display: grid; grid-template-columns: 1fr 280px; gap: 18px; }
@media (max-width: 900px) { .trainer-stage { grid-template-columns: 1fr; } }
.trainer-felt { background: radial-gradient(ellipse at center, #1a5235 0%, #0c2c1b 70%, #06170f 100%); border: 2px solid #b8893d; border-radius: 200px / 60px; padding: 32px 24px; min-height: 460px; position: relative; box-shadow: inset 0 0 60px rgba(0,0,0,0.6); }
.trainer-dealer-area { text-align: center; margin-bottom: 24px; }
.trainer-area-label { font-size: 0.8rem; color: #d4c599; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.trainer-cards { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; min-height: 96px; }

.pcard { width: 64px; height: 92px; background: #fafafa; color: #111; border-radius: 8px; display: flex; flex-direction: column; justify-content: space-between; padding: 6px 8px; font-weight: 700; box-shadow: 0 4px 10px rgba(0,0,0,0.4); border: 1px solid #ddd; font-family: 'Inter', sans-serif; }
.pcard--hidden { background: repeating-linear-gradient(45deg, #8b0e14, #8b0e14 6px, #6d0b10 6px, #6d0b10 12px); border-color: #4a070a; }
.pcard--red { color: var(--casino-red); }
.pcard-r { font-size: 1.1rem; }
.pcard-s { font-size: 1.3rem; text-align: right; }

.trainer-prompt-rail { display: flex; justify-content: center; margin: 18px 0; }
.trainer-prompt { background: rgba(0,0,0,0.55); border: 1px solid rgba(198,161,91,0.4); border-radius: 12px; padding: 14px 20px; max-width: 600px; text-align: center; }
.trainer-prompt-speaker { display: inline-block; background: var(--antique-gold); color: #111; font-size: 0.7rem; padding: 2px 10px; border-radius: 100px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; margin-bottom: 8px; }
.trainer-prompt-text { color: var(--ivory-white); font-size: 1.05rem; margin: 0; line-height: 1.45; }
.trainer-prompt-text strong { color: var(--antique-gold); }
.trainer-hint { color: #ffd87a; font-size: 0.85rem; margin: 8px 0 0; font-style: italic; }

.trainer-player-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.trainer-spot { background: rgba(0,0,0,0.3); border: 1px solid rgba(198,161,91,0.2); border-radius: 12px; padding: 10px 14px; min-width: 180px; text-align: center; }
.trainer-spot--active { border-color: var(--antique-gold); box-shadow: 0 0 14px rgba(198,161,91,0.4); }
.trainer-spot--done { opacity: 0.65; }
.trainer-result { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 4px; font-size: 0.7rem; font-weight: 700; }
.trainer-result--win { background: #1e7f3e; }
.trainer-result--lose { background: var(--casino-red); }
.trainer-result--push { background: #555; }
.trainer-result--bj_pending { background: var(--antique-gold); color: #111; }

.trainer-shoe-info { text-align: center; color: #8d9c91; font-size: 0.78rem; margin-top: 16px; letter-spacing: 0.04em; }

.trainer-actions { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 14px; align-self: flex-start; }
.trainer-action-group h4 { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--antique-gold); margin: 0 0 8px; }
.trainer-action-group { display: flex; flex-direction: column; gap: 6px; }
.trainer-btn { background: #1a1a22; color: var(--ivory-white); border: 1px solid rgba(198,161,91,0.3); padding: 9px 12px; border-radius: 7px; cursor: pointer; font-family: inherit; font-size: 0.88rem; text-align: left; transition: all 0.12s; }
.trainer-btn:hover { background: #26262f; border-color: var(--antique-gold); }
.trainer-btn:active { transform: translateY(1px); }
.trainer-btn--pay { border-color: rgba(30,127,62,0.5); }
.trainer-btn--pay:hover { background: #1d3b25; }
.trainer-btn--take { border-color: rgba(179,19,27,0.5); }
.trainer-btn--take:hover { background: #3a1418; }
.trainer-btn[disabled], .trainer-btn--disabled { opacity: 0.32; cursor: not-allowed; pointer-events: none; filter: grayscale(0.4); }

.trainer-log { margin-top: 18px; background: rgba(0,0,0,0.4); border-radius: 8px; padding: 12px 16px; max-height: 180px; overflow-y: auto; font-family: 'Inter', sans-serif; font-size: 0.85rem; }
.trainer-log-line { padding: 3px 0; border-bottom: 1px solid rgba(255,255,255,0.04); color: #aaa; }
.trainer-log-line:last-child { border-bottom: 0; }
.log-good { color: #6dd391; }
.log-bad { color: #ff8a92; font-weight: 600; }

.trainer-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.85); display: flex; align-items: center; justify-content: center; z-index: 9999; padding: 20px; }
/* The HTML `hidden` attribute must beat the .trainer-modal display:flex rule —
   without this, the finish modal is visible from page load with placeholder
   values and users see "Session Complete" before ever clicking Deal Hand. */
.trainer-modal[hidden] { display: none !important; }
.trainer-modal-card { background: #14141a; border: 1px solid var(--antique-gold); border-radius: 16px; padding: 36px; max-width: 480px; width: 100%; text-align: center; }
.trainer-modal-card h2 { font-family: 'Playfair Display', serif; color: var(--ivory-white); font-size: 1.8rem; margin: 0 0 16px; }
.trainer-modal-line { color: #ddd; margin: 6px 0; font-size: 1.05rem; }
.trainer-modal-line .text-gold { font-size: 2rem; font-weight: 800; }
.trainer-modal-actions { display: flex; gap: 10px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }

@media (max-width: 700px) {
  .trainer-section { padding: 12px 12px 110px; }
  .trainer-felt { padding: 18px 12px; border-radius: 24px; min-height: 360px; }
  .pcard { width: 50px; height: 72px; }
  .pcard-r { font-size: 0.9rem; }
  .pcard-s { font-size: 1rem; }
  .trainer-prompt-text { font-size: 0.95rem; }
  .trainer-primary-bar { flex-direction: row; padding: 10px 12px; gap: 10px; }
  .trainer-primary-label { font-size: 0.95rem; }
  .trainer-primary-sub { display: none; }
  .trainer-primary-btn { padding: 12px 16px; font-size: 0.92rem; }
  .trainer-top { padding: 6px 0 10px; }
  .trainer-actions { padding: 12px; }
}

/* Dealer dashboard heatmap */
.dealer-heatmap { margin: 32px 0 24px; }
.dealer-heatmap h2 { font-size: 22px; margin: 0 0 4px; color: var(--ivory-white, #F7F3EE); }
.dealer-heatmap-grid {
  display: grid; gap: 10px; margin-top: 14px;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.dealer-heat-cell {
  background: rgba(35,37,43,.65); border: 1px solid var(--graphite-line, #2F3138);
  border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px;
}
.dealer-heat-cat { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--smoke-gray, #6B7078); }
.dealer-heat-num { font-size: 24px; font-weight: 700; color: var(--antique-gold, #C6A15B); font-family: 'Playfair Display', serif; }
.dealer-heat-bar { height: 6px; background: rgba(255,255,255,.06); border-radius: 4px; overflow: hidden; }
.dealer-heat-bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--antique-gold, #C6A15B), var(--casino-red, #B3131B)); }

/* ============================================================
   Blog (index + show)
   ============================================================ */
.blog-index-section { padding: 60px 0 80px; background: var(--ivory-white); }
.blog-filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px;
  align-items: center; justify-content: center;
}
.blog-filter {
  display: inline-block; padding: 9px 18px; border-radius: 999px;
  border: 1px solid rgba(35,37,43,0.15); background: #fff;
  color: var(--charcoal-slate); font-size: 0.92rem; font-weight: 600;
  text-decoration: none; transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.blog-filter:hover { border-color: var(--antique-gold); color: var(--midnight-black); }
.blog-filter.active {
  background: var(--midnight-black); color: var(--ivory-white);
  border-color: var(--midnight-black);
}
.blog-filter--rss {
  margin-left: 6px; border-color: rgba(198,161,91,0.5); color: var(--velvet-crimson);
}

.blog-featured-link { display: block; text-decoration: none; margin-bottom: 40px; }
.blog-featured {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  border-radius: 18px; overflow: hidden; background: #fff;
  border: 1px solid rgba(35,37,43,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-featured-link:hover .blog-featured { transform: translateY(-3px); box-shadow: 0 22px 50px rgba(11,11,13,0.12); }
.blog-featured-image {
  min-height: 320px; background-size: cover; background-position: center;
}
.blog-featured-body { padding: 38px; display: flex; flex-direction: column; justify-content: center; }
.blog-featured-body h2 {
  font-family: var(--font-display); font-size: 2rem; line-height: 1.2;
  color: var(--midnight-black); margin: 12px 0 14px;
}
.blog-featured-body p { color: var(--smoke-gray); font-size: 1.02rem; line-height: 1.6; margin: 0 0 18px; }

.blog-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px;
}
.blog-grid--home { margin-top: 12px; }
.blog-card-link { display: block; text-decoration: none; color: inherit; }
.blog-card {
  background: #fff; border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(35,37,43,0.08);
  display: flex; flex-direction: column; height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.blog-card-link:hover .blog-card {
  transform: translateY(-4px); box-shadow: 0 18px 38px rgba(11,11,13,0.1);
  border-color: rgba(198,161,91,0.4);
}
.blog-card-image {
  height: 180px; background-size: cover; background-position: center;
}
.blog-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.blog-card-body h3 {
  font-family: var(--font-display); font-size: 1.25rem; line-height: 1.3;
  color: var(--midnight-black); margin: 10px 0 10px;
}
.blog-card-body p { color: var(--smoke-gray); font-size: 0.95rem; line-height: 1.55; margin: 0 0 16px; flex: 1; }
.blog-card-meta {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 0.8rem; color: var(--smoke-gray); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600;
}
.blog-card-category { color: var(--velvet-crimson); }
.blog-card-dot { opacity: 0.5; }
.blog-card-cta { color: var(--casino-red); font-weight: 700; font-size: 0.92rem; }

.blog-empty { text-align: center; color: var(--smoke-gray); padding: 60px 0; font-size: 1.05rem; }

.blog-pagination {
  margin-top: 50px; display: flex; align-items: center; justify-content: center; gap: 20px;
  color: var(--smoke-gray); font-size: 0.95rem;
}
.blog-page-link {
  display: inline-block; padding: 10px 18px; border-radius: 999px;
  background: #fff; border: 1px solid rgba(35,37,43,0.15);
  color: var(--charcoal-slate); text-decoration: none; font-weight: 600;
}
.blog-page-link:hover { border-color: var(--antique-gold); }

.article-byline { color: rgba(247,243,238,0.7); font-size: 0.9rem; margin-top: 12px; }

.article-faq { margin-top: 56px; padding-top: 36px; border-top: 1px solid rgba(35,37,43,0.1); }
.article-faq h2 {
  font-family: var(--font-display); font-size: 1.8rem; color: var(--midnight-black); margin-bottom: 20px;
}

.article-tags {
  margin-top: 36px; display: flex; flex-wrap: wrap; gap: 8px;
  padding-top: 24px; border-top: 1px solid rgba(35,37,43,0.08);
}
.article-tag {
  font-size: 0.82rem; color: var(--smoke-gray); background: rgba(35,37,43,0.04);
  padding: 5px 11px; border-radius: 999px;
}

.article-newsletter {
  margin-top: 48px; padding: 30px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(179,19,27,0.06), rgba(198,161,91,0.08));
  border: 1px solid rgba(198,161,91,0.3);
}
.article-newsletter h3 {
  font-family: var(--font-display); font-size: 1.4rem; color: var(--midnight-black); margin: 0 0 6px;
}
.article-newsletter p { color: var(--smoke-gray); margin: 0 0 16px; font-size: 0.95rem; }
.article-newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.article-newsletter-input {
  flex: 1; min-width: 240px; padding: 12px 16px; border-radius: 10px;
  border: 1px solid rgba(35,37,43,0.15); font-family: inherit; font-size: 1rem;
  background: #fff;
}
.article-newsletter-note { font-size: 0.82rem !important; color: var(--smoke-gray); margin-top: 10px !important; }

.home-blog-section { padding: 80px 0; background: var(--ivory-white); }
.home-blog-cta { text-align: center; margin-top: 32px; }

.admin-input--mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
  font-size: 0.9rem !important; line-height: 1.5 !important;
}

@media (max-width: 980px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-image { min-height: 220px; }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-featured-body { padding: 26px; }
  .blog-featured-body h2 { font-size: 1.5rem; }
}

/* ===== Paywall (Task 44) ===== */
.paywall-section { background:#0B0B0D; color:#F7F3EE; padding:80px 0; min-height:70vh; }
.paywall-card { max-width:760px; margin:0 auto; background:#15161A; border:1px solid #2F3138; border-radius:18px; padding:48px; }
.paywall-badge { background:rgba(198,161,91,0.18); color:#C6A15B; }
.paywall-card h1 { font-family:'Playfair Display',serif; font-size:2.4rem; margin:18px 0 14px; }
.paywall-card .text-gold { color:#C6A15B; }
.paywall-sub { color:#A8ADB5; line-height:1.6; margin-bottom:28px; }
.paywall-perks { list-style:none; padding:0; margin:0 0 32px; }
.paywall-perks li { padding:14px 0; border-top:1px solid #2F3138; color:#D8D5CF; }
.paywall-perks li:last-child { border-bottom:1px solid #2F3138; }
.paywall-perks strong { color:#F7F3EE; }
.paywall-cta { width:100%; justify-content:center; margin-bottom:14px; }
.paywall-note { color:#6B7078; font-size:0.85rem; text-align:center; }
.paywall-flag { background:rgba(179,19,27,0.18); border:1px solid #B3131B; color:#F7F3EE; padding:12px 16px; border-radius:10px; margin-bottom:20px; }
.paywall-disabled { background:#23252B; border:1px solid #2F3138; border-radius:10px; padding:16px; color:#A8ADB5; margin-bottom:14px; }
.paywall-faq { margin-top:36px; }
.paywall-faq h2 { font-family:'Playfair Display',serif; font-size:1.4rem; color:#C6A15B; margin-bottom:14px; }
.paywall-faq details { border-top:1px solid #2F3138; padding:14px 0; }
.paywall-faq summary { cursor:pointer; color:#F7F3EE; font-weight:600; }
.paywall-faq p { color:#A8ADB5; margin-top:8px; }

/* ===== Dealer dashboard subscription card ===== */
.dealer-sub-card { display:flex; flex-wrap:wrap; gap:20px; justify-content:space-between; align-items:center; padding:22px 26px; border-radius:14px; margin:18px 0 28px; border:1px solid #2F3138; background:#15161A; }
.dealer-sub-card--active { border-color:#C6A15B; background:linear-gradient(135deg,#15161A,#1d1a12); }
.dealer-sub-label { color:#C6A15B; font-size:0.78rem; letter-spacing:0.12em; text-transform:uppercase; font-weight:700; }
.dealer-sub-status { font-family:'Playfair Display',serif; font-size:1.5rem; color:#F7F3EE; margin:4px 0; }
.dealer-sub-meta { color:#A8ADB5; font-size:0.92rem; margin:0; }
.dealer-sub-actions { display:flex; gap:10px; flex-wrap:wrap; }
.dealer-sub-actions form { margin:0; display:inline; }

/* ===== SMS Alerts editor ===== */
.alerts-section { background:#0B0B0D; color:#F7F3EE; padding:80px 0; min-height:70vh; }
.alerts-card { max-width:680px; margin:0 auto; background:#15161A; border:1px solid #2F3138; border-radius:18px; padding:40px; }
.alerts-card h1 { font-family:'Playfair Display',serif; font-size:2rem; margin:14px 0 10px; }
.alerts-sub { color:#A8ADB5; line-height:1.5; margin-bottom:28px; }
.alerts-form { display:flex; flex-direction:column; gap:18px; }
.alerts-form--inline { flex-direction:row; align-items:center; gap:10px; margin-top:10px; }
.alerts-field { display:flex; flex-direction:column; gap:6px; }
.alerts-field label { color:#C6A15B; font-size:0.78rem; letter-spacing:0.1em; text-transform:uppercase; font-weight:700; }
.alerts-input { background:#0B0B0D; border:1px solid #2F3138; color:#F7F3EE; border-radius:10px; padding:12px 14px; font-size:1rem; }
.alerts-input:focus { outline:none; border-color:#C6A15B; }
.alerts-field small { color:#6B7078; font-size:0.82rem; }
.alerts-flag { display:inline-block; margin-top:6px; padding:4px 10px; border-radius:99px; font-size:0.82rem; }
.alerts-flag--ok { background:rgba(40,160,80,0.16); color:#7BD494; }
.alerts-flag--warn { background:rgba(198,161,91,0.16); color:#C6A15B; }
.alerts-markets { display:flex; flex-wrap:wrap; gap:10px; }
.alerts-market { display:inline-flex; align-items:center; gap:8px; padding:8px 14px; border:1px solid #2F3138; border-radius:99px; cursor:pointer; color:#D8D5CF; }
.alerts-market input { accent-color:#C6A15B; }
.alerts-field--toggle label { display:inline-flex; align-items:center; gap:10px; color:#F7F3EE; text-transform:none; letter-spacing:normal; font-size:0.95rem; }
.alerts-divider { border:0; border-top:1px solid #2F3138; margin:32px 0 20px; }
.alerts-help { color:#6B7078; font-size:0.85rem; margin-top:24px; }

/* ===== Professionalism Certification ===== */
.container--narrow { max-width: 880px; margin: 0 auto; padding: 0 20px; }

.cert-progress-card { background:#15161A; border:1px solid #2F3138; border-radius:14px; padding:20px 24px; margin:18px 0 28px; }
.cert-progress-meta { display:flex; justify-content:space-between; align-items:baseline; color:#ddd; margin-bottom:10px; font-size:0.95rem; }
.cert-progress-meta strong { font-family:'Playfair Display', serif; color:var(--ivory-white); font-size:1.15rem; font-weight:700; }
.cert-progress-bar { height:10px; background:rgba(255,255,255,0.06); border-radius:6px; overflow:hidden; }
.cert-progress-bar > span { display:block; height:100%; background:linear-gradient(90deg, var(--casino-red), var(--antique-gold)); transition:width 0.3s ease; }
.cert-progress-hint { margin:10px 0 0; color:#b9bbc1; font-size:0.9rem; }

.cert-modules-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(280px, 1fr)); gap:16px; margin:24px 0; }
.cert-module-card { display:block; background:linear-gradient(160deg, #1a1a22 0%, #0f0f14 100%); border:1px solid rgba(198,161,91,0.25); border-radius:14px; padding:20px; color:var(--ivory-white); text-decoration:none; transition:all 0.2s; }
.cert-module-card:hover { transform:translateY(-3px); border-color:var(--antique-gold); }
.cert-module-card--read { border-color:#3a5a3a; background:linear-gradient(160deg, #15201a 0%, #0c130f 100%); }
.cert-module-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
.cert-module-tag { color:var(--antique-gold); font-size:0.75rem; text-transform:uppercase; letter-spacing:0.06em; font-weight:600; }
.cert-module-check { background:#3a8a4a; color:#fff; border-radius:50%; width:22px; height:22px; display:inline-flex; align-items:center; justify-content:center; font-weight:700; font-size:0.85rem; }
.cert-module-card h3 { color:var(--ivory-white); margin:0 0 8px; font-size:1.15rem; font-family:'Playfair Display', serif; }
.cert-module-summary { color:#b9bbc1; font-size:0.92rem; margin:0 0 14px; line-height:1.45; }
.cert-module-meta { color:var(--antique-gold); font-size:0.85rem; font-weight:600; }

.cert-exam-cta { display:flex; flex-wrap:wrap; gap:20px; justify-content:space-between; align-items:center; padding:24px 26px; border-radius:14px; margin:28px 0; border:1px solid var(--casino-red); background:linear-gradient(135deg,#2a0e10,#110608); }
.cert-exam-cta h2 { color:var(--ivory-white); margin:0 0 6px; font-family:'Playfair Display', serif; font-size:1.5rem; }
.cert-exam-cta .dealer-dash-sub { margin:0; max-width:560px; }

.cert-history-list { list-style:none; padding:0; margin:14px 0 0; display:grid; gap:8px; }
.cert-history-row { display:flex; flex-wrap:wrap; align-items:center; gap:12px; padding:12px 16px; background:rgba(255,255,255,0.04); border-radius:8px; border:1px solid #2F3138; }
.cert-history-date { color:#b9bbc1; font-size:0.9rem; flex:1 1 200px; }
.cert-history-score { color:#ddd; font-weight:600; font-size:0.95rem; }
.cert-history-score--pass { color:var(--antique-gold); }

.cert-backlink { display:inline-block; color:var(--antique-gold); text-decoration:none; margin-bottom:14px; font-size:0.9rem; }
.cert-backlink:hover { text-decoration:underline; }

.cert-article { color:#ddd; line-height:1.7; font-size:1.02rem; margin:24px 0; }
.cert-article p { margin:0 0 1em; }
.cert-article h3 { color:var(--ivory-white); font-family:'Playfair Display', serif; font-size:1.25rem; margin:1.6em 0 0.6em; }
.cert-article ul { margin:0 0 1em 1.2em; padding:0; }
.cert-article li { margin:0 0 0.4em; }
.cert-article strong { color:var(--ivory-white); }
.cert-article em { color:#e9d9b8; }

.cert-module-foot { display:flex; flex-wrap:wrap; gap:16px; align-items:center; justify-content:space-between; padding:20px 0; margin-top:24px; border-top:1px solid #2F3138; }
.cert-read-badge { color:#7fc28a; font-weight:600; }

/* Exam form */
.cert-exam-form { margin-top:24px; }
.cert-exam-list { list-style:none; padding:0; margin:0; display:grid; gap:18px; counter-reset:none; }
.cert-q { background:#15161A; border:1px solid #2F3138; border-radius:12px; padding:20px 22px; }
.cert-q-head { color:var(--antique-gold); font-size:0.78rem; text-transform:uppercase; letter-spacing:0.07em; font-weight:700; margin-bottom:8px; }
.cert-q-text { color:var(--ivory-white); font-size:1.05rem; margin:0 0 14px; line-height:1.5; }
.cert-q-options { display:grid; gap:8px; }
.cert-q-option { display:flex; gap:12px; align-items:flex-start; padding:10px 14px; border-radius:8px; background:rgba(255,255,255,0.03); border:1px solid transparent; cursor:pointer; transition:all 0.15s; }
.cert-q-option:hover { background:rgba(198,161,91,0.06); border-color:rgba(198,161,91,0.25); }
.cert-q-option input { margin-top:4px; flex-shrink:0; accent-color:var(--casino-red); }
.cert-q-option input:checked ~ .cert-q-opt-letter { background:var(--casino-red); color:#fff; border-color:var(--casino-red); }
.cert-q-opt-letter { display:inline-flex; align-items:center; justify-content:center; width:24px; height:24px; border-radius:50%; background:rgba(255,255,255,0.06); border:1px solid #2F3138; font-weight:700; font-size:0.8rem; color:#ddd; flex-shrink:0; }
.cert-q-opt-text { color:#e7e7e9; line-height:1.45; font-size:0.95rem; }

.cert-exam-submit { display:flex; flex-direction:column; gap:12px; align-items:flex-start; margin-top:24px; padding:20px 22px; background:#15161A; border:1px solid var(--casino-red); border-radius:12px; }
.cert-exam-warn { color:#b9bbc1; margin:0 0 6px; font-size:0.92rem; }

/* Results */
.cert-result-banner { padding:32px 28px; border-radius:14px; text-align:center; margin:18px 0 28px; }
.cert-result-banner--pass { background:linear-gradient(135deg,#15201a,#0c130f); border:1px solid var(--antique-gold); }
.cert-result-banner--fail { background:#15161A; border:1px solid #2F3138; }
.cert-result-label { display:inline-block; color:var(--antique-gold); text-transform:uppercase; letter-spacing:0.1em; font-weight:700; font-size:0.85rem; }
.cert-result-banner--fail .cert-result-label { color:#c66c1a; }
.cert-result-score { font-family:'Playfair Display', serif; font-size:4rem; margin:8px 0; color:var(--ivory-white); }
.cert-result-banner--pass .cert-result-score { color:var(--antique-gold); }
.cert-result-meta { color:#b9bbc1; margin:6px 0; font-size:0.95rem; }
.cert-result-meta strong { color:var(--antique-gold); font-family:monospace; letter-spacing:0.05em; }
.cert-result-actions { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin-top:18px; }

.cert-missed-list { list-style:none; padding:0; margin:14px 0 0; display:grid; gap:12px; }
.cert-missed { background:#15161A; border-left:4px solid var(--casino-red); border-radius:6px; padding:14px 18px; }
.cert-missed-head { display:flex; justify-content:space-between; color:var(--antique-gold); text-transform:uppercase; letter-spacing:0.05em; font-size:0.78rem; font-weight:700; margin-bottom:6px; }
.cert-missed-mod { color:#b9bbc1; font-weight:500; text-transform:none; letter-spacing:0; }
.cert-missed-q { color:var(--ivory-white); margin:4px 0 10px; font-size:0.98rem; }
.cert-missed-line { color:#ddd; margin:4px 0; font-size:0.92rem; }
.cert-missed-label { color:#b9bbc1; text-transform:uppercase; letter-spacing:0.05em; font-size:0.72rem; font-weight:700; margin-right:6px; }
.cert-missed-label--good { color:#7fc28a; }
.cert-missed-why { color:#b9bbc1; margin:8px 0 0; font-size:0.88rem; font-style:italic; line-height:1.5; }

/* ===== Printable certificate ===== */
.certificate-body { background:#1a1a22; color:var(--ivory-white); font-family:'Inter', sans-serif; margin:0; padding:0; }
.cert-print-actions { display:flex; gap:12px; justify-content:center; padding:16px; background:#0B0B0D; border-bottom:1px solid #2F3138; }
.cert-page { padding:30px 20px 60px; display:flex; justify-content:center; }
.cert-frame { width:100%; max-width:1000px; aspect-ratio: 11/8.5; background:#fdfaf3; color:#0B0B0D; padding:18px; border-radius:6px; box-shadow:0 12px 40px rgba(0,0,0,0.5); }
.cert-inner { width:100%; height:100%; border:3px double #8F1016; border-radius:4px; padding:38px 56px; text-align:center; display:flex; flex-direction:column; justify-content:space-between; box-sizing:border-box; }
.cert-brand { font-family:'Playfair Display', serif; font-size:1.4rem; font-weight:800; letter-spacing:0.04em; margin-bottom:4px; }
.cert-brand-casino { color:#0B0B0D; } .cert-brand-party { color:#B3131B; } .cert-brand-dealers { color:#C6A15B; }
.cert-eyebrow { color:#8F1016; text-transform:uppercase; letter-spacing:0.3em; font-size:0.78rem; margin:14px 0 6px; font-weight:700; }
.cert-title { font-family:'Playfair Display', serif; font-size:2.6rem; color:#0B0B0D; margin:0 0 18px; font-weight:800; line-height:1.1; }
.cert-presented { color:#23252B; max-width:760px; margin:0 auto; line-height:1.55; font-size:0.98rem; }
.cert-name { font-family:'Playfair Display', serif; font-size:3rem; color:#8F1016; margin:18px 0; line-height:1.1; border-bottom:1px solid rgba(143,16,22,0.3); padding-bottom:14px; max-width:640px; margin-left:auto; margin-right:auto; }
.cert-stats { display:flex; justify-content:center; gap:50px; margin:24px 0; }
.cert-stat { text-align:center; }
.cert-stat-num { display:block; font-family:'Playfair Display', serif; font-size:1.7rem; font-weight:800; color:#0B0B0D; }
.cert-stat-lbl { display:block; color:#6B7078; text-transform:uppercase; letter-spacing:0.08em; font-size:0.7rem; margin-top:4px; }
.cert-foot { display:flex; justify-content:space-between; align-items:flex-end; margin-top:20px; }
.cert-foot-sig, .cert-foot-code { text-align:center; flex:1; }
.cert-foot-line { display:block; border-top:1px solid #23252B; width:60%; margin:0 auto 6px; }
.cert-foot-lbl { display:block; color:#6B7078; text-transform:uppercase; letter-spacing:0.1em; font-size:0.68rem; }
.cert-foot-codenum { display:block; font-family:monospace; font-size:1.1rem; color:#0B0B0D; letter-spacing:0.1em; font-weight:600; margin-bottom:4px; }

@media print {
  @page { size: landscape; margin: 0.25in; }
  body, html { background:#fff !important; }
  .cert-print-actions, .navbar, .footer, header.navbar, .site-footer { display:none !important; }
  .cert-page { padding:0; }
  .cert-frame { box-shadow:none; max-width:100%; width:100%; aspect-ratio:auto; min-height:7.5in; background:#fff; }
  .cert-inner { border-color:#8F1016; }
}
