@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600;700&family=Outfit:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,600;0,800;1,600&display=swap');

:root {
  --bg-deep: #080713;
  --bg-dark: #0f0d22;
  --bg-card: rgba(23, 20, 48, 0.72);
  --bg-card-border: rgba(255, 255, 255, 0.12);
  --gold: #FFD166;
  --gold-dark: #F7B731;
  --gold-glow: rgba(255, 209, 102, 0.45);
  --pink: #FF2A6D;
  --pink-glow: rgba(255, 42, 109, 0.45);
  --cyan: #05D9E8;
  --cyan-glow: rgba(5, 217, 232, 0.45);
  --purple: #9D4EDD;
  --emerald: #00F5D4;
  --text-main: #FFFFFF;
  --text-muted: #B8B5D1;
  --font-main: 'Outfit', sans-serif;
  --font-heading: 'Fredoka', cursive, sans-serif;
  --font-serif: 'Playfair Display', serif;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-deep);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(157, 78, 221, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(255, 42, 109, 0.16) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(5, 217, 232, 0.10) 0%, transparent 60%);
  background-attachment: fixed;
}

/* Background Celebration Canvas */
#celebrationCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 10;
}

/* Container */
.app-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 80px;
  position: relative;
  z-index: 20;
}

/* Floating Audio & Control Pill */
.floating-controls {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 12px;
}

.music-pill-btn {
  background: rgba(20, 18, 45, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 209, 102, 0.3);
  padding: 8px 16px;
  border-radius: 50px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 209, 102, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.music-pill-btn:hover {
  transform: translateY(-2px) scale(1.03);
  border-color: var(--gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px var(--gold-glow);
}

.equalizer-bars {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 16px;
}

.equalizer-bars span {
  width: 3px;
  background: var(--gold);
  border-radius: 2px;
  height: 4px;
  transition: height 0.2s ease;
}

.music-pill-btn.playing .equalizer-bars span:nth-child(1) {
  animation: eqBar 0.6s infinite ease-in-out alternate;
}
.music-pill-btn.playing .equalizer-bars span:nth-child(2) {
  animation: eqBar 0.8s infinite ease-in-out alternate 0.2s;
}
.music-pill-btn.playing .equalizer-bars span:nth-child(3) {
  animation: eqBar 0.5s infinite ease-in-out alternate 0.4s;
}

@keyframes eqBar {
  0% { height: 4px; }
  100% { height: 16px; }
}

.confetti-quick-btn {
  background: rgba(20, 18, 45, 0.82);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 42, 109, 0.3);
  padding: 8px 14px;
  border-radius: 50px;
  color: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.confetti-quick-btn:hover {
  transform: translateY(-2px) scale(1.08);
  border-color: var(--pink);
  box-shadow: 0 0 20px var(--pink-glow);
}

/* ===================================================
   STAGE 1: INTRO / POPPER & STARS OPENING SCREEN
   =================================================== */
.stage {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stage.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.intro-hero {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 10px;
}

.sparkle-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.15), rgba(255, 42, 109, 0.15));
  border: 1px solid rgba(255, 209, 102, 0.4);
  padding: 8px 22px;
  border-radius: 40px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  box-shadow: 0 0 25px rgba(255, 209, 102, 0.25);
  animation: pulseBadge 2.5s infinite;
}

@keyframes pulseBadge {
  0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(255, 209, 102, 0.25); }
  50% { transform: scale(1.04); box-shadow: 0 0 35px rgba(255, 209, 102, 0.45); }
}

.giant-birthday-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7.5vw, 6.2rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.title-line-1 {
  display: block;
  background: linear-gradient(135deg, #FFFFFF 20%, #FFD166 60%, #FF2A6D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 20px rgba(255, 209, 102, 0.35));
}

.title-line-2 {
  display: block;
  background: linear-gradient(135deg, #FF2A6D 0%, #FFD166 50%, #05D9E8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 30px rgba(255, 42, 109, 0.5));
  animation: shimmerTitle 4s infinite linear;
}

@keyframes shimmerTitle {
  0% { filter: drop-shadow(0 4px 20px rgba(255, 42, 109, 0.4)); }
  50% { filter: drop-shadow(0 8px 40px rgba(5, 217, 232, 0.6)); }
  100% { filter: drop-shadow(0 4px 20px rgba(255, 42, 109, 0.4)); }
}

.intro-subtitle {
  font-size: clamp(1.1rem, 2.8vw, 1.6rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.intro-subtitle strong {
  color: var(--cyan);
  font-weight: 700;
}

/* Popper Interactive Launchpad */
.poppers-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.popper-icon-card {
  font-size: 3rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 24px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.popper-icon-card span {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.popper-icon-card:hover {
  transform: translateY(-8px) rotate(5deg) scale(1.12);
  background: rgba(255, 209, 102, 0.15);
  border-color: var(--gold);
  box-shadow: 0 15px 35px rgba(255, 209, 102, 0.35);
}

.enter-celebration-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #FF2A6D, #FFD166);
  color: #0b0718;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  padding: 20px 48px;
  border-radius: 60px;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 40px rgba(255, 42, 109, 0.5), 0 0 25px rgba(255, 209, 102, 0.4);
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

.enter-celebration-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transition: 0.6s ease;
}

.enter-celebration-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 18px 50px rgba(255, 42, 109, 0.7), 0 0 40px var(--gold-glow);
}

.enter-celebration-btn:hover::before {
  left: 100%;
}

.enter-celebration-btn .btn-arrow {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.enter-celebration-btn:hover .btn-arrow {
  transform: translateX(8px);
}

/* ===================================================
   STAGE 2: BIRTHDAY WISH PAGE ("THE TRIBUTE")
   =================================================== */
.wishes-wrapper {
  padding: 20px 0;
}

.royal-header {
  text-align: center;
  margin-bottom: 45px;
}

.royal-badge {
  display: inline-block;
  color: var(--gold);
  background: rgba(255, 209, 102, 0.12);
  border: 1px solid rgba(255, 209, 102, 0.3);
  padding: 6px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.royal-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800;
  background: linear-gradient(135deg, #FFFFFF 30%, #FFD166 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Main Tribute Grid */
.tribute-card-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 36px;
  align-items: center;
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(157, 78, 221, 0.15);
  position: relative;
  overflow: hidden;
}

.tribute-card-grid::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255, 209, 102, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* Ajay's Normal Portrait Frame */
.portrait-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.portrait-glow-frame {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 3/4;
  border-radius: 20px;
  padding: 10px;
  background: linear-gradient(145deg, #FFD166, #FF2A6D, #05D9E8);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 35px var(--gold-glow);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.portrait-glow-frame:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.8), 0 0 50px var(--gold-glow);
}

.portrait-inner {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: #110e28;
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portrait-glow-frame:hover .portrait-img {
  transform: scale(1.06);
}

.portrait-overlay-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(10, 8, 26, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 209, 102, 0.35);
  padding: 8px 14px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tag-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.tag-status {
  font-size: 0.8rem;
  color: var(--emerald);
  display: flex;
  align-items: center;
  gap: 5px;
}

.tag-status::before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald);
}

/* Tribute Words & Bio */
.tribute-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tribute-quote-badge {
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.tribute-headline {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.25;
  color: #FFFFFF;
}

.tribute-headline span {
  color: var(--gold);
}

.tribute-paragraph {
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--text-muted);
}

.tribute-paragraph strong {
  color: #FFFFFF;
}

.tribute-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.trait-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 7px 16px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.trait-pill:hover {
  background: rgba(255, 209, 102, 0.15);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* Interactive Birthday Cake */
.cake-section {
  margin: 45px 0 35px;
  background: rgba(25, 22, 54, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
  position: relative;
}

.cake-instructions {
  font-size: 1.05rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.cake-display {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  padding: 15px 30px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 209, 102, 0.3);
  transition: transform 0.3s ease;
}

.cake-display:hover {
  transform: scale(1.04);
}

.candles-row {
  display: flex;
  gap: 16px;
  margin-bottom: 2px;
}

.candle {
  width: 10px;
  height: 38px;
  background: repeating-linear-gradient(45deg, #FF2A6D, #FF2A6D 5px, #FFFFFF 5px, #FFFFFF 10px);
  border-radius: 4px 4px 0 0;
  position: relative;
}

.flame {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 20px;
  background: radial-gradient(circle at 50% 60%, #FFFFFF 10%, #FFD166 40%, #FF4500 85%);
  border-radius: 50% 50% 35% 35% / 60% 60% 40% 40%;
  box-shadow: 0 0 15px #FFD166, 0 0 25px #FF4500;
  animation: flicker 0.15s infinite alternate ease-in-out;
  cursor: pointer;
  transition: opacity 0.4s ease;
}

.candle.blown .flame {
  opacity: 0;
  pointer-events: none;
}

.candle.blown::after {
  content: '💨';
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  animation: smokeRise 1.2s forwards ease-out;
}

@keyframes flicker {
  0% { transform: translateX(-50%) scale(1) rotate(-2deg); }
  100% { transform: translateX(-50%) scale(1.08) rotate(2deg); }
}

@keyframes smokeRise {
  0% { opacity: 0.9; transform: translateX(-50%) translateY(0) scale(0.6); }
  100% { opacity: 0; transform: translateX(-50%) translateY(-35px) scale(1.4); }
}

.cake-body {
  width: 180px;
  height: 55px;
  background: linear-gradient(180deg, #FF69B4 0%, #BA265D 100%);
  border-radius: 12px 12px 6px 6px;
  position: relative;
  box-shadow: inset 0 8px 12px rgba(255, 255, 255, 0.3), 0 10px 25px rgba(0, 0, 0, 0.4);
}

.cake-icing {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 14px;
  background: #FFF;
  border-radius: 12px 12px 8px 8px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

.cake-plate {
  width: 220px;
  height: 12px;
  background: linear-gradient(90deg, #a0a0a0, #ffffff, #a0a0a0);
  border-radius: 20px;
  margin-top: -2px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.5);
}

.cake-status-text {
  margin-top: 14px;
  font-size: 0.95rem;
  color: var(--cyan);
  font-weight: 600;
}

/* The Grand Suspense Gift Reveal Button */
.gift-reveal-trigger-box {
  margin-top: 45px;
  text-align: center;
  padding: 35px 25px;
  background: linear-gradient(135deg, rgba(255, 42, 109, 0.12), rgba(157, 78, 221, 0.12));
  border: 2px dashed rgba(255, 42, 109, 0.45);
  border-radius: var(--radius-lg);
  position: relative;
}

.gift-box-icon {
  font-size: 3.5rem;
  margin-bottom: 12px;
  display: inline-block;
  animation: wobbleGift 1.8s infinite ease-in-out;
}

@keyframes wobbleGift {
  0%, 100% { transform: rotate(0) scale(1); }
  25% { transform: rotate(-8deg) scale(1.08); }
  75% { transform: rotate(8deg) scale(1.08); }
}

.reveal-gift-btn {
  background: linear-gradient(135deg, #FF2A6D, #7928CA 60%, #05D9E8);
  background-size: 200% 200%;
  color: #fff;
  border: none;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 800;
  padding: 22px 50px;
  border-radius: 60px;
  cursor: pointer;
  letter-spacing: 0.5px;
  box-shadow: 0 12px 35px rgba(255, 42, 109, 0.6), 0 0 30px rgba(121, 40, 202, 0.5);
  animation: gradientShift 4s ease infinite, pulseGlowBtn 2s infinite;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

@keyframes pulseGlowBtn {
  0%, 100% { transform: scale(1); box-shadow: 0 10px 30px rgba(255, 42, 109, 0.5); }
  50% { transform: scale(1.03); box-shadow: 0 16px 45px rgba(255, 42, 109, 0.8), 0 0 35px rgba(5, 217, 232, 0.6); }
}

.reveal-gift-btn:hover {
  transform: translateY(-4px) scale(1.06);
}

.reveal-subtext {
  margin-top: 15px;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.reveal-subtext span {
  color: var(--gold);
  font-weight: 700;
}

/* ===================================================
   STAGE 3: THE GIFT REVEAL & UGLY PICTURES ROAST
   =================================================== */
.roast-header-banner {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.siren-alert {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 42, 109, 0.18);
  border: 1px solid var(--pink);
  color: #FF5E8E;
  padding: 8px 24px;
  border-radius: 40px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin-bottom: 20px;
  box-shadow: 0 0 25px rgba(255, 42, 109, 0.35);
  animation: sirenFlash 1.2s infinite alternate;
}

@keyframes sirenFlash {
  0% { background: rgba(255, 42, 109, 0.15); border-color: rgba(255, 42, 109, 0.4); }
  100% { background: rgba(255, 42, 109, 0.35); border-color: #FF2A6D; box-shadow: 0 0 35px rgba(255, 42, 109, 0.6); }
}

/* The Mandated High-Impact Quotes */
.quote-highlight-box {
  background: linear-gradient(145deg, rgba(32, 28, 64, 0.85), rgba(19, 16, 42, 0.92));
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 209, 102, 0.4);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  margin-bottom: 45px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 209, 102, 0.2);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-highlight-box::before {
  content: '“';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 140px;
  font-family: var(--font-serif);
  color: rgba(255, 209, 102, 0.08);
  line-height: 1;
  pointer-events: none;
}

.quote-main-text {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3.2vw, 2.3rem);
  font-weight: 800;
  line-height: 1.45;
  color: #FFFFFF;
  margin-bottom: 18px;
  letter-spacing: -0.3px;
}

.quote-main-text .highlight-names {
  background: linear-gradient(135deg, #FFD166 0%, #FF2A6D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: underline;
  text-decoration-color: rgba(255, 209, 102, 0.4);
}

.quote-secondary-badge {
  display: inline-block;
  background: linear-gradient(135deg, #FF2A6D, #05D9E8);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-weight: 800;
  padding: 12px 32px;
  border-radius: 40px;
  box-shadow: 0 8px 25px rgba(255, 42, 109, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Ugly Photos Gallery Grid */
.gallery-section-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #fff;
}

.gallery-section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 40px;
}

.polaroid-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-bottom: 60px;
}

/* Polaroid Card Style */
.polaroid-card {
  background: #FFFFFF;
  color: #19162e;
  padding: 16px 16px 24px;
  border-radius: 6px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

/* Tape sticker effect */
.polaroid-card::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 26px;
  background: rgba(255, 230, 150, 0.75);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(2px);
  transform-origin: center;
}

.polaroid-card:nth-child(1) {
  transform: rotate(-2.5deg);
}
.polaroid-card:nth-child(2) {
  transform: rotate(2deg);
}
.polaroid-card:nth-child(3) {
  transform: rotate(-1.5deg);
}
.polaroid-card:nth-child(4) {
  transform: rotate(2.8deg);
}

.polaroid-card:hover {
  transform: translateY(-12px) rotate(0deg) scale(1.05) !important;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 25px var(--pink-glow);
  z-index: 30;
}

.polaroid-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: #FF2A6D;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 5;
}

.polaroid-img-wrapper {
  width: 100%;
  aspect-ratio: 4/5;
  background: #25223e;
  overflow: hidden;
  border-radius: 3px;
  position: relative;
}

.polaroid-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.polaroid-card:hover .polaroid-img {
  transform: scale(1.08);
}

.polaroid-caption-area {
  margin-top: 16px;
  text-align: center;
}

.polaroid-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #121024;
  margin-bottom: 6px;
}

.polaroid-desc {
  font-size: 0.85rem;
  line-height: 1.45;
  color: #55506b;
}

.polaroid-tap-hint {
  margin-top: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #FF2A6D;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Friendship Roast Wall / Guestbook */
.roast-wall-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 35px;
  margin-bottom: 50px;
}

.wall-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 25px;
}

.wall-title {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sticky-notes-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.sticky-note {
  padding: 22px;
  border-radius: 8px;
  font-family: var(--font-main);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  position: relative;
  transition: transform 0.3s ease;
}

.sticky-note:hover {
  transform: translateY(-5px) scale(1.02);
}

.sticky-gokul {
  background: #FFF475;
  color: #2e2600;
  transform: rotate(-1deg);
}

.sticky-pt {
  background: #CCFF90;
  color: #0b2e00;
  transform: rotate(1.5deg);
}

.sticky-custom {
  background: #FFD180;
  color: #3b1800;
  transform: rotate(-0.5deg);
}

.sticky-author {
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}

.sticky-body {
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Post a Note Form */
.post-note-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.note-input {
  flex: 1;
  min-width: 220px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 12px 18px;
  color: #fff;
  font-family: var(--font-main);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.note-input:focus {
  border-color: var(--gold);
}

.post-note-btn {
  background: var(--gold);
  color: #121026;
  border: none;
  border-radius: 12px;
  padding: 12px 24px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.post-note-btn:hover {
  background: #fff;
  transform: scale(1.04);
}

/* Bottom Action Bar */
.bottom-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}

.action-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 14px 26px;
  border-radius: 40px;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.action-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ===================================================
   MODALS: SUSPENSE REVEAL & PHOTO LIGHTBOX
   =================================================== */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(4, 3, 10, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Suspense Countdown Modal */
.suspense-box {
  background: linear-gradient(145deg, #181533, #0f0c24);
  border: 2px solid var(--pink);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 50px var(--pink-glow);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .suspense-box {
  transform: scale(1);
}

.suspense-countdown-number {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin: 15px 0;
  text-shadow: 0 0 30px var(--gold-glow);
}

.suspense-progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 20px;
}

.suspense-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--pink));
  transition: width 2.4s linear;
}

/* Lightbox Modal */
.lightbox-box {
  background: #15132b;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  max-width: 550px;
  width: 100%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
}

.lightbox-img-wrap {
  width: 100%;
  max-height: 50vh;
  background: #0b091a;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.lightbox-img {
  max-width: 100%;
  max-height: 50vh;
  object-fit: contain;
}

.lightbox-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.lightbox-close-btn:hover {
  background: var(--pink);
  transform: rotate(90deg);
}

.lightbox-details {
  padding: 24px;
  text-align: center;
}

.lightbox-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 8px;
}

.lightbox-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.sticker-toolbar {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.sticker-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 12px;
  border-radius: 20px;
  color: #fff;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sticker-btn:hover {
  background: var(--gold);
  color: #000;
}

/* Website Share / Preview Card Modal */
.preview-card-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 20px;
  transition: all 0.2s ease;
}

.preview-card-chip:hover {
  background: rgba(255, 209, 102, 0.2);
  border-color: var(--gold);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .tribute-card-grid {
    grid-template-columns: 1fr;
    padding: 30px 20px;
  }
  .portrait-glow-frame {
    max-width: 280px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .app-container {
    padding: 16px 12px 60px;
  }
  .floating-controls {
    top: 12px;
    right: 12px;
  }
  .quote-highlight-box {
    padding: 24px 16px;
  }
  .polaroid-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ===================================================
   CHUNDELI TURBO RACING: ARCADE MINI-GAME
   =================================================== */
.arcade-game-section {
  background: linear-gradient(145deg, rgba(16, 14, 38, 0.95), rgba(11, 9, 26, 0.98));
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 35px 25px;
  margin: 50px 0;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px var(--gold-glow);
  position: relative;
  overflow: hidden;
}

.arcade-game-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #FF2A6D, #FFD166, #05D9E8, #FF2A6D);
  background-size: 200% 100%;
  animation: gradientShift 3s linear infinite;
}

.arcade-badge {
  display: inline-block;
  background: rgba(255, 42, 109, 0.2);
  border: 1px solid var(--pink);
  color: #FF5E8E;
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.arcade-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  color: #FFFFFF;
  margin-bottom: 8px;
  text-shadow: 0 0 20px rgba(255, 209, 102, 0.5);
}

.arcade-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto 25px;
  line-height: 1.5;
}

.arcade-subtitle strong {
  color: var(--cyan);
}

/* Driver Selection Grid */
.driver-select-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
  text-align: center;
}

.driver-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 25px;
}

.driver-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 10px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  color: #fff;
  user-select: none;
}

.driver-card:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: var(--cyan);
  background: rgba(5, 217, 232, 0.1);
}

.driver-card.active {
  border-color: var(--gold);
  background: rgba(255, 209, 102, 0.18);
  box-shadow: 0 0 20px var(--gold-glow);
  transform: translateY(-3px);
}

.driver-avatar-thumb {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

.driver-info {
  text-align: left;
}

.driver-name {
  font-weight: 800;
  font-size: 0.95rem;
  color: #FFFFFF;
}

.driver-stat {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Live Roast Commentary Ticker */
.game-roast-ticker {
  background: rgba(20, 16, 44, 0.9);
  border: 1px solid rgba(255, 209, 102, 0.4);
  border-radius: 12px;
  padding: 12px 20px;
  max-width: 620px;
  margin: 0 auto 20px;
  color: #FFFFFF;
  font-size: 0.95rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.game-roast-ticker.pulse-roast {
  animation: pulseRoast 0.8s ease-out;
  border-color: var(--pink);
  box-shadow: 0 0 25px var(--pink-glow);
}

@keyframes pulseRoast {
  0% { transform: scale(1.03); background: rgba(255, 42, 109, 0.25); }
  100% { transform: scale(1); background: rgba(20, 16, 44, 0.9); }
}

/* Game Frame & Canvas */
.game-cabinet-container {
  max-width: 580px;
  margin: 0 auto;
  position: relative;
  transition: all 0.3s ease;
}

.cabinet-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  gap: 10px;
  flex-wrap: wrap;
}

.touch-hint-pill {
  background: rgba(255, 209, 102, 0.14);
  border: 1px solid rgba(255, 209, 102, 0.35);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}

.arcade-fullscreen-toggle-btn {
  background: linear-gradient(135deg, rgba(5, 217, 232, 0.2), rgba(157, 78, 221, 0.25));
  border: 1px solid var(--cyan);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.arcade-fullscreen-toggle-btn:hover {
  background: var(--cyan);
  color: #0b0718;
  box-shadow: 0 0 15px var(--cyan-glow);
  transform: scale(1.04);
}

.game-cabinet-frame {
  width: 100%;
  background: #000;
  border: 4px solid #231f4a;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(0, 0, 0, 0.9);
  position: relative;
}

/* Fullscreen Mode (Native & Theater fallback) */
.game-cabinet-container:fullscreen,
.game-cabinet-container.fullscreen-active {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  z-index: 99999 !important;
  background: #070614 !important;
  padding: 12px !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

.game-cabinet-container:fullscreen .game-cabinet-frame,
.game-cabinet-container.fullscreen-active .game-cabinet-frame {
  height: 68vh;
  max-height: 68vh;
  width: auto;
  aspect-ratio: 6/7.5;
  box-shadow: 0 0 40px var(--gold-glow);
}

.game-cabinet-container:fullscreen .touch-controls-grid,
.game-cabinet-container.fullscreen-active .touch-controls-grid {
  width: 100%;
  max-width: 520px;
  margin-top: 12px;
}

.canvas-shake {
  animation: shakeCanvas 0.35s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes shakeCanvas {
  10%, 90% { transform: translate3d(-3px, 0, 0); }
  20%, 80% { transform: translate3d(5px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-6px, 0, 0); }
  40%, 60% { transform: translate3d(6px, 0, 0); }
}

#chundeliGameCanvas {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 6/7.5;
  background: #0B091A;
  touch-action: none;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

/* Arcade HUD */
.game-hud {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 12, 34, 0.95);
  padding: 10px 18px;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-heading);
}

.hud-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.hud-val {
  font-size: 1.15rem;
  color: #FFFFFF;
  font-weight: 800;
}

.hud-val.gold {
  color: var(--gold);
}

.hud-nitro-bar {
  width: 70px;
  height: 10px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 4px;
}

.hud-nitro-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  transition: width 0.1s linear;
}

/* Game Control Bar */
.game-action-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.game-start-btn {
  background: linear-gradient(135deg, #00F5D4, #05D9E8);
  color: #0b0718;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  padding: 14px 38px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0, 245, 212, 0.4);
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.game-start-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 35px rgba(0, 245, 212, 0.6);
}

/* Touch On-Screen Controls for Mobile */
.touch-controls-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr 1fr;
  gap: 10px;
  max-width: 500px;
  margin: 18px auto 0;
  padding: 0 10px;
}

.touch-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 14px 8px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  transition: all 0.15s ease;
}

.touch-btn:active {
  background: var(--gold);
  color: #000;
  transform: scale(0.94);
}

.touch-btn.nitro-btn {
  background: linear-gradient(135deg, rgba(255, 42, 109, 0.3), rgba(5, 217, 232, 0.3));
  border-color: var(--pink);
}

.touch-btn.nitro-btn:active {
  background: var(--pink);
  color: #fff;
}

/* Game Over Modal */
.game-over-box {
  background: linear-gradient(145deg, #1d1838, #0e0b21);
  border: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 35px 25px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 40px var(--gold-glow);
}

.game-over-trophy {
  font-size: 3.5rem;
  margin-bottom: 8px;
}

.game-over-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.game-over-rank {
  font-size: 1.15rem;
  color: var(--gold);
  font-weight: 800;
  margin-bottom: 18px;
}

.game-over-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px;
  border-radius: 12px;
}

.stat-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.stat-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--cyan);
}

.game-over-quote {
  font-size: 0.92rem;
  font-style: italic;
  color: #E2E8F0;
  line-height: 1.5;
  background: rgba(255, 42, 109, 0.12);
  border-left: 3px solid var(--pink);
  padding: 10px 14px;
  border-radius: 6px;
  margin-bottom: 24px;
  text-align: left;
}

/* ===================================================
   PRANK #4: OFFICIAL SHAADI / MATRIMONY BIODATA STYLES
   =================================================== */
.matrimony-section {
  margin: 50px 0;
}

.matrimony-card {
  background: linear-gradient(145deg, rgba(32, 22, 10, 0.95), rgba(18, 12, 5, 0.98));
  border: 3px solid #F7B731;
  border-radius: var(--radius-lg);
  padding: 35px 25px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(247, 183, 49, 0.3);
  position: relative;
  overflow: hidden;
}

.matrimony-card::before {
  content: '🪔';
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 2.2rem;
  opacity: 0.8;
}

.matrimony-badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.matrimony-pill {
  background: rgba(247, 183, 49, 0.18);
  border: 1px solid #F7B731;
  color: #FFD166;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.matrimony-pill.live-pill {
  background: rgba(255, 42, 109, 0.2);
  border-color: var(--pink);
  color: #FF5E8E;
  animation: pulseBadge 1.8s infinite;
}

.matrimony-header {
  text-align: center;
  margin-bottom: 25px;
}

.matrimony-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  color: #FFD166;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.matrimony-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 6px;
}

.matrimony-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 30px;
  align-items: center;
}

.matrimony-photos-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.matrimony-photo-frame {
  background: #fff;
  padding: 8px 8px 12px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.matrimony-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 4px;
}

.matrimony-photo-tag {
  color: #333;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 6px;
}

.matrimony-details-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.biodata-row {
  display: flex;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  border-left: 3px solid #F7B731;
}

.biodata-lbl {
  width: 150px;
  font-weight: 700;
  color: #FFD166;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.biodata-val {
  color: #FFFFFF;
  font-size: 0.92rem;
  line-height: 1.4;
}

.matrimony-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.matrimony-btn {
  padding: 12px 24px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.matrimony-btn.primary-btn {
  background: linear-gradient(135deg, #F7B731, #FF2A6D);
  color: #fff;
  box-shadow: 0 6px 20px rgba(247, 183, 49, 0.4);
}

.matrimony-btn.secondary-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #FFD166;
  border: 1px solid #FFD166;
}

.matrimony-btn:hover {
  transform: translateY(-2px) scale(1.03);
}

/* Prank Action Buttons */
.action-btn.prank-btn {
  border-color: #FF2A6D;
  background: rgba(255, 42, 109, 0.18);
  color: #FF5E8E;
  font-weight: 700;
}

.action-btn.prank-btn:hover {
  background: #FF2A6D;
  color: #fff;
  box-shadow: 0 0 20px var(--pink-glow);
}

/* ===================================================
   PRANK #2: INCOMING PHONE CALL MODAL
   =================================================== */
.incoming-call-box {
  background: linear-gradient(160deg, #120e26, #070512);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 32px;
  max-width: 420px;
  width: 100%;
  padding: 40px 24px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), 0 0 40px rgba(255, 42, 109, 0.4);
  position: relative;
  overflow: hidden;
}

.caller-avatar-wrap {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.caller-avatar-circle {
  width: 88px;
  height: 88px;
  background: linear-gradient(135deg, #1F1C42, #14122B);
  border: 3px solid var(--pink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  box-shadow: 0 0 30px var(--pink-glow);
  position: relative;
  z-index: 2;
}

.caller-radar-pulse {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 50%;
  border: 2px solid var(--pink);
  animation: radarPulse 1.8s infinite ease-out;
}

@keyframes radarPulse {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.caller-name {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.caller-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.caller-case-tag {
  display: inline-block;
  background: rgba(255, 42, 109, 0.15);
  border: 1px solid var(--pink);
  color: #FF5E8E;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 35px;
}

.call-action-buttons {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 20px;
}

.call-circle-btn {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.call-circle-btn span:last-child {
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 2px;
}

.call-circle-btn.decline-btn {
  background: #EB4D4B;
  box-shadow: 0 8px 25px rgba(235, 77, 75, 0.5);
}

.call-circle-btn.accept-btn {
  background: #2ECC71;
  box-shadow: 0 8px 25px rgba(46, 204, 113, 0.6);
  animation: acceptPulse 1.4s infinite;
}

@keyframes acceptPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); box-shadow: 0 10px 35px rgba(46, 204, 113, 0.8); }
}

.police-siren-bar {
  background: linear-gradient(90deg, #FF2A6D, #05D9E8, #FF2A6D);
  background-size: 200% 100%;
  animation: gradientShift 1s infinite linear;
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.suspect-mugshot-wrap {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto;
  border: 3px solid #FF2A6D;
  border-radius: 12px;
  overflow: hidden;
}

.suspect-mugshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.suspect-stamp {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-20deg);
  background: rgba(255, 42, 109, 0.88);
  color: #fff;
  font-weight: 900;
  font-size: 0.95rem;
  padding: 4px 12px;
  border: 2px solid #fff;
  letter-spacing: 1px;
}

.police-transcript-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 14px;
  font-size: 0.92rem;
  color: #E2E8F0;
  line-height: 1.5;
  margin-top: 12px;
}

/* ===================================================
   PRANK #3: SCREEN SHATTER & MEMORY WIPE MODAL
   =================================================== */
.shatter-glass-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 5;
}

.glass-crack-center {
  position: absolute;
  top: 40%; left: 50%;
  transform: translate(-50%, -50%);
  width: 90px; height: 90px;
  background: radial-gradient(circle, rgba(255,255,255,0.7) 0%, transparent 70%);
  border-radius: 50%;
  box-shadow: 0 0 40px #fff;
}

.glass-crack-line {
  position: absolute;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.9);
}

.glass-crack-line.line-1 {
  top: 40%; left: 50%;
  width: 65vw; height: 2px;
  transform: rotate(35deg);
  transform-origin: left;
}

.glass-crack-line.line-2 {
  top: 40%; left: 50%;
  width: 70vw; height: 2px;
  transform: rotate(-130deg);
  transform-origin: left;
}

.glass-crack-line.line-3 {
  top: 40%; left: 50%;
  width: 50vw; height: 2px;
  transform: rotate(115deg);
  transform-origin: left;
}

.glass-crack-line.line-4 {
  top: 40%; left: 50%;
  width: 60vw; height: 2px;
  transform: rotate(-45deg);
  transform-origin: left;
}

.terminal-glitch-box {
  background: #080309;
  border: 2px solid #FF2A6D;
  border-radius: var(--radius-md);
  max-width: 520px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(255, 42, 109, 0.7);
  z-index: 10;
  position: relative;
  font-family: 'Courier New', monospace;
}

.terminal-header {
  background: #1A0D15;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 42, 109, 0.3);
  font-size: 0.82rem;
  color: #FF5E8E;
  font-weight: 700;
}

.terminal-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.terminal-dot.red { background: #FF2A6D; }
.terminal-dot.yellow { background: #FFD166; }
.terminal-dot.green { background: #00F5D4; }

.terminal-body {
  padding: 24px 20px;
  text-align: left;
  line-height: 1.6;
}

.term-err {
  color: #FF3366;
  font-weight: 700;
  margin-bottom: 8px;
}

.term-warn {
  color: #FFD166;
  margin-bottom: 12px;
}

.terminal-countdown {
  font-size: 4rem;
  font-weight: 900;
  color: #FF2A6D;
  text-align: center;
  margin: 15px 0;
  text-shadow: 0 0 25px rgba(255, 42, 109, 0.8);
  font-family: var(--font-heading);
}

.terminal-progress-track {
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  overflow: hidden;
}

.terminal-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #FFD166, #FF2A6D);
  transition: width 2.8s linear;
}

.terminal-reveal-box {
  padding: 25px;
  text-align: center;
}

@media (max-width: 768px) {
  .matrimony-grid {
    grid-template-columns: 1fr;
  }
}
