.page-routes,
.page-routes__intro {
    position: relative;
}

.page-routes__intro {
    align-items: center;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    line-height: 1.5;
    padding: 2.5rem 0;
    width: 100%;
    min-height: 360px;
}

.page-routes__intro::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

.page-routes__content {
    align-items: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 4%;
    position: relative;
    width: 100%;
    z-index: 100;
}

.page-routes__page-title {
    color: #fff;
    font-family: "ThunderExtraBold";
    font-size: 80px;
    letter-spacing: 0.05em;
    line-height: 60px;
    margin-bottom: 1rem;
    text-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
}

.page-routes__page-title + .wp-block-group {
  max-width: 1024px;
  margin: 0 auto;
}

.page-routes__worlds {
    background-image: var(--route-bg-desktop);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.glass {
  --glass-bg: rgba(70, 70, 70, 0.5);
  background: var(--glass-bg);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.page-routes__worlds::before {
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  background:rgba(0, 0, 0, 0.3);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.page-routes__layout {
  position: relative;
  z-index: 1;
}

.page-routes__layout {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  min-height: 100vh;
  padding: 0 4%;
}

.page-routes__sidebar {
  /* --glass-bg: rgba(55, 55, 55, 0.5); */
  padding: 2rem 1.25rem;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
}

.page-routes__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.page-routes__menu-btn {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  display: flex;
  font: inherit;
  gap: 1rem;
  line-height: 1.5;
  padding: 1rem;
  position: relative;
  text-align: left;
  transition: background-color 180ms ease, color 180ms ease;
  width: 100%;
}

.page-routes__menu-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
}

.page-routes__menu-btn.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: #f2c300;
}

.page-routes__menu-btn.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #f2c300;
}

.page-routes__menu-label {
  letter-spacing: 0.06em;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
}

.page-routes__panels {
  position: relative;
  padding: 4rem 5%;
  color: #fff;
}

.page-routes__panel {
  display: none;
}

.page-routes__panel.is-active {
  display: block;
}

.page-routes__world-header {
  margin-bottom: 1.5rem;
}

.page-routes__world-header h2 {
  color: #fff;
  font-family: "ThunderExtraBold";
  font-size: 64px;
  letter-spacing: 0.05em;
  line-height: 56px;
  margin: 0 0 1rem;
  text-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
}

.page-routes__world-description,
.page-routes__world-short-description {
  padding: 1rem;
  line-height: 1.5;
}

.page-routes__world-short-description {
  margin-top: 1rem;
}

.page-routes__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.page-routes__stat-card {
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

.page-routes__stat-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, #f2c300 0%, rgba(242, 195, 0, 0.25) 100%);
}

.page-routes__stat-label {
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
}

.page-routes__stat-value {
  font-size: 3rem;
  line-height: 1;
  margin-top: 1rem;
  font-weight: 800;
}

.page-routes__stat-unit {
  font-family: inherit;
  font-size: 16px;
  opacity: 0.85;
}

.page-routes__world-routes {
  margin: 1.5rem 0;
}

.page-routes__routes-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
}

.page-routes__routes-table th,
.page-routes__routes-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-routes__routes-table th {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 12px;
  opacity: 0.9;
}

.page-routes__routes-table tr:last-child td {
  border-bottom: none;
}

.page-routes__empty {
  align-items: center;
  display: flex;
  height: 100vh;
  justify-content: center;
  text-align: center;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .page-routes__layout {
    gap: 1rem;
    padding: 0 1rem;
  }

  .page-routes__panels {
    padding: 2.5rem 0;
  }
}

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

  .page-routes__sidebar {
    position: sticky;
    top: 0;
    height: auto;
    z-index: 50;
    padding: 1rem;
    margin-left: -1rem;
    margin-right: -1rem;
    height: 5rem;
  }

  .page-routes__menu {
    flex-direction: row;
    overflow: auto;
    gap: 0.75rem;
  }

  .page-routes__menu-btn {
    justify-content: center;
    min-width: 5rem;
    text-align: center;
    white-space: nowrap;
    width: auto;
  }

  .page-routes__menu-btn.is-active::before {
    height: 4px;
    right: 0;
    top: auto;
    width: 100%;
  }

  .page-routes__panels {
    padding: 1rem 0;
  }

  .page-routes__worlds {
    background-image: var(--route-bg-mobile);
  }

  .page-routes__stats {
    grid-template-columns: 1fr;
  }
}


/* Old Routes Page Style */
.page-routes .routes-world {
  align-items: flex-end;
  color: #fff;
  display: flex;
  flex-direction: column;
  height: 100vh;
  justify-content: center;
  padding: 4rem 0;
}

.page-routes .routes-world:nth-child(even) {
  align-items: flex-start;
}

.page-routes .routes-world__inner {
  padding: 0 5%;
  width: 50%;
}

.page-routes .routes-world__title {
  font-family: "ThunderExtraBold";
  font-size: 64px;
  letter-spacing: 0.05em;
  line-height: 56px;
  margin: 1rem 0;
  text-transform: uppercase;
}

.page-routes .routes-world__description {
  backdrop-filter: blur(5px);
  background: rgba(60, 60, 60, 0.4);
  font-size: 1rem;
  line-height: 1.5;
  margin: 1rem 0;
  padding: 1rem;
}

.page-routes .carousel {
  position: relative;
}

.page-routes .owl-stage-outer {
  background: #fff;
  border-radius: 5rem;
  color: #000;
}

.page-routes .carousel-item {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1rem 4rem;
}

.page-routes .route-meta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.page-routes .route-meta .label {
  color: #000;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0;
  padding: 0;
  text-align: left;
  text-transform: uppercase;
}

.page-routes .route-meta .value {
  font-size: 12px;
  font-weight: 600;
}

.page-routes  .owl-nav .owl-prev,
.page-routes  .owl-nav .owl-next {
  align-items: center;
  cursor: pointer;
  display: flex;
  height: 1rem;
  justify-content: center;
  position: absolute;
  top: 2rem;
  width: 2rem;
}

.page-routes  .owl-nav .owl-prev {
  left: 1rem;
  transform: rotate(180deg);
}

.page-routes  .owl-nav .owl-next {
  right: 1rem;
}

.page-routes .owl-dots {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.page-routes .owl-dots .owl-dot,
.page-routes .owl-dots .owl-dot:before  {
  align-items: center;
  display: flex;
  height: 2rem;
  justify-content: center;
  width: 2rem;
}

.page-routes .owl-dots .owl-dot:before {
  color: #fff;
  margin: 0;
  padding: 0;
}

.page-routes .owl-dots .owl-dot:hover:before,
.page-routes .owl-dots .owl-dot.active:before {
  background: #f2c300;
  color: #000;
}
