/* ==========================================================================
   Spoil Me — Luxury Fashion Editorial Gifting & VIP Experience
   Identity: MISS BB / CHANEL X 42X
   Aesthetic: Glossy Candy Pink, Rose Gold, Obsidian Black, Subtle Chrome
   Responsive: Fluid Mobile-First (Linktree snap) + Spacious Desktop Cinema
   ========================================================================== */

:root {
  --color-pink-candy: #ff4d8d;
  --color-pink-rose: #f06292;
  --color-pink-hot: #ff2a75;
  --color-pink-glow: rgba(255, 77, 141, 0.45);
  --color-pink-glass: rgba(255, 77, 141, 0.12);
  --color-pink-border: rgba(255, 77, 141, 0.35);
  --color-pink-blush: #fde8f0;

  --color-black-obsidian: #080307;
  --color-black-patent: #120610;
  --color-black-card: rgba(12, 4, 10, 0.82);
  --color-black-glass: rgba(15, 6, 13, 0.90);

  --color-chrome: #f8f9fa;
  --color-chrome-muted: #d0c8d1;
  --color-gold-accent: #f5d0a9;
  
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-card: 22px;
  --radius-pill: 999px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  min-height: 100%;
  background-color: var(--color-black-obsidian);
  color: var(--color-chrome);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --------------------------------------------------------------------------
   Ambient Backdrop (Luxury ambient illumination on widescreen desktop)
   -------------------------------------------------------------------------- */
.ambient-backdrop {
  position: fixed;
  inset: -10%;
  z-index: 0;
  background: 
    radial-gradient(circle at 50% 25%, rgba(255, 77, 141, 0.25) 0%, transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(240, 98, 146, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 20% 70%, rgba(18, 6, 16, 0.95) 0%, #080307 100%);
  filter: blur(60px);
  opacity: 0.9;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Editorial Container (Responsive Canvas: Mobile 9:16 + Desktop Cinema)
   -------------------------------------------------------------------------- */
.editorial-container {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--color-black-obsidian);
  overflow: hidden;
  transition: max-width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Mobile & Tablet constraint */
@media (max-width: 991px) {
  .editorial-container {
    max-width: 520px;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.85), 0 0 40px rgba(255, 77, 141, 0.2);
  }
}

/* Desktop Full Widescreen */
@media (min-width: 992px) {
  .editorial-container {
    max-width: 100%;
    width: 100vw;
    height: 100vh;
    box-shadow: none;
  }
}

/* --------------------------------------------------------------------------
   Scene Stage (Original Background Image, Vignette & Interactive Hotspot)
   -------------------------------------------------------------------------- */
.scene-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background-color: #120610;
}

.scene-picture,
.scene-visual {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* Cinematic lighting vignette: softly darkens top & bottom to make text crisp */
.cinematic-gradient-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(8, 3, 7, 0.85) 0%,
    rgba(8, 3, 7, 0.35) 22%,
    rgba(8, 3, 7, 0.05) 40%,
    rgba(8, 3, 7, 0.05) 58%,
    rgba(8, 3, 7, 0.40) 75%,
    rgba(8, 3, 7, 0.95) 100%
  );
}

/* --------------------------------------------------------------------------
   PART 9: Invisible Smartphone Touch Target & Small Circular "Tap me ♡" Button
   Replaces the old large square box with a small, elegant circular jewel button
   -------------------------------------------------------------------------- */
.phone-hotspot {
  position: absolute;
  z-index: 20;
  background: transparent;
  border: none;
  border-radius: 0;
  cursor: pointer;
  padding: 0;
  margin: 0;
  outline: none;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
}

.phone-hotspot:focus-visible {
  outline: 2px dashed rgba(255, 77, 141, 0.8);
  outline-offset: 4px;
}

/* Seamless Luxury "snooping my phone while I'm not looking" UI Badge */
.snoop-phone-badge {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(18, 4, 15, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 108, 165, 0.45);
  border-radius: 9999px;
  white-space: nowrap;
  pointer-events: auto;
  cursor: pointer;
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.8),
    0 0 16px rgba(255, 77, 141, 0.35),
    inset 0 1px 1.5px rgba(255, 255, 255, 0.35);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  animation: snoopBadgeBreathe 3.2s ease-in-out infinite;
}

.snoop-phone-badge:hover,
.phone-hotspot:hover .snoop-phone-badge {
  transform: translateX(-50%) translateY(-2px) scale(1.04);
  background: rgba(30, 6, 24, 0.92);
  border-color: rgba(255, 174, 201, 0.85);
  box-shadow: 
    0 10px 28px rgba(0, 0, 0, 0.9),
    0 0 24px rgba(255, 77, 141, 0.65),
    inset 0 1px 2px rgba(255, 255, 255, 0.6);
}

.snoop-dot {
  font-size: 0.55rem;
  color: var(--color-pink-candy);
  animation: snoopDotPulse 1.8s ease-in-out infinite;
}

.snoop-label {
  font-family: var(--font-serif);
  font-size: 0.82rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9), 0 0 8px rgba(255, 77, 141, 0.5);
  user-select: none;
}

.snoop-heart {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--color-pink-rose);
  text-shadow: 0 0 8px rgba(255, 77, 141, 0.8);
}

.snoop-pulse-glow {
  position: absolute;
  inset: -3px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 77, 141, 0.4);
  pointer-events: none;
  animation: snoopRingPulse 2.8s cubic-bezier(0.2, 0.8, 0.4, 1) infinite;
}

@keyframes snoopBadgeBreathe {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8), 0 0 16px rgba(255, 77, 141, 0.35);
  }
  50% {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.9), 0 0 24px rgba(255, 77, 141, 0.6);
  }
}

@keyframes snoopDotPulse {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); text-shadow: 0 0 8px #ff4d8d; }
}

@keyframes snoopRingPulse {
  0% { transform: scale(0.96); opacity: 0.7; }
  60% { transform: scale(1.12); opacity: 0.1; }
  100% { transform: scale(1.2); opacity: 0; }
}

/* Backward-compatibility for circular tap button if referenced */
.circular-tap-btn {
  display: none;
}

/* Mobile Alternative Button ("Tap to watch ♡") */
.mobile-tap-watch {
  display: none;
  pointer-events: auto;
  background: rgba(18, 6, 16, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-pink-border);
  border-radius: var(--radius-pill);
  color: var(--color-pink-blush);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.98rem;
  padding: 10px 22px;
  margin: 10px auto;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0,0,0,0.6), 0 0 16px rgba(255, 77, 141, 0.25);
  transition: var(--transition-smooth);
}

.mobile-tap-watch:hover,
.mobile-tap-watch:active {
  background: rgba(35, 12, 31, 0.95);
  border-color: var(--color-pink-candy);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 77, 141, 0.4);
}

@media (max-width: 600px) {
  .mobile-tap-watch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
}

/* --------------------------------------------------------------------------
   Editorial Overlay Interface (Decoupled HTML/CSS text & buttons)
   -------------------------------------------------------------------------- */
.editorial-overlay {
  position: relative;
  z-index: 5;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding: env(safe-area-inset-top, 24px) 20px env(safe-area-inset-bottom, 24px) 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none; /* Let background & phone hotspot receive clicks */
}

/* Desktop Grid Layout (Part 2) */
@media (min-width: 992px) {
  .editorial-overlay {
    padding: 48px 64px 48px 64px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    grid-template-rows: auto 1fr;
    align-items: start;
  }
}

/* --------------------------------------------------------------------------
   Masthead (Header)
   -------------------------------------------------------------------------- */
.masthead {
  pointer-events: auto;
  text-align: center;
  padding-top: 14px;
  animation: fadeInDown 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (min-width: 992px) {
  .masthead {
    text-align: left;
    padding-top: 0;
    grid-column: 1;
    grid-row: 1;
    max-width: 620px;
  }
}

.brand-monogram {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  font-weight: 500;
  color: var(--color-pink-rose);
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.95;
  text-shadow: 0 0 14px rgba(255, 77, 141, 0.65);
}

.main-title {
  font-family: var(--font-serif);
  font-size: 3.4rem;
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--color-chrome);
  text-shadow: 
    0 2px 10px rgba(0, 0, 0, 0.85),
    0 0 25px rgba(255, 77, 141, 0.45);
}

@media (min-width: 992px) {
  .main-title {
    font-size: 5.2rem;
    line-height: 0.94;
  }
}

.tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--color-pink-blush);
  letter-spacing: 0.03em;
  margin-top: 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

@media (min-width: 992px) {
  .tagline {
    font-size: 1.45rem;
  }
}

.title-underline {
  width: 52px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-pink-candy), transparent);
  margin: 14px auto 0;
  opacity: 0.85;
}

@media (min-width: 992px) {
  .title-underline {
    margin: 16px 0 0 0;
    width: 80px;
    background: linear-gradient(90deg, var(--color-pink-candy), transparent);
  }
}

/* --------------------------------------------------------------------------
   Center Stage Clearance
   Guarantees the riding crop, stiletto heels, and phone screen stay visible
   -------------------------------------------------------------------------- */
.center-stage-clearance {
  flex-grow: 1;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

@media (min-width: 992px) {
  .center-stage-clearance {
    grid-column: 1 / span 2;
    grid-row: 2;
    min-height: 100px;
  }
}

/* --------------------------------------------------------------------------
   Action Card (Glassmorphic Luxury Dock)
   -------------------------------------------------------------------------- */
.action-card {
  pointer-events: auto;
  width: 100%;
  background: var(--color-black-card);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--color-pink-border);
  border-radius: var(--radius-card);
  padding: 18px 20px 16px 20px;
  text-align: center;
  box-shadow: 
    0 16px 40px rgba(0, 0, 0, 0.8),
    0 0 28px rgba(255, 77, 141, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
  margin-top: 14px;
}

@media (min-width: 992px) {
  .action-card {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: end;
    justify-self: end;
    max-width: 440px;
    margin-bottom: 24px;
    padding: 26px 28px 22px 28px;
  }
}

.supporting-text {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  line-height: 1.5;
  font-weight: 300;
  letter-spacing: 0.015em;
  color: var(--color-chrome-muted);
  margin-bottom: 14px;
  padding: 0 4px;
}

/* --------------------------------------------------------------------------
   The Gifting & Membership Buttons
   -------------------------------------------------------------------------- */
.button-group {
  display: flex;
  flex-direction: column;
  gap: 11px;
  width: 100%;
}

.btn-gift {
  display: block;
  position: relative;
  width: 100%;
  text-decoration: none;
  background: linear-gradient(
    135deg, 
    #1f0a1a 0%, 
    #0c040a 50%, 
    #250b1d 100%
  );
  border: 1.5px solid var(--color-pink-candy);
  border-radius: var(--radius-pill);
  padding: 14px 22px;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.7),
    0 0 28px rgba(255, 77, 141, 0.35),
    inset 0 1px 1px rgba(255, 255, 255, 0.4),
    inset 0 -1px 1px rgba(0, 0, 0, 0.8);
  transition: var(--transition-smooth);
  -webkit-tap-highlight-color: transparent;
}

.btn-gift.btn-kofi {
  background: linear-gradient(
    135deg, 
    #160613 0%, 
    #0a0309 50%, 
    #1d0718 100%
  );
  border-color: rgba(255, 77, 141, 0.55);
  box-shadow: 
    0 6px 20px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(255, 77, 141, 0.22),
    inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

/* Naughty Members Only Entry Button (Part 6) */
.btn-gift.btn-members {
  background: linear-gradient(
    135deg,
    #2a0a22 0%,
    #140512 50%,
    #360d2b 100%
  );
  border: 1.5px solid #ff6ca5;
  box-shadow: 
    0 8px 26px rgba(0, 0, 0, 0.8),
    0 0 32px rgba(255, 108, 165, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

.btn-gift.btn-members .btn-text {
  color: var(--color-pink-blush);
  letter-spacing: 0.1em;
  text-shadow: 0 0 14px rgba(255, 77, 141, 0.8);
}

.btn-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-icon {
  width: 18px;
  height: 18px;
  color: var(--color-pink-candy);
  transition: transform 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-icon-emoji {
  font-size: 1.05rem;
}

.btn-text {
  letter-spacing: 0.09em;
  text-shadow: 0 0 12px rgba(255, 77, 141, 0.6);
}

/* Animated liquid sheen reflection effect across button surface */
.btn-sheen {
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.35) 50%, 
    rgba(255, 77, 141, 0.25) 75%, 
    transparent 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  animation: liquidSheen 4.5s ease-in-out infinite;
}

.btn-gift:hover {
  transform: translateY(-2px) scale(1.015);
  background: linear-gradient(
    135deg, 
    #301027 0%, 
    #170714 50%, 
    #3b112e 100%
  );
  border-color: #ff6ca5;
  box-shadow: 
    0 12px 32px rgba(0, 0, 0, 0.8),
    0 0 45px rgba(255, 77, 141, 0.6),
    inset 0 1px 2px rgba(255, 255, 255, 0.6);
}

.btn-gift:hover .btn-icon {
  transform: scale(1.15) rotate(-6deg);
}

.btn-gift:active {
  transform: translateY(1px) scale(0.985);
  box-shadow: 
    0 4px 14px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(255, 77, 141, 0.4);
}

.btn-gift:focus-visible {
  outline: 2px solid var(--color-pink-hot);
  outline-offset: 4px;
}

/* Subtle reassuring micro-copy */
.subtle-reassurance {
  margin-top: 14px;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--color-chrome-muted);
  opacity: 0.7;
  text-transform: uppercase;
  font-weight: 400;
}

.subtle-reassurance span {
  display: inline-block;
  margin: 0 4px;
}

/* --------------------------------------------------------------------------
   PART 1: Video Overlay Modal (Full Responsive Cinema Lightbox)
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 3, 7, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  cursor: pointer;
}

.video-modal-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  background: var(--color-black-glass);
  border: 1px solid var(--color-pink-border);
  border-radius: 24px;
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.9),
    0 0 45px rgba(255, 77, 141, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .video-modal-card {
  transform: scale(1);
}

.video-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 77, 141, 0.2);
  background: rgba(18, 6, 16, 0.7);
}

.video-modal-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--color-pink-blush);
  letter-spacing: 0.03em;
}

.modal-close-btn {
  background: rgba(255, 77, 141, 0.15);
  border: 1px solid rgba(255, 77, 141, 0.4);
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  background: var(--color-pink-hot);
  border-color: #ffffff;
  transform: scale(1.1);
}

.video-container {
  position: relative;
  width: 100%;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: calc(85vh - 100px);
  overflow: hidden;
}

.exclusive-video {
  width: 100%;
  max-height: calc(85vh - 100px);
  object-fit: contain;
  display: block;
  background: #000;
}

.video-modal-footer {
  padding: 12px 20px;
  border-top: 1px solid rgba(255, 77, 141, 0.15);
  text-align: center;
  background: rgba(18, 6, 16, 0.7);
}

.video-caption {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-chrome-muted);
}

/* --------------------------------------------------------------------------
   PART 6: Naughty Members Only Modal
   -------------------------------------------------------------------------- */
.members-modal-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 540px;
  max-height: 92vh;
  background: var(--color-black-glass);
  border: 1.5px solid var(--color-pink-candy);
  border-radius: 26px;
  box-shadow: 
    0 24px 70px rgba(0, 0, 0, 0.95),
    0 0 50px rgba(255, 77, 141, 0.35),
    inset 0 1px 1px rgba(255, 255, 255, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .members-modal-card {
  transform: scale(1);
}

.members-header {
  position: relative;
  padding: 24px 24px 16px 24px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 77, 141, 0.2);
  background: linear-gradient(180deg, rgba(35, 10, 30, 0.8) 0%, rgba(12, 4, 10, 0.9) 100%);
}

.members-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold-accent);
  background: rgba(245, 208, 169, 0.12);
  border: 1px solid rgba(245, 208, 169, 0.35);
  border-radius: var(--radius-pill);
  padding: 4px 14px;
  margin-bottom: 8px;
}

.members-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--color-chrome);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-shadow: 0 0 20px rgba(255, 77, 141, 0.5);
}

.members-subtitle {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--color-chrome-muted);
  margin-top: 6px;
  line-height: 1.4;
}

/* Tabs */
.members-tabs {
  display: flex;
  background: rgba(8, 3, 7, 0.7);
  border-bottom: 1px solid rgba(255, 77, 141, 0.2);
}

.tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--color-chrome-muted);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 12px 10px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tab-btn.active {
  color: #ffffff;
  border-bottom-color: var(--color-pink-candy);
  background: rgba(255, 77, 141, 0.08);
}

.members-body {
  padding: 22px 24px;
  overflow-y: auto;
  max-height: calc(92vh - 180px);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* Sign In & Forms */
.form-group {
  margin-bottom: 16px;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-pink-rose);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  background: rgba(18, 6, 16, 0.8);
  border: 1px solid var(--color-pink-border);
  border-radius: 12px;
  padding: 12px 14px;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-pink-candy);
  box-shadow: 0 0 16px rgba(255, 77, 141, 0.35);
}

.btn-vault {
  width: 100%;
  background: linear-gradient(135deg, var(--color-pink-hot) 0%, var(--color-pink-candy) 100%);
  border: none;
  border-radius: var(--radius-pill);
  padding: 13px 20px;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 77, 141, 0.4);
  transition: var(--transition-smooth);
  margin-top: 6px;
}

.btn-vault:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 77, 141, 0.6);
}

.form-recovery {
  margin-top: 14px;
  text-align: center;
  font-size: 0.78rem;
}

.form-link {
  color: var(--color-pink-rose);
  text-decoration: underline;
  cursor: pointer;
}

/* Membership Join (Configurable Pricing) */
.tier-card {
  background: rgba(18, 6, 16, 0.7);
  border: 1px solid rgba(255, 77, 141, 0.3);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 18px;
  text-align: left;
}

.tier-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--color-chrome);
  margin-bottom: 4px;
}

.tier-price-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 10px 0;
}

.tier-price {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-pink-candy);
}

.tier-price-note {
  font-size: 0.72rem;
  color: var(--color-gold-accent);
  background: rgba(245, 208, 169, 0.12);
  padding: 3px 8px;
  border-radius: 4px;
}

.tier-features {
  list-style: none;
  margin-top: 12px;
}

.tier-features li {
  font-size: 0.8rem;
  color: var(--color-chrome-muted);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tier-features li::before {
  content: '✦';
  color: var(--color-pink-candy);
  font-size: 0.75rem;
}

/* Delivery Choice */
.delivery-options {
  margin: 16px 0;
  text-align: left;
}

.delivery-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 0.82rem;
  color: var(--color-chrome-muted);
  cursor: pointer;
}

.delivery-choice input[type="radio"] {
  accent-color: var(--color-pink-candy);
}

/* Simulated Demo Banner */
.demo-banner {
  background: rgba(255, 77, 141, 0.12);
  border: 1px dashed var(--color-pink-candy);
  border-radius: 12px;
  padding: 12px;
  margin-top: 14px;
  text-align: center;
  font-size: 0.76rem;
  color: var(--color-pink-blush);
}

.demo-output-box {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 77, 141, 0.3);
  border-radius: 10px;
  padding: 12px;
  margin-top: 12px;
  font-family: monospace;
  font-size: 0.76rem;
  color: #8bf;
  text-align: left;
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 180px;
  overflow-y: auto;
}

/* --------------------------------------------------------------------------
   Keyframe Animations
   -------------------------------------------------------------------------- */
@keyframes liquidSheen {
  0% { left: -70%; }
  30% { left: 140%; }
  100% { left: 140%; }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints & Fine-Tuning
   -------------------------------------------------------------------------- */
@media (max-width: 380px) {
  .main-title {
    font-size: 2.85rem;
  }
  .tagline {
    font-size: 1.05rem;
  }
  .action-card {
    padding: 16px 14px 14px 14px;
  }
  .btn-gift {
    padding: 13px 18px;
    font-size: 0.86rem;
  }
}

/* ==========================================================================
   PART 7: SECRET INTERACTIVE SMARTPHONE & CARTOON MINI-GAME
   Exaggerated, Playful Cartoon Style & Luxury iPhone Interface
   ========================================================================== */

.mini-iphone {
  position: relative;
  z-index: 2;
  width: min(360px, 92vw);
  height: min(670px, 88vh);
  background: #0d040c;
  border: 3.5px solid rgba(255, 77, 141, 0.45);
  border-radius: 44px;
  box-shadow: 
    0 25px 70px rgba(0, 0, 0, 0.95),
    0 0 45px rgba(255, 77, 141, 0.35),
    inset 0 0 0 2px rgba(255, 255, 255, 0.15),
    inset 0 0 20px rgba(255, 77, 141, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .mini-iphone {
  transform: scale(1);
}

/* Phone Status Bar */
.phone-status-bar {
  position: relative;
  z-index: 10;
  height: 42px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(12, 4, 11, 0.9);
  border-bottom: 1px solid rgba(255, 77, 141, 0.15);
  font-size: 0.74rem;
  font-weight: 600;
  color: #ffffff;
}

.phone-time {
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.dynamic-island {
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #000000;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12px;
}

.island-camera {
  width: 9px;
  height: 9px;
  background: radial-gradient(circle, #1a2a44 30%, #080812 100%);
  border-radius: 50%;
  border: 1px solid #142036;
}

.phone-indicators {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: #ffffff;
}

/* Phone Top Controls & "Go Back" Button */
.phone-top-controls {
  position: relative;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 14px;
  background: rgba(18, 5, 16, 0.95);
  border-bottom: 1px solid rgba(255, 108, 165, 0.2);
}

.phone-go-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 15px;
  background: rgba(255, 77, 141, 0.22);
  border: 1.2px solid rgba(255, 108, 165, 0.6);
  border-radius: 9999px;
  color: #ffffff;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.phone-go-back-btn:hover,
.phone-go-back-btn:active {
  background: rgba(255, 77, 141, 0.4);
  border-color: #ffffff;
  transform: scale(1.03);
}

.go-back-arrow {
  font-size: 1.1rem;
  line-height: 1;
}

.go-back-text {
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

/* Close/Exit Phone Button */
.phone-exit-btn {
  position: absolute;
  top: 50px;
  right: 16px;
  z-index: 50;
  background: rgba(255, 77, 141, 0.2);
  border: 1px solid rgba(255, 77, 141, 0.5);
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 1.25rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.phone-exit-btn:hover {
  background: var(--color-pink-hot);
  transform: scale(1.1);
}

/* Phone Screen Viewport & Views */
.phone-screen-viewport {
  position: relative;
  flex: 1;
  overflow: hidden;
  background: linear-gradient(160deg, #180616 0%, #0b0209 50%, #1d0718 100%);
}

.phone-view {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.phone-view.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

/* --------------------------------------------------------------------------
   Home Screen View
   -------------------------------------------------------------------------- */
.phone-wallpaper {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 50% 30%, rgba(255, 77, 141, 0.35) 0%, transparent 65%),
    radial-gradient(circle at 80% 85%, rgba(240, 98, 146, 0.2) 0%, transparent 50%),
    linear-gradient(180deg, #160514 0%, #0a0208 100%);
  pointer-events: none;
}

.phone-header-widget {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 32px 20px 20px 20px;
}

.phone-avatar-ring {
  width: 68px;
  height: 68px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2c0a24 0%, #150412 100%);
  border: 2px solid var(--color-pink-candy);
  box-shadow: 0 0 20px rgba(255, 77, 141, 0.5), inset 0 0 10px rgba(255, 77, 141, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  animation: floatHeartbeat 3.2s ease-in-out infinite;
}

.phone-owner {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-chrome);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-shadow: 0 0 16px rgba(255, 77, 141, 0.4);
}

.phone-status-msg {
  font-size: 0.75rem;
  color: var(--color-pink-rose);
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* App Grid */
.app-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 24px 28px;
  margin-top: 10px;
}

.app-icon-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.app-icon-btn:hover {
  transform: translateY(-4px) scale(1.05);
}

.app-icon-btn:active {
  transform: translateY(2px) scale(0.95);
}

.app-icon {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 77, 141, 0.3);
  overflow: hidden;
}

.app-icon-video {
  background: linear-gradient(135deg, #ff2a75 0%, #ff4d8d 50%, #991b53 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.app-icon-game {
  background: linear-gradient(135deg, #8e2de2 0%, #4a00e0 50%, #ff2a75 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.app-svg {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

.app-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: #ff0055;
  color: #ffffff;
  font-size: 0.55rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 999px;
  border: 1px solid #ffffff;
  box-shadow: 0 0 8px rgba(255, 0, 85, 0.8);
}

.app-label {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 500;
  color: var(--color-chrome);
  letter-spacing: 0.02em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

/* --------------------------------------------------------------------------
   App Nav Bar (Inside Video & Game views)
   -------------------------------------------------------------------------- */
.app-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(18, 6, 16, 0.85);
  border-bottom: 1px solid rgba(255, 77, 141, 0.2);
  min-height: 44px;
}

.phone-back-btn {
  background: rgba(255, 77, 141, 0.15);
  border: 1px solid rgba(255, 77, 141, 0.4);
  color: var(--color-pink-blush);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-smooth);
}

.phone-back-btn:hover {
  background: var(--color-pink-hot);
  color: #ffffff;
}

.app-nav-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--color-chrome);
  letter-spacing: 0.02em;
}

/* Video App Body */
.phone-video-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #000000;
}

.phone-video-player {
  width: 100%;
  flex: 1;
  max-height: calc(88vh - 150px);
  object-fit: contain;
  background: #000;
}

.phone-video-caption {
  padding: 10px 14px;
  background: rgba(14, 5, 12, 0.9);
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-chrome-muted);
  border-top: 1px solid rgba(255, 77, 141, 0.2);
}

/* --------------------------------------------------------------------------
   Secret Game App & Exaggerated Cartoon Animations
   -------------------------------------------------------------------------- */
.game-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  overflow-y: auto;
}

.game-mode-selector {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.game-tab {
  flex: 1;
  background: rgba(255, 77, 141, 0.12);
  border: 1px solid rgba(255, 77, 141, 0.3);
  color: var(--color-chrome-muted);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.game-tab.active {
  background: linear-gradient(135deg, var(--color-pink-hot) 0%, var(--color-pink-candy) 100%);
  color: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 4px 14px rgba(255, 77, 141, 0.4);
}

.game-scene {
  display: none;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.game-scene.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.scene-visual-area {
  position: relative;
  width: 100%;
  height: 220px;
  background: radial-gradient(circle at 50% 60%, rgba(255, 77, 141, 0.2) 0%, rgba(12, 4, 11, 0.9) 80%);
  border: 1px solid rgba(255, 77, 141, 0.3);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.8);
}

/* Socks & Boots Visuals: Real Photo Cutouts (Matches Reference Photos) */
.game-asset-frame {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.game-photo-asset {
  max-width: 82%;
  max-height: 82%;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.85));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
  user-select: none;
  pointer-events: none;
}

.socks-photo-asset.is-jiggling,
.socks-svg.is-jiggling {
  animation: cartoonJiggle 0.6s ease-in-out;
}

.boots-photo-asset.is-gleaming {
  animation: cartoonGleam 0.7s ease-in-out;
}

@keyframes cartoonGleam {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.85)); }
  50% { transform: scale(1.04); filter: drop-shadow(0 14px 26px rgba(255, 77, 141, 0.6)) brightness(1.2); }
}

.boot-reflection-sweep {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-25deg);
  pointer-events: none;
  opacity: 0;
}

.boot-reflection-sweep.sweep-active {
  animation: sweepGlance 0.85s ease-in-out forwards;
}

@keyframes sweepGlance {
  0% { left: -60%; opacity: 0; }
  30% { opacity: 0.8; }
  100% { left: 160%; opacity: 0; }
}

.socks-svg,
.boots-svg {
  width: 82%;
  height: 82%;
  filter: drop-shadow(0 10px 16px rgba(0,0,0,0.7));
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes cartoonJiggle {
  0%, 100% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.08, 0.92) rotate(-4deg); }
  50% { transform: scale(0.95, 1.05) rotate(4deg); }
  75% { transform: scale(1.04, 0.96) rotate(-2deg); }
}

/* --- EXAGGERATED CARTOON NOSE --- */
.animated-nose {
  position: absolute;
  top: 10px;
  right: 15px;
  width: 76px;
  height: 76px;
  pointer-events: none;
  transform: scale(0.8) rotate(15deg);
  opacity: 0.85;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
}

.animated-nose.is-sniffing {
  opacity: 1;
  animation: cartoonNoseDive 1.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes cartoonNoseDive {
  0% {
    transform: translate(0, 0) scale(0.8) rotate(15deg);
  }
  30% {
    /* Dramatic cartoon wind-up back */
    transform: translate(15px, -15px) scale(0.7) rotate(25deg);
  }
  55% {
    /* Big comical plunge down right to the socks */
    transform: translate(-35px, 60px) scale(1.3, 0.85) rotate(-20deg);
  }
  70% {
    /* Exaggerated inhale twitch */
    transform: translate(-33px, 58px) scale(1.38, 0.75) rotate(-22deg);
  }
  85% {
    /* Big satisfying rebound */
    transform: translate(-25px, 45px) scale(1.15, 1.1) rotate(-10deg);
  }
  100% {
    transform: translate(0, 0) scale(0.8) rotate(15deg);
  }
}

/* Suction Streamers & Cartoon Puffs */
.sniff-streamers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
}

.sniff-streamers.active {
  animation: suctionPuffs 1.2s ease-out forwards;
}

@keyframes suctionPuffs {
  0% { opacity: 0; }
  25% { opacity: 1; }
  85% { opacity: 0.9; }
  100% { opacity: 0; }
}

.puff-heart {
  position: absolute;
  font-size: 1.1rem;
  animation: floatToNose 1s cubic-bezier(0.2, 0.8, 0.4, 1) forwards;
}

@keyframes floatToNose {
  0% {
    opacity: 0;
    transform: translate(90px, 150px) scale(0.5);
  }
  40% {
    opacity: 1;
    transform: translate(120px, 110px) scale(1.3);
  }
  100% {
    opacity: 0;
    transform: translate(155px, 65px) scale(0.4);
  }
}

/* --- EXAGGERATED CARTOON TONGUE --- */
.animated-tongue {
  position: absolute;
  bottom: 25px;
  left: 25px;
  width: 78px;
  height: 95px;
  pointer-events: none;
  opacity: 0;
  transform-origin: bottom left;
  transform: scale(0.2) rotate(-40deg);
}

.animated-tongue.is-licking {
  animation: cartoonLickSweep 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes cartoonLickSweep {
  0% {
    opacity: 0;
    transform: translate(0, 30px) scale(0.2) rotate(-45deg);
  }
  20% {
    /* Tongue pops out comically */
    opacity: 1;
    transform: translate(15px, 5px) scale(1.2, 0.7) rotate(-25deg);
  }
  50% {
    /* Huge enthusiastic slurp arc across boot */
    opacity: 1;
    transform: translate(55px, -30px) scale(1.1, 1.25) rotate(15deg);
  }
  75% {
    /* Comical stretch across vamp */
    opacity: 1;
    transform: translate(80px, -45px) scale(1.25, 0.9) rotate(35deg);
  }
  90% {
    opacity: 0.6;
    transform: translate(90px, -20px) scale(0.7) rotate(45deg);
  }
  100% {
    opacity: 0;
    transform: translate(0, 30px) scale(0.2) rotate(-45deg);
  }
}

/* Squeaky Clean Gloss Shine Flash */
.shine-flare {
  position: absolute;
  width: 44px;
  height: 44px;
  pointer-events: none;
  opacity: 0;
  font-size: 2.2rem;
  color: #ffffff;
  text-shadow: 0 0 25px #ffffff, 0 0 40px #ff2a75;
}

.shine-flare.flash {
  animation: cartoonShinePop 0.8s ease-out forwards;
}

@keyframes cartoonShinePop {
  0% {
    opacity: 0;
    transform: translate(130px, 110px) scale(0.1) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: translate(130px, 110px) scale(1.5) rotate(45deg);
  }
  100% {
    opacity: 0;
    transform: translate(130px, 110px) scale(0.4) rotate(90deg);
  }
}

/* Game Responses & Cartoon Action Buttons */
.game-response {
  width: 100%;
  min-height: 40px;
  margin: 12px 0 10px 0;
  padding: 8px 12px;
  background: rgba(18, 6, 16, 0.8);
  border: 1px dashed var(--color-pink-border);
  border-radius: 12px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--color-pink-blush);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.btn-game-action {
  width: 100%;
  padding: 13px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  border: 2px solid #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn-sniff {
  background: linear-gradient(135deg, #ff4d8d 0%, #ff0055 100%);
  box-shadow: 0 8px 24px rgba(255, 77, 141, 0.45);
}

.btn-lick {
  background: linear-gradient(135deg, #a80058 0%, #ff2a75 100%);
  box-shadow: 0 8px 24px rgba(168, 0, 88, 0.45);
}

.btn-game-action:hover {
  transform: translateY(-3px) scale(1.02);
}

.btn-game-action:active {
  transform: translateY(2px) scale(0.94);
}

/* Phone Bottom Home Bar */
.phone-home-bar-container {
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 2, 9, 0.95);
  cursor: pointer;
}

.phone-bottom-home-bar {
  width: 110px;
  height: 4px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.phone-home-bar-container:hover .phone-bottom-home-bar {
  background: var(--color-pink-candy);
  width: 125px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .animated-nose.is-sniffing,
  .animated-tongue.is-licking,
  .socks-svg.is-jiggling,
  .shine-flare.flash,
  .puff-heart {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   Apple-Style App Squircles & Chanel's iMessage Messages App
   -------------------------------------------------------------------------- */

.app-grid-apple {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 22px 14px;
}

.apple-squircle {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 22.5%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.45);
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.app-icon-btn:hover .apple-squircle {
  transform: translateY(-3px) scale(1.05);
}

.apple-video-icon {
  background: linear-gradient(145deg, #2a0b22 0%, #150412 50%, #3d0c32 100%);
  border: 1.5px solid rgba(255, 77, 141, 0.5);
  color: #ff6ca5;
}

.apple-game-icon {
  background: linear-gradient(145deg, #6b21a8 0%, #3b0764 50%, #ff007f 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.apple-messages-icon {
  background: linear-gradient(145deg, #34c759 0%, #28a745 50%, #1e7e34 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.squircle-gloss {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 46%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 22.5% 22.5% 100% 100%;
  pointer-events: none;
}

.apple-icon-svg {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.apple-badge-pulse {
  position: absolute;
  top: 3px;
  right: 3px;
  background: #ff0055;
  color: #ffffff;
  font-size: 0.52rem;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 999px;
  border: 1px solid #ffffff;
  box-shadow: 0 0 8px rgba(255, 0, 85, 0.8);
}

.apple-unread-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background: #ff3b30;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #000000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* --------------------------------------------------------------------------
   Messages App Views
   -------------------------------------------------------------------------- */
.messages-screen {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #000000;
  color: #ffffff;
}

.messages-nav-bar {
  background: rgba(18, 6, 16, 0.95);
  padding: 10px 14px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.12);
}

.messages-edit-btn {
  color: var(--color-pink-candy);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.messages-search-bar {
  position: relative;
  padding: 8px 14px;
  background: #000000;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
}

.search-icon {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  opacity: 0.6;
}

.search-input {
  width: 100%;
  background: #1c1c1e;
  border: none;
  border-radius: 10px;
  padding: 7px 10px 7px 32px;
  color: #ffffff;
  font-size: 0.82rem;
  outline: none;
}

.messages-thread-list {
  flex: 1;
  overflow-y: auto;
}

.message-thread-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.message-thread-item:hover,
.message-thread-item:active {
  background: rgba(255, 77, 141, 0.12);
}

.thread-avatar-box {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #240a20;
  border: 1px solid rgba(255, 77, 141, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.thread-info {
  flex: 1;
  min-width: 0;
}

.thread-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 2px;
}

.thread-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
}

.thread-time {
  font-size: 0.72rem;
  color: #8e8e93;
}

.thread-preview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.thread-snippet {
  font-size: 0.78rem;
  color: #a1a1aa;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.thread-blue-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #007aff;
  box-shadow: 0 0 6px #007aff;
  flex-shrink: 0;
}

/* Chat Detail View */
.chat-nav-bar {
  background: rgba(18, 6, 16, 0.95);
  padding: 8px 12px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.12);
}

.chat-header-user {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.chat-header-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #240a20;
  border: 1px solid var(--color-pink-candy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.chat-header-name {
  font-size: 0.76rem;
  font-weight: 600;
  color: #ffffff;
}

.chat-action-icons {
  font-size: 1.1rem;
  color: var(--color-pink-candy);
  cursor: pointer;
}

.chat-bubble-stream {
  flex: 1;
  overflow-y: auto;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #0a0208;
}

.chat-timestamp {
  text-align: center;
  font-size: 0.68rem;
  color: #8e8e93;
  margin: 4px 0 8px 0;
}

.bubble-incoming {
  align-self: flex-start;
  max-width: 80%;
  background: #262629;
  color: #ffffff;
  padding: 9px 13px;
  border-radius: 18px 18px 18px 4px;
  font-size: 0.82rem;
  line-height: 1.35;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.bubble-outgoing {
  align-self: flex-end;
  max-width: 80%;
  background: linear-gradient(135deg, #ff2a75 0%, #ff4d8d 100%);
  color: #ffffff;
  padding: 9px 13px;
  border-radius: 18px 18px 4px 18px;
  font-size: 0.82rem;
  line-height: 1.35;
  box-shadow: 0 2px 8px rgba(255, 77, 141, 0.4);
}

/* iMessage Input Dock */
.imessage-input-dock {
  padding: 8px 12px;
  background: #121214;
  border-top: 0.5px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 8px;
}

.imessage-plus-btn {
  background: #2c2c2e;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #8e8e93;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.imessage-pill-input {
  flex: 1;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #8e8e93;
  font-size: 0.8rem;
}

.imessage-mic {
  font-size: 0.9rem;
}

.imessage-send-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #007aff;
  border: none;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(0, 122, 255, 0.6);
}

/* Mobile Phone Full Screen Experience (Goes full viewport on mobile) */
@media (max-width: 600px) {
  #phoneModal {
    padding: 0 !important;
  }
  #phoneModal .mini-iphone {
    width: 100vw !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    max-width: 100vw !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
  }
  .phone-top-controls {
    padding: env(safe-area-inset-top, 8px) 14px 6px 14px !important;
  }
}
