/* =========================================================
   Sandman Combat — Public Next Journeys
   Page-specific styles only
========================================================= */

/* =========================================================
   HERO POSTER
========================================================= */

.journeys-hero {
  display: block;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #000;
}

.journeys-hero > [data-lang-block] {
  width: 100%;
  margin: 0;
  padding: 0;
}

.journeys-hero__image,
.journeys-hero > [data-lang-block] > img {
  position: static;
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  transform: none;
  object-fit: contain;
  object-position: center top;
}

/* =========================================================
   JOURNEY INDEX
========================================================= */

.journey-index {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  background: var(--surface-deep, #0b0b0c);
}

.journey-index-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.journey-index-card {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line, rgba(255, 255, 255, 0.12));
  border-radius: 16px;
  background: var(--surface, #111113);
  text-decoration: none;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.journey-index-card:hover {
  transform: translateY(-2px);
}

.journey-index-card.silver {
  box-shadow: inset 0 3px 0 #c9ced4;
}

.journey-index-card.gold {
  box-shadow: inset 0 3px 0 #d4b147;
}

.journey-index-card.fitness {
  box-shadow: inset 0 3px 0 var(--brand-red-bright, #d11f27);
}

.journey-index-card strong {
  color: var(--text, #fff);
  font-size: 1.1rem;
}

.journey-index-card small,
.journey-index-age {
  color: var(--text-soft, #cfcfd2);
}

.journey-index-age {
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* =========================================================
   JOURNEY SECTIONS
========================================================= */

.journey-section {
  position: relative;
  overflow: hidden;
}

.journey-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
}

.journey-silver::before {
  background: radial-gradient(
    circle at 18% 35%,
    rgba(213, 219, 225, 0.28),
    transparent 28%
  );
}

.journey-gold::before {
  background: radial-gradient(
    circle at 82% 35%,
    rgba(212, 177, 71, 0.22),
    transparent 30%
  );
}

.journey-fitness::before {
  background: radial-gradient(
    circle at 18% 35%,
    rgba(181, 18, 25, 0.2),
    transparent 30%
  );
}

.journey-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
}

.journey-layout-reverse .journey-media {
  order: 2;
}

.journey-media {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  border: 1px solid var(--line, rgba(255, 255, 255, 0.12));
  border-radius: 26px;
  background: #080808;
}

.journey-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.coming-soon-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(212, 177, 71, 0.7);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.76);
  color: #e2c568;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.journey-label {
  margin: 0 0 0.65rem;
  color: var(--brand-red-bright, #d11f27);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.journey-content h2 {
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5.7rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.journey-tagline {
  margin: 0.8rem 0 1.7rem;
  color: var(--text-soft, #d4d4d7);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.journey-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1.7rem 0;
}

.journey-details-grid article {
  padding: 1.15rem;
  border: 1px solid var(--line, rgba(255, 255, 255, 0.12));
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.018);
}

.journey-details-grid h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.journey-details-grid ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-soft, #d4d4d7);
}

.journey-details-grid li + li {
  margin-top: 0.35rem;
}

/* =========================================================
   RANKS + FITNESS NOTES
========================================================= */

.rank-panel,
.fitness-note {
  padding: 1.15rem;
  border: 1px solid var(--line, rgba(255, 255, 255, 0.12));
  border-radius: 16px;
  background: var(--surface, #111113);
}

.rank-panel-title {
  margin: 0 0 0.8rem;
  color: var(--text-soft, #d4d4d7);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rank-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.rank-flow span {
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--line, rgba(255, 255, 255, 0.12));
  border-radius: 999px;
  font-size: 0.79rem;
}

.journey-silver .rank-flow span {
  border-color: rgba(204, 210, 216, 0.48);
}

.journey-gold .rank-flow span {
  border-color: rgba(212, 177, 71, 0.48);
}

.fitness-note strong {
  color: var(--brand-red-bright, #d11f27);
}

.fitness-note p {
  margin-bottom: 0;
}

/* =========================================================
   EARNED STANDARD
========================================================= */

.earned-standard {
  background: linear-gradient(100deg, #f2f2f2, #dcdcdc);
  color: #111;
}

.earned-standard .eyebrow {
  color: #b51219;
}

.earned-standard h2 {
  color: #111;
}

.earned-standard h2 strong {
  color: #b51219;
}

.earned-standard-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 7vw, 7rem);
}

.earned-standard p {
  color: #2e2e2e;
}

/* =========================================================
   AVAILABILITY + CTA PANELS
========================================================= */

.availability-panel,
.final-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(1.6rem, 4vw, 3rem);
  border: 1px solid rgba(181, 18, 25, 0.48);
  border-radius: 24px;
  background:
    linear-gradient(110deg, rgba(181, 18, 25, 0.13), transparent),
    var(--surface, #111113);
}

.availability-panel .button {
  margin-top: 0.8rem;
}

.final-cta {
  padding-top: 2rem;
}

.final-cta-panel {
  grid-template-columns: minmax(0, 1fr) auto;
}

.final-cta-panel p {
  margin-bottom: 0;
}

/* =========================================================
   EVERYDAY FITNESS
========================================================= */

.journeys-fitness {
  padding: clamp(4rem, 8vw, 7rem) 1.25rem;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  background:
    radial-gradient(
      circle at top,
      rgba(212, 175, 55, 0.06),
      transparent 45%
    ),
    linear-gradient(180deg, #07111f 0%, #03070d 100%);
}

.journeys-fitness .journeys-heading {
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
}

.journeys-fitness .journeys-eyebrow {
  margin-bottom: 0.75rem;
  color: var(--color-gold, #d4af37);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.journeys-fitness .journeys-heading h2 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
}

.journeys-fitness .journeys-heading p:last-child {
  max-width: 640px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  line-height: 1.8;
}

.journeys-fitness__hero {
  display: block;
  width: 100%;
  max-width: 1100px;
  height: auto;
  margin: 2.5rem auto 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1050px) {
  .journey-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-layout,
  .earned-standard-grid,
  .availability-panel {
    grid-template-columns: 1fr;
  }

  .journey-layout-reverse .journey-media {
    order: 0;
  }

  .journey-media {
    min-height: 500px;
  }
}

/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 768px) {
  .journey-index-grid,
  .journey-details-grid,
  .final-cta-panel {
    grid-template-columns: 1fr;
  }

  .journey-media {
    min-height: 390px;
  }

  .final-cta-panel .button {
    width: 100%;
  }

  .journeys-fitness {
    padding: 3rem 1rem;
  }

  .journeys-fitness .journeys-heading {
    margin-bottom: 1.5rem;
  }

  .journeys-fitness .journeys-heading h2 {
    font-size: 2rem;
  }

  .journeys-fitness .journeys-heading p:last-child {
    padding: 0 0.5rem;
    font-size: 1rem;
    line-height: 1.7;
  }

  .journeys-fitness__hero {
    margin-top: 1.5rem;
    border-radius: 12px;
  }
}

/* =========================================================
   RESPONSIVE — PORTRAIT PHONE HERO
   Natural 100% width, centered, no transform drift
========================================================= */

@media (max-width: 768px) and (orientation: portrait) {
  .journeys-hero {
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 28px 0 0 !important;
    overflow: hidden !important;
    background: #000 !important;
  }

  .journeys-hero > [data-lang-block] {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .journeys-hero__image,
  .journeys-hero > [data-lang-block] > img {
    position: static !important;
    left: auto !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
    transform: none !important;
    object-fit: contain !important;
    object-position: center top !important;
  }
}
/* =========================================================
   JOURNEYS — PHONE-ONLY DARK TEXT REPAIR
========================================================= */

@media (max-width:768px){

  .journeys-page,
  .journey-section,
  .journeys-intro,
  .journeys-fitness,
  .journey-content,
  .journey-details-grid article,
  .rank-panel,
  .fitness-note,
  .journey-index-card{
    --text:#f5f5f5 !important;
    --text-soft:#d0d0d4 !important;
    --muted:rgba(255,255,255,.72) !important;
  }

  .journeys-page h1,
  .journeys-page h2,
  .journeys-page h3,
  .journey-section h1,
  .journey-section h2,
  .journey-section h3,
  .journey-content h1,
  .journey-content h2,
  .journey-content h3,
  .journey-details-grid h3,
  .rank-panel-title{
    color:#f5f5f5 !important;
  }

  .journeys-page p,
  .journey-section p,
  .journey-content p,
  .journey-tagline,
  .journey-details-grid p,
  .journey-details-grid li,
  .rank-panel p,
  .fitness-note p{
    color:rgba(245,245,245,.8) !important;
  }

  .journey-details-grid article,
  .rank-panel,
  .fitness-note,
  .journey-index-card{
    background:#111113 !important;
    color:#f5f5f5 !important;
  }
}
/* =========================================================
   JOURNEYS HERO HOTSPOTS
========================================================= */

.journeys-hotspot-wrap{
  position:relative;
  width:100%;
  margin:0;
  padding:0;
}

.journeys-hotspot-wrap img{
  display:block;
  width:100%;
  height:auto;
}

.journey-hotspot{
  position:absolute;
  display:block;
  z-index:30;

  background:transparent;
  border:0;

  overflow:hidden;
  text-indent:-9999px;
}

/* ZERO2HERO — LEFT */

.journey-hotspot.z2h{
  left:6%;
  top:18%;
  width:28%;
  height:62%;
}

/* PATH2LEGEND — CENTER */

.journey-hotspot.p2l{
  left:36%;
  top:18%;
  width:28%;
  height:62%;
}

/* QUEST2MASTERY — RIGHT */

.journey-hotspot.q2m{
  left:66%;
  top:18%;
  width:28%;
  height:62%;
}


/* =========================================================
   JOURNEYS HOTSPOTS — PHONE
========================================================= */

@media (max-width:768px){

  .journey-hotspot.z2h{
    left:1%;
    top:12%;
    width:32%;
    height:76%;
  }

  .journey-hotspot.p2l{
    left:34%;
    top:12%;
    width:32%;
    height:76%;
  }

  .journey-hotspot.q2m{
    left:67%;
    top:12%;
    width:32%;
    height:76%;
  }

}
/* ==========================================================
   JOURNEYS HOTSPOTS
========================================================== */

.journeys-hotspot-wrap{
    position:relative;
}

.journey-hotspot{
    position:absolute;
    display:block;

    background:transparent;
    border:0;

    z-index:30;
}

/* Zero2Hero */

.journey-hotspot.z2h{
    left:3%;
    top:14%;

    width:29%;
    height:74%;
}

/* Path2Legend */

.journey-hotspot.p2l{
    left:35.5%;
    top:14%;

    width:29%;
    height:74%;
}

/* Quest2Mastery */

.journey-hotspot.q2m{
    left:68%;
    top:14%;

    width:29%;
    height:74%;
}
