/* ============================================================
   MEMPHIS ESSENTIALS — dedicated product page
   Dark luxury / red / black / chrome. Extends styles.css tokens.
   ============================================================ */

:root {
  --mem-black: #030103;
  --mem-charcoal: #0d0709;
  --mem-blood: #8a0f22;
  --mem-crimson: #ff2d45;
  --mem-crimson-deep: #5c0f1a;
  --mem-chrome: #c9ccd6;
  --mem-chrome-dim: #6c6d75;
  --mem-glass-bg: rgba(20, 8, 12, 0.55);
  --mem-glass-border: rgba(255, 255, 255, 0.08);
  --mem-radius-xl: 32px;
}

.memphis-page {
  background: var(--mem-black);
  overflow-x: hidden;
}

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

.mem-noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.mem-section {
  position: relative;
  z-index: 1;
  padding: clamp(72px, 10vw, 140px) 24px;
}

.mem-eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mem-crimson);
  margin-bottom: 18px;
}

/* ============================================================
   HERO
   ============================================================ */
.mem-hero {
  min-height: 100vh;
  padding-top: 120px;
  padding-bottom: clamp(64px, 8vw, 96px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.mem-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 18% 22%, rgba(255, 45, 69, 0.28) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 88% 70%, rgba(138, 15, 34, 0.32) 0%, transparent 65%),
    radial-gradient(ellipse 80% 80% at 50% 100%, rgba(92, 15, 26, 0.4) 0%, transparent 70%),
    linear-gradient(180deg, #050106 0%, #0a0407 45%, #050106 100%);
}

.mem-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.mem-hero-glow-1 {
  width: 520px;
  height: 520px;
  top: -10%;
  left: -8%;
  background: radial-gradient(circle, rgba(255, 45, 69, 0.35), transparent 70%);
}

.mem-hero-glow-2 {
  width: 620px;
  height: 620px;
  bottom: -18%;
  right: -12%;
  background: radial-gradient(circle, rgba(138, 15, 34, 0.4), transparent 70%);
}

.mem-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1360px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "top" "visual" "bottom";
  align-items: center;
  gap: clamp(24px, 5vw, 40px);
  padding: 0 24px;
}

.mem-hero-top { grid-area: top; text-align: center; }
.mem-hero-visual { grid-area: visual; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.mem-hero-bottom { grid-area: bottom; text-align: center; }

@media (min-width: 1025px) {
  .mem-hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    grid-template-areas: "top visual" "bottom visual";
    gap: clamp(32px, 6vw, 80px);
  }
  .mem-hero-top,
  .mem-hero-bottom { text-align: left; }
  .mem-hero-visual { align-items: center; }
}

.mem-hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-wrap: balance;
  background: linear-gradient(180deg, #fff 0%, #fff4f4 40%, #d9b6bb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 60px rgba(255, 45, 69, 0.25);
}

.mem-hero-title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--mem-crimson), #ff7a63 55%, var(--mem-crimson));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mem-hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--text-muted);
  max-width: 46ch;
  line-height: 1.7;
  margin: 0 auto 28px;
}

@media (min-width: 1025px) {
  .mem-hero-sub { margin-left: 0; }
}

/* Price cluster (hero) */
.mem-price-cluster {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}

@media (min-width: 1025px) {
  .mem-price-cluster { align-items: flex-start; }
}

.mem-price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.mem-price-old {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--mem-chrome-dim);
  text-decoration: line-through;
  text-decoration-color: rgba(201, 204, 214, 0.5);
  font-variant-numeric: tabular-nums;
}

.mem-price {
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.mem-deal-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mem-crimson);
  background: rgba(255, 45, 69, 0.1);
  border: 1px solid rgba(255, 45, 69, 0.35);
  border-radius: 999px;
  padding: 8px 16px;
  box-shadow: 0 0 18px rgba(255, 45, 69, 0.18);
}

.mem-deal-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mem-crimson);
  box-shadow: 0 0 10px rgba(255, 45, 69, 0.9);
  animation: memDealPulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes memDealPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.75); }
}

.mem-deal-time {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: #fff;
  padding-left: 10px;
  margin-left: 2px;
  border-left: 1px solid rgba(255, 45, 69, 0.4);
}

.mem-deal-pill.is-expired {
  color: var(--mem-chrome);
  border-color: rgba(201, 204, 214, 0.35);
  box-shadow: none;
}

.mem-deal-pill.is-expired .mem-deal-dot {
  background: var(--mem-chrome-dim);
  box-shadow: none;
  animation: none;
}

.mem-price-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (min-width: 1025px) {
  .mem-price-tags { justify-content: flex-start; }
}

.mem-price-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mem-chrome);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--mem-glass-border);
  padding: 7px 14px;
  border-radius: 999px;
}

.mem-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (min-width: 1025px) {
  .mem-hero-actions { justify-content: flex-start; }
}

.mem-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 32px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, background 0.35s ease;
  min-height: 44px;
  white-space: nowrap;
}

.mem-btn-primary {
  background: linear-gradient(135deg, var(--mem-crimson) 0%, var(--mem-blood) 100%);
  color: #fff;
  box-shadow: 0 12px 40px rgba(255, 45, 69, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.mem-btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(255, 45, 69, 0.6);
  animation: memPulse 2.8s ease-out infinite;
  pointer-events: none;
}

@keyframes memPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 45, 69, 0.45); }
  70% { box-shadow: 0 0 0 18px rgba(255, 45, 69, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 45, 69, 0); }
}

.mem-btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 60px rgba(255, 45, 69, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.mem-btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--mem-chrome);
  border: 1px solid var(--mem-glass-border);
  backdrop-filter: blur(12px);
}

.mem-btn-ghost:hover {
  border-color: rgba(255, 45, 69, 0.4);
  color: #fff;
  background: rgba(255, 45, 69, 0.08);
  transform: translateY(-2px);
}

.mem-btn-secondary {
  padding: 14px 26px;
  font-size: 0.8rem;
  opacity: 0.85;
}

.mem-btn:focus-visible {
  outline: 2px solid var(--mem-crimson);
  outline-offset: 3px;
}

.mem-btn:active {
  transform: translateY(-1px) scale(0.98);
}

.mem-btn-shimmer {
  overflow: hidden;
}

.mem-btn-shimmer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.35) 48%, transparent 66%);
  transform: translateX(-130%);
  pointer-events: none;
}

.mem-btn-shimmer:hover::before {
  animation: memShimmerSweep 1.1s ease;
}

@keyframes memShimmerSweep {
  to { transform: translateX(130%); }
}

/* Hero visual / 3D tilt cover */
.mem-cover-stage {
  position: relative;
  width: min(78vw, 320px);
  aspect-ratio: 1;
  transform-style: preserve-3d;
  will-change: transform;
  perspective: 1400px;
}

@media (min-width: 1025px) {
  .mem-cover-stage {
    width: min(100%, 460px);
  }
}

.mem-cover-glow {
  position: absolute;
  inset: -60px;
  background: radial-gradient(circle, rgba(255, 45, 69, 0.35) 0%, transparent 68%);
  filter: blur(10px);
  z-index: 0;
  border-radius: 50%;
}

.mem-cover-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: var(--mem-radius-xl);
  overflow: hidden;
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 80px rgba(255, 45, 69, 0.25);
  transform: translateZ(40px);
}

.mem-cover-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mem-cover-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.18) 0%, transparent 30%, transparent 70%, rgba(255, 255, 255, 0.08) 100%);
  pointer-events: none;
}

.mem-cover-shimmer {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.22) 50%, transparent 60%);
  transform: translateX(-140%);
  animation: memCoverSweep 5s ease-in-out infinite;
}

@keyframes memCoverSweep {
  0%, 55% { transform: translateX(-140%); }
  85%, 100% { transform: translateX(140%); }
}

/* Badge row under the cover */
.mem-badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 360px;
}

.mem-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--mem-glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 45, 69, 0.25);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--mem-chrome);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45), 0 0 14px rgba(255, 45, 69, 0.1);
  white-space: nowrap;
}

.mem-badge svg { color: var(--mem-crimson); flex-shrink: 0; }

@media (max-width: 1024px) {
  .mem-hero-sub { margin-left: auto; margin-right: auto; }
}

@media (max-width: 560px) {
  .mem-hero { padding-top: 96px; }
  .mem-badge { font-size: 0.7rem; padding: 0 13px; height: 36px; }
  .mem-badge-wide { flex-basis: 100%; justify-content: center; }
}

/* ============================================================
   AUDIO PREVIEW SECTION
   ============================================================ */
.mem-audio-section {
  padding-top: clamp(88px, 11vw, 150px);
  background: linear-gradient(180deg, rgba(138, 15, 34, 0.1) 0%, rgba(138, 15, 34, 0.05) 30%, transparent 70%);
}

.mem-section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.mem-section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: #fff;
}

.mem-section-head p {
  color: var(--text-muted);
  margin-top: 14px;
  font-size: 1.05rem;
}

.mem-players {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mem-player {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(30, 12, 16, 0.7), rgba(10, 4, 6, 0.7));
  border: 1px solid var(--mem-glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mem-player:hover {
  border-color: rgba(255, 45, 69, 0.3);
  transform: translateY(-2px);
}

.mem-player.is-playing {
  border-color: rgba(255, 45, 69, 0.55);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 50px rgba(255, 45, 69, 0.18);
}

.mem-player-play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--mem-crimson), var(--mem-blood));
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(255, 45, 69, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.mem-player-play:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 38px rgba(255, 45, 69, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.16) inset;
}

.mem-player-play:focus-visible {
  outline: 2px solid var(--mem-crimson);
  outline-offset: 3px;
}

.mem-player-play svg { width: 18px; height: 18px; }
.mem-player-play .icon-pause { display: none; }
.mem-player.is-playing .icon-play { display: none; }
.mem-player.is-playing .icon-pause { display: block; }

.mem-player-body {
  min-width: 0;
}

.mem-player-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.mem-player-title {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  letter-spacing: 0.01em;
}

.mem-player-time {
  font-size: 0.78rem;
  color: var(--mem-chrome-dim);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.mem-player-scrub {
  position: relative;
  height: 30px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.mem-player-waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  width: 100%;
  height: 28px;
  pointer-events: none;
}

.mem-player-waveform i {
  display: block;
  flex: 1;
  min-width: 2px;
  max-width: 4px;
  border-radius: 3px;
  background: rgba(201, 204, 214, 0.25);
  transition: background 0.2s ease;
}

.mem-player-waveform i.is-filled {
  background: linear-gradient(180deg, var(--mem-crimson), #ff7a63);
}

.mem-player.is-playing .mem-player-waveform i.is-filled {
  animation: memWave 0.9s ease-in-out infinite;
  animation-play-state: running;
}

@keyframes memWave {
  0%, 100% { transform: scaleY(0.85); }
  50% { transform: scaleY(1.15); }
}

.mem-player-tag {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mem-chrome-dim);
  border: 1px solid var(--mem-glass-border);
  border-radius: 999px;
  padding: 8px 16px;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .mem-player { grid-template-columns: auto 1fr; padding: 18px 20px; gap: 14px; }
  .mem-player-tag { display: none; }
  .mem-player-play { width: 48px; height: 48px; }
}

/* ============================================================
   WHAT'S INSIDE — floating pills
   ============================================================ */
.mem-inside {
  position: relative;
  overflow: hidden;
}

.mem-inside-glow {
  position: absolute;
  z-index: 0;
  top: 5%;
  left: 50%;
  width: 1000px;
  height: 600px;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse 45% 55% at 30% 40%, rgba(255, 45, 69, 0.14), transparent 70%),
    radial-gradient(ellipse 45% 55% at 70% 60%, rgba(138, 15, 34, 0.16), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  animation: memInsideBreathe 7s ease-in-out infinite;
}

@keyframes memInsideBreathe {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.mem-keywords {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: -24px auto 40px;
}

.mem-keyword {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mem-crimson);
  background: rgba(255, 45, 69, 0.1);
  border: 1px solid rgba(255, 45, 69, 0.35);
  border-radius: 999px;
  padding: 7px 16px;
  box-shadow: 0 0 18px rgba(255, 45, 69, 0.15);
}

.mem-inside-grid {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.mem-inside-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 28px;
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(255, 45, 69, 0.09), rgba(16, 6, 9, 0.72));
  border: 1px solid rgba(255, 45, 69, 0.22);
  backdrop-filter: blur(14px);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 0 46px rgba(255, 45, 69, 0.06) inset;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.45s ease, box-shadow 0.45s ease;
  cursor: default;
}

.mem-inside-card:hover,
.mem-inside-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(255, 45, 69, 0.55);
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.52),
    0 0 30px rgba(255, 45, 69, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 0 60px rgba(255, 45, 69, 0.1) inset;
}

.mem-inside-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-main);
  margin: 0;
}

.mem-inside-card p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 244, 244, 0.72);
  margin: 0;
  max-width: 46ch;
}

.mem-inside-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 45, 69, 0.16);
  color: var(--mem-crimson);
  filter: drop-shadow(0 0 6px rgba(255, 45, 69, 0.5));
  transition: filter 0.45s ease, background 0.45s ease;
}

.mem-inside-card:hover .mem-inside-icon {
  background: rgba(255, 45, 69, 0.3);
  filter: drop-shadow(0 0 12px rgba(255, 45, 69, 0.8));
}

/* Featured wide card with animated waveform strip */
.mem-inside-card-wide {
  grid-column: span 2;
  justify-content: flex-start;
}

.mem-inside-wave {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 34px;
  margin-top: auto;
  padding-top: 10px;
  opacity: 0.85;
}

.mem-inside-wave i {
  flex: 1;
  min-width: 3px;
  border-radius: 2px;
  background: linear-gradient(to top, rgba(255, 45, 69, 0.85), rgba(255, 45, 69, 0.25));
  height: 30%;
  animation: memInsideWave 1.9s ease-in-out infinite;
}

.mem-inside-wave i:nth-child(3n)  { animation-delay: 0.25s; }
.mem-inside-wave i:nth-child(3n+1) { animation-delay: 0.55s; }
.mem-inside-wave i:nth-child(4n)  { animation-delay: 0.9s; }
.mem-inside-wave i:nth-child(5n)  { animation-delay: 1.25s; }

@keyframes memInsideWave {
  0%, 100% { height: 22%; }
  50% { height: 92%; }
}

/* Full-width horizontal strip card */
.mem-inside-card-strip {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}

.mem-inside-strip-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Accent card (vocals) */
.mem-inside-card-accent {
  background: linear-gradient(150deg, rgba(255, 45, 69, 0.18), rgba(26, 7, 11, 0.78));
  border-color: rgba(255, 45, 69, 0.4);
}

@media (max-width: 900px) {
  .mem-inside-grid { grid-template-columns: 1fr 1fr; }
  .mem-inside-card-wide { grid-column: span 2; }
}

@media (max-width: 560px) {
  .mem-keywords { margin-top: 0; }
  .mem-inside-grid { grid-template-columns: 1fr; }
  .mem-inside-card-wide { grid-column: auto; }
  .mem-inside-card { padding: 22px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .mem-inside-wave i { animation: none; height: 55%; }
}

/* ============================================================
   BUILT FROM REAL ANALOG GRIT (merged with license)
   ============================================================ */
.mem-built {
  position: relative;
  overflow: hidden;
}

.mem-built-glow {
  position: absolute;
  z-index: 0;
  inset: -10%;
  background:
    radial-gradient(ellipse 50% 50% at 20% 30%, rgba(255, 45, 69, 0.18), transparent 65%),
    radial-gradient(ellipse 45% 55% at 85% 70%, rgba(138, 15, 34, 0.22), transparent 65%);
  filter: blur(30px);
  pointer-events: none;
}

.mem-built-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(32px, 6vw, 64px);
}

.mem-built-copy h2 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  text-wrap: balance;
  color: #fff;
  margin-bottom: 18px;
}

.mem-built-copy p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 46ch;
  margin-bottom: 28px;
}

.mem-built-steps {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.mem-built-step {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(140deg, rgba(255, 45, 69, 0.18), rgba(20, 8, 12, 0.65));
  border: 1px solid rgba(255, 45, 69, 0.32);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-main);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 45, 69, 0.12);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.mem-built-step-icon {
  display: flex;
  color: var(--mem-crimson);
  filter: drop-shadow(0 0 6px rgba(255, 45, 69, 0.6));
}

.mem-built-step:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 45, 69, 0.6);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 45, 69, 0.25);
}

.mem-built-visual {
  position: relative;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mem-built-orb {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 45, 69, 0.35), transparent 70%);
  filter: blur(20px);
  animation: memInsideBreathe 6s ease-in-out infinite;
}

.mem-built-wave {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 5px;
  height: 120px;
}

.mem-built-wave i {
  display: block;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--mem-crimson), var(--mem-chrome));
  opacity: 0.85;
  animation: memBuiltWave 2.4s ease-in-out infinite;
}

.mem-built-wave i:nth-child(3n) { animation-duration: 2s; }
.mem-built-wave i:nth-child(5n) { animation-duration: 2.8s; animation-delay: 0.3s; }
.mem-built-wave i:nth-child(7n) { animation-duration: 3.2s; animation-delay: 0.6s; }

@keyframes memBuiltWave {
  0%, 100% { height: 20%; }
  50% { height: 90%; }
}

@media (max-width: 800px) {
  .mem-built-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .mem-built-copy p { margin-left: auto; margin-right: auto; }
  .mem-built-steps { justify-content: center; }
  .mem-built-visual { height: 160px; margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .mem-built-wave i { animation: none; height: 55%; }
}

/* ============================================================
   VALUE STACK / OFFER
   ============================================================ */
.mem-value {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, transparent 0%, rgba(58, 7, 18, 0.35) 45%, transparent 100%);
}

.mem-value-glow {
  position: absolute;
  z-index: 0;
  inset: -10%;
  background:
    radial-gradient(ellipse 45% 50% at 15% 25%, rgba(255, 45, 69, 0.14), transparent 65%),
    radial-gradient(ellipse 40% 55% at 85% 75%, rgba(126, 30, 90, 0.18), transparent 65%),
    radial-gradient(ellipse 30% 35% at 60% 10%, rgba(255, 140, 66, 0.05), transparent 70%);
  filter: blur(28px);
  pointer-events: none;
}

.mem-value-inner {
  position: relative;
  z-index: 1;
  max-width: 940px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(28px, 5vw, 56px);
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--mem-radius-xl);
  background: linear-gradient(150deg, rgba(255, 45, 69, 0.08), rgba(10, 4, 6, 0.7));
  border: 1px solid rgba(255, 45, 69, 0.28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.5), 0 0 60px rgba(255, 45, 69, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.mem-value-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}

.mem-value-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.95rem;
}

.mem-value-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 45, 69, 0.16);
  border: 1px solid rgba(255, 45, 69, 0.4);
  color: var(--mem-crimson);
  box-shadow: 0 0 12px rgba(255, 45, 69, 0.25);
}

.mem-value-check svg { width: 13px; height: 13px; }

.mem-value-offer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding-left: clamp(0px, 3vw, 32px);
  border-left: 1px solid rgba(255, 255, 255, 0.07);
}

@media (max-width: 800px) {
  .mem-value-inner { grid-template-columns: 1fr; }
  .mem-value-offer {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-left: 0;
    padding-top: 24px;
    align-items: center;
    text-align: center;
  }
  .mem-value-list { gap: 12px 14px; }
}

@media (max-width: 480px) {
  .mem-value-list { grid-template-columns: 1fr; }
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.mem-final {
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(96px, 12vw, 160px);
}

.mem-final-glow {
  position: absolute;
  inset: -10% 0 0 0;
  background: radial-gradient(ellipse 70% 65% at 50% 40%, rgba(255, 45, 69, 0.25), transparent 70%);
  z-index: 0;
}

.mem-final-inner {
  position: relative;
  z-index: 1;
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}

/* Hero-like product cover in the purchase section */
.mem-final-cover {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: var(--mem-radius-xl);
  overflow: visible;
  transform: rotate(-2deg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  animation: memFinalFloat 5.5s ease-in-out infinite;
}

.mem-final-cover::before {
  content: "";
  position: absolute;
  inset: -14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 45, 69, 0.4) 0%, transparent 68%);
  filter: blur(24px);
  z-index: 0;
}

.mem-final-cover img {
  position: relative;
  z-index: 1;
  border-radius: var(--mem-radius-xl);
  box-shadow:
    0 50px 110px rgba(0, 0, 0, 0.7),
    0 0 80px rgba(255, 45, 69, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

@keyframes memFinalFloat {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50% { transform: rotate(-2deg) translateY(-10px); }
}

.mem-final-cover:hover {
  transform: rotate(0deg) scale(1.04);
  animation-play-state: paused;
}

.mem-final-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mem-final-copy {
  text-align: left;
}

.mem-final h2 {
  font-size: clamp(1.9rem, 4.4vw, 2.9rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-wrap: balance;
  margin-bottom: 18px;
  color: #fff;
}

.mem-final-price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 12px;
}

.mem-final-price {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--mem-crimson);
  font-variant-numeric: tabular-nums;
}

.mem-final-copy .mem-deal-pill {
  margin-bottom: 22px;
}

.mem-final-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.mem-final-benefits {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.mem-final-benefit {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mem-chrome);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--mem-glass-border);
  border-radius: 999px;
  padding: 7px 14px;
}

@media (max-width: 800px) {
  .mem-final-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .mem-final-copy { text-align: center; }
  .mem-final-price-row, .mem-final-actions, .mem-final-benefits { justify-content: center; }
  .mem-final-cover { width: min(70vw, 300px); margin-bottom: 8px; }
}

/* ============================================================
   SCROLL REVEALS
   Content is VISIBLE by default; JS adds .mem-reveal-wait only
   to below-fold elements, then removes it on intersection.
   If JS fails, nothing is ever hidden.
   ============================================================ */
.mem-reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.mem-reveal.mem-reveal-wait {
  opacity: 0;
  transform: translateY(40px);
}

@media (prefers-reduced-motion: reduce) {
  .mem-reveal, .mem-reveal.mem-reveal-wait { opacity: 1; transform: none; transition: none; }
  .mem-btn-primary::after { animation: none; }
  .mem-btn-shimmer:hover::before { animation: none; }
  .mem-player.is-playing .mem-player-waveform i.is-filled { animation: none; }
  .mem-cover-shimmer { animation: none; opacity: 0; }
  .mem-inside-glow { animation: none; }
  .mem-deal-dot { animation: none; }
}

/* ============================================================
   AMBIENT VIDEO BACKGROUND (reusable)
   Blurred, looping cover-art video behind section content.
   ============================================================ */
.mem-ambient {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.mem-ambient-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%) scale(1.15);
  object-fit: cover;
  /* --mem-ambient-blur / --mem-ambient-opacity are the tuning knobs */
  filter: blur(var(--mem-ambient-blur, 26px)) saturate(1.15);
  opacity: var(--mem-ambient-opacity, 0.42);
}

.mem-ambient-overlay {
  position: absolute;
  inset: 0;
  /* Dark + red readability overlay over the video */
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(138, 15, 34, 0.35), transparent 70%),
    linear-gradient(180deg, rgba(3, 1, 3, 0.82) 0%, rgba(3, 1, 3, 0.7) 45%, rgba(3, 1, 3, 0.9) 100%);
}

/* Hero layering: video sits above the base gradient, glows + content above video */
.mem-hero .mem-ambient { z-index: 1; }
.mem-hero-glow { z-index: 2; }
.mem-hero-inner { z-index: 3; }

/* Final CTA layering: video behind glow + content */
.mem-final .mem-ambient { z-index: 0; }
.mem-final .mem-ambient-overlay {
  background:
    radial-gradient(ellipse 70% 60% at 50% 30%, rgba(255, 45, 69, 0.22), transparent 70%),
    linear-gradient(180deg, rgba(3, 1, 3, 0.88) 0%, rgba(3, 1, 3, 0.78) 50%, rgba(3, 1, 3, 0.94) 100%);
}
.mem-final .mem-final-glow { z-index: 0; }
.mem-final .mem-countdown,
.mem-final .mem-final-inner { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  /* Keep the video moving is fine, but let low-power users opt out visually */
  .mem-ambient-video { opacity: calc(var(--mem-ambient-opacity, 0.42) * 0.75); }
}

/* ============================================================
   PREMIUM NAVBAR (scoped to Memphis page)
   Floating dark-glass pill with red glow.
   ============================================================ */
.memphis-page .site-header {
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding-top: 14px;
}

.memphis-page .header-inner {
  height: auto;
  padding: 10px 14px 10px 22px;
  border-radius: 999px;
  background: linear-gradient(150deg, rgba(30, 12, 16, 0.72), rgba(8, 3, 5, 0.72));
  border: 1px solid rgba(255, 45, 69, 0.28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.5),
    0 0 26px rgba(255, 45, 69, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  gap: 20px;
}

.memphis-page .site-header.scrolled .header-inner {
  border-color: rgba(255, 45, 69, 0.45);
  box-shadow:
    0 14px 46px rgba(0, 0, 0, 0.6),
    0 0 32px rgba(255, 45, 69, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.memphis-page .main-nav a {
  position: relative;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--mem-chrome);
  font-weight: 600;
  transition: color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.memphis-page .main-nav a:hover {
  color: #fff;
  background: rgba(255, 45, 69, 0.12);
  box-shadow: 0 0 18px rgba(255, 45, 69, 0.25) inset;
}

/* Premium "Get Bundle" CTA in the navbar */
.memphis-page .header-cta {
  position: relative;
  overflow: hidden;
  border: none;
  border-radius: 999px;
  padding: 11px 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--mem-crimson) 0%, var(--mem-blood) 100%);
  box-shadow:
    0 8px 26px rgba(255, 45, 69, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.memphis-page .header-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.4) 48%, transparent 66%);
  transform: translateX(-130%);
  pointer-events: none;
}

.memphis-page .header-cta:hover {
  transform: translateY(-2px) scale(1.03);
  background: linear-gradient(135deg, var(--mem-crimson) 0%, var(--mem-blood) 100%);
  color: #fff;
  box-shadow:
    0 12px 34px rgba(255, 45, 69, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.16) inset;
}

.memphis-page .header-cta:hover::before {
  animation: memShimmerSweep 1.1s ease;
}

.memphis-page .menu-button {
  border-radius: 12px;
}

@media (max-width: 768px) {
  .memphis-page .header-inner { padding: 8px 10px 8px 18px; }
  .memphis-page .header-cta { display: none; }
}

/* ============================================================
   DYNAMIC CIRCULAR COUNTDOWN
   ============================================================ */
.mem-countdown {
  max-width: 720px;
  margin: 0 auto clamp(48px, 6vw, 72px);
  text-align: center;
}

.mem-countdown-title {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 32px;
}

.mem-countdown-title span {
  color: var(--mem-crimson);
  text-shadow: 0 0 18px rgba(255, 45, 69, 0.6);
}

.mem-countdown-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(14px, 3vw, 34px);
}

.mem-count-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.mem-count-ring {
  position: relative;
  width: clamp(84px, 20vw, 128px);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Soft rotating glow behind each ring */
.mem-count-ring::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0%, rgba(255, 45, 69, 0.35) 25%, transparent 55%);
  filter: blur(8px);
  opacity: 0.7;
  animation: memRingSpin 6s linear infinite;
}

@keyframes memRingSpin {
  to { transform: rotate(360deg); }
}

.mem-count-ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.mem-ring-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 6;
}

.mem-ring-arc {
  fill: none;
  stroke: var(--mem-crimson);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 326.726;
  stroke-dashoffset: 82;
  filter: drop-shadow(0 0 6px rgba(255, 45, 69, 0.8));
  transition: stroke-dashoffset 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mem-count-ring strong {
  position: relative;
  z-index: 1;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 900;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.mem-count-unit small {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mem-crimson);
}

.mem-countdown.is-expired .mem-ring-arc { stroke: var(--mem-chrome-dim); filter: none; }
.mem-countdown.is-expired .mem-count-ring::before { animation: none; opacity: 0.2; }
.mem-countdown.is-expired .mem-count-unit small { color: var(--mem-chrome-dim); }

/* Mobile: keep all four rings on ONE row (1x4, never 2x2) */
@media (max-width: 520px) {
  .mem-countdown-grid {
    flex-wrap: nowrap;
    gap: clamp(8px, 2.5vw, 14px);
  }
  .mem-count-unit { gap: 8px; }
  .mem-count-ring { width: clamp(64px, 20.5vw, 86px); }
  .mem-count-ring strong { font-size: clamp(1.05rem, 5vw, 1.4rem); }
  .mem-ring-track, .mem-ring-arc { stroke-width: 5; }
  .mem-count-unit small { font-size: 0.58rem; letter-spacing: 0.1em; }
}

@media (prefers-reduced-motion: reduce) {
  .mem-count-ring::before { animation: none; }
}

/* ============================================================
   HERO FLOATING SOUND TAGS (desktop only)
   ============================================================ */
.mem-float-tag {
  position: absolute;
  z-index: 4;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--mem-glass-bg);
  border: 1px solid rgba(255, 45, 69, 0.3);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--mem-chrome);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 16px rgba(255, 45, 69, 0.12);
  white-space: nowrap;
  animation: memTagFloat 4.5s ease-in-out infinite;
}

.mem-float-tag-1 { top: -4%; left: -18%; animation-delay: 0s; }
.mem-float-tag-2 { top: 22%; right: -22%; animation-delay: 1.2s; }
.mem-float-tag-3 { bottom: 16%; left: -24%; animation-delay: 0.6s; }
.mem-float-tag-4 { bottom: -3%; right: -12%; animation-delay: 1.8s; }

@keyframes memTagFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@media (max-width: 1024px) {
  .mem-float-tag { display: none; }
}

/* ============================================================
   RICHER SECTION BACKGROUNDS (scroll variety, subtle)
   ============================================================ */
.mem-audio-section {
  background:
    radial-gradient(ellipse 50% 60% at 85% 20%, rgba(126, 30, 90, 0.1), transparent 65%),
    linear-gradient(180deg, rgba(138, 15, 34, 0.1) 0%, rgba(138, 15, 34, 0.05) 30%, transparent 70%);
}

.mem-inside-glow {
  background:
    radial-gradient(ellipse 45% 55% at 30% 40%, rgba(255, 45, 69, 0.14), transparent 70%),
    radial-gradient(ellipse 45% 55% at 70% 60%, rgba(138, 15, 34, 0.16), transparent 70%),
    radial-gradient(ellipse 35% 40% at 88% 20%, rgba(110, 30, 120, 0.1), transparent 70%);
}

.mem-built-glow {
  background:
    radial-gradient(ellipse 50% 50% at 20% 30%, rgba(255, 45, 69, 0.18), transparent 65%),
    radial-gradient(ellipse 45% 55% at 85% 70%, rgba(138, 15, 34, 0.22), transparent 65%),
    radial-gradient(ellipse 30% 40% at 60% 15%, rgba(180, 40, 110, 0.1), transparent 70%);
}

/* ============================================================
   STICKY MOBILE CTA BAR
   ============================================================ */
.mem-sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px 10px 18px;
  border-radius: 999px;
  background: linear-gradient(150deg, rgba(30, 12, 16, 0.9), rgba(8, 3, 5, 0.92));
  border: 1px solid rgba(255, 45, 69, 0.35);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6), 0 0 26px rgba(255, 45, 69, 0.18);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease;
}

.mem-sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.mem-sticky-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}

.mem-sticky-price s {
  font-size: 0.78rem;
  color: var(--mem-chrome-dim);
}

.mem-sticky-price strong {
  font-size: 1.15rem;
  font-weight: 900;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.mem-sticky-cta .mem-btn {
  padding: 13px 20px;
  font-size: 0.72rem;
  min-height: 44px;
}

@media (max-width: 800px) {
  .mem-sticky-cta { display: flex; }
}

/* ============================================================
   CHECKOUT MODAL
   ============================================================ */
.mem-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.mem-modal[hidden] { display: none; }

.mem-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 1, 3, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.mem-modal.is-open .mem-modal-backdrop { opacity: 1; }

.mem-modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(34, 12, 17, 0.97), rgba(8, 3, 5, 0.98));
  border: 1px solid rgba(255, 45, 69, 0.35);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.7),
    0 0 70px rgba(255, 45, 69, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transform: translateY(26px) scale(0.96);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.mem-modal.is-open .mem-modal-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.mem-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(5, 3, 6, 0.6);
  color: var(--mem-chrome);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.mem-modal-close:hover {
  color: #fff;
  border-color: rgba(255, 45, 69, 0.5);
  transform: scale(1.08);
}

.mem-modal-close:focus-visible {
  outline: 2px solid var(--mem-crimson);
  outline-offset: 2px;
}

.mem-modal-media {
  position: relative;
  aspect-ratio: 16 / 8;
  overflow: hidden;
}

.mem-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.mem-modal-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(16, 5, 8, 0.95) 100%);
}

.mem-modal-body {
  padding: 20px 26px 26px;
  text-align: center;
}

.mem-modal-body h3 {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 8px;
}

.mem-modal-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.mem-modal-price s {
  color: var(--mem-chrome-dim);
  font-size: 0.95rem;
}

.mem-modal-price strong {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--mem-crimson);
  font-variant-numeric: tabular-nums;
}

.mem-modal-benefits {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.mem-modal-benefits li {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mem-chrome);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--mem-glass-border);
  border-radius: 999px;
  padding: 7px 13px;
}

.mem-modal-cta {
  width: 100%;
  margin-bottom: 14px;
}

.mem-modal-micro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 0.75rem;
  color: var(--mem-chrome-dim);
}

body.mem-modal-open { overflow: hidden; }

@media (max-width: 480px) {
  .mem-modal { padding: 14px; align-items: flex-end; }
  .mem-modal-card { border-radius: 24px 24px 20px 20px; }
  .mem-modal-media { aspect-ratio: 16 / 7; }
}

@media (prefers-reduced-motion: reduce) {
  .mem-float-tag { animation: none; }
  .mem-final-cover { animation: none; }
  .mem-modal-card, .mem-modal-backdrop, .mem-sticky-cta { transition: opacity 0.2s ease; }
}
