/*
 * JuntoVerse — Sitewide Enhancements
 * Phase 2 / Version 0.1
 *
 * Initial scope: Discover only.
 * Requires the page opt-in class: jv-enhanced-discover
 *
 * No global overrides outside this scope.
 */

.jv-enhanced-discover {
  --jv-glass: rgba(21, 31, 65, .72);
  --jv-glass-border: rgba(169, 190, 255, .18);
  --jv-glow-aqua: rgba(105, 234, 214, .16);
  --jv-glow-violet: rgba(170, 141, 255, .18);
  --jv-ease: cubic-bezier(.22, 1, .36, 1);
}

/* Atmospheric content presentation */
.jv-enhanced-discover main {
  position: relative;
  isolation: isolate;
}

.jv-enhanced-discover main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(100%, 1100px);
  height: 520px;
  transform: translateX(-50%);
  background:
    radial-gradient(
      ellipse at 28% 18%,
      rgba(170, 141, 255, .10),
      transparent 55%
    ),
    radial-gradient(
      ellipse at 76% 38%,
      rgba(105, 234, 214, .075),
      transparent 58%
    );
  pointer-events: none;
  z-index: -1;
}

/* Refined page typography */
.jv-enhanced-discover main h1 {
  letter-spacing: -.045em;
  text-wrap: balance;
}

.jv-enhanced-discover main h2 {
  letter-spacing: -.025em;
  text-wrap: balance;
}

/* Premium search surface */
.jv-enhanced-discover .jv-discover-search {
  border: 1px solid rgba(169, 190, 255, .28);
  border-radius: 16px;
  background:
    linear-gradient(
      135deg,
      rgba(30, 45, 85, .90),
      rgba(15, 26, 57, .94)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .045),
    0 12px 32px rgba(0, 0, 0, .12);
  transition:
    border-color .25s ease,
    box-shadow .25s ease,
    background .25s ease;
}

.jv-enhanced-discover .jv-discover-search:hover {
  border-color: rgba(169, 190, 255, .48);
}

.jv-enhanced-discover .jv-discover-search:focus-visible {
  outline: 2px solid var(--aqua, #69ead6);
  outline-offset: 3px;
  border-color: var(--aqua, #69ead6);
  box-shadow:
    0 0 0 6px var(--jv-glow-aqua),
    0 16px 38px rgba(0, 0, 0, .16);
}

/* Category filters */
.jv-enhanced-discover .jv-filter {
  border-radius: 999px;
  transition:
    transform .22s var(--jv-ease),
    background .22s ease,
    border-color .22s ease,
    box-shadow .22s ease;
}

@media (hover: hover) {
  .jv-enhanced-discover .jv-filter:hover {
    transform: translateY(-2px);
    border-color: rgba(170, 141, 255, .60);
  }
}

.jv-enhanced-discover .jv-filter[aria-pressed="true"] {
  border-color: rgba(105, 234, 214, .68);
  box-shadow:
    0 0 0 1px rgba(105, 234, 214, .10),
    0 8px 26px rgba(105, 234, 214, .09);
}

.jv-enhanced-discover .jv-filter:focus-visible {
  outline: 2px solid var(--aqua, #69ead6);
  outline-offset: 3px;
}

/* Resource card refinement */
.jv-enhanced-discover .feature-card {
  border-color: var(--jv-glass-border);
  background:
    linear-gradient(
      145deg,
      rgba(36, 48, 91, .90),
      rgba(13, 23, 51, .94)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .045),
    0 18px 45px rgba(0, 0, 0, .10);
  transition:
    transform .30s var(--jv-ease),
    border-color .30s ease,
    box-shadow .30s ease;
}

@media (hover: hover) {
  .jv-enhanced-discover .feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(170, 141, 255, .42);
    box-shadow:
      0 24px 55px rgba(0, 0, 0, .20),
      0 0 32px rgba(170, 141, 255, .055);
  }
}

/* Keyboard accessibility */
.jv-enhanced-discover .feature-card:focus-within {
  border-color: var(--aqua, #69ead6);
}

/* Mobile refinements */
@media (max-width: 700px) {
  .jv-enhanced-discover .jv-discover-search {
    min-width: 0;
    width: 100%;
  }

  .jv-enhanced-discover .jv-filter {
    min-height: 42px;
  }

  .jv-enhanced-discover main::before {
    height: 360px;
    opacity: .65;
  }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .jv-enhanced-discover .jv-filter,
  .jv-enhanced-discover .jv-discover-search,
  .jv-enhanced-discover .feature-card {
    transition: none;
  }

  .jv-enhanced-discover .jv-filter:hover,
  .jv-enhanced-discover .feature-card:hover {
    transform: none;
  }
}

/* ==========================================================
   JuntoVerse Learning Hub — Phase 2
   Scoped opt-in: .jv-enhanced-hub
   ========================================================== */

.jv-enhanced-hub {
  --jv-hub-border: rgba(171, 194, 255, .19);
  --jv-hub-violet: rgba(170, 141, 255, .17);
  --jv-hub-aqua: rgba(105, 234, 214, .13);
  --jv-hub-ease: cubic-bezier(.22, 1, .36, 1);
}

/* Hero atmosphere */
.jv-enhanced-hub .jv2-hero {
  position: relative;
  isolation: isolate;
}

.jv-enhanced-hub .jv2-hero::before {
  content: "";
  position: absolute;
  inset: -35px -20px;
  background:
    radial-gradient(
      ellipse at 25% 30%,
      rgba(170, 141, 255, .12),
      transparent 55%
    ),
    radial-gradient(
      ellipse at 78% 55%,
      rgba(105, 234, 214, .09),
      transparent 58%
    );
  pointer-events: none;
  z-index: -1;
}

.jv-enhanced-hub .jv2-hero h1 {
  letter-spacing: -.045em;
  text-wrap: balance;
}

/* Premium learning cards */
.jv-enhanced-hub .jv2-card {
  border-color: var(--jv-hub-border);
  background:
    linear-gradient(
      145deg,
      rgba(38, 52, 100, .88),
      rgba(13, 23, 53, .95)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .05),
    0 18px 45px rgba(0, 0, 0, .11);
  transition:
    transform .30s var(--jv-hub-ease),
    border-color .30s ease,
    box-shadow .30s ease;
}

@media (hover: hover) {
  .jv-enhanced-hub .jv2-card:hover {
    transform: translateY(-5px);
    border-color: rgba(105, 234, 214, .48);
    box-shadow:
      0 25px 55px rgba(0, 0, 0, .19),
      0 0 32px rgba(105, 234, 214, .055);
  }
}

.jv-enhanced-hub .jv2-card:focus-within {
  border-color: var(--aqua, #69ead6);
}

/* Supporting panels */
.jv-enhanced-hub .jv2-panel {
  border-color: var(--jv-hub-border);
  background:
    linear-gradient(
      135deg,
      rgba(33, 47, 92, .86),
      rgba(15, 26, 57, .94)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .04),
    0 15px 40px rgba(0, 0, 0, .10);
}

/* Learning destination icons */
.jv-enhanced-hub .jv2-icon {
  transition:
    transform .30s var(--jv-hub-ease),
    filter .30s ease;
}

@media (hover: hover) {
  .jv-enhanced-hub .jv2-card:hover .jv2-icon {
    transform: translateY(-2px) scale(1.04);
    filter: drop-shadow(0 5px 12px rgba(105, 234, 214, .12));
  }
}

/* Action links */
.jv-enhanced-hub .jv2-go,
.jv-enhanced-hub .jv2-btn {
  transition:
    transform .25s var(--jv-hub-ease),
    border-color .25s ease,
    box-shadow .25s ease;
}

.jv-enhanced-hub .jv2-go:focus-visible,
.jv-enhanced-hub .jv2-btn:focus-visible {
  outline: 2px solid var(--aqua, #69ead6);
  outline-offset: 3px;
}

/* Mobile optimization */
@media (max-width: 700px) {
  .jv-enhanced-hub .jv2-hero::before {
    inset: -15px -8px;
    opacity: .65;
  }

  .jv-enhanced-hub .jv2-card {
    box-shadow: 0 10px 28px rgba(0, 0, 0, .10);
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .jv-enhanced-hub .jv2-card,
  .jv-enhanced-hub .jv2-icon,
  .jv-enhanced-hub .jv2-go,
  .jv-enhanced-hub .jv2-btn {
    transition: none;
  }

  .jv-enhanced-hub .jv2-card:hover,
  .jv-enhanced-hub .jv2-card:hover .jv2-icon {
    transform: none;
  }
}

/* ==========================================================
   JuntoVerse Research Center — Phase 2
   Scoped opt-in: .jv-enhanced-research
   ========================================================== */

.jv-enhanced-research {
  --jv-research-border: rgba(171, 194, 255, .19);
  --jv-research-ease: cubic-bezier(.22, 1, .36, 1);
}

.jv-enhanced-research .rl-hero {
  position: relative;
  isolation: isolate;
}

.jv-enhanced-research .rl-hero::before {
  content: "";
  position: absolute;
  inset: -40px -18px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at 25% 35%,
      rgba(170, 141, 255, .15),
      transparent 58%
    ),
    radial-gradient(
      ellipse at 82% 60%,
      rgba(105, 234, 214, .10),
      transparent 56%
    );
}

.jv-enhanced-research .rl-hero h1 {
  letter-spacing: -.045em;
  text-wrap: balance;
}

.jv-enhanced-research .rl-section h2 {
  letter-spacing: -.025em;
  text-wrap: balance;
}

.jv-enhanced-research .rl-card {
  border-color: var(--jv-research-border);
  background:
    linear-gradient(
      145deg,
      rgba(37, 51, 98, .87),
      rgba(13, 23, 53, .96)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .045),
    0 16px 42px rgba(0, 0, 0, .12);
  transition:
    transform .3s var(--jv-research-ease),
    border-color .3s ease,
    box-shadow .3s ease;
}

@media (hover: hover) {
  .jv-enhanced-research .rl-card:hover {
    transform: translateY(-5px);
    border-color: rgba(105, 234, 214, .42);
    box-shadow:
      0 24px 54px rgba(0, 0, 0, .19),
      0 0 32px rgba(105, 234, 214, .055);
  }
}

.jv-enhanced-research .rl-card:focus-within {
  border-color: var(--aqua, #69ead6);
}

.jv-enhanced-research .rl-project {
  border-color: var(--jv-research-border);
  background:
    linear-gradient(
      130deg,
      rgba(35, 47, 91, .88),
      rgba(13, 24, 53, .95)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .05),
    0 20px 50px rgba(0, 0, 0, .12);
}

.jv-enhanced-research .rl-project-visual {
  position: relative;
  isolation: isolate;
}

.jv-enhanced-research .rl-project-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 65% 35%,
      rgba(105, 234, 214, .09),
      transparent 65%
    );
}

.jv-enhanced-research .rl-feature {
  border-color: var(--jv-research-border);
  transition:
    border-color .25s ease,
    box-shadow .25s ease;
}

@media (hover: hover) {
  .jv-enhanced-research .rl-feature:hover {
    border-color: rgba(170, 141, 255, .4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .10);
  }
}

.jv-enhanced-research .rl-tag,
.jv-enhanced-research .rl-status {
  border-color: rgba(171, 194, 255, .24);
}

.jv-enhanced-research .rl-go:focus-visible,
.jv-enhanced-research .rl-card a:focus-visible,
.jv-enhanced-research .rl-project a:focus-visible {
  outline: 2px solid var(--aqua, #69ead6);
  outline-offset: 4px;
}

@media (max-width: 700px) {
  .jv-enhanced-research .rl-hero::before {
    inset: -15px -8px;
    opacity: .65;
  }

  .jv-enhanced-research .rl-card {
    box-shadow: 0 10px 28px rgba(0, 0, 0, .10);
  }
}

@media (prefers-reduced-motion: reduce) {
  .jv-enhanced-research .rl-card,
  .jv-enhanced-research .rl-feature {
    transition: none;
  }

  .jv-enhanced-research .rl-card:hover {
    transform: none;
  }
}

/* ==========================================================
   JuntoVerse About — Phase 2
   Scoped opt-in: .jv-enhanced-about
   ========================================================== */

.jv-enhanced-about {
  --jv-about-border: rgba(171, 194, 255, .19);
  --jv-about-ease: cubic-bezier(.22, 1, .36, 1);
}

.jv-enhanced-about .page-hero {
  position: relative;
  isolation: isolate;
}

.jv-enhanced-about .page-hero::before {
  content: "";
  position: absolute;
  inset: -40px -18px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at 22% 35%,
      rgba(170, 141, 255, .16),
      transparent 58%
    ),
    radial-gradient(
      ellipse at 78% 55%,
      rgba(105, 234, 214, .11),
      transparent 56%
    );
}

.jv-enhanced-about .page-hero h1 {
  letter-spacing: -.045em;
  text-wrap: balance;
}

.jv-enhanced-about .section-heading h2,
.jv-enhanced-about .split-content h2 {
  letter-spacing: -.025em;
  text-wrap: balance;
}

/* Brand values */

.jv-enhanced-about .feature-card {
  border-color: var(--jv-about-border);
  background:
    linear-gradient(
      145deg,
      rgba(37, 51, 98, .87),
      rgba(13, 23, 53, .96)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .045),
    0 18px 44px rgba(0, 0, 0, .12);
  transition:
    transform .3s var(--jv-about-ease),
    border-color .3s ease,
    box-shadow .3s ease;
}

@media (hover: hover) {
  .jv-enhanced-about .feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(105, 234, 214, .43);
    box-shadow:
      0 25px 55px rgba(0, 0, 0, .19),
      0 0 30px rgba(105, 234, 214, .05);
  }
}

.jv-enhanced-about .card-icon {
  transition:
    transform .3s var(--jv-about-ease),
    filter .3s ease;
}

@media (hover: hover) {
  .jv-enhanced-about .feature-card:hover .card-icon {
    transform: translateY(-2px) scale(1.04);
    filter: drop-shadow(
      0 6px 14px rgba(105, 234, 214, .12)
    );
  }
}

/* Brand story and founder presentation */

.jv-enhanced-about .split-panel {
  border-color: var(--jv-about-border);
  background:
    linear-gradient(
      135deg,
      rgba(33, 47, 92, .88),
      rgba(14, 25, 55, .95)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .045),
    0 18px 46px rgba(0, 0, 0, .11);
}

.jv-enhanced-about .split-visual {
  position: relative;
  isolation: isolate;
}

.jv-enhanced-about .split-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 60% 40%,
      rgba(170, 141, 255, .10),
      transparent 65%
    );
}

.jv-enhanced-about .v3-founder {
  border-color: var(--jv-about-border);
}

/* Invitation to connect */

.jv-enhanced-about .contact-panel {
  border-color: var(--jv-about-border);
  background:
    linear-gradient(
      135deg,
      rgba(38, 49, 96, .88),
      rgba(13, 24, 53, .96)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .045),
    0 18px 46px rgba(0, 0, 0, .12);
}

.jv-enhanced-about .contact-email:focus-visible,
.jv-enhanced-about .card-link:focus-visible {
  outline: 2px solid var(--aqua, #69ead6);
  outline-offset: 4px;
}

@media (max-width: 700px) {
  .jv-enhanced-about .page-hero::before {
    inset: -15px -8px;
    opacity: .65;
  }

  .jv-enhanced-about .feature-card {
    box-shadow: 0 10px 28px rgba(0, 0, 0, .10);
  }
}

@media (prefers-reduced-motion: reduce) {
  .jv-enhanced-about .feature-card,
  .jv-enhanced-about .card-icon {
    transition: none;
  }

  .jv-enhanced-about .feature-card:hover,
  .jv-enhanced-about .feature-card:hover .card-icon {
    transform: none;
  }
}

/* ==========================================================
   JuntoVerse Culture — Phase 2
   Scoped opt-in: .jv-enhanced-culture
   ========================================================== */

.jv-enhanced-culture {
  --jv-culture-border: rgba(171, 194, 255, .19);
  --jv-culture-ease: cubic-bezier(.22, 1, .36, 1);
}

/* Cinematic culture hero */

.jv-enhanced-culture .page-hero {
  position: relative;
  isolation: isolate;
}

.jv-enhanced-culture .page-hero::before {
  content: "";
  position: absolute;
  inset: -38px -18px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at 22% 30%,
      rgba(170, 141, 255, .16),
      transparent 58%
    ),
    radial-gradient(
      ellipse at 80% 60%,
      rgba(105, 234, 214, .12),
      transparent 58%
    ),
    radial-gradient(
      ellipse at 55% 95%,
      rgba(255, 173, 152, .07),
      transparent 58%
    );
}

.jv-enhanced-culture .page-hero h1 {
  letter-spacing: -.045em;
  text-wrap: balance;
}

.jv-enhanced-culture .section-heading h2 {
  letter-spacing: -.025em;
  text-wrap: balance;
}

/* Crónicas de un Gringo journal feature */

.jv-enhanced-culture .journal-panel {
  position: relative;
  isolation: isolate;
  border-color: var(--jv-culture-border);
  background:
    linear-gradient(
      130deg,
      rgba(39, 49, 94, .91),
      rgba(15, 25, 55, .97)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .055),
    0 22px 58px rgba(0, 0, 0, .17);
}

.jv-enhanced-culture .journal-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 85% 25%,
      rgba(170, 141, 255, .085),
      transparent 48%
    );
}

.jv-enhanced-culture .journal-art {
  position: relative;
  isolation: isolate;
  filter: drop-shadow(
    0 15px 35px rgba(0, 0, 0, .15)
  );
}

/* Cultural exploration cards */

.jv-enhanced-culture .feature-card {
  border-color: var(--jv-culture-border);
  background:
    linear-gradient(
      145deg,
      rgba(38, 51, 97, .88),
      rgba(13, 23, 53, .96)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .045),
    0 18px 44px rgba(0, 0, 0, .12);
  transition:
    transform .3s var(--jv-culture-ease),
    border-color .3s ease,
    box-shadow .3s ease;
}

@media (hover: hover) {
  .jv-enhanced-culture .feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 173, 152, .46);
    box-shadow:
      0 25px 55px rgba(0, 0, 0, .19),
      0 0 32px rgba(255, 173, 152, .06);
  }
}

.jv-enhanced-culture .card-icon {
  transition:
    transform .3s var(--jv-culture-ease),
    filter .3s ease;
}

@media (hover: hover) {
  .jv-enhanced-culture .feature-card:hover .card-icon {
    transform: translateY(-2px) scale(1.04);
    filter: drop-shadow(
      0 6px 14px rgba(255, 173, 152, .15)
    );
  }
}

/* Cultural pathway elements */

.jv-enhanced-culture .v3-path {
  border-color: var(--jv-culture-border);
  transition:
    border-color .25s ease,
    box-shadow .25s ease;
}

@media (hover: hover) {
  .jv-enhanced-culture .v3-path:hover {
    border-color: rgba(105, 234, 214, .42);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .12);
  }
}

.jv-enhanced-culture .text-link:focus-visible,
.jv-enhanced-culture .card-link:focus-visible,
.jv-enhanced-culture .journal-panel a:focus-visible {
  outline: 2px solid var(--aqua, #69ead6);
  outline-offset: 4px;
}

/* Mobile optimization */

@media (max-width: 700px) {
  .jv-enhanced-culture .page-hero::before {
    inset: -15px -8px;
    opacity: .65;
  }

  .jv-enhanced-culture .feature-card {
    box-shadow: 0 10px 28px rgba(0, 0, 0, .10);
  }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
  .jv-enhanced-culture .feature-card,
  .jv-enhanced-culture .card-icon,
  .jv-enhanced-culture .v3-path {
    transition: none;
  }

  .jv-enhanced-culture .feature-card:hover,
  .jv-enhanced-culture .feature-card:hover .card-icon {
    transform: none;
  }
}

/* ==========================================================
   JuntoVerse Learning — Phase 2
   Scoped opt-in: .jv-enhanced-learning
   ========================================================== */

.jv-enhanced-learning {
  --jv-learning-border: rgba(168, 195, 255, .2);
  --jv-learning-ease: cubic-bezier(.22, 1, .36, 1);
}

/* Immersive learning hero */

.jv-enhanced-learning .page-hero {
  position: relative;
  isolation: isolate;
}

.jv-enhanced-learning .page-hero::before {
  content: "";
  position: absolute;
  inset: -38px -18px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at 25% 35%,
      rgba(160, 125, 255, .18),
      transparent 57%
    ),
    radial-gradient(
      ellipse at 82% 55%,
      rgba(100, 235, 215, .13),
      transparent 56%
    );
}

.jv-enhanced-learning .page-hero h1 {
  letter-spacing: -.045em;
  text-wrap: balance;
}

.jv-enhanced-learning .section-heading h2 {
  letter-spacing: -.025em;
  text-wrap: balance;
}

/* Learning-method cards */

.jv-enhanced-learning .feature-card {
  position: relative;
  border-color: var(--jv-learning-border);
  background:
    linear-gradient(
      145deg,
      rgba(38, 50, 98, .9),
      rgba(14, 24, 54, .96)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .055),
    0 18px 42px rgba(0, 0, 0, .13);
  transition:
    transform .3s var(--jv-learning-ease),
    border-color .3s ease,
    box-shadow .3s ease;
}

@media (hover: hover) {
  .jv-enhanced-learning .feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(105, 234, 214, .48);
    box-shadow:
      0 24px 52px rgba(0, 0, 0, .2),
      0 0 28px rgba(105, 234, 214, .055);
  }
}

.jv-enhanced-learning .card-icon {
  transition: transform .3s var(--jv-learning-ease);
}

@media (hover: hover) {
  .jv-enhanced-learning .feature-card:hover .card-icon {
    transform: scale(1.06) translateY(-2px);
  }
}

/* SpanishGo app showcase */

.jv-enhanced-learning .app-panel {
  position: relative;
  isolation: isolate;
  border-color: var(--jv-learning-border);
  background:
    linear-gradient(
      135deg,
      rgba(43, 53, 103, .94),
      rgba(14, 24, 56, .98)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .06),
    0 25px 65px rgba(0, 0, 0, .17);
}

.jv-enhanced-learning .app-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 82% 24%,
      rgba(155, 129, 255, .11),
      transparent 48%
    );
}

.jv-enhanced-learning .app-icon {
  filter: drop-shadow(
    0 12px 24px rgba(0, 0, 0, .16)
  );
}

/* Smartphone presentation */

.jv-enhanced-learning .phone-mock {
  position: relative;
  box-shadow:
    0 30px 75px rgba(0, 0, 0, .29),
    0 0 48px rgba(148, 126, 255, .09);
  transition:
    transform .45s var(--jv-learning-ease),
    box-shadow .45s ease;
}

@media (hover: hover) {
  .jv-enhanced-learning .phone-mock:hover {
    transform: translateY(-5px);
    box-shadow:
      0 38px 85px rgba(0, 0, 0, .32),
      0 0 55px rgba(148, 126, 255, .13);
  }
}

.jv-enhanced-learning .phone-screen {
  overflow: hidden;
}

.jv-enhanced-learning .mock-tile {
  border-color: rgba(168, 195, 255, .17);
  transition:
    border-color .25s ease,
    transform .25s var(--jv-learning-ease);
}

@media (hover: hover) {
  .jv-enhanced-learning .mock-tile:hover {
    border-color: rgba(105, 234, 214, .38);
    transform: translateY(-2px);
  }
}

/* Official SpanishGo imagery */

.jv-enhanced-learning .asset-showcase,
.jv-enhanced-learning .wide-banner {
  position: relative;
  isolation: isolate;
}

.jv-enhanced-learning .official-image {
  max-width: 100%;
  height: auto;
}

/* Practice and quiz presentation */

.jv-enhanced-learning .v3-quiz {
  border-color: var(--jv-learning-border);
  background:
    linear-gradient(
      145deg,
      rgba(36, 48, 95, .91),
      rgba(14, 24, 54, .97)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .05),
    0 20px 50px rgba(0, 0, 0, .15);
}

.jv-enhanced-learning .v3-answer {
  transition:
    transform .25s var(--jv-learning-ease),
    border-color .25s ease,
    box-shadow .25s ease;
}

@media (hover: hover) {
  .jv-enhanced-learning .v3-answer:hover {
    transform: translateY(-2px);
    border-color: rgba(105, 234, 214, .45);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .11);
  }
}

.jv-enhanced-learning .v3-answer:focus-visible,
.jv-enhanced-learning .btn:focus-visible,
.jv-enhanced-learning .card-link:focus-visible {
  outline: 2px solid #69ead6;
  outline-offset: 4px;
}

/* Learning pathways */

.jv-enhanced-learning .v4-action-stack {
  border-color: var(--jv-learning-border);
}

.jv-enhanced-learning .v3-practice-cta {
  position: relative;
  isolation: isolate;
}

/* Mobile presentation */

@media (max-width: 700px) {
  .jv-enhanced-learning .page-hero::before {
    inset: -16px -8px;
    opacity: .7;
  }

  .jv-enhanced-learning .feature-card {
    box-shadow: 0 10px 28px rgba(0, 0, 0, .11);
  }

  .jv-enhanced-learning .phone-mock {
    max-width: 100%;
  }
}

/* Reduced-motion accessibility */

@media (prefers-reduced-motion: reduce) {
  .jv-enhanced-learning .feature-card,
  .jv-enhanced-learning .card-icon,
  .jv-enhanced-learning .phone-mock,
  .jv-enhanced-learning .mock-tile,
  .jv-enhanced-learning .v3-answer {
    transition: none;
  }

  .jv-enhanced-learning .feature-card:hover,
  .jv-enhanced-learning .feature-card:hover .card-icon,
  .jv-enhanced-learning .phone-mock:hover,
  .jv-enhanced-learning .mock-tile:hover,
  .jv-enhanced-learning .v3-answer:hover {
    transform: none;
  }
}

/* JuntoVerse Learning Logo Size Correction - Step 126 */

.jv-enhanced-learning .asset-showcase .official-image {
  display: block;
  width: min(100%, 240px);
  max-width: 240px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin-inline: auto;
}

@media (max-width: 700px) {
  .jv-enhanced-learning .asset-showcase .official-image {
    width: min(100%, 180px);
    max-width: 180px;
  }
}

/* ==========================================================
   JuntoVerse Store — Phase 2
   Scoped opt-in: .jv-enhanced-store
   ========================================================== */

.jv-enhanced-store {
  --jv-store-border: rgba(176, 195, 255, .2);
  --jv-store-ease: cubic-bezier(.22, 1, .36, 1);
}

/* Cinematic storefront hero */

.jv-enhanced-store .page-hero {
  position: relative;
  isolation: isolate;
}

.jv-enhanced-store .page-hero::before {
  content: "";
  position: absolute;
  inset: -40px -20px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at 20% 38%,
      rgba(169, 130, 255, .17),
      transparent 58%
    ),
    radial-gradient(
      ellipse at 82% 58%,
      rgba(255, 173, 152, .13),
      transparent 57%
    ),
    radial-gradient(
      ellipse at 55% 95%,
      rgba(105, 234, 214, .08),
      transparent 56%
    );
}

.jv-enhanced-store .page-hero h1 {
  letter-spacing: -.045em;
  text-wrap: balance;
}

.jv-enhanced-store .section-heading h2 {
  letter-spacing: -.025em;
  text-wrap: balance;
}

/* ¡HOLA! Collection showcase */

.jv-enhanced-store .store-feature {
  position: relative;
  isolation: isolate;
  border-color: var(--jv-store-border);
  background:
    linear-gradient(
      135deg,
      rgba(43, 49, 94, .94),
      rgba(15, 24, 55, .98)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .06),
    0 24px 60px rgba(0, 0, 0, .16);
}

.jv-enhanced-store .store-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 80% 28%,
      rgba(255, 173, 152, .09),
      transparent 50%
    );
}

/* Book-stack presentation */

.jv-enhanced-store .book-stack {
  position: relative;
  isolation: isolate;
  filter: drop-shadow(
    0 20px 30px rgba(0, 0, 0, .16)
  );
}

.jv-enhanced-store .book {
  transition:
    transform .4s var(--jv-store-ease),
    filter .4s ease;
}

@media (hover: hover) {
  .jv-enhanced-store .book-stack:hover .book-front {
    transform: translateY(-5px) rotate(-2deg);
  }

  .jv-enhanced-store .book-stack:hover .book-back {
    filter: brightness(1.09);
  }
}

/* Educational benefit cards */

.jv-enhanced-store .feature-card {
  border-color: var(--jv-store-border);
  background:
    linear-gradient(
      145deg,
      rgba(39, 50, 96, .89),
      rgba(14, 23, 53, .97)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .05),
    0 17px 42px rgba(0, 0, 0, .13);
  transition:
    transform .3s var(--jv-store-ease),
    border-color .3s ease,
    box-shadow .3s ease;
}

@media (hover: hover) {
  .jv-enhanced-store .feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 173, 152, .43);
    box-shadow:
      0 24px 50px rgba(0, 0, 0, .19),
      0 0 28px rgba(255, 173, 152, .05);
  }
}

/* Product gallery and tiles */

.jv-enhanced-store .product-gallery {
  position: relative;
  isolation: isolate;
}

.jv-enhanced-store .product-tile {
  border-color: var(--jv-store-border);
  background:
    linear-gradient(
      145deg,
      rgba(39, 50, 94, .9),
      rgba(14, 24, 54, .97)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .05),
    0 18px 44px rgba(0, 0, 0, .13);
  transition:
    transform .3s var(--jv-store-ease),
    border-color .3s ease,
    box-shadow .3s ease;
}

@media (hover: hover) {
  .jv-enhanced-store .product-tile:hover {
    transform: translateY(-5px);
    border-color: rgba(105, 234, 214, .45);
    box-shadow:
      0 25px 55px rgba(0, 0, 0, .19),
      0 0 28px rgba(105, 234, 214, .05);
  }
}

.jv-enhanced-store .product-tile img,
.jv-enhanced-store .product-gallery img {
  max-width: 100%;
  height: auto;
}

/* Product tags and actions */

.jv-enhanced-store .tag-row {
  position: relative;
}

.jv-enhanced-store .btn:focus-visible,
.jv-enhanced-store .card-link:focus-visible,
.jv-enhanced-store .product-tile a:focus-visible {
  outline: 2px solid #69ead6;
  outline-offset: 4px;
}

/* Mobile optimization */

@media (max-width: 700px) {
  .jv-enhanced-store .page-hero::before {
    inset: -16px -8px;
    opacity: .7;
  }

  .jv-enhanced-store .feature-card,
  .jv-enhanced-store .product-tile {
    box-shadow: 0 10px 28px rgba(0, 0, 0, .1);
  }
}

/* Reduced-motion accessibility */

@media (prefers-reduced-motion: reduce) {
  .jv-enhanced-store .book,
  .jv-enhanced-store .feature-card,
  .jv-enhanced-store .product-tile {
    transition: none;
  }

  .jv-enhanced-store .book-stack:hover .book-front,
  .jv-enhanced-store .feature-card:hover,
  .jv-enhanced-store .product-tile:hover {
    transform: none;
  }
}

/* ==========================================================
   JuntoVerse Educators — Phase 2
   Scoped opt-in: .jv-enhanced-educators
   ========================================================== */

.jv-enhanced-educators {
  --jv-ed-border: rgba(171, 195, 255, .2);
  --jv-ed-ease: cubic-bezier(.22, 1, .36, 1);
}

/* Academic cinematic hero */

.jv-enhanced-educators .ed-hero {
  position: relative;
  isolation: isolate;
}

.jv-enhanced-educators .ed-hero::before {
  content: "";
  position: absolute;
  inset: -35px -20px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at 18% 30%,
      rgba(161, 135, 255, .18),
      transparent 57%
    ),
    radial-gradient(
      ellipse at 82% 54%,
      rgba(105, 234, 214, .12),
      transparent 55%
    ),
    radial-gradient(
      ellipse at 55% 90%,
      rgba(255, 173, 152, .08),
      transparent 54%
    );
}

.jv-enhanced-educators .ed-hero h1 {
  letter-spacing: -.045em;
  text-wrap: balance;
}

/* Hero companion panel */

.jv-enhanced-educators .ed-hero-side {
  position: relative;
  border: 1px solid var(--jv-ed-border);
  background:
    linear-gradient(
      145deg,
      rgba(43, 53, 100, .94),
      rgba(14, 25, 57, .97)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .07),
    0 24px 60px rgba(0, 0, 0, .17);
}

.jv-enhanced-educators .ed-side-emoji {
  filter: drop-shadow(
    0 8px 18px rgba(105, 234, 214, .12)
  );
}

/* Educational feature and resource cards */

.jv-enhanced-educators .ed-tile {
  position: relative;
  border-color: var(--jv-ed-border);
  background:
    linear-gradient(
      145deg,
      rgba(40, 52, 97, .9),
      rgba(15, 25, 56, .97)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .055),
    0 16px 40px rgba(0, 0, 0, .13);
  transition:
    transform .3s var(--jv-ed-ease),
    border-color .3s ease,
    box-shadow .3s ease;
}

@media (hover: hover) {
  .jv-enhanced-educators .ed-tile:hover {
    transform: translateY(-5px);
    border-color: rgba(105, 234, 214, .4);
    box-shadow:
      0 25px 55px rgba(0, 0, 0, .18),
      0 0 30px rgba(105, 234, 214, .045);
  }
}

/* Section typography */

.jv-enhanced-educators .ed-section h2 {
  letter-spacing: -.025em;
  text-wrap: balance;
}

/* Resource search and filtering */

.jv-enhanced-educators .ed-filterbar {
  position: relative;
  border: 1px solid var(--jv-ed-border);
  background:
    linear-gradient(
      130deg,
      rgba(35, 47, 88, .88),
      rgba(15, 26, 58, .95)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .04),
    0 15px 35px rgba(0, 0, 0, .1);
}

.jv-enhanced-educators .ed-filterbar input {
  max-width: 100%;
  transition:
    border-color .2s ease,
    box-shadow .2s ease;
}

.jv-enhanced-educators .ed-filterbar input:focus-visible {
  outline: 2px solid #69ead6;
  outline-offset: 3px;
}

.jv-enhanced-educators .ed-count {
  font-variant-numeric: tabular-nums;
}

/* Category chips */

.jv-enhanced-educators .ed-chips {
  position: relative;
}

.jv-enhanced-educators .ed-chips button {
  transition:
    border-color .2s ease,
    background-color .2s ease,
    transform .2s ease;
}

.jv-enhanced-educators .ed-chips button:focus-visible {
  outline: 2px solid #69ead6;
  outline-offset: 3px;
}

/* Teaching principles */

.jv-enhanced-educators .ed-mini-list {
  position: relative;
}

.jv-enhanced-educators .ed-mini-list > * {
  transition: border-color .2s ease;
}

/* Teacher partnerships */

.jv-enhanced-educators .ed-partners {
  position: relative;
  isolation: isolate;
  border-color: var(--jv-ed-border);
  background:
    linear-gradient(
      125deg,
      rgba(49, 45, 102, .95),
      rgba(15, 30, 62, .97)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .06),
    0 25px 60px rgba(0, 0, 0, .16);
}

.jv-enhanced-educators .ed-partners::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(105, 234, 214, .12),
      transparent 52%
    );
}

/* Actions and keyboard accessibility */

.jv-enhanced-educators .ed-actions .btn:focus-visible,
.jv-enhanced-educators .ed-tile a:focus-visible,
.jv-enhanced-educators .ed-partners a:focus-visible {
  outline: 2px solid #69ead6;
  outline-offset: 4px;
}

/* Responsive refinements */

@media (max-width: 700px) {
  .jv-enhanced-educators .ed-hero::before {
    inset: -15px -8px;
    opacity: .7;
  }

  .jv-enhanced-educators .ed-tile {
    box-shadow: 0 10px 28px rgba(0, 0, 0, .1);
  }

  .jv-enhanced-educators .ed-filterbar input {
    min-width: 0;
  }
}

/* Reduced-motion accessibility */

@media (prefers-reduced-motion: reduce) {
  .jv-enhanced-educators .ed-tile,
  .jv-enhanced-educators .ed-chips button,
  .jv-enhanced-educators .ed-filterbar input {
    transition: none;
  }

  .jv-enhanced-educators .ed-tile:hover {
    transform: none;
  }
}

/* ==========================================================
   JuntoVerse Cultural Atlas — Phase 2
   Scoped opt-in: .jv-enhanced-atlas
   ========================================================== */

.jv-enhanced-atlas {
  --jv-atlas-border: rgba(166, 197, 255, .2);
  --jv-atlas-ease: cubic-bezier(.22, 1, .36, 1);
}

/* Atmospheric geographical hero */

.jv-enhanced-atlas .jv2-hero {
  position: relative;
  isolation: isolate;
}

.jv-enhanced-atlas .jv2-hero::before {
  content: "";
  position: absolute;
  inset: -35px -20px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at 22% 28%,
      rgba(140, 121, 255, .2),
      transparent 57%
    ),
    radial-gradient(
      ellipse at 82% 58%,
      rgba(105, 234, 214, .13),
      transparent 56%
    ),
    radial-gradient(
      ellipse at 52% 90%,
      rgba(255, 173, 152, .08),
      transparent 53%
    );
}

.jv-enhanced-atlas .jv2-hero h1 {
  letter-spacing: -.045em;
  text-wrap: balance;
}

/* Interactive map presentation */

.jv-enhanced-atlas .jv2-map {
  position: relative;
  isolation: isolate;
  border: 1px solid var(--jv-atlas-border);
  background:
    radial-gradient(
      ellipse at 55% 42%,
      rgba(58, 83, 136, .32),
      transparent 70%
    ),
    linear-gradient(
      145deg,
      rgba(35, 47, 93, .95),
      rgba(11, 24, 54, .98)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .07),
    0 25px 65px rgba(0, 0, 0, .18);
}

/* Country destinations */

.jv-enhanced-atlas .jv2-country {
  transition:
    transform .28s var(--jv-atlas-ease),
    border-color .28s ease,
    box-shadow .28s ease,
    background-color .28s ease;
}

@media (hover: hover) {
  .jv-enhanced-atlas .jv2-country:hover {
    transform: translateY(-4px);
    border-color: rgba(105, 234, 214, .45);
    box-shadow:
      0 15px 35px rgba(0, 0, 0, .14),
      0 0 25px rgba(105, 234, 214, .07);
  }
}

.jv-enhanced-atlas .jv2-country:focus-visible {
  outline: 2px solid #69ead6;
  outline-offset: 4px;
}

/* Editorial culture panels */

.jv-enhanced-atlas .jv2-panel {
  position: relative;
  border-color: var(--jv-atlas-border);
  background:
    linear-gradient(
      145deg,
      rgba(38, 52, 97, .91),
      rgba(14, 25, 56, .97)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .055),
    0 18px 42px rgba(0, 0, 0, .13);
}

.jv-enhanced-atlas .jv2-panel h2,
.jv-enhanced-atlas .jv2-panel h3 {
  letter-spacing: -.025em;
  text-wrap: balance;
}

/* Resource index */

.jv-enhanced-atlas .jv-static-resource-index {
  position: relative;
  border-color: var(--jv-atlas-border);
}

.jv-enhanced-atlas .jv-resource-links a {
  transition:
    color .2s ease,
    border-color .2s ease,
    transform .2s var(--jv-atlas-ease);
}

@media (hover: hover) {
  .jv-enhanced-atlas .jv-resource-links a:hover {
    transform: translateY(-2px);
  }
}

/* Atlas navigation and actions */

.jv-enhanced-atlas .jv2-btn:focus-visible,
.jv-enhanced-atlas .jv2-topnav a:focus-visible,
.jv-enhanced-atlas .jv-resource-links a:focus-visible {
  outline: 2px solid #69ead6;
  outline-offset: 4px;
}

/* Responsive refinements */

@media (max-width: 700px) {
  .jv-enhanced-atlas .jv2-hero::before {
    inset: -15px -8px;
    opacity: .7;
  }

  .jv-enhanced-atlas .jv2-map,
  .jv-enhanced-atlas .jv2-panel {
    box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
  }
}

/* Reduced-motion accessibility */

@media (prefers-reduced-motion: reduce) {
  .jv-enhanced-atlas .jv2-country,
  .jv-enhanced-atlas .jv-resource-links a {
    transition: none;
  }

  .jv-enhanced-atlas .jv2-country:hover,
  .jv-enhanced-atlas .jv-resource-links a:hover {
    transform: none;
  }
}


/* JUNTOVERSE ATLAS GEOGRAPHIC STAGE ? STEP 154 */

.jv-enhanced-atlas .atlas-geographic-stage {
  position: relative;
  isolation: isolate;
  margin: 1.5rem 0 2rem;
  padding: clamp(1rem, 2.5vw, 2rem);
  overflow: hidden;
  border: 1px solid rgba(142, 170, 232, .24);
  border-radius: clamp(18px, 3vw, 30px);
  background:
    radial-gradient(ellipse at 15% 10%,
      rgba(107, 79, 232, .17), transparent 48%),
    radial-gradient(ellipse at 90% 90%,
      rgba(42, 205, 203, .12), transparent 45%),
    linear-gradient(145deg, #101c3e, #090f25);
  box-shadow:
    0 24px 65px rgba(0, 0, 0, .24),
    inset 0 1px rgba(255, 255, 255, .06);
}

.jv-enhanced-atlas .atlas-geographic-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -35%;
  pointer-events: none;
  background: conic-gradient(
    from 190deg at 50% 50%,
    transparent 0deg,
    rgba(99, 91, 241, .11) 90deg,
    transparent 165deg,
    rgba(35, 206, 197, .08) 245deg,
    transparent 360deg
  );
  filter: blur(35px);
}

.jv-enhanced-atlas .atlas-geographic-heading {
  position: relative;
  z-index: 1;
  margin: 0 0 1.25rem;
  text-align: center;
}

.jv-enhanced-atlas .atlas-geographic-heading .jv2-kicker {
  display: block;
  margin-bottom: .5rem;
  color: #85e8e5;
  font-size: .73rem;
  font-weight: 750;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.jv-enhanced-atlas .atlas-geographic-heading p {
  margin: 0;
  color: #d8e2fb;
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  line-height: 1.6;
}

.jv-enhanced-atlas .atlas-geographic-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(141, 178, 238, .17);
  border-radius: clamp(14px, 2vw, 23px);
  background: #0a1430;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .23);
}

.jv-enhanced-atlas .atlas-geographic-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 45px rgba(7, 15, 36, .32);
}

.jv-enhanced-atlas .atlas-geographic-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  aspect-ratio: 1200 / 620;
  object-fit: contain;
}

@media (max-width: 700px) {
  .jv-enhanced-atlas .atlas-geographic-stage {
    margin: 1rem 0 1.5rem;
    padding: .85rem;
  }

  .jv-enhanced-atlas .atlas-geographic-heading {
    margin-bottom: .85rem;
  }

  .jv-enhanced-atlas .atlas-geographic-heading .jv2-kicker {
    font-size: .65rem;
    letter-spacing: .12em;
  }

  .jv-enhanced-atlas .atlas-geographic-heading p {
    font-size: .9rem;
  }

  .jv-enhanced-atlas .atlas-geographic-frame {
    border-radius: 13px;
  }
}


/* JUNTOVERSE ATLAS MAP MARKERS ? STEP 163 */

.jv-enhanced-atlas .atlas-geographic-frame {
  position: relative;
  isolation: isolate;
}

.jv-enhanced-atlas .atlas-marker-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.jv-enhanced-atlas .atlas-map-marker {
  position: absolute;
  width: 28px;
  height: 28px;
  padding: 0;
  margin: 0;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  display: grid;
  place-items: center;
  transition: transform .2s ease;
}

.jv-enhanced-atlas .atlas-map-marker::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(113, 236, 228, .8);
  border-radius: 50%;
  background: rgba(44, 214, 206, .14);
  box-shadow:
    0 0 12px rgba(46, 220, 215, .35),
    0 0 26px rgba(115, 91, 242, .25);
  animation: atlas-marker-pulse 3s ease-in-out infinite;
}

.jv-enhanced-atlas .atlas-marker-dot {
  position: relative;
  z-index: 1;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #79f6ed;
  box-shadow:
    0 0 8px rgba(121, 246, 237, .95),
    0 0 18px rgba(66, 212, 221, .7);
}

.jv-enhanced-atlas .atlas-map-marker:hover,
.jv-enhanced-atlas .atlas-map-marker:focus-visible {
  transform: translate(-50%, -50%) scale(1.3);
}

.jv-enhanced-atlas .atlas-map-marker:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

.jv-enhanced-atlas .atlas-map-marker[aria-pressed="true"]::before {
  border-color: #ffb9e9;
  background: rgba(170, 105, 248, .28);
  box-shadow:
    0 0 16px rgba(193, 125, 255, .8),
    0 0 35px rgba(106, 80, 240, .55);
}

.jv-enhanced-atlas .atlas-map-marker[aria-pressed="true"]
.atlas-marker-dot {
  background: #ffffff;
  box-shadow:
    0 0 9px #ffffff,
    0 0 23px #b990ff;
}

@keyframes atlas-marker-pulse {
  0%, 100% {
    opacity: .75;
    scale: .85;
  }

  50% {
    opacity: 1;
    scale: 1.15;
  }
}

@media (max-width: 700px) {
  .jv-enhanced-atlas .atlas-map-marker {
    width: 24px;
    height: 24px;
  }

  .jv-enhanced-atlas .atlas-marker-dot {
    width: 8px;
    height: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jv-enhanced-atlas .atlas-map-marker,
  .jv-enhanced-atlas .atlas-map-marker::before {
    animation: none;
    transition: none;
  }
}


/* ============================================================
   JuntoVerse Cultural Atlas ? Cinematic Destination Spotlight
   Scoped to the Atlas page; does not affect other site pages.
   ============================================================ */

.jv-enhanced-atlas .jv-atlas-spotlight {
  position: relative;
  width: 100%;
  margin: 1.35rem 0 1.8rem;
  overflow: hidden;
  border: 1px solid rgba(156, 186, 235, .22);
  border-radius: 22px;
  background: #0c142a;
  box-shadow:
    0 24px 65px rgba(2, 7, 24, .34),
    0 0 38px rgba(76, 190, 202, .075);
  isolation: isolate;
}

.jv-enhanced-atlas .jv-atlas-spotlight > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border: 0;
  border-radius: 0;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}

@media (hover: hover) and (pointer: fine) {
  .jv-enhanced-atlas .jv-atlas-spotlight:hover > img {
    transform: scale(1.025);
  }
}

.jv-enhanced-atlas .jv-atlas-spotlight-caption {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .4rem;
  padding: 1rem 1.25rem 1.1rem;
  color: rgba(232, 241, 255, .78);
  background:
    linear-gradient(120deg, rgba(23, 30, 64, .98), rgba(10, 24, 47, .98));
  font-size: .78rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.jv-enhanced-atlas .jv-atlas-spotlight-caption strong {
  display: block;
  color: #f6faff;
  font-size: .97rem;
  font-weight: 750;
  letter-spacing: .01em;
}

.jv-enhanced-atlas .jv-atlas-spotlight-caption span {
  display: block;
  max-width: 100%;
}

.jv-enhanced-atlas .jv-atlas-spotlight-caption a {
  color: #84e4e2;
  text-decoration: underline;
  text-decoration-color: rgba(132, 228, 226, .4);
  text-underline-offset: 3px;
}

.jv-enhanced-atlas .jv-atlas-spotlight-caption a:hover {
  color: #c4ffff;
  text-decoration-color: currentColor;
}

.jv-enhanced-atlas .jv-atlas-spotlight-caption a:focus-visible {
  outline: 2px solid #8ce7e8;
  outline-offset: 4px;
  border-radius: 2px;
}

@media (max-width: 640px) {
  .jv-enhanced-atlas .jv-atlas-spotlight {
    margin: 1rem 0 1.4rem;
    border-radius: 16px;
  }

  .jv-enhanced-atlas .jv-atlas-spotlight-caption {
    padding: .85rem 1rem 1rem;
    font-size: .74rem;
  }

  .jv-enhanced-atlas .jv-atlas-spotlight-caption strong {
    font-size: .91rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jv-enhanced-atlas .jv-atlas-spotlight > img {
    transition: none;
  }

  .jv-enhanced-atlas .jv-atlas-spotlight:hover > img {
    transform: none;
  }
}


/* JUNTOVERSE PHASE 3 - REGIONAL COUNTRY EXPLORER */
.jv-enhanced-atlas .jv-atlas-explorer {
  margin: 1.5rem 0 1rem;
  padding: clamp(1rem, 2.5vw, 1.7rem);
  border: 1px solid rgba(142,170,232,.24);
  border-radius: 22px;
  background: linear-gradient(135deg,#111c40,#11132f);
  box-shadow: 0 18px 45px rgba(0,0,0,.16);
}
.jv-enhanced-atlas .jv-atlas-explorer-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.jv-enhanced-atlas .jv-atlas-explorer-heading h2 {
  margin: .3rem 0;
  color: #fff;
}
.jv-enhanced-atlas .jv-atlas-explorer-heading p {
  margin: 0;
  color: #c4d1ed;
}
.jv-enhanced-atlas .jv-atlas-explorer-count {
  padding: .5rem .85rem;
  border-radius: 100px;
  background: rgba(61,218,208,.13);
  color: #92f4ea;
  font-weight: 700;
  white-space: nowrap;
}
.jv-enhanced-atlas .jv-atlas-search-label {
  display: block;
  margin-bottom: .5rem;
  color: #e7edff;
  font-weight: 650;
}
.jv-enhanced-atlas .jv-atlas-search {
  display: block;
  width: 100%;
  padding: .9rem 1rem;
  border: 1px solid rgba(151,177,237,.4);
  border-radius: 12px;
  background: #0a1330;
  color: #fff;
  font: inherit;
}
.jv-enhanced-atlas .jv-atlas-search::placeholder {
  color: #aabbd9;
}
.jv-enhanced-atlas .jv-atlas-search:focus-visible,
.jv-enhanced-atlas .jv-atlas-region-filters button:focus-visible {
  outline: 2px solid #8ef3e9;
  outline-offset: 3px;
}
.jv-enhanced-atlas .jv-atlas-region-filters {
  display: flex;
  gap: .55rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.jv-enhanced-atlas .jv-atlas-region-filters button {
  padding: .6rem .9rem;
  border: 1px solid rgba(143,166,229,.36);
  border-radius: 100px;
  background: rgba(255,255,255,.045);
  color: #e7edff;
  font: inherit;
  font-size: .87rem;
  cursor: pointer;
}
.jv-enhanced-atlas .jv-atlas-region-filters button[aria-pressed="true"] {
  border-color: #7be6dc;
  background: rgba(46,205,199,.2);
  color: #a7fff5;
}
.jv-enhanced-atlas .jv-atlas-empty {
  margin: 1rem 0 0;
  color: #e4d6ff;
}
.jv-enhanced-atlas #country-list > button[hidden],
.jv-enhanced-atlas .jv-atlas-empty[hidden] {
  display: none !important;
}
@media (max-width: 700px) {
  .jv-enhanced-atlas .jv-atlas-explorer {
    border-radius: 16px;
  }
  .jv-enhanced-atlas .jv-atlas-region-filters button {
    font-size: .8rem;
    padding: .55rem .7rem;
  }
}


/* JUNTOVERSE PHASE 3 - REGIONAL MAP ZOOM */
.jv-enhanced-atlas .atlas-zoom-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 .75rem;
  color: #c9d9fa;
  font-weight: 650;
}
.jv-enhanced-atlas .atlas-zoom-toolbar button {
  padding: .45rem .85rem;
  border: 1px solid rgba(143,166,229,.4);
  border-radius: 100px;
  background: rgba(38,58,104,.7);
  color: #f1f5ff;
  font: inherit;
  cursor: pointer;
}
.jv-enhanced-atlas .atlas-zoom-toolbar button:disabled {
  opacity: .45;
  cursor: default;
}
.jv-enhanced-atlas .atlas-zoom-content {
  position: relative;
  width: 100%;
  transform-origin: center;
  transition: transform .7s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}
.jv-enhanced-atlas .atlas-zoom-content .atlas-marker-layer {
  position: absolute;
  inset: 0;
}
@media (prefers-reduced-motion: reduce) {
  .jv-enhanced-atlas .atlas-zoom-content {
    transition: none;
  }
}


/* JUNTOVERSE PHASE 3 - LOCAL SVG FLAGS */
.jv-enhanced-atlas .jv-atlas-flag {
  display: inline-block;
  width: 1.65rem;
  height: 1.24rem;
  object-fit: cover;
  flex-shrink: 0;
  vertical-align: middle;
  border-radius: .2rem;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.jv-enhanced-atlas #country-list > button {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.jv-enhanced-atlas .jv-atlas-flag-heading {
  width: 2.5rem;
  height: 1.88rem;
  margin-right: .4rem;
  vertical-align: -.25rem;
}


/* Phase 3 Step 267: Cinematic Cultural Atlas photography */
.jv-enhanced-atlas .jv-atlas-spotlight {
  margin: 1.25rem 0 1.75rem;
  width: 100%;
}

.jv-enhanced-atlas .jv-atlas-spotlight > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 47 / 20;
  object-fit: cover;
  object-position: center;
  border-radius: 1rem;
}

.jv-enhanced-atlas .jv-atlas-spotlight-caption {
  margin-top: .65rem;
  line-height: 1.55;
}
