:root {
  --vespera-bg: #070914;
  --vespera-bg-soft: #0b0e1d;
  --vespera-surface: rgba(17, 20, 39, 0.78);
  --vespera-surface-strong: #111529;
  --vespera-line: rgba(255, 255, 255, 0.09);
  --vespera-line-strong: rgba(var(--vespera-primary-rgb, 139, 92, 246), 0.26);
  --vespera-text: #f8f7ff;
  --vespera-muted: #9fa6bd;
  --vespera-primary: var(--tblr-primary, #8b5cf6);
  --vespera-primary-bright: color-mix(in srgb, var(--vespera-primary) 72%, white);
  --vespera-primary-dark: color-mix(in srgb, var(--vespera-primary) 72%, #080b16);
  --vespera-cyan: #22d3ee;
  --vespera-gold: #fbbf24;
  --vespera-radius-sm: 14px;
  --vespera-radius: 22px;
  --vespera-radius-lg: 32px;
  --vespera-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--vespera-text);
  background:
    radial-gradient(circle at 12% 20%, rgba(var(--vespera-primary-rgb, 139, 92, 246), 0.14), transparent 27rem),
    radial-gradient(circle at 88% 42%, rgba(34, 211, 238, 0.08), transparent 30rem),
    var(--vespera-bg);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, black 24%, black 72%, transparent);
}

.page,
.page-wrapper {
  background: transparent !important;
}

body > .page > .navbar {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 30;
  width: 100%;
  min-height: 78px;
  border: 0;
  background: linear-gradient(to bottom, rgba(4, 5, 14, 0.82), transparent);
  box-shadow: none;
  transition: background-color 180ms ease, backdrop-filter 180ms ease, border-color 180ms ease;
}

body > .page > .navbar.vespera-nav--scrolled {
  position: fixed;
  border-bottom: 1px solid var(--vespera-line);
  background: rgba(7, 9, 20, 0.82);
  backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.2);
}

body > .page > .navbar .container-xl {
  max-width: 1320px;
}

body > .page > .navbar .nav-link {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body > .page > .navbar .nav-link:hover,
body > .page > .navbar .nav-item.active > .nav-link {
  color: #fff;
}

body > .page > .navbar .nav-item.active > .nav-link::after {
  position: absolute;
  right: 0.75rem;
  bottom: 0.25rem;
  left: 0.75rem;
  height: 2px;
  content: "";
  border-radius: 999px;
  background: linear-gradient(90deg, var(--vespera-primary), var(--vespera-cyan));
  box-shadow: 0 0 14px rgba(var(--vespera-primary-rgb, 139, 92, 246), 0.65);
}

body > .page > .navbar .btn-primary,
body > .page > .navbar .btn-transparent {
  min-height: 42px;
  border-radius: 13px;
}

body > .page > .navbar .btn-primary {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, var(--vespera-primary), var(--vespera-primary-dark, #6d4ce8));
  box-shadow: 0 10px 28px rgba(var(--vespera-primary-rgb, 139, 92, 246), 0.28);
}

body > .page > .navbar .btn-transparent {
  color: #fff;
  border: 1px solid var(--vespera-line);
  background: rgba(255, 255, 255, 0.04);
}

body > .page > .navbar .dropdown-menu {
  padding: 0.65rem;
  border: 1px solid var(--vespera-line);
  border-radius: 16px;
  background: rgba(12, 15, 30, 0.96);
  box-shadow: var(--vespera-shadow);
  backdrop-filter: blur(18px);
}

body > .page > .navbar .dropdown-item {
  color: var(--vespera-muted);
  border-radius: 10px;
}

body > .page > .navbar .dropdown-item:hover,
body > .page > .navbar .dropdown-item:focus {
  color: #fff;
  background: rgba(var(--vespera-primary-rgb, 139, 92, 246), 0.14);
}

.broadcast {
  position: relative;
  z-index: 40;
  min-height: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(90deg, var(--vespera-primary-dark, #5b36d6), var(--vespera-primary) 45%, #0ea5b7);
}

.broadcast + .navbar {
  top: 38px !important;
}

.vespera-home {
  position: relative;
  overflow: hidden;
}

.vespera-home *,
.vespera-home *::before,
.vespera-home *::after {
  box-sizing: border-box;
}

.vespera-home a {
  text-decoration: none;
}

.vespera-hero {
  position: relative;
  min-height: 760px;
  isolation: isolate;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--vespera-line);
}

.vespera-hero__media,
.vespera-hero__veil,
.vespera-hero__stars {
  position: absolute;
  inset: 0;
}

.vespera-hero__media {
  z-index: -4;
  background: #080a16;
}

.vespera-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.78;
  filter: brightness(0.68) saturate(0.72) contrast(1.04);
  transform: scale(1.025);
  animation: vespera-hero-drift 18s ease-in-out infinite alternate;
}

.vespera-hero__veil {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(5, 6, 16, 0.97) 0%, rgba(5, 6, 16, 0.89) 38%, rgba(5, 6, 16, 0.68) 72%, rgba(5, 6, 16, 0.88) 100%),
    linear-gradient(0deg, var(--vespera-bg) 0%, rgba(7, 9, 20, 0.94) 14%, rgba(7, 9, 20, 0.24) 58%, rgba(5, 6, 16, 0.74) 100%);
}

.vespera-hero__stars {
  z-index: -2;
  opacity: 0.26;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(255,255,255,.9) 0 1px, transparent 1.5px),
    radial-gradient(circle at 72% 18%, rgba(255,255,255,.72) 0 1px, transparent 1.6px),
    radial-gradient(circle at 36% 72%, rgba(var(--vespera-primary-rgb, 139, 92, 246), .85) 0 1px, transparent 1.5px),
    radial-gradient(circle at 88% 62%, rgba(34,211,238,.75) 0 1px, transparent 1.6px);
  background-size: 190px 190px, 260px 260px, 310px 310px, 370px 370px;
  animation: vespera-stars 24s linear infinite;
}

.vespera-hero__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  padding-top: 122px;
  padding-bottom: 170px;
}

.vespera-hero__content {
  width: min(760px, 68%);
}

.vespera-eyebrow,
.vespera-section-heading__kicker {
  color: var(--vespera-primary-bright, #c9c1ff);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.vespera-eyebrow {
  display: inline-flex;
  gap: 0.7rem;
  align-items: center;
  padding: 0.58rem 0.86rem;
  margin-bottom: 1.6rem;
  border: 1px solid rgba(var(--vespera-primary-rgb, 139, 92, 246), 0.24);
  border-radius: 999px;
  background: rgba(10, 12, 26, 0.58);
  backdrop-filter: blur(12px);
}

.vespera-eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--vespera-cyan);
  box-shadow: 0 0 0 5px rgba(34, 211, 238, 0.11), 0 0 18px var(--vespera-cyan);
}

.vespera-hero__brand {
  display: block;
  width: max-content;
  max-width: 320px;
  margin-bottom: 1.4rem;
}

.vespera-hero__brand img {
  display: block;
  max-width: 100%;
  max-height: 122px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.42));
}

.vespera-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(3rem, 6vw, 5.6rem);
  font-weight: 850;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.vespera-hero h1 span,
.vespera-hero h1 strong {
  display: block;
}

.vespera-hero h1 span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.56em;
  font-weight: 550;
  letter-spacing: -0.035em;
}

.vespera-hero h1 strong {
  color: transparent;
  background: linear-gradient(110deg, #fff 3%, var(--vespera-primary-bright, #d9ccff) 42%, #81ecf8 92%);
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 10px 26px rgba(var(--vespera-primary-rgb, 139, 92, 246), 0.2));
}

.vespera-hero__lead {
  max-width: 620px;
  margin: 1.45rem 0 0;
  color: #b8bdd0;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.8;
}

.vespera-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: stretch;
  margin-top: 2.15rem;
}

.vespera-ip-button {
  display: inline-flex;
  min-width: 282px;
  min-height: 62px;
  gap: 0.78rem;
  align-items: center;
  padding: 0.58rem 0.7rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 17px;
  background: rgba(13, 16, 32, 0.74);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.vespera-ip-button:hover {
  color: #fff;
  border-color: rgba(var(--vespera-primary-rgb, 139, 92, 246), 0.48);
  background: rgba(22, 24, 46, 0.9);
  transform: translateY(-3px);
}

.vespera-ip-button__icon,
.vespera-ip-button__arrow {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
}

.vespera-ip-button__icon {
  width: 44px;
  height: 44px;
  color: #fff;
  font-size: 1.35rem;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--vespera-primary), var(--vespera-primary-dark, #5f42d8));
  box-shadow: 0 8px 22px rgba(var(--vespera-primary-rgb, 139, 92, 246), 0.34);
}

.vespera-ip-button__copy {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.vespera-ip-button__copy small {
  color: var(--vespera-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.vespera-ip-button__copy strong {
  margin-top: 0.1rem;
  font-size: 0.88rem;
  font-weight: 780;
  letter-spacing: 0.02em;
}

.vespera-ip-button__arrow {
  width: 32px;
  height: 32px;
  color: #c9c4db;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
}

.vespera-cta {
  display: inline-flex;
  min-height: 62px;
  gap: 0.62rem;
  align-items: center;
  justify-content: center;
  padding: 0 1.25rem;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  border-radius: 17px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.vespera-cta i {
  font-size: 1.15rem;
}

.vespera-cta:hover {
  color: #fff;
  transform: translateY(-3px);
}

.vespera-cta--primary {
  border-color: rgba(255, 255, 255, 0.13);
  background: linear-gradient(135deg, var(--vespera-primary-bright, #9368ff), var(--vespera-primary) 58%, var(--vespera-primary-dark, #4e36bd));
  box-shadow: 0 16px 34px rgba(var(--vespera-primary-rgb, 139, 92, 246), 0.3);
}

.vespera-cta--primary:hover {
  box-shadow: 0 20px 42px rgba(var(--vespera-primary-rgb, 139, 92, 246), 0.44);
}

.vespera-cta--ghost {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(13, 16, 32, 0.62);
  backdrop-filter: blur(12px);
}

.vespera-cta--ghost:hover {
  border-color: rgba(34, 211, 238, 0.35);
  background: rgba(20, 24, 44, 0.88);
}

.vespera-hero__rail {
  position: absolute;
  right: 12px;
  bottom: 52px;
  left: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--vespera-line);
  border-radius: var(--vespera-radius);
  background: rgba(9, 11, 24, 0.7);
  box-shadow: var(--vespera-shadow);
  backdrop-filter: blur(18px) saturate(125%);
}

.vespera-stat {
  position: relative;
  display: flex;
  min-height: 96px;
  gap: 0.9rem;
  align-items: center;
  padding: 1.25rem 1.4rem;
  color: #fff;
}

.vespera-stat:not(:last-child)::after {
  position: absolute;
  top: 22px;
  right: 0;
  bottom: 22px;
  width: 1px;
  content: "";
  background: var(--vespera-line);
}

.vespera-stat__icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--vespera-primary-bright, #cabfff);
  font-size: 1.22rem;
  border: 1px solid rgba(var(--vespera-primary-rgb, 139, 92, 246), 0.18);
  border-radius: 14px;
  background: rgba(var(--vespera-primary-rgb, 139, 92, 246), 0.1);
}

.vespera-stat__icon--online {
  color: #89f5c5;
  border-color: rgba(52, 211, 153, 0.2);
  background: rgba(52, 211, 153, 0.1);
}

.vespera-stat div:not(.vespera-stat__icon) {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.vespera-stat strong {
  overflow: hidden;
  font-size: 1.05rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vespera-stat span {
  margin-top: 0.2rem;
  color: var(--vespera-muted);
  font-size: 0.76rem;
}

.vespera-stat--link {
  transition: background-color 180ms ease;
}

.vespera-stat--link:hover {
  color: #fff;
  background: rgba(var(--vespera-primary-rgb, 139, 92, 246), 0.09);
}

.vespera-stat__arrow {
  margin-left: auto;
  color: #777f99;
}

.vespera-hero__scroll {
  position: absolute;
  right: 22px;
  bottom: 168px;
  display: flex;
  gap: 0.6rem;
  align-items: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transform: rotate(90deg);
  transform-origin: right bottom;
}

.vespera-hero__scroll span {
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--vespera-cyan));
}

.vespera-spotlight,
.vespera-journal,
.vespera-final-cta {
  position: relative;
}

.vespera-spotlight {
  padding: 7rem 0 3.5rem;
}

.vespera-journal {
  padding: 4.5rem 0 7rem;
}

.vespera-spotlight .container,
.vespera-journal .container,
.vespera-final-cta .container {
  max-width: 1320px;
}

.vespera-section-heading {
  display: flex;
  gap: 2rem;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.vespera-section-heading__kicker {
  display: block;
  margin-bottom: 0.55rem;
}

.vespera-section-heading h2 {
  margin: 0;
  color: var(--vespera-text);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 820;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.vespera-section-heading p {
  max-width: 410px;
  margin: 0;
  color: var(--vespera-muted);
  line-height: 1.7;
}

.vespera-carousel-controls {
  display: flex;
  gap: 0.65rem;
}

.vespera-carousel-controls button {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #fff;
  border: 1px solid var(--vespera-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.vespera-carousel-controls button:hover {
  border-color: rgba(var(--vespera-primary-rgb, 139, 92, 246), 0.4);
  background: rgba(var(--vespera-primary-rgb, 139, 92, 246), 0.12);
  transform: translateY(-2px);
}

.vespera-carousel {
  overflow: hidden;
  border: 1px solid var(--vespera-line);
  border-radius: var(--vespera-radius-lg);
  background: var(--vespera-surface-strong);
  box-shadow: var(--vespera-shadow);
}

.vespera-carousel .carousel-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2.55 / 1;
}

.vespera-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(.2,.7,.2,1);
}

.vespera-carousel .carousel-item:hover img {
  transform: scale(1.035);
}

.vespera-carousel__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 7, 17, 0.65), transparent 55%);
}

.vespera-carousel__action {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  display: inline-flex;
  min-height: 44px;
  gap: 0.5rem;
  align-items: center;
  padding: 0 1rem;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 13px;
  background: rgba(8, 10, 22, 0.62);
  backdrop-filter: blur(12px);
}

.vespera-section-heading--journal {
  padding-top: 2rem;
  border-top: 1px solid var(--vespera-line);
}

.vespera-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.vespera-story {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--vespera-line);
  border-radius: var(--vespera-radius);
  background: linear-gradient(145deg, rgba(19, 22, 42, 0.88), rgba(11, 14, 28, 0.92));
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.2);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.vespera-story:hover {
  border-color: var(--vespera-line-strong);
  box-shadow: 0 24px 66px rgba(0, 0, 0, 0.3), 0 0 42px rgba(var(--vespera-primary-rgb, 139, 92, 246), 0.08);
  transform: translateY(-5px);
}

.vespera-story--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, 0.82fr);
}

.vespera-story__media {
  position: relative;
  display: block;
  min-height: 240px;
  overflow: hidden;
  background: #0c0f1f;
}

.vespera-story--featured .vespera-story__media {
  min-height: 410px;
}

.vespera-story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(.2,.7,.2,1);
}

.vespera-story:hover .vespera-story__media img {
  transform: scale(1.045);
}

.vespera-story__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 9, 20, 0.7), transparent 56%);
}

.vespera-story__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.4rem;
}

.vespera-story--featured .vespera-story__body {
  justify-content: center;
  padding: clamp(1.7rem, 4vw, 3rem);
}

.vespera-story__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  color: #858ca5;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vespera-story__meta a {
  color: var(--vespera-primary-bright, #bcaaff);
}

.vespera-story__meta span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #535b76;
}

.vespera-story h3 {
  margin: 0.9rem 0 0;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  font-weight: 780;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.vespera-story--featured h3 {
  font-size: clamp(1.65rem, 3vw, 2.45rem);
}

.vespera-story h3 a {
  color: var(--vespera-text);
}

.vespera-story__body > p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0.9rem 0 0;
  color: var(--vespera-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.vespera-story__more {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  margin-top: 1.25rem;
  color: var(--vespera-primary-bright, #d3c7ff);
  font-size: 0.76rem;
  font-weight: 800;
}

.vespera-story__more i {
  transition: transform 180ms ease;
}

.vespera-story:hover .vespera-story__more i {
  transform: translateX(4px);
}

.vespera-pagination {
  display: flex;
  justify-content: center;
  padding-top: 2.25rem;
}

.vespera-pagination .pagination {
  gap: 0.45rem;
}

.vespera-pagination .page-link {
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  color: var(--vespera-muted);
  border: 1px solid var(--vespera-line);
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.035);
}

.vespera-pagination .page-item.active .page-link,
.vespera-pagination .page-link:hover {
  color: #fff;
  border-color: rgba(var(--vespera-primary-rgb, 139, 92, 246), 0.38);
  background: rgba(var(--vespera-primary-rgb, 139, 92, 246), 0.18);
}

.vespera-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.vespera-community-card,
.vespera-widget,
.vespera-empty {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--vespera-line);
  border-radius: var(--vespera-radius);
  background: linear-gradient(145deg, rgba(20, 23, 44, 0.9), rgba(11, 14, 28, 0.94));
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.2);
}

.vespera-community-card {
  padding: 1.65rem;
  isolation: isolate;
}

.vespera-community-card__glow {
  position: absolute;
  z-index: -1;
  top: -80px;
  right: -70px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(88, 101, 242, 0.3);
  filter: blur(45px);
}

.vespera-community-card__icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 1.25rem;
  place-items: center;
  color: #fff;
  font-size: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: linear-gradient(135deg, #7289da, #5865f2);
  box-shadow: 0 14px 30px rgba(88, 101, 242, 0.3);
}

.vespera-community-card > span,
.vespera-widget__header span {
  color: var(--vespera-primary-bright, #a99af1);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.vespera-community-card h3,
.vespera-widget__header h3 {
  margin: 0.4rem 0 0;
  color: var(--vespera-text);
  font-size: 1.25rem;
  font-weight: 780;
  letter-spacing: -0.025em;
}

.vespera-community-card p {
  margin: 0.9rem 0 1.25rem;
  color: var(--vespera-muted);
  font-size: 0.86rem;
  line-height: 1.7;
}

.vespera-community-card > a {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.95rem;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  border: 1px solid rgba(114, 137, 218, 0.26);
  border-radius: 13px;
  background: rgba(88, 101, 242, 0.14);
}

.vespera-community-card > a:hover {
  background: rgba(88, 101, 242, 0.25);
}

.vespera-widget {
  padding: 1.25rem;
}

.vespera-widget--discord {
  padding: 0;
}

.vespera-widget--discord iframe {
  display: block;
  border-radius: inherit;
}

.vespera-widget__header {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--vespera-line);
}

.vespera-widget__header > i {
  color: var(--vespera-primary-bright, #c0b2ff);
  font-size: 1.45rem;
}

.vespera-supporters {
  display: flex;
  flex-direction: column;
  padding-top: 0.5rem;
}

.vespera-supporter {
  display: flex;
  min-width: 0;
  gap: 0.7rem;
  align-items: center;
  padding: 0.72rem 0.35rem;
  color: var(--vespera-text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.vespera-supporter:last-child {
  border-bottom: 0;
}

.vespera-supporter:hover {
  color: #fff;
}

.vespera-supporter__rank {
  width: 20px;
  flex: 0 0 auto;
  color: #6f7790;
  font-size: 0.68rem;
  font-weight: 800;
  text-align: center;
}

.vespera-supporter:first-child .vespera-supporter__rank {
  color: var(--vespera-gold);
}

.vespera-supporter .avatar {
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.vespera-supporter__name {
  overflow: hidden;
  flex: 1;
  font-size: 0.8rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vespera-supporter > strong {
  flex: 0 0 auto;
  color: var(--vespera-primary-bright, #bba9ff);
  font-size: 0.76rem;
}

.vespera-widget--purchases {
  background: #0b0e1b;
}

.vespera-purchases {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.68rem;
  padding-top: 0.9rem;
}

.vespera-purchase {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 84px;
  gap: 0.85rem;
  align-items: center;
  overflow: hidden;
  padding: 0.76rem 0.72rem;
  color: var(--vespera-text);
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.028);
  text-decoration: none !important;
  isolation: isolate;
  transition: transform 190ms ease, border-color 190ms ease, background-color 190ms ease, box-shadow 190ms ease;
}

.vespera-purchase::before {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 0;
  width: 2px;
  content: "";
  border-radius: 999px;
  background: linear-gradient(180deg, var(--vespera-primary), var(--vespera-cyan));
  opacity: 0;
  transition: opacity 190ms ease;
}

.vespera-purchase::after {
  position: absolute;
  z-index: -1;
  top: -70px;
  right: -70px;
  width: 160px;
  height: 160px;
  content: "";
  border-radius: 50%;
  background: rgba(var(--vespera-primary-rgb, 139, 92, 246), 0.11);
  filter: blur(34px);
  opacity: 0;
  transition: opacity 190ms ease;
}

.vespera-purchase:hover {
  color: #fff;
  border-color: rgba(var(--vespera-primary-rgb, 139, 92, 246), 0.24);
  background: rgba(var(--vespera-primary-rgb, 139, 92, 246), 0.065);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
  transform: translateX(4px);
}

.vespera-purchase:hover::before,
.vespera-purchase:hover::after,
.vespera-purchase--latest::before,
.vespera-purchase--latest::after {
  opacity: 1;
}

.vespera-purchase--latest {
  border-color: rgba(var(--vespera-primary-rgb, 139, 92, 246), 0.18);
  background: linear-gradient(105deg, rgba(var(--vespera-primary-rgb, 139, 92, 246), 0.1), rgba(255, 255, 255, 0.025));
}

.vespera-purchase__visual {
  position: relative;
  width: 52px;
  height: 56px;
  flex: 0 0 auto;
}

.vespera-purchase__product-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--vespera-primary-bright, #c7baff);
  font-size: 1.17rem;
  border: 1px solid rgba(var(--vespera-primary-rgb, 139, 92, 246), 0.16);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(var(--vespera-primary-rgb, 139, 92, 246), 0.14), rgba(34, 211, 238, 0.055));
  box-shadow: inset 0 0 18px rgba(var(--vespera-primary-rgb, 139, 92, 246), 0.05);
}

.vespera-purchase__avatar {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  padding: 2px;
  border-radius: 9px;
  background: #111529;
  box-shadow: 0 7px 16px rgba(0, 0, 0, 0.32);
}

.vespera-purchase__avatar .avatar {
  width: 23px;
  height: 23px;
  min-height: 23px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
}

.vespera-purchase__content {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.vespera-purchase__meta {
  display: flex;
  min-width: 0;
  gap: 0.42rem;
  align-items: center;
}

.vespera-purchase__meta em,
.vespera-purchase__meta b {
  overflow: hidden;
  font-size: 0.55rem;
  font-style: normal;
  font-weight: 820;
  letter-spacing: 0.075em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.vespera-purchase__meta em {
  max-width: 105px;
  color: var(--vespera-primary-bright, #aa9ae9);
}

.vespera-purchase__meta b {
  flex: 0 0 auto;
  padding: 0.18rem 0.38rem;
  color: #75e8b3;
  border: 1px solid rgba(52, 211, 153, 0.14);
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.07);
}

.vespera-purchase__product {
  overflow: hidden;
  margin-top: 0.2rem;
  color: #f6f4ff;
  font-size: 0.78rem;
  font-weight: 790;
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vespera-purchase__content > small {
  overflow: hidden;
  margin-top: 0.22rem;
  color: #777f97;
  font-size: 0.61rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vespera-purchase__content > small strong {
  color: #b0b5c7;
  font-weight: 720;
}

.vespera-purchase__arrow {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  color: #646c84;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  transition: color 190ms ease, border-color 190ms ease, transform 190ms ease;
}

.vespera-purchase:hover .vespera-purchase__arrow {
  color: var(--vespera-primary-bright, #c8bbff);
  border-color: rgba(var(--vespera-primary-rgb, 139, 92, 246), 0.18);
  transform: translate(2px, -2px);
}

.vespera-widget__empty {
  margin: 0;
  padding: 1.2rem 0 0.2rem;
  color: var(--vespera-muted);
  font-size: 0.8rem;
  text-align: center;
}

.vespera-empty {
  display: grid;
  min-height: 320px;
  place-content: center;
  padding: 2rem;
  text-align: center;
}

.vespera-empty i {
  color: var(--vespera-primary-bright, #8876df);
  font-size: 2.6rem;
}

.vespera-empty h3 {
  margin: 1rem 0 0;
  font-size: 1.25rem;
}

.vespera-empty p {
  margin: 0.5rem 0 0;
  color: var(--vespera-muted);
}

.vespera-final-cta {
  padding: 0 0 7rem;
}

.vespera-final-cta__inner {
  position: relative;
  display: flex;
  min-height: 220px;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid rgba(var(--vespera-primary-rgb, 139, 92, 246), 0.22);
  border-radius: var(--vespera-radius-lg);
  background:
    linear-gradient(105deg, rgba(var(--vespera-primary-rgb, 139, 92, 246), 0.2), rgba(9, 12, 26, 0.9) 55%, rgba(14, 116, 144, 0.14)),
    var(--vespera-surface-strong);
  box-shadow: var(--vespera-shadow);
}

.vespera-final-cta__inner::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.42;
  background-image: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.05), transparent 70%);
}

.vespera-final-cta__orb {
  position: absolute;
  top: -160px;
  right: 8%;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255,255,255,.34), rgba(var(--vespera-primary-rgb, 139, 92, 246), .24) 22%, rgba(34,211,238,.08) 52%, transparent 70%);
  box-shadow: inset 0 0 60px rgba(var(--vespera-primary-rgb, 139, 92, 246), 0.18), 0 0 80px rgba(var(--vespera-primary-rgb, 139, 92, 246), 0.1);
}

.vespera-final-cta__inner > div:not(.vespera-final-cta__orb),
.vespera-final-cta__inner > a {
  position: relative;
  z-index: 2;
}

.vespera-final-cta__inner > div > span {
  color: var(--vespera-primary-bright, #b7a4ff);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.vespera-final-cta h2 {
  margin: 0.5rem 0 0;
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 820;
  letter-spacing: -0.045em;
}

.vespera-final-cta p {
  margin: 0.65rem 0 0;
  color: var(--vespera-muted);
}

.vespera-final-cta .vespera-cta {
  min-width: 220px;
}

.vespera-motion-ready [data-vespera-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms cubic-bezier(.2,.7,.2,1), transform 650ms cubic-bezier(.2,.7,.2,1);
}

.vespera-motion-ready [data-vespera-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.footer {
  color: var(--vespera-muted);
  border-top: 1px solid var(--vespera-line) !important;
  background: #060811 !important;
}

.footer .widget-title {
  color: var(--vespera-text);
}

.footer .widget-link {
  color: var(--vespera-muted);
}

.footer .widget-link:hover {
  color: var(--vespera-primary-bright, #c5b5ff);
}

@keyframes vespera-hero-drift {
  from { transform: scale(1.025) translate3d(0, 0, 0); }
  to { transform: scale(1.075) translate3d(-0.6%, -0.4%, 0); }
}

@keyframes vespera-stars {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-40px, 24px, 0); }
}

@media (max-width: 1199.98px) {
  .vespera-hero__content {
    width: 80%;
  }

  .vespera-story--featured {
    grid-template-columns: 1fr;
  }

  .vespera-story--featured .vespera-story__media {
    min-height: 360px;
  }

  .vespera-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1rem;
  }
}

@media (max-width: 991.98px) {
  body > .page > .navbar {
    position: relative;
    top: auto !important;
    min-height: 68px;
    background: rgba(7, 9, 20, 0.96);
  }

  body > .page > .navbar .navbar-collapse {
    position: absolute;
    top: 100%;
    right: 0.75rem;
    left: 0.75rem;
    padding: 0.8rem;
    border: 1px solid var(--vespera-line);
    border-radius: 18px;
    background: rgba(10, 13, 27, 0.98);
    box-shadow: var(--vespera-shadow);
  }

  .vespera-hero {
    min-height: 730px;
  }

  .vespera-hero__container {
    padding-top: 82px;
  }

  .vespera-hero__content {
    width: 92%;
  }

  .vespera-hero__rail {
    grid-template-columns: repeat(3, 1fr);
  }

  .vespera-stat {
    padding: 1rem;
  }
}

@media (max-width: 767.98px) {
  .vespera-hero {
    min-height: auto;
  }

  .vespera-hero__veil {
    background:
      linear-gradient(90deg, rgba(5, 6, 16, 0.97), rgba(5, 6, 16, 0.82)),
      linear-gradient(0deg, var(--vespera-bg) 0%, rgba(7, 9, 20, 0.9) 18%, rgba(7, 9, 20, 0.34) 60%, rgba(5, 6, 16, 0.72) 100%);
  }

  .vespera-hero__container {
    padding-top: 76px;
    padding-bottom: 2rem;
  }

  .vespera-hero__content {
    width: 100%;
  }

  .vespera-hero__brand {
    max-width: 240px;
  }

  .vespera-hero__lead {
    line-height: 1.65;
  }

  .vespera-hero__actions {
    align-items: stretch;
  }

  .vespera-ip-button {
    width: 100%;
    min-width: 0;
  }

  .vespera-cta {
    flex: 1;
  }

  .vespera-hero__rail {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    grid-template-columns: 1fr;
    margin-top: 3rem;
  }

  .vespera-stat {
    min-height: 78px;
  }

  .vespera-stat:not(:last-child)::after {
    top: auto;
    right: 1rem;
    bottom: 0;
    left: 1rem;
    width: auto;
    height: 1px;
  }

  .vespera-hero__scroll {
    display: none;
  }

  .vespera-spotlight {
    padding-top: 5rem;
  }

  .vespera-journal {
    padding: 3.5rem 0 5rem;
  }

  .vespera-section-heading {
    align-items: flex-start;
  }

  .vespera-section-heading--journal {
    flex-direction: column;
  }

  .vespera-carousel .carousel-item {
    aspect-ratio: 16 / 9;
  }

  .vespera-story-grid,
  .vespera-sidebar {
    grid-template-columns: 1fr;
  }

  .vespera-story--featured .vespera-story__media,
  .vespera-story__media {
    min-height: 260px;
  }

  .vespera-final-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .vespera-final-cta .vespera-cta {
    width: 100%;
  }
}

@media (max-width: 479.98px) {
  .vespera-hero__container {
    padding-top: 58px;
  }

  .vespera-eyebrow {
    font-size: 0.62rem;
  }

  .vespera-hero h1 {
    font-size: 2.75rem;
  }

  .vespera-hero__actions .vespera-cta {
    width: 100%;
    flex-basis: 100%;
  }

  .vespera-section-heading {
    gap: 1rem;
  }

  .vespera-carousel-controls button {
    width: 40px;
    height: 40px;
  }

  .vespera-carousel__action {
    right: 0.8rem;
    bottom: 0.8rem;
  }

  .vespera-story__media,
  .vespera-story--featured .vespera-story__media {
    min-height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .vespera-hero__media img,
  .vespera-hero__stars {
    animation: none;
  }

  .vespera-motion-ready [data-vespera-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Recent purchases: a horizontal skin showcase, independent from the legacy feed. */
.vespera-purchase-carousel {
  position: relative;
  margin: 0 -0.35rem;
}

.vespera-purchase-carousel__viewport {
  position: relative;
  overflow: hidden;
  padding: 0.35rem;
}

.vespera-purchase-carousel__viewport::before,
.vespera-purchase-carousel__viewport::after {
  display: none;
}

.vespera-purchase-carousel__track {
  display: grid;
  overflow-x: auto;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 82%);
  gap: 0.8rem;
  margin: 0;
  padding: 0 1rem 0.4rem;
  list-style: none;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.vespera-purchase-carousel__track::-webkit-scrollbar { display: none; }

.vespera-purchase-slide {
  --vespera-purchase-accent: 139, 92, 246;
  position: relative;
  overflow: hidden;
  min-width: 0;
  height: 296px;
  scroll-snap-align: start;
  border: 1px solid rgba(var(--vespera-purchase-accent), 0.22);
  border-radius: 22px;
  background: #101422;
  box-shadow: 0 18px 36px rgba(2, 4, 14, 0.3);
}

.vespera-purchase-slide::before {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 22px;
  left: 22px;
  height: 2px;
  content: "";
  background: rgba(var(--vespera-purchase-accent), 0.72);
}

.vespera-purchase-slide:nth-child(4n + 2) { --vespera-purchase-accent: 34, 211, 238; }
.vespera-purchase-slide:nth-child(4n + 3) { --vespera-purchase-accent: 244, 114, 182; }
.vespera-purchase-slide:nth-child(4n + 4) { --vespera-purchase-accent: 250, 204, 21; }

.vespera-purchase-slide > a {
  position: relative;
  display: flex;
  height: 100%;
  color: #fff;
  text-decoration: none !important;
  isolation: isolate;
}

.vespera-purchase-slide > a:focus-visible {
  outline: 3px solid var(--vespera-primary-bright, #a78bfa);
  outline-offset: -4px;
  border-radius: 20px;
}

.vespera-purchase-slide__art {
  position: absolute;
  inset: 0 0 78px;
  display: grid;
  place-items: center;
}

.vespera-purchase-slide__halo {
  position: absolute;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(var(--vespera-purchase-accent), 0.22);
  border-radius: 50%;
  background: rgba(var(--vespera-purchase-accent), 0.07);
  box-shadow: 0 0 44px rgba(var(--vespera-purchase-accent), 0.12);
}

.vespera-purchase-slide__art img {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 88%;
  height: 205px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 18px 16px rgba(0, 0, 0, 0.46));
  transition: transform 0.35s ease;
}

.vespera-purchase-slide:hover .vespera-purchase-slide__art img { transform: translateY(-6px) scale(1.04); }

.vespera-purchase-slide__content {
  position: relative;
  z-index: 2;
  align-self: flex-end;
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  padding: 2.7rem 1rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(8, 11, 22, 0.94);
  backdrop-filter: blur(10px);
}

.vespera-purchase-slide__topline { display: flex; align-items: center; gap: 0.4rem; min-width: 0; }
.vespera-purchase-slide__topline em,
.vespera-purchase-slide__topline b {
  overflow: hidden;
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vespera-purchase-slide__topline em { color: var(--vespera-primary-bright, #b9a9fb); }
.vespera-purchase-slide__topline b { flex: none; color: #72e3ad; }
.vespera-purchase-slide__content > strong { overflow: hidden; margin-top: 0.28rem; font-size: 0.92rem; text-overflow: ellipsis; white-space: nowrap; }
.vespera-purchase-slide__content > small { display: flex; align-items: center; gap: 0.35rem; margin-top: 0.3rem; color: #9097ac; font-size: 0.68rem; }
.vespera-purchase-slide__open { position: absolute; z-index: 3; top: 0.85rem; right: 0.85rem; display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; background: rgba(4,6,16,.35); backdrop-filter: blur(8px); }

.vespera-purchase-carousel__footer { display: grid; grid-template-columns: auto 1fr auto; gap: 0.75rem; align-items: center; padding: 0.55rem 0.45rem 0; }
.vespera-purchase-carousel__controls { display: flex; gap: 0.4rem; }
.vespera-purchase-carousel__controls button { display: grid; width: 38px; height: 38px; padding: 0; place-items: center; color: #d8d2ef; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; background: rgba(255,255,255,.045); cursor: pointer; transition: .2s ease; }
.vespera-purchase-carousel__controls button:hover { color: #fff; border-color: rgba(var(--vespera-primary-rgb, 139, 92, 246), .4); background: rgba(var(--vespera-primary-rgb, 139, 92, 246), .16); }
.vespera-purchase-carousel__controls button:focus-visible { outline: 3px solid var(--vespera-primary-bright, #a78bfa); outline-offset: 2px; }
.vespera-purchase-carousel__controls button:disabled { opacity: .35; cursor: default; }
.vespera-purchase-carousel__progress { overflow: hidden; height: 3px; border-radius: 10px; background: rgba(255,255,255,.08); }
.vespera-purchase-carousel__progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--vespera-primary, #8b5cf6); transition: width .25s ease; }
.vespera-purchase-carousel__status { color: #727a91; font-size: .65rem; font-variant-numeric: tabular-nums; }
.vespera-purchase-carousel__status b { color: #d9d4ea; }
.vespera-purchase-carousel.is-single .vespera-purchase-carousel__controls { visibility: hidden; }
.vespera-purchase-carousel.is-single .vespera-purchase-carousel__track { grid-auto-columns: 100%; padding-inline: 0; }

@media (min-width: 680px) {
  .vespera-purchase-carousel__track { grid-auto-columns: minmax(220px, 62%); }
}

@media (min-width: 1200px) {
  .vespera-purchase-carousel__track { grid-auto-columns: minmax(220px, 74%); }
}

@media (prefers-reduced-motion: reduce) {
  .vespera-purchase-carousel__track { scroll-behavior: auto; }
  .vespera-purchase-slide__art img,
  .vespera-purchase-carousel__progress span { transition: none; }
}
