/* ==========================================================================
   DHANANJAY DATING PORTFOLIO - OVER-THE-TOP HOMOSEXUAL QUEER AESTHETIC
   3-Way Theme Switcher (MAX GAY 💅 / LIGHT ☀️ / NOIR 🌙)
   ========================================================================== */

/* 1. THEME PALETTES */
:root, [data-theme="rainbow"] {
  --bg-main: #FFF0F6;
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-card-subtle: #FFF0F8;
  --card-border: #FFCCE1;
  --text-main: #1D1124;
  --text-muted: #624B6A;
  --text-light: #947E9C;

  --accent-pink: #FF007F;
  --accent-purple: #9D4EDD;
  --accent-blue: #00D4FF;
  --accent-yellow: #FFD000;
  --accent-peach: #FF7B00;
  --accent-green: #06D6A0;

  --primary-gradient: linear-gradient(135deg, #FF007F 0%, #B000FF 50%, #00D4FF 100%);
  --rainbow-gradient: linear-gradient(90deg, #FF0055, #FF5500, #FFCC00, #00E676, #00D4FF, #9900FF, #FF0055);

  --navbar-bg: rgba(255, 240, 246, 0.92);
  --navbar-border: rgba(255, 182, 218, 0.7);
  --stat-strip-bg: rgba(255, 255, 255, 0.9);
  --jokes-bg: #FFF0F7;
  --reels-bg: #FFF5FA;
  --blob-opacity: 0.65;
  --glow-color: rgba(255, 0, 127, 0.4);
}

[data-theme="dark"] {
  --bg-main: #0B0715;
  --bg-card: #150F24;
  --bg-card-subtle: #1E1633;
  --card-border: #2C2045;
  --text-main: #FAF8FF;
  --text-muted: #B3A5C7;
  --text-light: #7E7096;

  --accent-pink: #FF3385;
  --accent-purple: #A855F7;
  --accent-blue: #38BDF8;
  --accent-yellow: #FDE047;
  --accent-peach: #FB923C;
  --accent-green: #34D399;

  --primary-gradient: linear-gradient(135deg, #FF3385 0%, #A855F7 100%);
  --rainbow-gradient: linear-gradient(135deg, #FF3385 0%, #A855F7 100%);

  --navbar-bg: rgba(11, 7, 21, 0.94);
  --navbar-border: rgba(44, 32, 69, 0.9);
  --stat-strip-bg: #110B1E;
  --jokes-bg: #120C22;
  --reels-bg: #110B1E;
  --blob-opacity: 0.35;
  --glow-color: rgba(168, 85, 247, 0.3);
}

[data-theme="light"] {
  --bg-main: #FAF9FD;
  --bg-card: #FFFFFF;
  --bg-card-subtle: #F5F3F8;
  --card-border: #E8E5EE;
  --text-main: #14121A;
  --text-muted: #534D60;
  --text-light: #827991;

  --accent-pink: #E11D48;
  --accent-purple: #7C3AED;
  --accent-blue: #0284C7;
  --accent-yellow: #D97706;
  --accent-peach: #EA580C;
  --accent-green: #059669;

  --primary-gradient: linear-gradient(135deg, #E11D48 0%, #7C3AED 100%);
  --rainbow-gradient: linear-gradient(135deg, #E11D48 0%, #7C3AED 100%);

  --navbar-bg: rgba(250, 249, 253, 0.95);
  --navbar-border: rgba(232, 229, 238, 0.9);
  --stat-strip-bg: #F5F3F8;
  --jokes-bg: #FAF9FC;
  --reels-bg: #F5F3F8;
  --blob-opacity: 0.15;
  --glow-color: rgba(225, 29, 72, 0.18);
}

:root {
  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-handwriting: 'Caveat', cursive;
  --font-malayalam: 'Manjari', 'Plus Jakarta Sans', sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px -8px rgba(0, 0, 0, 0.16);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.06);

  /* Radius */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.modal-open {
  overflow: hidden;
  touch-action: none;
}

/* Page Load Subtle Entrance Keyframe */
@keyframes entranceFadeUp {
  0% {
    opacity: 0;
    transform: translateY(22px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   MAX GAY THEME ANIMATED LIQUID PASTEL PRIDE BACKGROUND
   ========================================================================== */
[data-theme="rainbow"] body,
html[data-theme="rainbow"] body,
body[data-theme="rainbow"] {
  background: linear-gradient(
    135deg,
    #FFE2F0 0%,
    #FFF1D6 16%,
    #FEF9C3 32%,
    #DCFCE7 48%,
    #E0F2FE 64%,
    #F3E8FF 80%,
    #FFE2F0 100%
  ) fixed !important;
  background-size: 400% 400% !important;
  animation: maxGayBackgroundFlow 18s ease infinite !important;
}

[data-theme="rainbow"] body::before,
html[data-theme="rainbow"] body::before,
body[data-theme="rainbow"]::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(255, 0, 128, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(255, 123, 0, 0.10) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 80% 85%, rgba(0, 212, 255, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 20% 80%, rgba(157, 78, 221, 0.12) 0%, transparent 45%),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 0, 127, 0.035) 0px,
      rgba(255, 0, 127, 0.035) 24px,
      rgba(255, 123, 0, 0.035) 24px,
      rgba(255, 123, 0, 0.035) 48px,
      rgba(255, 208, 0, 0.035) 48px,
      rgba(255, 208, 0, 0.035) 72px,
      rgba(6, 214, 160, 0.035) 72px,
      rgba(6, 214, 160, 0.035) 96px,
      rgba(0, 180, 216, 0.035) 96px,
      rgba(0, 180, 216, 0.035) 120px,
      rgba(157, 78, 221, 0.035) 120px,
      rgba(157, 78, 221, 0.035) 144px
    );
  pointer-events: none;
  z-index: -1;
  display: block !important;
}

@keyframes maxGayBackgroundFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

[data-theme="dark"] body {
  background: #0B0715;
}
[data-theme="dark"] body::before,
[data-theme="light"] body::before {
  display: none !important;
}

[data-theme="light"] body {
  background: #FAF9FD;
}

/* ==========================================================================
   OVER-THE-TOP ANIMATIONS & QUEER EFFECTS (SCOPED ONLY TO MAX GAY)
   ========================================================================== */

/* Shimmering Rainbow Text - Only active on MAX GAY theme */
[data-theme="rainbow"] .rainbow-animated-text {
  background: var(--rainbow-gradient);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbowFlow 4s ease infinite;
}

[data-theme="dark"] .rainbow-animated-text {
  background: linear-gradient(135deg, #FF3385, #A855F7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: none;
}

[data-theme="light"] .rainbow-animated-text {
  background: linear-gradient(135deg, #E11D48, #7C3AED);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: none;
}

@keyframes rainbowFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Rainbow Glowing Borders for Cards & Elements - ONLY IN MAX GAY THEME */
.rainbow-card-glow {
  position: relative;
}

[data-theme="rainbow"] .rainbow-card-glow::after {
  content: '';
  position: absolute;
  inset: -3px;
  background: var(--rainbow-gradient);
  background-size: 300% 300%;
  border-radius: calc(var(--radius-md) + 3px);
  z-index: -1;
  filter: blur(8px);
  opacity: 0.65;
  animation: rainbowFlow 6s linear infinite;
}

[data-theme="dark"] .rainbow-card-glow::after,
[data-theme="light"] .rainbow-card-glow::after {
  display: none !important;
}

[data-theme="rainbow"] .rainbow-glow-border {
  border: 2px solid transparent !important;
  background-image: linear-gradient(var(--bg-card), var(--bg-card)), var(--rainbow-gradient) !important;
  background-origin: border-box !important;
  background-clip: padding-box, border-box !important;
}

[data-theme="dark"] .rainbow-glow-border,
[data-theme="light"] .rainbow-glow-border {
  border: 1px solid var(--card-border) !important;
  background: var(--bg-card) !important;
}

/* Animated Shimmer Button - ONLY in MAX GAY theme */
[data-theme="rainbow"] .rainbow-shimmer-btn {
  background: var(--rainbow-gradient) !important;
  background-size: 200% auto !important;
  animation: rainbowFlow 3s linear infinite !important;
  color: #FFFFFF !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  box-shadow: 0 4px 20px var(--glow-color) !important;
}

[data-theme="rainbow"] .rainbow-shimmer-btn * {
  color: #FFFFFF !important;
}

[data-theme="dark"] .rainbow-shimmer-btn {
  background: var(--primary-gradient) !important;
  color: #FFFFFF !important;
  animation: none !important;
  box-shadow: 0 4px 18px rgba(168, 85, 247, 0.35) !important;
}

[data-theme="light"] .rainbow-shimmer-btn {
  background: var(--primary-gradient) !important;
  color: #FFFFFF !important;
  animation: none !important;
  box-shadow: 0 4px 18px rgba(225, 29, 72, 0.25) !important;
}

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

/* Rainbow Badge in Navbar */
[data-theme="rainbow"] .rainbow-badge {
  background: var(--rainbow-gradient);
  background-size: 200% auto;
  animation: rainbowFlow 4s linear infinite;
  color: #FFFFFF;
}

[data-theme="dark"] .rainbow-badge {
  background: linear-gradient(135deg, #FF3385, #A855F7);
  color: #FFFFFF;
  animation: none;
  box-shadow: 0 2px 10px rgba(168, 85, 247, 0.3);
}

[data-theme="light"] .rainbow-badge {
  background: linear-gradient(135deg, #E11D48, #7C3AED);
  color: #FFFFFF;
  animation: none;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.2);
}

/* Background Ambient Glows */
.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(45px);
  -webkit-filter: blur(45px);
  z-index: -1;
  opacity: var(--blob-opacity);
  pointer-events: none;
  transform: translateZ(0);
  will-change: transform;
  animation: floatBlobs 24s infinite alternate ease-in-out;
  transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
  .blob {
    animation: none !important; /* Stop heavy GPU layer thrashing on mobile */
    filter: blur(30px);
    -webkit-filter: blur(30px);
  }
}

.blob-1 {
  width: min(480px, 85vw);
  height: min(480px, 85vw);
  background: radial-gradient(circle, #FF007F 0%, #FF6584 100%);
  top: -80px;
  right: -80px;
}

.blob-2 {
  width: min(500px, 85vw);
  height: min(500px, 85vw);
  background: radial-gradient(circle, #8A2BE2 0%, #00D4FF 100%);
  bottom: 25%;
  left: -120px;
  animation-duration: 28s;
}

.blob-3 {
  width: min(400px, 75vw);
  height: min(400px, 75vw);
  background: radial-gradient(circle, #FFD700 0%, #FF6F61 100%);
  top: 55%;
  right: -60px;
  animation-duration: 20s;
}

@keyframes floatBlobs {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(30px, -30px, 0) scale(1.05); }
  100% { transform: translate3d(-20px, 20px, 0) scale(0.96); }
}

/* Container */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Ticker Bar */
.announcement-bar {
  background: #150F21;
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
}

[data-theme="rainbow"] .announcement-bar {
  background: linear-gradient(90deg, #FF0055, #FF5500, #FFCC00, #00E676, #00D4FF, #9900FF, #FF0055);
  background-size: 200% auto;
  animation: rainbowFlow 8s linear infinite;
}

[data-theme="rainbow"] .ticker-move span {
  color: #FFFFFF !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .announcement-bar {
  background: #110B1E;
  border-bottom: 1px solid #231936;
}

[data-theme="light"] .announcement-bar {
  background: #181126;
  color: #FFFFFF;
}

.ticker-wrap {
  width: 100%;
  overflow: hidden;
}

.ticker-move {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 32s linear infinite;
}

.ticker-move span {
  margin: 0 14px;
  color: #FF66B2;
}

.ticker-move span:nth-child(even) {
  color: #FFD700;
}

@keyframes ticker {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navbar-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--navbar-border);
  padding: 8px 0;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(10px, 2.5vw, 36px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-sizing: border-box;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.logo-text .dot {
  color: var(--accent-pink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.1vw, 16px);
  flex-shrink: 1;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s ease;
  white-space: nowrap; /* PREVENTS MULTI-LINE STACKING COMPLETELY */
  padding: 4px 6px;
}

.nav-links a:hover {
  color: var(--accent-pink);
}

.nav-links .nav-btn-highlight {
  background: var(--bg-card-subtle);
  color: var(--accent-pink);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-apply-btn {
  padding: 7px 14px !important;
  font-size: 0.82rem !important;
  white-space: nowrap;
}

/* ==========================================================================
   THEME SWITCHER PILL
   ========================================================================== */

.theme-switcher-pill {
  display: inline-flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  padding: 3px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  gap: 2px;
}

.theme-toggle-btn {
  background: transparent;
  border: none;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: center;
  transition: all 0.25s var(--ease-spring);
  color: var(--text-muted);
  white-space: nowrap;
}

.theme-toggle-btn .theme-icon {
  font-size: 0.86rem;
  line-height: 1;
}

.theme-toggle-btn .theme-label {
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.theme-toggle-btn:hover {
  color: var(--text-main);
  transform: scale(1.05);
}

.theme-toggle-btn.active {
  background: var(--bg-card-subtle);
  color: var(--accent-pink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: scale(1.04);
}

[data-theme="rainbow"] .theme-toggle-btn[data-theme="rainbow"].active {
  background: var(--rainbow-gradient);
  background-size: 200% auto;
  animation: rainbowFlow 4s linear infinite;
  color: #FFFFFF;
}

.icon-btn {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease-spring);
}

.icon-btn:active {
  transform: scale(0.9);
}

.btn-primary-gradient {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-gradient);
  color: #FFFFFF;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 51, 133, 0.35);
  transition: transform 0.2s var(--ease-spring);
}

.btn-primary-gradient:active {
  transform: scale(0.97);
}

/* Hero Section */
.hero-section {
  padding: clamp(36px, 6vw, 70px) 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
}

.hero-content {
  display: flex;
  flex-direction: column;
  animation: entranceFadeUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.08s backwards;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-pink);
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  min-height: 8px;
  max-width: 8px;
  max-height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: var(--accent-pink);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 0, 127, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(255, 0, 127, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 0, 127, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 18px;
}

.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.tag {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

.tag:hover {
  transform: translateY(-2px);
  border-color: var(--accent-pink);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.btn-large-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary-gradient);
  color: #FFFFFF;
  font-size: 0.98rem;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(255, 51, 133, 0.35);
  transition: transform 0.2s var(--ease-spring);
  min-height: 48px;
}

.btn-large-primary:active {
  transform: scale(0.97);
}

.btn-large-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg-card);
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 13px 22px;
  border-radius: var(--radius-full);
  border: 2px solid var(--card-border);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
  min-height: 48px;
}

.btn-large-secondary:active {
  transform: scale(0.97);
}

.btn-not-interested {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card-subtle);
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 13px 22px;
  border-radius: var(--radius-full);
  border: 1px dashed var(--card-border);
  cursor: pointer;
  user-select: none;
  min-height: 48px;
  transition: all 0.25s var(--ease-spring);
}

.btn-not-interested:hover {
  background: var(--card-border);
  transform: translateY(-2px);
}

.btn-not-interested:active {
  transform: scale(0.96);
}

.btn-cta-not-interested {
  background: rgba(255, 255, 255, 0.18);
  color: #FFE5EE;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-cta-not-interested:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
}

.disclaimer-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-light);
  font-style: italic;
}

.disclaimer-note i {
  width: 15px;
  height: 15px;
  stroke: var(--accent-pink);
  flex-shrink: 0;
}

/* 3D Card Scene & Flip Mechanics */
.hero-media-wrapper {
  display: flex;
  justify-content: center;
  position: relative;
  width: 100%;
  contain: layout paint style;
  isolation: isolate;
  animation: entranceFadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards;
}

.card-3d-scene {
  perspective: 1400px;
  -webkit-perspective: 1400px;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  width: 100%;
  max-width: 360px;
  position: relative;
  display: flex;
  justify-content: center;
  user-select: none;
  cursor: pointer;
  isolation: isolate;
}

.card-3d-tilt-box {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.4, 1);
  display: flex;
  justify-content: center;
  will-change: transform;
}

.card-3d-flipper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: center center;
  will-change: transform;
}

.card-3d-flipper.is-flipped {
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
}

.card-3d-face {
  width: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}

.card-3d-front {
  position: relative;
  transform: rotateY(0deg) translateZ(1px);
  -webkit-transform: rotateY(0deg) translateZ(1px);
  z-index: 2;
  pointer-events: auto;
}

.card-3d-face.card-3d-back,
.card-3d-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotateY(180deg) translateZ(1px);
  -webkit-transform: rotateY(180deg) translateZ(1px);
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 18px 18px;
  box-sizing: border-box;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--card-border);
  overflow-y: auto;
  pointer-events: none;
}

/* 3D Pointer & Interaction State */
.card-3d-flipper.is-flipped .card-3d-front {
  pointer-events: none;
  z-index: 1;
}

.card-3d-flipper.is-flipped .card-3d-back {
  pointer-events: auto;
  z-index: 2;
}

@media (hover: none) {
  .card-3d-tilt-box {
    transform: none !important;
  }
}

/* Holographic Foil Glare Overlay (Pure GPU Blend, No Flattening) */
.card-holo-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at var(--glare-x, 50%) var(--glare-y, 50%),
    rgba(255, 255, 255, 0.35) 0%,
    rgba(255, 0, 127, 0.12) 35%,
    rgba(0, 212, 255, 0.12) 65%,
    transparent 80%
  );
  opacity: var(--glare-opacity, 0);
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 10;
}

/* Dynamic Rainbow Glow for 3D Faces - Pure box-shadow to preserve 3D context */
[data-theme="rainbow"] .card-3d-front,
[data-theme="rainbow"] .card-3d-back {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4),
              0 0 16px rgba(255, 0, 127, 0.55),
              0 0 32px rgba(0, 212, 255, 0.35),
              0 0 0 1px rgba(255, 255, 255, 0.2);
  animation: rainbowBorderGlow 6s linear infinite;
}

@keyframes rainbowBorderGlow {
  0% {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4),
                0 0 16px rgba(255, 0, 127, 0.6),
                0 0 32px rgba(255, 123, 0, 0.4),
                0 0 0 1px rgba(255, 255, 255, 0.2);
  }
  33% {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4),
                0 0 16px rgba(255, 208, 0, 0.6),
                0 0 32px rgba(6, 214, 160, 0.4),
                0 0 0 1px rgba(255, 255, 255, 0.2);
  }
  66% {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4),
                0 0 16px rgba(0, 212, 255, 0.6),
                0 0 32px rgba(157, 78, 221, 0.4),
                0 0 0 1px rgba(255, 255, 255, 0.2);
  }
  100% {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4),
                0 0 16px rgba(255, 0, 127, 0.6),
                0 0 32px rgba(255, 123, 0, 0.4),
                0 0 0 1px rgba(255, 255, 255, 0.2);
  }
}

/* Photo Card Base */
.photo-card {
  background: var(--bg-card);
  padding: 14px 14px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--card-border);
  width: 100%;
  box-sizing: border-box;
  transition: box-shadow 0.3s ease;
}

/* Interactive Flip Pill */
.flip-hint-pill {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--bg-card-subtle);
  border: 1px dashed var(--accent-pink);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-pink);
  cursor: pointer;
  transition: all 0.2s var(--ease-spring);
  width: 100%;
  box-sizing: border-box;
}

.flip-hint-pill:hover {
  background: var(--card-border);
  transform: translateY(-2px);
}

.flip-hint-pill .flip-icon {
  font-size: 0.88rem;
  display: inline-block;
  transition: transform 0.4s ease;
}

.flip-hint-pill:hover .flip-icon {
  transform: rotate(180deg);
}

/* Back Face Styling */
.back-card-header {
  text-align: center;
  margin-bottom: 8px;
}

.back-badge {
  display: inline-block;
  background: var(--bg-card-subtle);
  color: var(--accent-pink);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 4px;
}

.back-card-header h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.back-subtitle {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.back-specs-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 10px 0;
}

.spec-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.spec-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-main);
}

.spec-val {
  color: var(--accent-pink);
  font-weight: 800;
  font-size: 0.76rem;
}

.spec-bar {
  width: 100%;
  height: 5px;
  background: var(--bg-card-subtle);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.spec-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--primary-gradient);
  transform-origin: left center;
}

.card-3d-flipper.is-flipped .spec-fill {
  animation: specFillBar 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.25s backwards;
}

@keyframes specFillBar {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}

.spec-fill.fill-magenta {
  background: linear-gradient(90deg, #FF007F, #FF4589);
}

.spec-fill.fill-orange {
  background: linear-gradient(90deg, #FF7B00, #FFD000);
}

.spec-fill.fill-blue {
  background: linear-gradient(90deg, #00D4FF, #9D4EDD);
}

.spec-fill.fill-purple {
  background: linear-gradient(90deg, #9D4EDD, #FF007F);
}

.spec-fill.fill-zero {
  background: transparent;
}

.back-footer-memo {
  background: var(--bg-card-subtle);
  border: 1px dashed var(--card-border);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 10px;
}

.btn-flip-back {
  background: var(--primary-gradient);
  color: #FFFFFF;
  border: none;
  padding: 9px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(255, 0, 127, 0.25);
  transition: transform 0.2s ease;
}

.btn-flip-back:hover {
  transform: translateY(-2px);
}

.washi-tape {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 110px;
  height: 24px;
  background: rgba(255, 180, 210, 0.9);
  border-left: 2px dashed rgba(255, 0, 127, 0.6);
  border-right: 2px dashed rgba(255, 0, 127, 0.6);
  z-index: 5;
}

[data-theme="rainbow"] .washi-tape {
  background: linear-gradient(90deg, #FF0055, #FF7B00, #FFD000, #06D6A0, #00D4FF, #9D4EDD);
  border-left: 2px dashed rgba(255, 255, 255, 0.8);
  border-right: 2px dashed rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .washi-tape {
  background: rgba(168, 85, 247, 0.85);
  border-left: 2px dashed rgba(255, 255, 255, 0.5);
  border-right: 2px dashed rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .washi-tape {
  background: rgba(255, 180, 210, 0.9);
  border-left: 2px dashed rgba(225, 29, 72, 0.6);
  border-right: 2px dashed rgba(225, 29, 72, 0.6);
}

.image-frame {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--bg-card-subtle);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-overlay-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(24, 21, 36, 0.8);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.polaroid-caption {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.handwriting {
  font-family: var(--font-handwriting);
  font-size: 1.25rem;
  color: var(--text-main);
  line-height: 1.15;
}

.heart-counter {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-card-subtle);
  padding: 5px 10px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-pink);
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
  min-height: 34px;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.heart-counter:active {
  transform: scale(0.92);
}

.heart-counter.bounce {
  animation: heartCounterBounce 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.4);
}

@keyframes heartCounterBounce {
  0% { transform: scale(1); }
  25% { transform: scale(0.85); }
  50% { transform: scale(1.22); }
  75% { transform: scale(0.96); }
  100% { transform: scale(1); }
}

.floating-sticker {
  position: absolute;
  background: var(--bg-card);
  border: 2px solid var(--text-main);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  box-shadow: 3px 3px 0 var(--text-main);
  z-index: 6;
  pointer-events: none;
  color: var(--text-main);
  max-width: calc(100% - 24px);
  white-space: nowrap;
}

.sticker-1 {
  bottom: 14px;
  left: 8px;
  transform: rotate(-6deg);
  background: #FFEAA7;
  color: #1E1B26;
}

.sticker-2 {
  top: 18px;
  right: 8px;
  transform: rotate(8deg);
  background: #DFF9FB;
  color: #1E1B26;
}

/* Quick Stats Bar */
.stats-strip {
  padding: 24px 0;
  background: var(--stat-strip-bg);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  transition: background 0.3s ease;
  animation: entranceFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.35s backwards;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
}

.stat-icon {
  font-size: 1.8rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card-subtle);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.stat-info h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.stat-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Sections Common */
.section {
  padding: clamp(48px, 8vw, 80px) 0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  will-change: opacity, transform;
}

.section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .section,
  .hero-content,
  .hero-media-wrapper,
  .stats-strip {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}

.section-header {
  margin-bottom: clamp(28px, 5vw, 44px);
}

.text-center {
  text-align: center;
}

.sub-badge {
  display: inline-block;
  background: var(--bg-card-subtle);
  color: var(--accent-pink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.sub-badge-light {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.15;
}

.section-desc {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
}

/* Reel Section */
.reel-section {
  background: var(--reels-bg);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  transition: background 0.3s ease;
}

.reel-breakdown-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: center;
}

.reel-simulator-card {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 100%;
  max-width: 360px;
  background: #181524;
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
  border: 4px solid #2B233C;
}

.phone-notch {
  width: 90px;
  height: 16px;
  background: #2B233C;
  border-radius: 0 0 12px 12px;
  margin: 0 auto 10px;
}

.phone-screen {
  background: var(--bg-card);
  border-radius: 26px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  min-height: 380px;
}

.insta-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 10px;
  margin-bottom: 12px;
}

.insta-user {
  display: flex;
  align-items: center;
  gap: 8px;
}

.insta-avatar {
  font-size: 1.2rem;
  background: #FFE5EE;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.insta-user strong {
  display: block;
  font-size: 0.85rem;
  line-height: 1.1;
  color: var(--text-main);
}

.online-indicator {
  font-size: 0.7rem;
  color: #06D6A0;
}

.insta-time {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 600;
}

.dm-reel-feed {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  max-height: 250px;
  padding-right: 4px;
}

.bubble-received {
  align-self: flex-start;
  max-width: 90%;
  background: var(--bg-card-subtle);
  border-radius: 14px 14px 14px 4px;
  padding: 10px 12px;
  font-size: 0.8rem;
  color: var(--text-main);
  animation: popIn 0.25s var(--ease-spring);
}

.bubble-received.text-only {
  background: #FFE5EE;
  color: #B5179E;
  font-weight: 700;
}

[data-theme="dark"] .bubble-received.text-only {
  background: #441432;
  color: #FF80BF;
}

.reel-snippet {
  margin-top: 4px;
  font-size: 0.78rem;
  line-height: 1.35;
}

.simulator-actions {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--card-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-reel-drop {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary-gradient);
  color: #FFFFFF;
  border: none;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 51, 133, 0.3);
  min-height: 44px;
}

.btn-reel-drop:active {
  transform: scale(0.97);
}

.feed-stat {
  font-size: 0.72rem;
  color: var(--text-light);
  text-align: center;
}

@keyframes popIn {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Reel Stats Box */
.chart-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--card-border);
}

.chart-box h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text-main);
}

.chart-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.stat-bar-item {
  margin-bottom: 18px;
}

.bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-main);
}

.bar-label strong {
  color: var(--accent-pink);
}

.progress-track {
  width: 100%;
  height: 10px;
  background: var(--bg-card-subtle);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 1s ease-in-out;
}

.reel-rule-box {
  margin-top: 24px;
  background: #FFF9E6;
  border: 1px solid #FFE799;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

[data-theme="dark"] .reel-rule-box {
  background: #252010;
  border-color: #634C15;
}

.rule-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.rule-text {
  font-size: 0.84rem;
  color: #6B5B20;
  line-height: 1.45;
}

[data-theme="dark"] .rule-text {
  color: #FDE047;
}

/* Hobbies / Pillars */
.hobbies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hobby-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease-spring);
  display: flex;
  flex-direction: column;
}

.hobby-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-purple);
}

.featured-pillar {
  border: 2px solid var(--accent-pink);
}

.featured-ribbon {
  position: absolute;
  top: 16px;
  right: 20px;
  background: var(--accent-pink);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.hobby-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-light);
  margin-bottom: 14px;
}

.hobby-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--bg-card-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent-pink);
}

.badge-anime ~ .hobby-icon-wrap {
  background: #F3E8FF;
  color: var(--accent-purple);
}

[data-theme="dark"] .badge-anime ~ .hobby-icon-wrap {
  background: #2E1A47;
}

.badge-call ~ .hobby-icon-wrap {
  background: #E0F2FE;
  color: var(--accent-blue);
}

[data-theme="dark"] .badge-call ~ .hobby-icon-wrap {
  background: #14324F;
}

.hobby-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.25;
  color: var(--text-main);
}

.hobby-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.hobby-stat {
  padding-top: 14px;
  border-top: 1px dashed var(--card-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.hobby-stat span {
  color: var(--text-light);
}

.hobby-stat strong {
  color: var(--text-main);
}

/* Mollywood Censor Box */
.censor-disclaimer-box {
  background: #FFFDF0;
  border: 2px solid #FCD34D;
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 24px;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.08);
  position: relative;
  text-align: center;
}

[data-theme="dark"] .censor-disclaimer-box {
  background: #211B0C;
  border-color: #A16207;
}

.censor-header {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.censor-stamp {
  background: #78350F;
  color: #FEF3C7;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
}

.censor-law {
  font-size: 0.78rem;
  font-weight: 800;
  color: #92400E;
  letter-spacing: 0.04em;
}

[data-theme="dark"] .censor-law {
  color: #FDE047;
}

.malayalam-disclaimer-text {
  font-family: var(--font-malayalam);
  font-size: 1.08rem;
  font-weight: 700;
  color: #1F1905;
  line-height: 1.6;
  margin-bottom: 8px;
}

[data-theme="dark"] .malayalam-disclaimer-text {
  color: #FEF3C7;
}

.censor-subtext {
  font-size: 0.8rem;
  color: #78350F;
  line-height: 1.45;
  font-style: italic;
}

[data-theme="dark"] .censor-subtext {
  color: #D97706;
}

/* Lame Joke Section */
.jokes-section {
  background: var(--jokes-bg);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  transition: background 0.3s ease;
}

.joke-card-wrapper {
  max-width: 650px;
  margin: 0 auto;
}

.joke-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow-card);
  border: 2px dashed var(--card-border);
  margin-bottom: 20px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, opacity 0.25s ease, border-color 0.25s ease;
}

.joke-box.is-shimmering {
  opacity: 0.65;
  transform: scale(0.99);
  border-color: var(--accent-pink);
}

.joke-box.is-shimmering::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 120%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 0, 127, 0.18) 50%,
    transparent 100%
  );
  animation: jokeShimmerWave 0.45s ease-in-out forwards;
  pointer-events: none;
}

@keyframes jokeShimmerWave {
  0% { transform: translateX(0); }
  100% { transform: translateX(200%); }
}

.joke-setup {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.joke-punchline {
  font-size: clamp(1rem, 2vw, 1.12rem);
  color: var(--accent-pink);
  font-weight: 600;
}

.joke-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  color: var(--text-main);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--card-border);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  min-height: 44px;
}

.btn-secondary:active {
  transform: scale(0.97);
}

/* Photo Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease-spring);
  border: 1px solid var(--card-border);
}

.gallery-item:hover {
  transform: translateY(-4px);
}

.gallery-item img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  padding: 14px 16px;
  background: var(--bg-card);
}

.gallery-caption h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 3px;
}

.gallery-caption p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Video Section */
.video-section {
  padding: 40px 0 60px;
}

.video-spotlight-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 2px solid var(--card-border);
  box-shadow: var(--shadow-lg);
  padding: clamp(28px, 5vw, 44px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.video-spotlight-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--primary-gradient);
}

.video-alert-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card-subtle);
  color: var(--accent-pink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #EF4444;
  animation: pulse 1.5s infinite;
}

.video-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.3rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 16px;
}

.video-description {
  font-size: clamp(0.98rem, 1.8vw, 1.08rem);
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 12px;
}

.video-subtext {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.video-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.v-metric {
  background: var(--bg-card-subtle);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: center;
}

.v-metric strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-pink);
  margin-bottom: 2px;
}

.v-metric span {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.video-player-side {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  background: #000000;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 9/16;
  max-height: 520px;
}

.dhananjay-action-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-status-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.video-footnote {
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--text-light);
  font-style: italic;
  text-align: center;
  max-width: 380px;
}

/* Reviews / Testimonials */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.review-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3.5vw, 30px);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--card-border);
  display: flex;
  flex-direction: column;
}

.review-stars {
  font-size: 0.95rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: 20px;
  flex-grow: 1;
  font-style: italic;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-card-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.reviewer-meta h5 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.reviewer-meta span {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* Flags / Dealbreakers */
.flags-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.flag-column {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 32px);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--card-border);
}

.green-column {
  border-top: 4px solid var(--accent-green);
}

.dealbreaker-column {
  border-top: 4px solid #EF4444;
}

.flag-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.flag-icon {
  width: 24px;
  height: 24px;
}

.flag-icon.green { stroke: var(--accent-green); }
.flag-icon.red { stroke: #EF4444; }

.flag-header h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
}

.flag-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.flag-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Dev Note Section */
.dev-note-section {
  padding: 30px 0 50px;
}

.dev-note-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 48px);
  border: 2px solid var(--card-border);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.dev-note-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--rainbow-gradient);
  background-size: 200% auto;
  animation: rainbowFlow 4s linear infinite;
}

.dev-note-badge {
  display: inline-block;
  background: var(--bg-card-subtle);
  color: var(--accent-purple);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.dev-note-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.3rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 18px;
  line-height: 1.2;
}

.dev-note-body p {
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.dev-signature {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px dashed var(--card-border);
}

.handwriting-sig {
  font-family: var(--font-handwriting);
  font-size: 1.65rem;
  color: var(--text-main);
  margin-bottom: 2px;
}

.sig-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.sig-seal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-green);
  background: rgba(6, 214, 160, 0.12);
  border: 1px solid rgba(6, 214, 160, 0.35);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.sig-title {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.4;
  margin-top: 4px;
  margin-bottom: 0 !important;
}

/* Memo Metadata & Audit styling */
.memo-meta-box {
  background: var(--bg-card-subtle);
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--accent-pink);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 22px;
}

.memo-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  padding: 5px 0;
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  border-bottom: 1px dashed rgba(160, 140, 180, 0.2);
}

.memo-meta-row:last-child {
  border-bottom: none;
}

.memo-meta-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--accent-purple);
  min-width: 80px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.memo-meta-value {
  color: var(--text-main);
  font-weight: 500;
  word-break: break-word;
}

.memo-meta-value code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.85em;
  background: rgba(255, 0, 127, 0.1);
  color: var(--accent-pink);
  padding: 2px 6px;
  border-radius: 4px;
}

.memo-audit-card {
  background: var(--bg-card-subtle);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin: 20px 0;
}

.memo-audit-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  color: var(--text-main);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.memo-audit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.memo-audit-list li {
  font-size: clamp(0.88rem, 1.6vw, 0.95rem);
  color: var(--text-muted);
  line-height: 1.55;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.memo-audit-list li span {
  flex-shrink: 0;
  font-size: 1.05rem;
  line-height: 1.4;
}

.memo-audit-list li strong {
  color: var(--text-main);
}

.fine-print-disclaimer {
  margin-top: 24px;
  padding-top: 12px;
  border-top: 1px solid var(--card-border);
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--text-light);
  font-style: italic;
}

/* CTA Banner */
.cta-section {
  padding: 20px 0 70px;
}

.cta-banner {
  background: var(--primary-gradient);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 60px) 24px;
  text-align: center;
  color: #FFFFFF;
  box-shadow: 0 16px 45px rgba(255, 51, 133, 0.32);
  position: relative;
  overflow: hidden;
}

.cta-inner {
  max-width: 650px;
  margin: 0 auto;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
}

.cta-banner p {
  font-size: clamp(1rem, 2vw, 1.12rem);
  color: #FFE5EE;
  margin-bottom: 26px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.btn-cta-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #FFFFFF !important;
  color: #120A1D !important;
  font-size: 1rem;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  min-height: 48px;
  transition: all 0.25s var(--ease-spring);
}

.btn-cta-instagram span {
  color: #120A1D !important;
  font-weight: 800;
}

.btn-cta-instagram i,
.btn-cta-instagram svg {
  color: #E11D48 !important;
  stroke: #E11D48 !important;
  width: 20px;
  height: 20px;
}

.btn-cta-instagram:hover {
  background: #FFFFFF !important;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.btn-cta-instagram:active {
  transform: scale(0.97);
}

.btn-cta-quiz {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  min-height: 48px;
}

.cta-footnote {
  font-size: 0.8rem;
  color: #FFD4E2;
}

/* Footer */
.footer {
  background: #14111E;
  color: #9E94B0;
  padding: 32px 0;
  border-top: 1px solid #231E33;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.footer-credits {
  font-size: 0.84rem;
  color: #B5AAC9;
  line-height: 1.5;
  margin-top: 4px;
}

.footer-credits strong {
  color: var(--accent-pink);
  font-weight: 700;
}

.footer-copyright {
  font-size: 0.76rem;
  color: #7A728C;
  line-height: 1.45;
  margin-top: 6px;
  font-style: italic;
}

.footer-visitor-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  color: #F0E6F6;
  font-weight: 500;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.visitor-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #06D6A0;
  box-shadow: 0 0 6px #06D6A0;
  display: inline-block;
  flex-shrink: 0;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(6, 214, 160, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(6, 214, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(6, 214, 160, 0); }
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
}

/* Modals - Mobile-First Precision Centering */
.modal-backdrop {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  height: 100dvh;
  background: rgba(10, 6, 20, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 12px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  contain: strict;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  overflow-y: auto;
  overflow-x: hidden;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  contain: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: opacity 0.25s ease, visibility 0s 0s;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  box-sizing: border-box;
  padding: clamp(18px, 4vw, 30px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  position: relative;
  max-height: 88vh;
  max-height: 88dvh;
  overflow-y: auto;
  overflow-x: hidden;
  margin: auto;
}

.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: var(--bg-card);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

/* Rejection Survey */
.rejection-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.rejection-choice-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card-subtle);
  border: 1px solid var(--card-border);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s var(--ease-spring);
  width: 100%;
}

.rejection-choice-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.choice-icon {
  font-size: 2rem;
  line-height: 1;
}

.choice-text strong {
  display: block;
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 2px;
}

.choice-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.girl-btn:hover { border-color: #F472B6; background: #FFF0F7; }
.boy-btn:hover { border-color: #A855F7; background: #FAF5FF; }
.prof-btn:hover { border-color: #00B4D8; background: #F0F9FF; }

[data-theme="dark"] .girl-btn:hover { background: #331224; }
[data-theme="dark"] .boy-btn:hover { background: #2A1444; }
[data-theme="dark"] .prof-btn:hover { background: #112F48; }

.rejection-outcome-box {
  padding: 12px 6px;
}

.outcome-emoji {
  font-size: 3.2rem;
  margin-bottom: 12px;
  line-height: 1;
}

.drama-pulse {
  animation: dramaPulse 1.2s infinite alternate;
}

@keyframes dramaPulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.15) rotate(3deg); }
}

.drama-headline {
  font-size: 1.45rem !important;
  color: #D32F2F !important;
}

.outcome-desc {
  font-size: 0.96rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 12px;
}

.outcome-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 24px;
}

.rejection-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Quiz Progress */
.quiz-progress-wrap {
  margin-bottom: 12px;
}

.badge-mini {
  display: inline-block;
  background: var(--bg-card-subtle);
  color: var(--accent-pink);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.quiz-progress-bar {
  width: 100%;
  height: 6px;
  background: var(--bg-card-subtle);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  background: var(--rainbow-gradient);
  background-size: 200% auto;
  animation: rainbowFlow 3s linear infinite;
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

.modal-header h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.modal-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.quiz-question {
  display: block;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-main);
  margin-bottom: 14px;
  line-height: 1.4;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quiz-option {
  text-align: left;
  background: var(--bg-card-subtle);
  border: 1px solid var(--card-border);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  min-height: 48px;
  display: flex;
  align-items: center;
  line-height: 1.35;
  transition: all 0.2s ease;
}

.quiz-option:hover {
  transform: translateX(4px);
  border-color: var(--accent-pink);
}

.quiz-option:active {
  background: var(--card-border);
  border-color: var(--accent-pink);
}

.hidden {
  display: none !important;
}

/* Quiz Result */
.quiz-result {
  text-align: center;
  padding: 12px 6px;
}

.result-score-circle {
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--rainbow-gradient);
  background-size: 200% auto;
  animation: rainbowFlow 4s linear infinite;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  font-weight: 800;
  box-shadow: 0 8px 25px var(--glow-color);
}

.quiz-result h4 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-main);
  line-height: 1.25;
}

.quiz-result p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 22px;
}

.result-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.w-full {
  width: 100%;
  justify-content: center;
}

/* ==========================================================================
   OFFICIAL BOYFRIEND OFFER LETTER MODAL & DOCUMENT STYLES
   ========================================================================== */

.offer-letter-modal-card {
  max-width: 680px;
  background: var(--bg-card);
  border: 2px solid var(--card-border);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  padding: clamp(16px, 3.5vw, 28px);
}

.offer-controls-bar {
  background: var(--bg-card-subtle);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 16px;
}

.offer-input-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.offer-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.offer-name-field {
  flex: 1;
  min-width: 200px;
  background: var(--bg-card);
  border: 1.5px solid var(--accent-pink);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.offer-name-field:focus {
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px rgba(255, 0, 127, 0.18);
}

.offer-badge-tag {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  background: rgba(255, 0, 127, 0.12);
  color: var(--accent-pink);
  border-radius: var(--radius-full);
}

/* Document Container: Heavy Parchment / Executive Paper */
.offer-document {
  background: #FCFBF7;
  color: #1A1320;
  border: 1px solid #E2D9CE;
  border-radius: 8px;
  padding: clamp(18px, 4vw, 32px);
  position: relative;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.02), 0 4px 20px rgba(0, 0, 0, 0.08);
  font-family: var(--font-sans);
}

[data-theme="dark"] .offer-document {
  background: #FDFCF9;
  color: #160F20;
}

.offer-doc-foil-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
  background: var(--rainbow-gradient);
  background-size: 200% auto;
  animation: rainbowFlow 4s linear infinite;
}

.offer-doc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 12px;
}

.offer-brand {
  display: flex;
  flex-direction: column;
}

.offer-corp-title {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #1D1124;
}

.offer-corp-sub {
  font-size: 0.75rem;
  color: #6C5874;
  font-weight: 600;
}

.offer-corp-hub {
  font-size: 0.68rem;
  color: #928198;
}

.offer-meta-right {
  text-align: right;
  font-size: 0.72rem;
  font-weight: 700;
  color: #6C5874;
  line-height: 1.5;
}

.offer-ref-tag {
  color: #FF007F;
  font-family: ui-monospace, SFMono-Regular, monospace;
}

.offer-status-stamp {
  font-size: 0.65rem;
  color: #06D6A0;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.offer-divider-line {
  height: 2px;
  background: linear-gradient(90deg, #FF007F, #9D4EDD, #00D4FF);
  margin: 8px 0 16px;
  opacity: 0.7;
}

.offer-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 900;
  text-align: center;
  color: #1D1124;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.offer-subject {
  font-size: clamp(0.82rem, 1.6vw, 0.9rem);
  text-align: center;
  color: #55445C;
  margin-bottom: 16px;
  line-height: 1.4;
}

.offer-salutation {
  font-size: clamp(0.88rem, 1.8vw, 0.98rem);
  color: #1D1124;
  margin-bottom: 10px;
}

.candidate-name-highlight {
  color: #FF007F;
  border-bottom: 1.5px dashed #FF007F;
  padding-bottom: 1px;
}

.offer-intro-text {
  font-size: clamp(0.82rem, 1.6vw, 0.9rem);
  color: #4A3A52;
  line-height: 1.6;
  margin-bottom: 14px;
}

.offer-clauses-box {
  background: rgba(255, 240, 248, 0.6);
  border: 1px solid #F0D9E6;
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.offer-clause-item {
  font-size: clamp(0.78rem, 1.5vw, 0.86rem);
  line-height: 1.5;
  color: #44334C;
}

.offer-clause-item strong {
  color: #1D1124;
}

.offer-statutory-notice {
  font-size: 0.7rem;
  color: #7A6980;
  line-height: 1.4;
  font-style: italic;
  margin-bottom: 18px;
  padding-top: 6px;
  border-top: 1px dashed #E2D9CE;
}

.offer-signatures-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 10px;
}

.sig-block {
  text-align: center;
  min-width: 140px;
}

.sig-lead {
  font-size: 1.8rem;
  color: #1D1124;
  margin-bottom: -4px;
}

.sig-candidate {
  font-size: 1.65rem;
  color: #FF007F;
  margin-bottom: -4px;
}

.sig-line {
  height: 1px;
  background: #1D1124;
  margin-bottom: 6px;
}

.sig-block strong {
  display: block;
  font-size: 0.8rem;
  color: #1D1124;
}

.sig-block small {
  font-size: 0.68rem;
  color: #6C5874;
  line-height: 1.3;
}

.sig-seal-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contract-gold-seal {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 2px dashed #D4AF37;
  background: radial-gradient(circle, #FFFDF5 40%, #F5E8BA 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #8C6D1F;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
  transform: rotate(-8deg);
}

.contract-gold-seal span {
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.contract-gold-seal strong {
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #B3861B;
}

.offer-actions-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.offer-actions-group > * {
  flex: 1 1 calc(50% - 10px);
  min-width: 180px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
}

.btn-cta-offer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.18);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

.btn-cta-offer:hover {
  background: rgba(255, 255, 255, 0.32);
  transform: translateY(-2px);
  border-color: #FFFFFF;
}

.btn-get-offer {
  margin-top: 4px;
  font-size: 0.95rem;
}

.btn-text-muted {
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 0.82rem;
  cursor: pointer;
  padding: 6px;
  text-decoration: underline;
  transition: color 0.2s;
}

.btn-text-muted:hover {
  color: var(--text-main);
}

@media (max-width: 600px) {
  .offer-actions-group > * {
    flex: 1 1 100%;
  }
  .offer-meta-right {
    text-align: left;
  }
}

/* ==========================================================================
   3 AM DHANANJAY AI CHATBOT WIDGET
   ========================================================================== */

.chat-widget-wrapper {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  font-family: var(--font-sans);
}

.chat-floating-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 2px solid var(--accent-pink);
  border-radius: var(--radius-full);
  padding: 8px 16px 8px 10px;
  box-shadow: 0 8px 25px rgba(255, 0, 127, 0.28);
  cursor: pointer;
  color: var(--text-main);
  transition: all 0.25s cubic-bezier(0.2, 0.85, 0.32, 1.2);
  user-select: none;
}

.chat-floating-pill:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(255, 0, 127, 0.38);
}

.chat-floating-pill.hidden-pill {
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px) scale(0.9);
}

.chat-pill-avatar {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
}

.chat-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--accent-pink);
}

.chat-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 9px;
  height: 9px;
  background: var(--accent-green);
  border: 1.5px solid #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent-green);
}

.chat-pill-text {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.chat-pill-badge {
  background: var(--accent-pink);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  line-height: 1;
}

/* Chat Drawer / Window */
.chat-drawer {
  position: absolute;
  bottom: 0;
  right: 0;
  width: clamp(320px, 92vw, 380px);
  height: 520px;
  max-height: 82vh;
  max-height: 82dvh;
  background: var(--bg-card);
  border: 2px solid var(--card-border);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.94);
  transform-origin: bottom right;
  transition: all 0.28s cubic-bezier(0.2, 0.85, 0.32, 1.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.chat-drawer.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.chat-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-card-subtle);
  border-bottom: 1px solid var(--card-border);
  position: relative;
}

.chat-drawer-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--rainbow-gradient);
  background-size: 200% auto;
  animation: rainbowFlow 4s linear infinite;
}

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

.chat-header-avatar-wrap {
  position: relative;
  width: 36px;
  height: 36px;
}

.chat-header-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-pink);
}

.chat-header-status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: var(--accent-green);
  border: 2px solid var(--bg-card);
  border-radius: 50%;
}

.chat-header-info {
  display: flex;
  flex-direction: column;
}

.chat-header-name {
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-header-name strong {
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--text-main);
}

.chat-ai-tag {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: var(--primary-gradient);
  color: #FFFFFF;
  padding: 1px 5px;
  border-radius: 4px;
}

.chat-header-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.chat-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-btn-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: var(--bg-card);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.chat-btn-icon:hover {
  color: var(--text-main);
  border-color: var(--accent-pink);
}

.chat-btn-icon i {
  width: 14px;
  height: 14px;
}

/* Chat Messages */
.chat-messages-container {
  flex: 1;
  padding: 14px 14px 8px;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}

.chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 86%;
  animation: fadeIn 0.2s ease forwards;
}

.chat-msg-bot {
  align-self: flex-start;
}

.chat-msg-user {
  align-self: flex-end;
}

.chat-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.45;
  word-break: break-word;
  position: relative;
}

.chat-msg-bot .chat-bubble {
  background: var(--bg-card-subtle);
  border: 1px solid var(--card-border);
  color: var(--text-main);
  border-bottom-left-radius: 4px;
}

.chat-msg-user .chat-bubble {
  background: var(--primary-gradient);
  color: #FFFFFF;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 12px rgba(255, 0, 127, 0.25);
}

.chat-msg-time {
  display: block;
  font-size: 0.62rem;
  margin-top: 4px;
  opacity: 0.7;
}

.chat-msg-user .chat-msg-time {
  text-align: right;
  color: rgba(255, 255, 255, 0.85);
}

.chat-msg-bot .chat-msg-time {
  text-align: left;
  color: var(--text-light);
}

/* Quick Chips */
.chat-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0;
}

.quick-chip {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-full);
  padding: 5px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}

.quick-chip:hover {
  background: var(--bg-card-subtle);
  border-color: var(--accent-pink);
  color: var(--accent-pink);
  transform: translateY(-1px);
}

/* Typing Indicator */
.chat-typing-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 4px 6px;
}

.typing-bubble {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-card-subtle);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-full);
  padding: 8px 12px;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-pink);
  border-radius: 50%;
  animation: typingBounce 1.3s infinite ease-in-out;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingBounce {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-5px);
    opacity: 1;
  }
}

.typing-text {
  font-size: 0.68rem;
  color: var(--text-light);
  font-style: italic;
}

/* Chat Input Footer */
.chat-input-form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg-card-subtle);
  border-top: 1px solid var(--card-border);
}

.chat-input-field {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-full);
  padding: 8px 14px;
  font-size: 0.88rem;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.2s;
}

.chat-input-field:focus {
  border-color: var(--accent-pink);
}

.chat-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-gradient);
  border: none;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.chat-send-btn:hover {
  transform: scale(1.08);
}

.chat-send-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.chat-dm-direct-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--primary-gradient);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  margin-top: 10px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(255, 0, 127, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.chat-dm-direct-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 0, 127, 0.45);
}

.chat-thermal-warning {
  border-left: 3px solid #FF5500 !important;
  background: rgba(255, 85, 0, 0.08) !important;
}

.chat-send-btn i {
  width: 16px;
  height: 16px;
}

.chat-drawer-footer {
  text-align: center;
  padding: 4px 8px;
  background: var(--bg-card);
  border-top: 1px solid var(--card-border);
  font-size: 0.62rem;
  color: var(--text-light);
}

@media (max-width: 480px) {
  .chat-widget-wrapper {
    bottom: 14px;
    right: 14px;
  }
  .chat-drawer {
    right: -4px;
    width: calc(100vw - 20px);
    max-width: 360px;
    height: 480px;
  }
}

/* Responsive Adjustments */
@media (max-width: 1140px) {
  .nav-links {
    gap: 8px;
  }
  .nav-links a {
    font-size: 0.8rem;
    padding: 3px 5px;
  }
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  .hero-tags {
    justify-content: center;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .disclaimer-note {
    justify-content: center;
  }
  .hero-media-wrapper {
    order: -1;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reel-breakdown-grid {
    grid-template-columns: 1fr;
  }
  .hobbies-grid {
    grid-template-columns: 1fr;
  }
  .lore-box {
    grid-template-columns: 1fr;
    padding: 28px 20px;
  }
  .video-spotlight-box {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .video-metrics-grid {
    justify-content: center;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .flags-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  html {
    overflow-x: hidden;
    width: 100%;
  }

  body {
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
  }

  /* Subtle, soothing mobile rainbow theme background */
  [data-theme="rainbow"] body,
  html[data-theme="rainbow"] body,
  body[data-theme="rainbow"] {
    background: linear-gradient(
      135deg,
      #FFF0F6 0%,
      #FFF7EC 20%,
      #FEFCE8 40%,
      #F0FDF4 60%,
      #F0F9FF 80%,
      #FAF5FF 100%
    ) !important;
    background-size: 100% 100% !important;
    animation: none !important;
  }

  [data-theme="rainbow"] body::before,
  html[data-theme="rainbow"] body::before,
  body[data-theme="rainbow"]::before {
    opacity: 0.45;
  }

  .nav-links {
    display: none !important;
  }

  .navbar {
    padding: 6px 0;
  }

  .nav-container {
    padding: 0 10px;
    gap: 6px;
  }

  /* Compact Theme Switcher on Mobile: Show Emojis Only */
  .theme-toggle-btn .theme-label {
    display: none !important;
  }

  .theme-toggle-btn {
    padding: 5px 8px;
    font-size: 0.95rem;
    min-width: 28px;
    min-height: 28px;
  }

  .theme-switcher-pill {
    padding: 2px;
    gap: 2px;
  }

  #sparkle-btn {
    display: none !important; /* Save valuable header space */
  }

  .logo-text {
    font-size: 1rem;
  }

  .rainbow-badge {
    padding: 3px 6px;
    font-size: 0.75rem;
  }

  .nav-apply-btn {
    padding: 6px 10px !important;
    font-size: 0.76rem !important;
  }

  /* Modal Full-Width Mobile Centering (No Cut-off) */
  .modal-backdrop {
    padding: 8px;
    align-items: center;
  }

  .modal-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 18px 14px;
    border-radius: var(--radius-md);
    max-height: 90dvh;
    box-sizing: border-box;
    margin: auto;
  }

  .modal-close-btn {
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
  }

  .quiz-option {
    padding: 10px 12px;
    font-size: 0.84rem;
    line-height: 1.35;
    text-align: left;
    word-break: break-word;
    box-sizing: border-box;
    width: 100%;
  }

  .quiz-question {
    font-size: 0.92rem;
    line-height: 1.35;
    margin-bottom: 12px;
  }

  /* 3D Card Scene & Stickers - Safe Mobile Positioning (No Horizontal Overflow) */
  .card-3d-scene {
    max-width: min(330px, 88vw);
    margin: 0 auto;
  }

  .photo-card {
    max-width: 100%;
    margin: 0 auto;
  }

  .sticker-1 {
    left: 8px;
    bottom: 42px;
    transform: rotate(-5deg);
  }

  .sticker-2 {
    right: 8px;
    top: 16px;
    transform: rotate(6deg);
  }

  .status-pill {
    max-width: min(340px, 92vw);
    font-size: 0.74rem;
    padding: 6px 12px;
    line-height: 1.35;
  }

  .pulse-dot {
    width: 8px;
    height: 8px;
    min-width: 8px;
    min-height: 8px;
    max-width: 8px;
    max-height: 8px;
    flex-shrink: 0;
  }

  .hero-section {
    padding: 20px 0 32px;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    height: 300px;
  }

  .hero-cta-group .btn-large-primary,
  .hero-cta-group .btn-large-secondary,
  .hero-cta-group .btn-not-interested,
  .cta-buttons .btn-cta-instagram,
  .cta-buttons .btn-cta-quiz,
  .cta-buttons .btn-cta-offer,
  .cta-buttons .btn-not-interested {
    width: 100%;
  }

  .video-wrapper {
    max-width: 300px;
  }
}

@media (max-width: 420px) {
  .card-3d-scene {
    max-width: 290px;
  }
  .photo-card {
    max-width: 290px;
  }
  .hero-title {
    font-size: 1.95rem;
  }
  .malayalam-disclaimer-text {
    font-size: 0.95rem;
  }
}

@media (max-width: 380px) {
  .logo-text {
    display: none !important; /* Compact badge only on tiny screens */
  }
}

/* ==========================================================================
   14. PRADHANA PURUSHAN PLUM CAKE SCHEME (REVERSIBLE WHATSAPP TROLL MODE)
   ========================================================================== */

.plumcake-scheme-banner {
  background: linear-gradient(135deg, #064E3B 0%, #065F46 50%, #047857 100%);
  border-bottom: 2px solid #F59E0B;
  color: #FFFFFF;
  padding: 10px 16px;
  position: relative;
  z-index: 99;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  animation: slideDownBanner 0.4s ease-out;
}

@keyframes slideDownBanner {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.scheme-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.scheme-brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.scheme-emblem {
  font-size: 1.8rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.15);
  padding: 6px;
  border-radius: 8px;
  border: 1px solid rgba(245, 158, 11, 0.5);
}

.scheme-titles {
  display: flex;
  flex-direction: column;
}

.scheme-gov-tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #FCD34D;
  font-weight: 700;
}

.scheme-main-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #FFFFFF;
}

.scheme-info-block {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.scheme-pill {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: #ECFDF5;
}

.scheme-countdown {
  font-size: 0.8rem;
  color: #FEF3C7;
  font-weight: 600;
}

.scheme-countdown strong {
  color: #F59E0B;
  font-family: monospace;
  font-size: 0.92rem;
}

.scheme-cta-btn {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #1E1B4B;
  border: none;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);
}

.scheme-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.6);
}

/* Plum Cake KYC Approval Card */
.plumcake-approval-box {
  margin: 20px 0;
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.95) 0%, rgba(4, 120, 87, 0.95) 100%);
  border: 2px solid #F59E0B;
  border-radius: var(--radius-md);
  padding: 22px;
  color: #FFFFFF;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: popIn 0.35s ease-out;
}

.approval-header-badge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 10px;
  margin-bottom: 12px;
}

.dbt-pill {
  background: #10B981;
  color: #064E3B;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.dbt-amount {
  font-family: monospace;
  font-size: 1.3rem;
  font-weight: 800;
  color: #FCD34D;
}

.plumcake-approval-box h4 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: #FFFFFF;
}

.plumcake-approval-box p {
  font-size: 0.88rem;
  color: #D1FAE5;
  margin-bottom: 16px;
}

.btn-claim-upi-instant {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #064E3B;
  border: none;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.45);
  transition: transform 0.15s ease;
  width: 100%;
}

.btn-claim-upi-instant:hover {
  transform: scale(1.02);
}

/* Spinner */
.upi-processing-spinner {
  margin-top: 18px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.bank-loader {
  width: 36px;
  height: 36px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: #F59E0B;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* Failure Card */
.upi-failed-card {
  margin-top: 20px;
  background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
  border: 2px solid #EF4444;
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: left;
  animation: shakeAlert 0.4s ease;
}

@keyframes shakeAlert {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.fail-badge {
  display: inline-block;
  background: #EF4444;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.upi-failed-card h3 {
  color: #F87171;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.fail-malayalam {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #E5E7EB;
  margin-bottom: 12px;
}

.fail-cake-offer {
  background: rgba(255, 255, 255, 0.08);
  border-left: 3px solid #F59E0B;
  padding: 10px 14px;
  border-radius: 0 6px 6px 0;
  margin-bottom: 16px;
}

.fail-cake-offer p {
  color: #FEF3C7;
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
}

.btn-cake-dm {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, #EC4899 0%, #8B5CF6 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
}

.btn-cake-dm:hover {
  transform: translateY(-2px);
}
