body.luxe {
  --page-edge: var(--content-gutter, 5vw);
  --page-width: var(--content-width, 90vw);
}

body.luxe .topbar {
  /* horizontal inset handled in styles-fluid.css */
  border-bottom: 1px solid rgba(251, 113, 133, 0.28);
  background: rgba(12, 6, 18, 0.55);
  backdrop-filter: blur(18px) saturate(150%);
  isolation: isolate;
  overflow: hidden;
}

body.luxe .topbar::before {
  content: "";
  position: absolute;
  inset: -120% -20%;
  z-index: -2;
  background:
    radial-gradient(circle at 15% 40%, rgba(251, 113, 133, 0.42), transparent 36%),
    radial-gradient(circle at 80% 35%, rgba(96, 165, 250, 0.34), transparent 36%),
    radial-gradient(circle at 50% 70%, rgba(52, 211, 153, 0.3), transparent 34%),
    radial-gradient(circle at 65% 20%, rgba(251, 191, 36, 0.28), transparent 32%);
  filter: blur(22px);
  animation: liquidHeaderFlow 14s ease-in-out infinite;
}

body.luxe .topbar::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.18) 45%, transparent 62%);
  transform: translateX(-130%);
  animation: headerShimmer 5.5s ease-in-out infinite;
}

@keyframes liquidHeaderFlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(6%, -5%) scale(1.04); }
  66% { transform: translate(-5%, 6%) scale(1.06); }
}

@keyframes headerShimmer {
  0% { transform: translateX(-130%); opacity: 0; }
  18% { opacity: 0.85; }
  82% { opacity: 0.2; }
  100% { transform: translateX(130%); opacity: 0; }
}

body.luxe .menu a {
  position: relative;
  overflow: hidden;
}

body.luxe .menu a::before {
  content: "";
  position: absolute;
  inset: -35%;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.55), transparent 70%);
  transform: scale(0.2);
  opacity: 0;
  transition: transform 0.34s ease, opacity 0.26s ease;
  pointer-events: none;
}

body.luxe .menu a:hover::before {
  transform: scale(1.2);
  opacity: 1;
}

.luxe-main {
  width: var(--content-width, 90vw);
  max-width: var(--content-width, 90vw);
  margin: 0 auto;
  position: relative;
  z-index: 5;
  box-sizing: border-box;
}

.luxe-hero:not(.hero-viewport) {
  margin-top: 24px;
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-radius: 28px;
  padding: clamp(22px, 4vw, 36px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 8% 15%, rgba(251, 113, 133, 0.22), transparent 50%),
    radial-gradient(circle at 92% 20%, rgba(96, 165, 250, 0.18), transparent 48%),
    radial-gradient(circle at 50% 100%, rgba(52, 211, 153, 0.14), transparent 45%);
  box-shadow: 0 26px 80px rgba(8, 2, 16, 0.75);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: stretch;
}

.luxe-side {
  position: relative;
  border: 1px solid rgba(251, 113, 133, 0.35);
  border-radius: 20px;
  padding: 16px;
  background: linear-gradient(165deg, rgba(31, 16, 40, 0.92), rgba(12, 6, 18, 0.88));
  overflow: hidden;
}

.luxe-badge {
  display: inline-flex;
  border: 1px solid rgba(251, 191, 36, 0.5);
  background: rgba(251, 191, 36, 0.12);
  color: #fde68a;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.luxe-panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(12, 6, 18, 0.55);
  padding: 14px;
  margin-top: 10px;
}

.luxe-panel:nth-child(3) { border-color: rgba(251, 113, 133, 0.35); }
.luxe-panel:nth-child(4) { border-color: rgba(251, 191, 36, 0.35); }
.luxe-panel:nth-child(5) { border-color: rgba(52, 211, 153, 0.35); }

.luxe-panel-label {
  margin: 0;
  font-size: 0.82rem;
  color: #e9d5ff;
}

.luxe-panel-value {
  margin: 6px 0 10px;
  font-family: Sora, Inter, sans-serif;
  font-size: 1.55rem;
  color: #faf5ff;
}

.luxe-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.luxe-feature-grid .glass-card:nth-child(1) {
  border-color: rgba(251, 113, 133, 0.35);
  background: linear-gradient(155deg, rgba(251, 113, 133, 0.14), rgba(255, 255, 255, 0.02));
}

.luxe-feature-grid .glass-card:nth-child(2) {
  border-color: rgba(251, 191, 36, 0.35);
  background: linear-gradient(155deg, rgba(251, 191, 36, 0.12), rgba(255, 255, 255, 0.02));
}

.luxe-feature-grid .glass-card:nth-child(3) {
  border-color: rgba(52, 211, 153, 0.35);
  background: linear-gradient(155deg, rgba(52, 211, 153, 0.12), rgba(255, 255, 255, 0.02));
}

.custom-panel {
  border: 1px solid rgba(167, 139, 250, 0.35);
  border-radius: 22px;
  padding: clamp(20px, 3vw, 32px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent),
    radial-gradient(circle at 100% 0%, rgba(167, 139, 250, 0.2), transparent 50%);
}

body.luxe .footer {
  width: var(--content-width, 90vw);
  max-width: var(--content-width, 90vw);
}
