/* Modern Glassmorphic Romantic Design System for Komal's Birthday Surprise */

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

:root {
    --bg-dark: #090310;
    --bg-mesh-1: #1a0523;
    --bg-mesh-2: #240b2e;
    --card-bg: rgba(25, 12, 34, 0.68);
    --card-hover: rgba(45, 18, 62, 0.85);
    --card-border: rgba(255, 117, 140, 0.22);
    --card-border-glow: rgba(255, 77, 121, 0.55);
    
    --primary-pink: #ff4d79;
    --primary-rose: #ff758c;
    --primary-blush: #ffa7b6;
    --accent-gold: #ffb86c;
    --accent-yellow: #ffd166;
    --accent-purple: #c56cf0;
    --accent-cyan: #18dcff;

    --text-pure: #ffffff;
    --text-soft: #fde8f0;
    --text-muted: #d4a9bf;

    --font-heading: 'Great Vibes', cursive;
    --font-script: 'Dancing Script', cursive;
    --font-serif: 'Playfair Display', serif;
    --font-body: 'Outfit', -apple-system, sans-serif;

    --glass-blur: blur(18px);
    --box-shadow-soft: 0 15px 35px rgba(0, 0, 0, 0.45);
    --box-shadow-glow: 0 0 35px rgba(255, 77, 121, 0.35);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    width: 100%;
    min-height: 100%;
    background-color: var(--bg-dark);
    color: var(--text-soft);
    font-family: var(--font-body);
    overflow-x: hidden;
    scroll-behavior: smooth;
    line-height: 1.6;
}

/* Atmospheric Background with Glowing Mesh & 10% Soft Blur */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: 
        radial-gradient(circle at 15% 20%, rgba(255, 77, 121, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 85% 30%, rgba(197, 108, 240, 0.18) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(255, 184, 108, 0.12) 0%, transparent 55%),
        radial-gradient(circle at 50% 40%, rgba(13, 5, 20, 0.9) 0%, var(--bg-dark) 100%);
    pointer-events: none;
    z-index: -1;
    filter: blur(10px);
    -webkit-filter: blur(10px);
    transform: scale(1.05); /* Prevents blur edge clipping */
}

/* 10% Dreamy Bokeh Blur for Background Canvas Particles */
#bg-particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    filter: blur(2.5px);
    -webkit-filter: blur(2.5px);
    opacity: 0.85;
}

/* Typography Utilites */
.romantic-heading {
    font-family: var(--font-heading);
    color: var(--primary-blush);
    text-shadow: 0 0 20px rgba(255, 77, 121, 0.6);
}

.script-subheading {
    font-family: var(--font-script);
    color: var(--accent-gold);
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #ff758c 50%, #ffd166 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.gradient-text-gold {
    background: linear-gradient(135deg, #ffd166 0%, #ff9f43 50%, #ff6b81 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glass Card */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    box-shadow: var(--box-shadow-soft);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover {
    border-color: var(--card-border-glow);
    box-shadow: var(--box-shadow-glow);
}

/* Button Styles */
.btn-romantic {
    background: linear-gradient(135deg, #ff4d79, #ff758c 60%, #ffb86c);
    color: white;
    border: none;
    padding: 14px 34px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255, 77, 121, 0.4);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    outline: none;
}

.btn-romantic:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 32px rgba(255, 77, 121, 0.65);
}

.btn-romantic:active {
    transform: translateY(0) scale(0.98);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-soft);
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: var(--primary-rose);
    color: white;
}

/* ==========================================================================
   STAGE 1: LOVE & VERIFICATION QUIZ OVERLAY
   ========================================================================== */
#quiz-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: radial-gradient(circle at 50% 50%, rgba(28, 8, 38, 0.78) 0%, rgba(9, 3, 16, 0.9) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: opacity 0.8s ease, transform 0.8s ease;
    overflow: hidden;
}

#quiz-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(1.05);
}

.quiz-container {
    width: 100%;
    max-width: 580px;
    padding: 40px 30px;
    text-align: center;
    border-radius: 28px;
    background: linear-gradient(165deg, rgba(38, 16, 50, 0.88), rgba(18, 8, 25, 0.96));
    border: 1.5px solid rgba(255, 117, 140, 0.35);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.75), 0 0 50px rgba(255, 77, 121, 0.3);
    position: relative;
    overflow: visible;
    z-index: 5;
}

/* Special Song Dedication Mini-Player Banner */
.quiz-special-music-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(255, 77, 121, 0.18), rgba(255, 209, 102, 0.12), rgba(197, 108, 240, 0.18));
    border: 1px solid rgba(255, 209, 102, 0.45);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 20px rgba(255, 77, 121, 0.25);
    border-radius: 20px;
    padding: 10px 18px 14px;
    margin-top: 24px;
    margin-bottom: 0;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.quiz-special-music-banner:hover {
    border-color: var(--accent-yellow);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), 0 0 28px rgba(255, 209, 102, 0.35);
    transform: translateY(-2px);
}

.quiz-special-music-banner.is-playing {
    border-color: var(--primary-rose);
    box-shadow: 0 8px 25px rgba(255, 77, 121, 0.35), 0 0 30px rgba(255, 77, 121, 0.3);
}

.quiz-music-left {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    z-index: 2;
}

.quiz-music-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff3366, #ffd166);
    border: none;
    color: #1a0523;
    font-size: 0.95rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(255, 51, 102, 0.5);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    flex-shrink: 0;
}

.quiz-music-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 209, 102, 0.7);
}

.quiz-music-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.quiz-music-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.2px;
}

.quiz-music-title strong {
    color: #ffd166;
}

.quiz-music-subtitle {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 500;
}

#quiz-special-time {
    color: #ff8fa3;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* Audio visualizer EQ waves */
.quiz-music-eq {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 20px;
    z-index: 2;
}

.quiz-music-eq .eq-bar {
    width: 3.5px;
    height: 4px;
    background: linear-gradient(to top, #ff3366, #ffd166);
    border-radius: 3px;
    transition: height 0.2s ease;
}

.quiz-music-eq.playing .eq-bar:nth-child(1) {
    animation: quizEqAnim 0.7s ease-in-out infinite alternate;
}
.quiz-music-eq.playing .eq-bar:nth-child(2) {
    animation: quizEqAnim 0.9s ease-in-out infinite alternate 0.15s;
}
.quiz-music-eq.playing .eq-bar:nth-child(3) {
    animation: quizEqAnim 0.6s ease-in-out infinite alternate 0.3s;
}
.quiz-music-eq.playing .eq-bar:nth-child(4) {
    animation: quizEqAnim 0.8s ease-in-out infinite alternate 0.2s;
}

@keyframes quizEqAnim {
    0% { height: 4px; }
    100% { height: 20px; }
}

/* Progress bar inside the banner */
.quiz-special-progress-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
}

.quiz-special-progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #ff3366, #ff758c, #ffd166);
    box-shadow: 0 0 10px rgba(255, 209, 102, 0.8);
    transition: width 0.25s linear;
}

.quiz-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: 50px;
    background: rgba(255, 77, 121, 0.15);
    border: 1px solid rgba(255, 77, 121, 0.4);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-rose);
    margin-bottom: 20px;
    animation: badgeGlow 2.5s infinite;
}

.quiz-step {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.quiz-step.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.quiz-avatar-wrapper {
    position: relative;
    width: 224px;
    height: 250px;
    margin: 12px auto 28px;
    border-radius: 28px;
    padding: 4px;
    background: linear-gradient(135deg, rgba(255, 77, 121, 0.85), rgba(255, 209, 102, 0.95), rgba(197, 108, 240, 0.85));
    box-shadow: 0 0 35px rgba(255, 77, 121, 0.55), 0 12px 35px rgba(0, 0, 0, 0.7);
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.35s ease;
    cursor: pointer;
}

.quiz-avatar-wrapper:hover {
    transform: scale(1.03);
    box-shadow: 0 0 50px rgba(255, 209, 102, 0.75), 0 16px 40px rgba(0, 0, 0, 0.8);
}

.quiz-avatar-crown {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.9rem;
    filter: drop-shadow(0 0 12px rgba(255, 209, 102, 0.95));
    animation: crownBob 2.6s ease-in-out infinite alternate;
    z-index: 10;
    pointer-events: none;
}

.quiz-avatar-ring {
    position: absolute;
    inset: -6px;
    border-radius: 32px;
    background: linear-gradient(135deg, #ff4d79, #ffd166, #c56cf0, #ff758c);
    background-size: 250% 250%;
    filter: blur(8px);
    opacity: 0.75;
    animation: gradientShift 6s ease infinite alternate;
    z-index: 1;
    pointer-events: none;
}

.quiz-avatar-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: #140520;
    border: 2px solid rgba(255, 255, 255, 0.5);
    z-index: 2;
}

.quiz-avatar {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    object-fit: cover;
    object-position: center 18%;
    display: block;
    transition: opacity 0.35s ease, transform 0.4s ease;
    filter: contrast(1.04) brightness(1.02);
}

.quiz-avatar-wrapper:hover .quiz-avatar {
    transform: scale(1.04);
}

.quiz-avatar-tag {
    position: absolute;
    bottom: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff4d79, #ffd166);
    color: #1a0523;
    font-weight: 800;
    font-size: 0.88rem;
    padding: 5px 18px;
    border-radius: 20px;
    box-shadow: 0 4px 18px rgba(255, 77, 121, 0.5);
    white-space: nowrap;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.3px;
}

.quiz-avatar-switch-btn {
    position: absolute;
    bottom: 24px;
    right: 8px;
    background: rgba(20, 8, 28, 0.85);
    border: 1px solid rgba(255, 209, 102, 0.6);
    color: #ffd166;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.quiz-avatar-switch-btn:hover {
    background: var(--primary-rose);
    color: #fff;
    transform: scale(1.08);
}

.quiz-title {
    font-size: 1.65rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-pure);
}

.quiz-desc {
    font-size: 1.02rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.5;
}

/* Playful Runaway Button Container */
.runaway-actions {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 90px;
    margin-top: 24px;
    flex-wrap: wrap;
}

#btn-yes-identity {
    position: relative;
    z-index: 2;
    padding: 16px 32px;
    font-size: 1.12rem;
    font-weight: 800;
    max-width: 360px;
    line-height: 1.35;
    text-align: center;
    background: linear-gradient(135deg, #ff3366, #ff758c 50%, #ffd166);
    border: none;
    border-radius: 50px;
    color: #fff;
    box-shadow: 0 0 30px rgba(255, 51, 102, 0.65), 0 8px 25px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    animation: heartBeatSubtle 3s ease-in-out infinite;
}

#btn-yes-identity:hover {
    transform: scale(1.06);
    box-shadow: 0 0 45px rgba(255, 209, 102, 0.85), 0 10px 30px rgba(0, 0, 0, 0.6);
}

#btn-no-runaway {
    position: relative;
    transition: all 0.28s cubic-bezier(0.25, 1, 0.5, 1);
    white-space: nowrap;
    z-index: 10;
    padding: 12px 22px;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.85);
    border-radius: 50px;
}

/* Date Lock / PIN Input Responsive System */
.pin-input-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(2px, 1.1vw, 6px);
    margin: 18px auto 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex-wrap: nowrap;
    overflow-x: hidden;
}

.pin-digit {
    width: clamp(24px, 7.8vw, 44px);
    height: clamp(38px, 10.5vw, 56px);
    text-align: center;
    font-size: clamp(1rem, 3.6vw, 1.5rem);
    font-weight: 700;
    color: var(--accent-yellow);
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 117, 140, 0.4);
    border-radius: clamp(6px, 2vw, 12px);
    outline: none;
    padding: 0;
    transition: all 0.25s ease;
    box-sizing: border-box;
    flex-shrink: 1;
    min-width: 0;
}

.pin-digit:focus {
    border-color: var(--accent-yellow);
    box-shadow: 0 0 15px rgba(255, 209, 102, 0.6);
    background: rgba(255, 255, 255, 0.15);
}

.pin-separator {
    font-size: clamp(1rem, 3.2vw, 1.6rem);
    color: var(--accent-gold);
    align-self: center;
    line-height: 1;
    user-select: none;
    padding: 0 1px;
    flex-shrink: 0;
    font-weight: 700;
}

.pin-hint {
    font-size: clamp(0.78rem, 2.5vw, 0.9rem);
    color: var(--accent-gold);
    margin-top: 10px;
    font-style: italic;
    line-height: 1.35;
}

/* Multiple choice quiz options */
.quiz-options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.quiz-option-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 117, 140, 0.2);
    border-radius: 16px;
    padding: 16px 20px;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.quiz-option-card:hover {
    background: rgba(255, 77, 121, 0.2);
    border-color: var(--primary-rose);
    transform: translateX(6px);
    color: white;
}

.quiz-option-card.correct {
    background: linear-gradient(135deg, rgba(255, 77, 121, 0.4), rgba(255, 184, 108, 0.35));
    border-color: var(--accent-yellow);
    box-shadow: 0 0 20px rgba(255, 77, 121, 0.4);
}

/* Quiz progress dots */
.quiz-progress {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 26px;
    flex-wrap: wrap;
}

.progress-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.progress-dot.active {
    width: 26px;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--primary-rose), var(--accent-yellow));
    box-shadow: 0 0 12px rgba(255, 77, 121, 0.7);
}

/* Unlock animation screen */
#unlock-celebration {
    text-align: center;
    padding: 20px 0;
}

.unlock-heart-icon {
    font-size: 4rem;
    display: inline-block;
    animation: heartBeat 1.2s infinite;
}

/* ==========================================================================
   FLOATING ACTION HUD (TOP BAR)
   ========================================================================== */
.floating-hud {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 18px;
    border-radius: 50px;
    background: rgba(20, 8, 28, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 117, 140, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 77, 121, 0.2);
}

.hud-btn {
    background: transparent;
    border: none;
    color: var(--text-soft);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 20px;
    transition: all 0.25s ease;
}

.hud-btn:hover {
    background: rgba(255, 77, 121, 0.25);
    color: white;
}

.hud-btn.active {
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-rose));
    color: white;
    box-shadow: 0 0 12px rgba(255, 77, 121, 0.5);
}

.music-waves {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    height: 14px;
}

.wave-bar {
    width: 2px;
    height: 100%;
    background: white;
    border-radius: 2px;
    animation: waveAnim 0.8s ease infinite alternate;
}

.wave-bar:nth-child(2) { animation-delay: 0.2s; height: 60%; }
.wave-bar:nth-child(3) { animation-delay: 0.4s; height: 80%; }

@keyframes waveAnim {
    0% { height: 20%; }
    100% { height: 100%; }
}

/* ==========================================================================
   MAIN CELEBRATION CONTAINER
   ========================================================================== */
.main-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 90px 20px 60px;
    position: relative;
    z-index: 10;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 60px 10px 65px;
    position: relative;
}

.hero-crown-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 26px;
    border-radius: 50px;
    background: rgba(255, 209, 102, 0.12);
    border: 1px solid rgba(255, 209, 102, 0.4);
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--accent-yellow);
    margin-bottom: 38px;
    box-shadow: 0 0 22px rgba(255, 209, 102, 0.25);
}

.hero-main-title {
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.3;
    margin-top: 18px;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-main-title .gradient-text {
    display: block;
    margin-bottom: 6px;
}

.mithi-chinni-tag {
    display: block;
    margin-top: 28px; /* Positioned clearly lower as requested */
    margin-bottom: 14px;
    font-size: clamp(2.4rem, 6.2vw, 4.4rem);
    background: linear-gradient(135deg, #ffd166, #ff758c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 25px rgba(255, 209, 102, 0.45));
    letter-spacing: 0.5px;
    animation: gentleGlowPulse 2.8s ease-in-out infinite alternate;
}

.hero-romantic-script {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5.2vw, 4.3rem);
    color: var(--primary-rose);
    display: block;
    margin-top: 28px; /* Positioned comfortably lower as requested */
    margin-bottom: 16px;
    text-shadow: 0 0 25px rgba(255, 77, 121, 0.55);
}

.hero-date-tag {
    font-size: clamp(0.85rem, 3vw, 1.12rem);
    font-weight: 600;
    color: var(--accent-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 18px auto 26px;
    padding: 7px 20px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid rgba(255, 184, 108, 0.3);
    max-width: 95%;
    box-sizing: border-box;
}

/* Hero Portrait Frame */
.hero-photo-showcase {
    position: relative;
    width: 100%;
    max-width: 440px;
    height: auto;
    margin: 15px auto 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-photo-frame {
    position: relative;
    width: 270px;
    height: 340px;
    margin: 0 auto;
}

.hero-photo-crown {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.2rem;
    filter: drop-shadow(0 0 15px rgba(255, 209, 102, 0.9));
    animation: crownBob 2.6s ease-in-out infinite alternate;
    z-index: 12;
    pointer-events: none;
}

.hero-photo-ring {
    position: absolute;
    inset: -12px;
    border-radius: 36px;
    background: linear-gradient(135deg, #ff4d79, #ffd166, #c56cf0, #ff758c, #ffd166);
    background-size: 300% 300%;
    filter: blur(14px);
    opacity: 0.88;
    animation: gradientShift 6s ease infinite alternate;
}

.hero-photo-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
    border: 3.5px solid rgba(255, 220, 140, 0.95);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 45px rgba(255, 77, 121, 0.45);
    background: #140520;
}

.hero-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease;
    filter: contrast(1.05) brightness(1.02) saturate(1.08);
}

.hero-photo-frame:hover .hero-photo-img {
    transform: scale(1.04);
}

.hero-photo-overlay-badge {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(18, 5, 26, 0.88);
    border: 1px solid rgba(255, 209, 102, 0.65);
    color: #ffd166;
    font-size: 0.86rem;
    font-weight: 700;
    padding: 5px 18px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    white-space: nowrap;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
    z-index: 5;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.hero-photo-caption-box {
    margin-top: 18px;
    text-align: center;
}

.hero-photo-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: #ffeaa7;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    margin-bottom: 4px;
    transition: opacity 0.25s ease;
}

.hero-photo-nav-pill {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Interactive Slider Nav on Hero Photo */
.hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(20, 6, 28, 0.88);
    border: 1.5px solid rgba(255, 209, 102, 0.7);
    color: #ffd166;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.15rem;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.hero-slider-btn:hover {
    background: var(--primary-pink);
    color: #fff;
    transform: translateY(-50%) scale(1.15);
    border-color: #fff;
}

.hero-slider-btn.prev { left: -16px; }
.hero-slider-btn.next { right: -16px; }

.hero-slider-dots {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    z-index: 4;
}

.hero-slider-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-slider-dot.active {
    background: var(--accent-yellow);
    width: 22px;
    border-radius: 10px;
    box-shadow: 0 0 10px var(--accent-yellow);
}

.floating-heart-bubble {
    position: absolute;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #ff4d79, #ff758c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    box-shadow: 0 6px 20px rgba(255, 77, 121, 0.5);
    animation: floatSoft 3s ease-in-out infinite;
}

.bubble-top-right {
    top: -5px;
    right: 5px;
}

.bubble-bottom-left {
    bottom: -5px;
    left: 5px;
    animation-delay: 1.5s;
}

/* ==========================================================================
   LIVE LIFE JOURNEY COUNTER (Since 22-09-2003)
   ========================================================================== */
.life-counter-box {
    padding: 40px 25px;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(165deg, rgba(30, 14, 40, 0.8), rgba(16, 7, 24, 0.95));
    border: 1.5px solid rgba(255, 117, 140, 0.3);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 77, 121, 0.2);
    border-radius: 28px;
    overflow: hidden;
}

.counter-title-group {
    margin-bottom: 28px;
}

/* Two-tier structured grid for perfect balance without horizontal overflow */
.counter-grid-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.counter-grid-live {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.counter-unit-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 117, 140, 0.22);
    border-radius: 20px;
    padding: 20px 10px;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 0;
    overflow: hidden;
}

.counter-unit-card.featured {
    background: linear-gradient(145deg, rgba(255, 77, 121, 0.16), rgba(255, 184, 108, 0.12));
    border-color: rgba(255, 209, 102, 0.45);
    box-shadow: 0 6px 20px rgba(255, 77, 121, 0.2);
}

.counter-unit-card:hover {
    background: rgba(255, 77, 121, 0.18);
    border-color: var(--accent-yellow);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 77, 121, 0.35);
}

.counter-value {
    font-size: clamp(1.15rem, 1.8vw, 1.9rem);
    font-weight: 800;
    color: var(--accent-yellow);
    font-family: var(--font-body);
    line-height: 1.15;
    margin-bottom: 4px;
    white-space: nowrap;
    letter-spacing: -0.5px;
}

.counter-unit-card.featured .counter-value {
    font-size: clamp(1.6rem, 2.6vw, 2.5rem);
    color: #ffd166;
    text-shadow: 0 0 15px rgba(255, 209, 102, 0.5);
}

.counter-label {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-blush);
}

@media (max-width: 768px) {
    .counter-grid-highlights {
        grid-template-columns: 1fr;
    }
    .counter-grid-live {
        grid-template-columns: 1fr;
    }
    .counter-value {
        font-size: 1.5rem !important;
    }
}

.counter-tagline {
    font-family: var(--font-script);
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-top: 10px;
}

/* ==========================================================================
   VIRTUAL 3D BIRTHDAY CAKE & CANDLE BLOW
   ========================================================================== */
.cake-section {
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 70px;
}

.cake-stage {
    position: relative;
    width: 280px;
    height: 240px;
    margin: 40px auto 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

/* Candles */
.candles-row {
    display: flex;
    gap: 24px;
    margin-bottom: 6px;
    z-index: 5;
}

.candle-item {
    position: relative;
    width: 14px;
    height: 52px;
    background: repeating-linear-gradient(
        45deg,
        #ffffff,
        #ffffff 6px,
        #ff4d79 6px,
        #ff4d79 12px
    );
    border-radius: 4px 4px 2px 2px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.candle-wick {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 8px;
    background: #333;
}

.flame {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 24px;
    background: radial-gradient(ellipse at bottom, #ffffff 10%, #ffd32a 50%, #ff3838 90%);
    border-radius: 50% 50% 35% 35% / 60% 60% 40% 40%;
    animation: flameFlicker 1.4s ease-in-out infinite;
    cursor: pointer;
    transition: opacity 0.4s, transform 0.4s;
}

.flame.extinguished {
    opacity: 0;
    transform: translateX(-50%) scale(0.2);
    pointer-events: none;
}

.smoke-puff {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: rgba(220, 220, 220, 0.7);
    border-radius: 50%;
    filter: blur(4px);
    opacity: 0;
    pointer-events: none;
}

.smoke-puff.rising {
    animation: smokeRise 1.2s forwards;
}

/* Cake Tiers */
.cake-tier {
    position: relative;
    border-radius: 14px 14px 10px 10px;
    box-shadow: inset 0 -6px 12px rgba(0,0,0,0.25), 0 8px 20px rgba(0,0,0,0.3);
}

.cake-tier-top {
    width: 150px;
    height: 52px;
    background: linear-gradient(180deg, #ffeef2 0%, #ff85a2 40%, #ff5277 100%);
    z-index: 3;
}

.cake-tier-mid {
    width: 210px;
    height: 58px;
    background: linear-gradient(180deg, #fff2cc 0%, #ffd166 40%, #ffb142 100%);
    margin-top: -6px;
    z-index: 2;
}

.cake-tier-bottom {
    width: 270px;
    height: 64px;
    background: linear-gradient(180deg, #f3d9fa 0%, #d980fa 40%, #9980fa 100%);
    margin-top: -6px;
    z-index: 1;
}

/* Cake Plate */
.cake-plate {
    width: 310px;
    height: 16px;
    background: linear-gradient(180deg, #ffffff, #cfd9df);
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    margin-top: -4px;
}

.cake-frosting-drip {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 14px;
    background: #ffffff;
    border-radius: 12px 12px 6px 6px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

.cake-status-msg {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--accent-yellow);
    margin-top: 20px;
    min-height: 32px;
}

/* ==========================================================================
   POP-THE-BALLOONS COMPLIMENT ARENA
   ========================================================================== */
.balloons-arena {
    padding: 50px 20px;
    text-align: center;
    margin-bottom: 70px;
}

.balloons-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.balloon-item {
    position: relative;
    cursor: pointer;
    animation: balloonSway 4s ease-in-out infinite;
    transition: transform 0.2s;
    user-select: none;
}

.balloon-item:nth-child(2) { animation-delay: 0.8s; }
.balloon-item:nth-child(3) { animation-delay: 1.6s; }
.balloon-item:nth-child(4) { animation-delay: 2.4s; }
.balloon-item:nth-child(5) { animation-delay: 3.2s; }
.balloon-item:nth-child(6) { animation-delay: 1.2s; }

.balloon-item:hover {
    transform: scale(1.1);
}

.balloon-body {
    width: 86px;
    height: 104px;
    border-radius: 50% 50% 50% 50% / 45% 45% 55% 55%;
    position: relative;
    box-shadow: inset -6px -6px 14px rgba(0,0,0,0.25), 0 10px 25px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
}

.balloon-highlight {
    position: absolute;
    top: 14px;
    left: 16px;
    width: 18px;
    height: 32px;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    transform: rotate(-30deg);
}

.balloon-knot {
    width: 10px;
    height: 8px;
    margin: -2px auto 0;
    border-radius: 3px;
}

.balloon-string {
    width: 2px;
    height: 55px;
    background: rgba(255, 255, 255, 0.35);
    margin: 0 auto;
}

.balloon-item.popped {
    animation: popOut 0.35s forwards;
    pointer-events: none;
}

/* Balloon Compliment Modal */
.compliment-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: linear-gradient(165deg, rgba(40, 15, 55, 0.95), rgba(20, 8, 30, 0.98));
    border: 2px solid var(--primary-rose);
    border-radius: 24px;
    padding: 30px;
    max-width: 440px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8), 0 0 40px rgba(255, 77, 121, 0.4);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.compliment-popup.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    pointer-events: all;
}

.compliment-emoji {
    font-size: 3rem;
    margin-bottom: 12px;
    display: inline-block;
}

.compliment-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-soft);
    margin-bottom: 22px;
    line-height: 1.5;
}

/* ==========================================================================
   WAX-SEALED ROMANTIC LOVE LETTER
   ========================================================================== */
.letter-section {
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 70px;
}

.envelope-wrapper {
    position: relative;
    width: 100%;
    max-width: 580px;
    margin: 40px auto 0;
    perspective: 1200px;
}

.envelope-box {
    position: relative;
    width: 100%;
    height: 330px;
    background: linear-gradient(145deg, #2c1032, #1b0722);
    border: 2px solid rgba(255, 117, 140, 0.3);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 35px rgba(255, 77, 121, 0.2);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
}

.envelope-box:hover {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 45px rgba(255, 77, 121, 0.35);
}

.envelope-flap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(180deg, #3d1645, #290e2f);
    clip-path: polygon(0 0, 50% 100%, 100% 0);
    transform-origin: top center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
}

.envelope-pocket {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(180deg, rgba(42, 15, 50, 0.9), #190520);
    clip-path: polygon(0 100%, 50% 20%, 100% 100%, 100% 0, 0 0);
    z-index: 2;
}

.wax-seal {
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    background: radial-gradient(circle at 35% 35%, #ff4d79, #b31238);
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(0,0,0,0.5), inset 0 2px 4px rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffd166;
    font-size: 1.8rem;
    font-family: var(--font-heading);
    font-weight: bold;
    z-index: 4;
    transition: transform 0.3s ease;
}

.wax-seal:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Unfolded Letter Content */
.letter-paper {
    display: none;
    max-width: 680px;
    margin: 30px auto 0;
    background: linear-gradient(170deg, #fffcf4, #fbf2dc);
    color: #2b172a;
    padding: 45px 35px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(255, 184, 108, 0.4);
    position: relative;
    text-align: left;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.6s ease;
}

.letter-paper.open {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.letter-header {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    color: #b31238;
    margin-bottom: 20px;
    border-bottom: 1.5px dashed rgba(179, 18, 56, 0.3);
    padding-bottom: 10px;
}

.letter-body {
    font-size: 1.12rem;
    line-height: 1.8;
    color: #3d233c;
}

.letter-body p {
    margin-bottom: 16px;
}

.letter-sign {
    margin-top: 30px;
    font-family: var(--font-script);
    font-size: 1.8rem;
    color: #b31238;
    text-align: right;
}

/* ==========================================================================
   "REASONS WHY YOU ARE SO SPECIAL" 3D FLIP CARDS
   ========================================================================== */
.reasons-section {
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 70px;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.flip-card {
    background-color: transparent;
    height: 250px;
    perspective: 1000px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner,
.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    inset: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 22px;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.flip-card-front {
    background: linear-gradient(145deg, rgba(35, 15, 48, 0.85), rgba(20, 8, 28, 0.95));
    border: 1px solid rgba(255, 117, 140, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.flip-card-back {
    background: linear-gradient(145deg, #3d1448, #22082b);
    border: 1.5px solid var(--accent-gold);
    box-shadow: 0 10px 35px rgba(255, 184, 108, 0.3);
    transform: rotateY(180deg);
}

.card-icon {
    font-size: 2.6rem;
    margin-bottom: 12px;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blush);
    margin-bottom: 6px;
}

.card-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.card-back-text {
    font-size: 1.05rem;
    color: var(--text-soft);
    line-height: 1.6;
}

/* ==========================================================================
   POLAROID MEMORY WALL (Komal's Real Photos)
   ========================================================================== */
.polaroid-section {
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 70px;
}

/* ==========================================================================
   POLAROID MEMORY WALL (3D FLIP CARDS WITH LOVE NOTES ON BACK)
   ========================================================================== */
.polaroid-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 36px;
    margin-top: 40px;
    perspective: 1400px;
}

.polaroid-item {
    width: 270px;
    height: 390px;
    perspective: 1400px;
    user-select: none;
    cursor: pointer;
    background: transparent;
    position: relative;
}

.polaroid-item:nth-child(6n+1) { transform: rotate(-3deg); }
.polaroid-item:nth-child(6n+2) { transform: rotate(2.5deg); }
.polaroid-item:nth-child(6n+3) { transform: rotate(-3.5deg); }
.polaroid-item:nth-child(6n+4) { transform: rotate(3deg); }
.polaroid-item:nth-child(6n+5) { transform: rotate(-2deg); }
.polaroid-item:nth-child(6n+6) { transform: rotate(3.5deg); }

.polaroid-item:hover {
    transform: scale(1.06) rotate(0deg) !important;
    z-index: 10;
}

.polaroid-card-3d {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 14px;
}

.polaroid-item.flipped .polaroid-card-3d {
    transform: rotateY(180deg);
}

.polaroid-front,
.polaroid-back {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.55);
}

/* Front Side: Authentic Polaroid */
.polaroid-front {
    background: #ffffff;
    padding: 14px 14px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
    transform: rotateY(0deg);
}

.washi-tape {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: rgba(255, 184, 108, 0.75);
    border-radius: 2px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    z-index: 10;
}

.polaroid-img-box {
    width: 100%;
    height: 255px;
    overflow: hidden;
    border-radius: 6px;
    background: #111;
}

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

.polaroid-item:hover .polaroid-img {
    transform: scale(1.05);
}

.polaroid-caption {
    font-family: var(--font-script);
    font-size: 1.35rem;
    color: #2b172a;
    margin-top: 8px;
    text-align: center;
    font-weight: 700;
}

.polaroid-flip-hint {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary-pink);
    text-align: center;
    background: rgba(255, 77, 121, 0.12);
    border-radius: 20px;
    padding: 4px 10px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.3s;
}

.polaroid-item:hover .polaroid-flip-hint {
    background: rgba(255, 77, 121, 0.25);
}

/* Back Side: Vintage Romantic Handwritten Love Note */
.polaroid-back {
    background: linear-gradient(135deg, #fffcf5 0%, #f7ecd5 100%);
    border: 2px solid #dfc7a2;
    color: #2c1527;
    padding: 24px 20px;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.55), inset 0 0 35px rgba(212, 169, 120, 0.3);
}

.love-note-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1.5px dashed rgba(180, 130, 80, 0.4);
    padding-bottom: 8px;
    font-size: 0.86rem;
    font-weight: 700;
    color: #8c4a5e;
}

.love-note-stamp {
    font-size: 1.3rem;
}

.love-note-content {
    font-family: var(--font-script);
    font-size: 1.25rem;
    line-height: 1.6;
    color: #2b1124;
    font-weight: 600;
    text-align: center;
    margin: auto 0;
    padding: 8px 0;
}

.love-note-sign {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: #c0392b;
    text-align: right;
    border-top: 1.5px dashed rgba(180, 130, 80, 0.4);
    padding-top: 6px;
}

.love-note-flip-back {
    font-size: 0.8rem;
    font-weight: 700;
    color: #8c4a5e;
    text-align: center;
    margin-top: 6px;
    cursor: pointer;
    background: rgba(180, 130, 80, 0.15);
    border-radius: 12px;
    padding: 3px 8px;
}

/* Lightbox Modal with Side-by-Side Photo & Love Note */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(20px);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-container {
    display: flex;
    gap: 30px;
    max-width: 1050px;
    width: 100%;
    max-height: 90vh;
    align-items: center;
    justify-content: center;
}

.lightbox-photo-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: 85vh;
}

.lightbox-content {
    max-width: 100%;
    max-height: 72vh;
    border-radius: 16px;
    border: 3px solid var(--primary-rose);
    box-shadow: 0 0 50px rgba(255, 77, 121, 0.5);
    object-fit: contain;
}

.lightbox-caption {
    font-family: var(--font-script);
    font-size: 1.6rem;
    color: #ffd166;
    margin-top: 12px;
    text-align: center;
}

.lightbox-note-side {
    flex: 0.9;
    max-width: 420px;
}

.lightbox-note-card {
    background: linear-gradient(135deg, #fffcf5 0%, #faecd5 100%);
    border: 2px solid #dfc7a2;
    padding: 30px 25px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 0 40px rgba(212, 169, 120, 0.3);
    color: #2c1527;
}

.lightbox-note-badge {
    display: inline-block;
    background: #8c4a5e;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 18px;
}

.lightbox-note-text {
    font-family: var(--font-script);
    font-size: 1.45rem;
    line-height: 1.7;
    color: #2b1124;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
}

.lightbox-note-sign {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #c0392b;
    text-align: right;
    border-top: 1.5px dashed rgba(180, 130, 80, 0.5);
    padding-top: 10px;
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 2.4rem;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.lightbox-close:hover {
    background: var(--primary-pink);
}

@media (max-width: 850px) {
    .lightbox-container {
        flex-direction: column;
        overflow-y: auto;
    }
    .lightbox-note-side {
        max-width: 100%;
    }
}

/* ==========================================================================
   QUESTION-BY-QUESTION INTERACTIVE SURPRISE MODAL
   ========================================================================== */
.surprise-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 2, 14, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 100000; /* Highest layer: always above everything */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.surprise-modal-box {
    background: linear-gradient(165deg, rgba(38, 14, 48, 0.98), rgba(16, 5, 24, 0.99));
    border: 2px solid rgba(255, 117, 140, 0.55);
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.9), 0 0 50px rgba(255, 77, 121, 0.45);
    border-radius: 22px;
    max-width: 420px;
    width: 100%;
    max-height: 84vh;
    overflow-y: auto;
    padding: 18px 16px 16px;
    text-align: center;
    transform: scale(0.88) translateY(15px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.surprise-modal-overlay.active .surprise-modal-box {
    transform: scale(1) translateY(0);
}

.surprise-icon {
    font-size: 2.2rem;
    margin-bottom: 4px;
    animation: pulseHeart 1.5s ease-in-out infinite;
    line-height: 1;
}

.surprise-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffd166;
    margin-bottom: 6px;
    line-height: 1.25;
}

.surprise-body {
    font-size: 0.88rem;
    color: var(--text-soft);
    line-height: 1.45;
    margin-bottom: 0;
}

.surprise-card-inner {
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px dashed rgba(255, 209, 102, 0.5);
    border-radius: 14px;
    padding: 10px 14px;
    margin: 8px 0 14px;
    width: 100%;
    box-sizing: border-box;
}

#btn-surprise-continue {
    padding: 12px 26px;
    font-size: 1.02rem;
    font-weight: 700;
    width: 100%;
    max-width: 280px;
    margin: 4px auto 2px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff3366 0%, #ff758c 50%, #ffd166 100%);
    color: #ffffff;
    border: none;
    border-radius: 30px;
    box-shadow: 0 8px 25px rgba(255, 51, 102, 0.7), 0 0 15px rgba(255, 209, 102, 0.4);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: pulseContinueBtn 2s ease-in-out infinite;
    flex-shrink: 0;
}

#btn-surprise-continue:hover,
#btn-surprise-continue:active {
    transform: scale(1.04);
    box-shadow: 0 10px 30px rgba(255, 51, 102, 0.9), 0 0 25px rgba(255, 209, 102, 0.7);
}

@keyframes pulseContinueBtn {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(255, 51, 102, 0.7), 0 0 15px rgba(255, 209, 102, 0.4);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 10px 30px rgba(255, 51, 102, 0.9), 0 0 25px rgba(255, 209, 102, 0.7);
    }
}

/* ==========================================================================
   SPECIAL BIRTHDAY WISHES WALL (AKASH, RAUSHAN, ABHISHEK, ADITYA, ASHIK, PANDIT & SQUAD)
   ========================================================================== */
.friends-wishes-section {
    padding: 70px 20px 40px;
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
}

.friends-wishes-container {
    width: 100%;
}

.wishes-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 20px auto 35px;
}

.wish-filter-chip {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 117, 140, 0.25);
    color: var(--text-soft);
    padding: 9px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.wish-filter-chip:hover {
    background: rgba(255, 117, 140, 0.2);
    border-color: var(--primary-pink);
    transform: translateY(-2px);
}

.wish-filter-chip.active {
    background: linear-gradient(135deg, var(--primary-pink), var(--accent-gold));
    border-color: transparent;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 18px rgba(255, 77, 121, 0.45);
}

.friends-wishes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

@media (max-width: 1080px) {
    .friends-wishes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 680px) {
    .friends-wishes-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
}

.friend-wish-card {
    position: relative;
    padding: 20px 18px;
    border-radius: 18px;
    background: rgba(25, 12, 34, 0.72);
    border: 1.5px solid rgba(255, 117, 140, 0.22);
    backdrop-filter: blur(18px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.friend-wish-card:hover {
    transform: translateY(-5px) scale(1.01);
    border-color: rgba(255, 184, 108, 0.6);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45), 0 0 20px rgba(255, 117, 140, 0.25);
}

.friend-wish-card.card-special-gaurav {
    border-color: rgba(56, 142, 255, 0.55);
    background: linear-gradient(145deg, rgba(12, 24, 48, 0.85), rgba(15, 18, 38, 0.82));
    box-shadow: 0 8px 24px rgba(56, 142, 255, 0.22), 0 0 16px rgba(56, 142, 255, 0.15);
}

.friend-wish-card.card-special-gaurav:hover {
    border-color: #38b6ff;
    box-shadow: 0 14px 32px rgba(56, 142, 255, 0.38), 0 0 24px rgba(56, 142, 255, 0.3);
}

.friend-wish-card.card-special-khushi {
    border-color: rgba(185, 105, 255, 0.48);
    background: linear-gradient(145deg, rgba(35, 14, 48, 0.82), rgba(25, 10, 40, 0.78));
    box-shadow: 0 8px 24px rgba(185, 105, 255, 0.18);
}

.friend-wish-card.card-special-khushi:hover {
    border-color: #c56cf0;
    box-shadow: 0 14px 32px rgba(185, 105, 255, 0.32), 0 0 22px rgba(185, 105, 255, 0.25);
}

.friend-wish-card.card-special-neha {
    border-color: rgba(255, 175, 60, 0.48);
    background: linear-gradient(145deg, rgba(38, 20, 15, 0.82), rgba(28, 12, 32, 0.78));
    box-shadow: 0 8px 24px rgba(255, 175, 60, 0.18);
}

.friend-wish-card.card-special-neha:hover {
    border-color: #ffaf40;
    box-shadow: 0 14px 32px rgba(255, 175, 60, 0.32), 0 0 22px rgba(255, 175, 60, 0.25);
}

.friend-wish-card.card-special-pandit {
    border-color: rgba(255, 209, 102, 0.45);
    background: linear-gradient(145deg, rgba(35, 15, 42, 0.82), rgba(45, 25, 15, 0.75));
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 16px rgba(255, 209, 102, 0.15);
}

.friend-wish-card.card-special-pandit:hover {
    border-color: var(--accent-yellow);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55), 0 0 26px rgba(255, 209, 102, 0.35);
}

.wish-card-glow {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255, 77, 121, 0.22) 0%, transparent 70%);
    pointer-events: none;
}

.wish-card-glow.gold-glow {
    background: radial-gradient(circle, rgba(255, 209, 102, 0.25) 0%, transparent 70%);
}

.wish-card-glow.pink-glow {
    background: radial-gradient(circle, rgba(255, 75, 130, 0.3) 0%, transparent 70%);
}

.wish-card-glow.purple-glow {
    background: radial-gradient(circle, rgba(185, 105, 255, 0.28) 0%, transparent 70%);
}

.wish-card-glow.blue-glow {
    background: radial-gradient(circle, rgba(56, 142, 255, 0.28) 0%, transparent 70%);
}

.wish-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    position: relative;
}

.friend-avatar-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    position: relative;
    border: 2px solid rgba(255, 117, 140, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.avatar-gaurav { background: linear-gradient(135deg, #0984e3, #00cec9); border-color: #0984e3; }
.avatar-khushi { background: linear-gradient(135deg, #9b59b6, #e056fd); border-color: #e056fd; }
.avatar-neha { background: linear-gradient(135deg, #ff793f, #ffb142); border-color: #ffb142; }
.avatar-veena { background: linear-gradient(135deg, #10ac84, #1dd1a1); }
.avatar-gargi { background: linear-gradient(135deg, #fbc531, #e1b12c); }
.avatar-dipika { background: linear-gradient(135deg, #eb4d4b, #ff7979); }
.avatar-deya { background: linear-gradient(135deg, #f0932b, #ffbe76); }
.avatar-sahatakshi { background: linear-gradient(135deg, #be2edd, #e056fd); }
.avatar-shruti { background: linear-gradient(135deg, #48dbfb, #0abde3); }
.avatar-yukti { background: linear-gradient(135deg, #2ed573, #7bed9f); }

.avatar-akash { background: linear-gradient(135deg, #f39c12, #e74c3c); }
.avatar-raushan { background: linear-gradient(135deg, #3498db, #9b59b6); }
.avatar-abhishek { background: linear-gradient(135deg, #2ecc71, #1abc9c); }
.avatar-aditya { background: linear-gradient(135deg, #e67e22, #f1c40f); }
.avatar-ashik { background: linear-gradient(135deg, #e84393, #d63031); }
.avatar-pandit { background: linear-gradient(135deg, #ff9f43, #ee5253); border-color: var(--accent-yellow); }
.avatar-squad { background: linear-gradient(135deg, #6c5ce7, #0984e3); }
.avatar-sakhis { background: linear-gradient(135deg, #fd79a8, #e84393); }
.avatar-sweety { background: linear-gradient(135deg, #ff758c, #ff7eb3); border-color: rgba(255, 117, 140, 0.4); }
.avatar-custom { background: linear-gradient(135deg, var(--primary-pink), var(--accent-gold)); }

.friend-badge-verified {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #2ed573;
    color: white;
    font-size: 0.6rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--bg-dark);
}

.gold-verified {
    background: #ffa502;
}

.love-verified {
    background: #ff4757;
}

.friend-info {
    flex-grow: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.friend-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-pure);
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.friend-verified-star {
    font-size: 0.8rem;
}

.friend-role-badge {
    font-size: 0.72rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
    display: inline-block;
    white-space: nowrap;
    align-self: flex-start;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.role-bhai { background: rgba(9, 132, 227, 0.22); color: #74b9ff; border: 1px solid rgba(116, 185, 255, 0.4); }
.role-gaurav { background: rgba(9, 132, 227, 0.22); color: #74b9ff; border: 1px solid rgba(116, 185, 255, 0.4); }
.role-sister { background: rgba(165, 94, 234, 0.22); color: #d2a8ff; border: 1px solid rgba(165, 94, 234, 0.4); }
.role-bff { background: rgba(255, 159, 67, 0.22); color: #feca57; border: 1px solid rgba(254, 202, 87, 0.4); }
.role-sakhi { background: rgba(255, 117, 140, 0.2); color: #ffa7b6; border: 1px solid rgba(255, 167, 182, 0.3); }
.role-boys { background: rgba(52, 152, 219, 0.18); color: #74b9ff; border: 1px solid rgba(116, 185, 255, 0.3); }
.role-pandit { background: rgba(255, 165, 2, 0.2); color: #ffd166; border: 1px solid rgba(255, 209, 102, 0.4); }
.role-gang { background: rgba(155, 89, 182, 0.2); color: #d2a8ff; border: 1px solid rgba(210, 168, 255, 0.3); }
.role-girls { background: rgba(255, 117, 140, 0.2); color: #ffa7b6; border: 1px solid rgba(255, 167, 182, 0.3); }
.role-sweety { background: rgba(255, 105, 180, 0.22); color: #ff9ebb; border: 1px solid rgba(255, 158, 187, 0.4); }

.wish-time-badge {
    font-size: 0.68rem;
    color: var(--accent-gold);
    background: rgba(255, 184, 108, 0.1);
    padding: 3px 7px;
    border-radius: 8px;
    white-space: nowrap;
    align-self: flex-start;
    flex-shrink: 0;
}

.gold-time {
    color: var(--accent-yellow);
    background: rgba(255, 209, 102, 0.15);
    border: 1px solid rgba(255, 209, 102, 0.25);
}

.blue-time {
    color: #74b9ff;
    background: rgba(9, 132, 227, 0.15);
    border: 1px solid rgba(9, 132, 227, 0.25);
}

.blue-tag {
    color: #74b9ff;
}

.pink-time {
    color: #ff6b81;
    background: rgba(255, 75, 130, 0.15);
    border: 1px solid rgba(255, 75, 130, 0.25);
}

.purple-time {
    color: #d2a8ff;
    background: rgba(185, 105, 255, 0.15);
    border: 1px solid rgba(185, 105, 255, 0.25);
}

.wish-card-message {
    font-size: 0.88rem;
    line-height: 1.52;
    color: var(--text-soft);
    margin-bottom: 12px;
    position: relative;
    padding-left: 11px;
    border-left: 2px solid rgba(255, 117, 140, 0.4);
}

.card-special-pandit .wish-card-message {
    border-left-color: var(--accent-yellow);
}

.card-special-gaurav .wish-card-message {
    border-left-color: #38b6ff;
}

.card-special-khushi .wish-card-message {
    border-left-color: #c56cf0;
}

.card-special-neha .wish-card-message {
    border-left-color: #ffaf40;
}

.quote-mark {
    position: absolute;
    top: -9px;
    left: -2px;
    font-size: 1.45rem;
    color: rgba(255, 117, 140, 0.3);
    font-family: serif;
}

.wish-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.wish-reaction-tag {
    font-size: 0.74rem;
    color: var(--text-muted);
    font-weight: 500;
}

.gold-tag {
    color: var(--accent-yellow);
}

.pink-tag {
    color: #ff6b81;
}

.purple-tag {
    color: #d2a8ff;
}

.btn-like-wish {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 117, 140, 0.3);
    color: var(--text-soft);
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-like-wish:hover {
    background: rgba(255, 77, 121, 0.25);
    border-color: var(--primary-pink);
    transform: scale(1.05);
}

.btn-like-wish.liked {
    background: rgba(255, 77, 121, 0.35);
    border-color: var(--primary-pink);
    color: #ffffff;
    box-shadow: 0 0 14px rgba(255, 77, 121, 0.45);
}

.btn-like-gold:hover, .btn-like-gold.liked {
    background: rgba(255, 209, 102, 0.3);
    border-color: var(--accent-yellow);
    box-shadow: 0 0 14px rgba(255, 209, 102, 0.45);
}

/* Add Wish Form Box */
.add-friend-wish-box {
    margin-top: 35px;
    padding: 30px;
    border-radius: 24px;
    border: 1.5px dashed rgba(255, 184, 108, 0.45);
    background: rgba(28, 12, 38, 0.75);
}

.add-wish-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.add-wish-icon {
    font-size: 2rem;
}

.add-wish-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.add-wish-inputs-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.friend-input, .friend-select {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 117, 140, 0.3);
    border-radius: 14px;
    padding: 12px 18px;
    color: var(--text-pure);
    font-size: 0.98rem;
    font-family: var(--font-body);
    outline: none;
    transition: all 0.3s ease;
}

.friend-input {
    flex: 1;
    min-width: 220px;
}

.friend-select {
    min-width: 180px;
    cursor: pointer;
    background-color: #200c2e;
    color: #ffffff;
}

.friend-select option {
    background-color: #200c2e;
    color: #ffffff;
    padding: 10px 14px;
    font-size: 0.98rem;
}

.friend-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 117, 140, 0.3);
    border-radius: 14px;
    padding: 14px 18px;
    color: var(--text-pure);
    font-size: 0.98rem;
    font-family: var(--font-body);
    outline: none;
    resize: none;
    transition: all 0.3s ease;
}

.friend-input:focus, .friend-select:focus, .friend-textarea:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 18px rgba(255, 184, 108, 0.35);
    background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 768px) {
    .friends-wishes-grid {
        grid-template-columns: 1fr;
    }
    .add-wish-inputs-row {
        flex-direction: column;
    }
}

/* ==========================================================================
   MAKE A BIRTHDAY WISH (SHOOTING STAR GENERATOR)
   ========================================================================== */
.wish-section {
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 70px;
}

.wish-card {
    max-width: 600px;
    margin: 30px auto 0;
    padding: 40px 30px;
}

.wish-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.07);
    border: 1.5px solid rgba(255, 117, 140, 0.3);
    border-radius: 18px;
    padding: 16px 20px;
    color: white;
    font-size: 1.1rem;
    font-family: var(--font-body);
    outline: none;
    margin: 20px 0;
    transition: all 0.3s ease;
    resize: none;
}

.wish-input:focus {
    border-color: var(--accent-yellow);
    box-shadow: 0 0 20px rgba(255, 209, 102, 0.4);
    background: rgba(255, 255, 255, 0.12);
}

.wishes-jar {
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    display: none;
}

.wishes-jar.active {
    display: block;
}

/* Footer */
.celebration-footer {
    text-align: center;
    padding: 50px 20px 80px;
    border-top: 1px solid rgba(255, 117, 140, 0.15);
    color: var(--text-muted);
}

.footer-heart {
    color: var(--primary-pink);
    display: inline-block;
    animation: heartBeat 1.4s infinite;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .main-wrapper {
        padding: 80px 15px 40px;
    }
    .hero-photo-showcase {
        width: 100%;
        max-width: 320px;
        height: auto;
        margin: 12px auto 22px;
    }
    .hero-photo-frame {
        width: 220px;
        height: 275px;
        margin: 0 auto;
    }
    .cake-stage {
        transform: scale(0.9);
    }
    .floating-hud {
        top: 10px;
        width: auto;
        max-width: 95%;
        padding: 5px 12px;
        gap: 8px;
        border-radius: 40px;
        justify-content: center;
    }
    .hud-btn {
        padding: 6px;
        min-width: 38px;
        height: 38px;
        border-radius: 50%;
        justify-content: center;
        font-size: 1.15rem;
    }
    .hud-btn .hud-label {
        display: none;
    }
    .music-waves {
        display: none;
    }
}

/* ==========================================================================
   NICKNAME BADGES & "MITHI CHINNI / BABU SONA" AESTHETICS
   ========================================================================== */
.nickname-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 20px auto 30px;
    max-width: 800px;
}

.nickname-pill {
    padding: 8px 20px;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(255, 77, 121, 0.2), rgba(255, 184, 108, 0.25));
    border: 1.5px solid rgba(255, 117, 140, 0.4);
    color: var(--text-soft);
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    animation: floatNickname 4s ease-in-out infinite alternate;
    transition: all 0.3s ease;
    cursor: default;
}

.nickname-pill:nth-child(even) {
    animation-delay: 1.5s;
    background: linear-gradient(135deg, rgba(197, 108, 240, 0.25), rgba(255, 77, 121, 0.2));
    border-color: rgba(197, 108, 240, 0.4);
}

.nickname-pill:hover {
    transform: scale(1.1) rotate(0deg) !important;
    border-color: var(--accent-yellow);
    box-shadow: 0 0 20px rgba(255, 209, 102, 0.5);
}

.mithi-chinni-tag {
    background: linear-gradient(135deg, #ff4d79, #ffd166);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    display: block;
    margin: 6px 0;
    filter: drop-shadow(0 0 15px rgba(255, 77, 121, 0.5));
}

.love-meter-box {
    margin: 28px auto 16px;
    max-width: 620px;
    width: 100%;
    padding: 22px 18px;
    border-radius: 22px;
    background: rgba(24, 10, 32, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid rgba(255, 117, 140, 0.35);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 77, 121, 0.2);
    text-align: center;
    position: relative;
    z-index: 5;
    box-sizing: border-box;
}

.love-meter-bar-container {
    width: 100%;
    height: 24px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50px;
    overflow: hidden;
    margin: 15px 0;
    border: 1.5px solid rgba(255, 77, 121, 0.3);
    position: relative;
}

.love-meter-bar {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #ff4d79, #ff758c, #ffd166, #ff4d79);
    background-size: 200% 100%;
    animation: shimmerText 3s linear infinite;
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(255, 77, 121, 0.6);
}

.floating-click-heart {
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    font-size: 1.8rem;
    animation: heartExplode 1s forwards cubic-bezier(0.1, 0.8, 0.3, 1);
}

/* ==========================================================================
   FLOATING AMBIENT KISS/LOVE EMOJIS & BADGES (EMPTY SPACE FILLERS)
   ========================================================================== */


/* Floating Badges & Pillows in Empty Screen Space (Scoped to Hero Top Screen) */
.ambient-floating-badges {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none !important;
    z-index: 1;
    overflow: hidden;
}

.ambient-floating-badges.celebration-badges {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
}

.floating-love-card {
    position: absolute;
    pointer-events: none !important;
    padding: 11px 24px;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(55, 18, 72, 0.85), rgba(24, 8, 36, 0.92));
    border: 1.5px solid rgba(255, 117, 140, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 77, 121, 0.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    animation: floatDrift 5s ease-in-out infinite alternate;
    user-select: none;
    z-index: 2;
}

.floating-love-card span.highlight {
    color: var(--accent-yellow);
    font-family: var(--font-script);
    font-size: 1.28rem;
}

/* Specific Positions for Floating Badges */
.card-top-left {
    top: 65px;
    left: 4%;
    animation-delay: 0s;
}

.card-top-right {
    top: 70px;
    right: 4%;
    animation-delay: 1.2s;
}

.card-mid-left {
    top: 44%;
    left: 3%;
    animation-delay: 2.4s;
}

.card-mid-right {
    top: 46%;
    right: 3%;
    animation-delay: 1.8s;
}

.card-bottom-left {
    bottom: 70px;
    left: 5%;
    animation-delay: 3s;
}

.card-bottom-right {
    bottom: 75px;
    right: 5%;
    animation-delay: 0.8s;
}

.card-top-mid {
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 2.1s;
}

/* Floating Kiss & Love Emojis */
.floating-kiss-emoji {
    position: absolute;
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    animation: kissPulse 3s ease-in-out infinite alternate, floatDrift 6s ease-in-out infinite alternate;
    pointer-events: none;
    user-select: none;
    filter: drop-shadow(0 0 18px rgba(255, 77, 121, 0.85));
    z-index: 2;
}

.emoji-pos-1 { top: 22%; left: 8%; animation-delay: 0.4s; }
.emoji-pos-2 { top: 28%; right: 9%; animation-delay: 1.5s; font-size: 4rem; }
.emoji-pos-3 { bottom: 24%; left: 7%; animation-delay: 2.2s; font-size: 3.5rem; }
.emoji-pos-4 { bottom: 26%; right: 8%; animation-delay: 0.9s; }
.emoji-pos-5 { top: 12%; left: 35%; animation-delay: 1.8s; }
.emoji-pos-6 { bottom: 12%; right: 35%; animation-delay: 2.8s; }

/* Responsive adjustments for floating items */
@media (max-width: 1100px) {
    .floating-love-card {
        padding: 8px 16px;
        font-size: 0.88rem;
    }
    .card-mid-left, .card-mid-right {
        display: none;
    }
}

@media (max-width: 768px) {
    .floating-love-card {
        display: none;
    }
    .floating-kiss-emoji {
        font-size: 1.8rem;
        opacity: 0.35;
        filter: drop-shadow(0 0 10px rgba(255, 77, 121, 0.5));
    }
    .emoji-pos-5, .emoji-pos-6 {
        display: none;
    }
}

/* ==========================================================================
   CLICK-ANYWHERE LOVE BURST & FLOATING PARTICLES
   ========================================================================== */
.floating-click-heart {
    position: fixed;
    pointer-events: none;
    user-select: none;
    font-size: 1.8rem;
    z-index: 9999;
    transform: translate(-50%, -50%) scale(0.6);
    animation: clickHeartFloat 1.1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    filter: drop-shadow(0 0 10px rgba(255, 77, 121, 0.8));
}

.floating-click-tag {
    position: fixed;
    pointer-events: none;
    user-select: none;
    font-family: var(--font-script);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffd166;
    background: rgba(30, 10, 38, 0.88);
    border: 1px solid rgba(255, 117, 140, 0.5);
    padding: 4px 14px;
    border-radius: 20px;
    z-index: 9999;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(255, 77, 121, 0.4);
    transform: translate(-50%, -50%) scale(0.7);
    animation: clickTagFloat 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes clickHeartFloat {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.6) rotate(0deg);
    }
    50% {
        transform: translate(-50%, -90px) scale(1.3) rotate(15deg);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -150px) scale(0.9) rotate(-15deg);
    }
}

@keyframes clickTagFloat {
    0% {
        opacity: 0;
        transform: translate(-50%, -20%) scale(0.7);
    }
    20% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.05);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -110px) scale(0.9);
    }
}

/* ==========================================================================
   NEW SECTION 1: LOVE STORY TIMELINE (Humari Kahani)
   ========================================================================== */
.timeline-section {
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 70px;
}

.timeline-container {
    position: relative;
    max-width: 780px;
    margin: 45px auto 0;
    padding: 10px 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    background: linear-gradient(180deg, rgba(255, 77, 121, 0.2), #ff4d79, #ffd166, rgba(255, 77, 121, 0.2));
    border-radius: 2px;
}

.timeline-node {
    position: relative;
    margin-bottom: 40px;
    width: 50%;
    text-align: left;
}

.timeline-node:nth-child(odd) {
    left: 0;
    padding-right: 35px;
    text-align: right;
}

.timeline-node:nth-child(even) {
    left: 50%;
    padding-left: 35px;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 20px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #ff4d79, #ffd166);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 0 20px rgba(255, 77, 121, 0.7);
    z-index: 5;
}

.timeline-node:nth-child(odd) .timeline-dot {
    right: -22px;
}

.timeline-node:nth-child(even) .timeline-dot {
    left: -22px;
}

.timeline-card {
    background: rgba(35, 14, 44, 0.85);
    border: 1.5px solid rgba(255, 117, 140, 0.3);
    border-radius: 20px;
    padding: 22px 24px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
    transition: all 0.35s ease;
}

.timeline-card:hover {
    border-color: var(--accent-yellow);
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(255, 77, 121, 0.35);
}

.timeline-date-tag {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--accent-yellow);
    background: rgba(255, 209, 102, 0.15);
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.timeline-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.timeline-desc {
    font-size: 0.98rem;
    color: var(--text-soft);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .timeline-container::before {
        left: 24px;
    }
    .timeline-node {
        width: 100% !important;
        left: 0 !important;
        padding-left: 65px !important;
        padding-right: 10px !important;
        text-align: left !important;
    }
    .timeline-dot {
        left: 3px !important;
        right: auto !important;
    }
}

/* ==========================================================================
   NEW SECTION 2: 100 THINGS I LOVE ABOUT YOU (Secret Reason Dispenser)
   ========================================================================== */
.dispenser-section {
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 70px;
}

.dispenser-box {
    max-width: 640px;
    margin: 30px auto 0;
    padding: 40px 30px;
    border-radius: 28px;
    background: linear-gradient(165deg, rgba(38, 14, 48, 0.9), rgba(18, 5, 26, 0.95));
    border: 2px solid rgba(255, 117, 140, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.dispenser-display {
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 209, 102, 0.4);
    border-radius: 20px;
    padding: 24px 20px;
    margin: 25px 0;
    transition: all 0.3s ease;
}

.dispenser-number {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dispenser-text {
    font-family: var(--font-script);
    font-size: 1.55rem;
    color: #fff;
    line-height: 1.6;
}

/* ==========================================================================
   NEW SECTION 3: 3 MYSTERY BIRTHDAY GIFT BOXES
   ========================================================================== */
.gifts-section {
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 70px;
}

.gift-boxes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 950px;
    margin: 40px auto 0;
}

.gift-box-card {
    background: linear-gradient(145deg, rgba(40, 15, 52, 0.85), rgba(20, 6, 28, 0.95));
    border: 2px solid rgba(255, 117, 140, 0.3);
    border-radius: 24px;
    padding: 35px 22px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.gift-box-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-yellow);
    box-shadow: 0 20px 45px rgba(255, 77, 121, 0.4);
}

.gift-icon {
    font-size: 4.2rem;
    margin-bottom: 15px;
    display: inline-block;
    animation: bounceSoft 2.5s ease-in-out infinite;
}

.gift-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffd166;
    margin-bottom: 8px;
}

.gift-hint {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.gift-opened-content {
    display: none;
    margin-top: 15px;
    padding: 15px;
    background: rgba(255, 209, 102, 0.12);
    border: 1px dashed var(--accent-yellow);
    border-radius: 16px;
    animation: fadeIn 0.5s ease forwards;
}

.gift-box-card.opened .gift-opened-content {
    display: block;
}

.gift-box-card.opened .gift-hint {
    display: none;
}

/* ==========================================================================
   NEW SECTION 4: BABU'S 7 SACRED BIRTHDAY VOWS (7 Wade)
   ========================================================================== */
.vows-section {
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 70px;
}

.vows-scroll {
    max-width: 780px;
    margin: 40px auto 0;
    background: linear-gradient(135deg, #fffdf7 0%, #f6edd9 100%);
    border: 3px solid #dfc7a2;
    border-radius: 28px;
    padding: 45px 35px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), inset 0 0 50px rgba(212, 169, 120, 0.35);
    color: #2b1124;
    text-align: left;
}

.vows-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px dashed rgba(180, 130, 80, 0.4);
    padding-bottom: 20px;
}

.vows-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.vow-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-family: var(--font-script);
    font-size: 1.35rem;
    line-height: 1.5;
    color: #2c1226;
    font-weight: 600;
}

.vow-num {
    background: #c0392b;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 3px;
}

.vows-footer {
    margin-top: 30px;
    padding-top: 18px;
    border-top: 2px dashed rgba(180, 130, 80, 0.4);
    text-align: right;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: #c0392b;
}

/* ==========================================================================
   ROMANTIC MUSIC INTERLUDES ("Biche Biche" Section Players)
   ========================================================================== */
.music-interlude-section {
    max-width: 860px;
    margin: 45px auto;
    padding: 0 15px;
    position: relative;
    z-index: 5;
}

.music-interlude-card {
    background: linear-gradient(135deg, rgba(38, 14, 48, 0.92), rgba(18, 6, 26, 0.95));
    border: 1.5px solid rgba(255, 117, 140, 0.35);
    border-radius: 26px;
    padding: 24px 28px;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.65), 0 0 30px rgba(255, 77, 121, 0.15);
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
    transition: all 0.35s ease;
}

.music-interlude-card:hover {
    border-color: var(--accent-yellow);
    box-shadow: 0 20px 50px rgba(255, 77, 121, 0.3);
    transform: translateY(-3px);
}

.music-interlude-card.is-playing {
    border-color: #ff4d79;
    box-shadow: 0 0 40px rgba(255, 77, 121, 0.4), inset 0 0 25px rgba(255, 77, 121, 0.1);
}

/* Glowing Neon Edge Accent */
.music-interlude-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff4d79, #ffd166, #ff758c, #7d5fff);
}

/* Vinyl Disc Showcase */
.vinyl-disc-wrapper {
    position: relative;
    flex-shrink: 0;
    width: 90px;
    height: 90px;
}

.vinyl-disc {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, #1a1a1a 0%, #0d0d0d 60%, #2a2a2a 100%);
    border: 3px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.7);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-interlude-card.is-playing .vinyl-disc {
    animation: spinVinyl 4s linear infinite;
}

@keyframes spinVinyl {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.vinyl-grooves {
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.15);
}

.vinyl-center-label {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff4d79, #ffd166);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 0 10px rgba(255, 77, 121, 0.6);
    z-index: 2;
}

/* Equalizer Bars */
.eq-bars {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 3px;
    align-items: flex-end;
    height: 18px;
    z-index: 3;
}

.eq-bar {
    width: 3px;
    height: 4px;
    background: #ffd166;
    border-radius: 2px;
    transition: height 0.2s ease;
}

.music-interlude-card.is-playing .eq-bar:nth-child(1) { animation: eqJump 0.6s infinite alternate; }
.music-interlude-card.is-playing .eq-bar:nth-child(2) { animation: eqJump 0.4s 0.2s infinite alternate; }
.music-interlude-card.is-playing .eq-bar:nth-child(3) { animation: eqJump 0.7s 0.1s infinite alternate; }
.music-interlude-card.is-playing .eq-bar:nth-child(4) { animation: eqJump 0.5s 0.3s infinite alternate; }

@keyframes eqJump {
    from { height: 4px; }
    to { height: 18px; }
}

/* Song Details */
.music-interlude-info {
    flex: 1;
    min-width: 0;
}

.music-tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--accent-yellow);
    background: rgba(255, 209, 102, 0.14);
    padding: 3px 10px;
    border-radius: 14px;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.music-song-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 3px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.music-artist-name {
    font-size: 0.92rem;
    color: var(--accent-gold);
    margin-bottom: 6px;
    font-weight: 600;
}

.music-dedication-quote {
    font-size: 0.94rem;
    color: var(--text-soft);
    font-style: italic;
    line-height: 1.45;
    margin-bottom: 12px;
}

/* Audio Scrubber & Timers */
.music-scrubber-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.music-time {
    font-size: 0.8rem;
    font-family: monospace;
    color: var(--text-muted);
    min-width: 42px;
}

.music-progress-bar-bg {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.music-progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ff4d79, #ffd166);
    border-radius: 6px;
    transition: width 0.1s linear;
}

/* Action Buttons */
.music-action-row,
.music-actions-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 14px;
    width: 100%;
}

.music-mood-badge-wrap {
    display: flex;
    align-items: center;
    margin-top: 10px;
    width: 100%;
}

.music-mood-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--accent-gold);
    background: rgba(255, 209, 102, 0.12);
    border: 1px solid rgba(255, 209, 102, 0.4);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.btn-song-play {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff4d79, #ff758c);
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 8px 18px;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 77, 121, 0.4);
    transition: all 0.25s ease;
}

.btn-song-play:hover {
    transform: scale(1.04);
    box-shadow: 0 6px 20px rgba(255, 77, 121, 0.6);
}

.btn-song-mainpart {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, #ffd166, #ffb86c);
    color: #2b1124;
    border: none;
    border-radius: 30px;
    padding: 8px 18px;
    font-size: 0.92rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 209, 102, 0.4);
    transition: all 0.25s ease;
}

.btn-song-mainpart:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 22px rgba(255, 209, 102, 0.7);
    color: #1a0815;
}

/* ==========================================================================
   FLOATING MASTER ROMANTIC JUKEBOX (Bottom Dock)
   ========================================================================== */
/* Hide floating master player and lyrics pill whenever quiz is active or surprise modal is active */
body.quiz-active #floating-master-player,
body.quiz-active #floating-lyrics-pill,
body.quiz-active .floating-master-player,
body.quiz-active .floating-lyrics-pill,
#quiz-overlay:not(.hidden) ~ #floating-master-player,
#quiz-overlay:not(.hidden) ~ #floating-lyrics-pill,
.surprise-modal-overlay.active ~ #floating-master-player,
.surprise-modal-overlay.active ~ #floating-lyrics-pill,
#surprise-modal.active ~ #floating-master-player,
#surprise-modal.active ~ #floating-lyrics-pill {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateX(-50%) translateY(160px) !important;
}

.floating-master-player {
    position: fixed;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 36px);
    max-width: 820px;
    background: rgba(22, 7, 30, 0.94);
    border: 1.5px solid rgba(255, 117, 140, 0.4);
    border-radius: 24px;
    padding: 12px 20px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 77, 121, 0.25);
    backdrop-filter: blur(20px);
    z-index: 9999;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-master-player.collapsed {
    transform: translateX(-50%) translateY(90px);
    opacity: 0;
    pointer-events: none;
}

.floating-player-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex: 1;
}

.floating-player-vinyl {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: radial-gradient(circle, #222, #000);
    border: 2px solid #ffd166;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 0 12px rgba(255, 209, 102, 0.5);
}

.floating-master-player.is-playing .floating-player-vinyl {
    animation: spinVinyl 3.5s linear infinite;
}

.floating-player-meta {
    min-width: 0;
}

.floating-player-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.floating-player-artist {
    font-size: 0.8rem;
    color: var(--accent-gold);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.floating-player-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.f-btn-ctrl {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.f-btn-ctrl:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.08);
}

.f-btn-ctrl.main-play {
    background: linear-gradient(135deg, #ff4d79, #ff758c);
    border: none;
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(255, 77, 121, 0.5);
}

.f-btn-ctrl.main-play:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 77, 121, 0.8);
}

.f-btn-mainpart {
    background: linear-gradient(135deg, #ffd166, #ffb86c);
    color: #2b1124;
    border: none;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 3px 12px rgba(255, 209, 102, 0.4);
    transition: all 0.2s ease;
}

.f-btn-mainpart:hover {
    transform: scale(1.06);
    box-shadow: 0 5px 16px rgba(255, 209, 102, 0.7);
}

.f-btn-special {
    background: linear-gradient(135deg, #ff4d79, #ff758c);
    color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 3px 12px rgba(255, 77, 121, 0.45);
    transition: all 0.2s ease;
}

.f-btn-special:hover {
    transform: scale(1.06);
    box-shadow: 0 5px 16px rgba(255, 77, 121, 0.7);
}

.f-btn-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 4px;
    margin-left: 4px;
    transition: color 0.2s;
}

.f-btn-close:hover {
    color: #fff;
}

/* Floating Lyrics Pill (Live Romantic Subtitle above Master Player) */
.floating-lyrics-pill {
    position: fixed;
    bottom: 92px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(32, 11, 44, 0.94), rgba(18, 5, 26, 0.96));
    border: 1.5px solid rgba(255, 209, 102, 0.55);
    border-radius: 30px;
    padding: 7px 22px;
    font-family: var(--font-script);
    font-size: 1.28rem;
    color: #ffd166;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.65), 0 0 20px rgba(255, 209, 102, 0.25);
    backdrop-filter: blur(14px);
    z-index: 9998;
    white-space: nowrap;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 8px;
}

.floating-lyrics-pill.hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
    pointer-events: none;
}

/* Mood Jukebox Quick Bar */
.mood-jukebox-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 30px auto 15px;
    max-width: 860px;
    padding: 0 15px;
}

.btn-mood-chip {
    background: linear-gradient(145deg, rgba(38, 14, 48, 0.88), rgba(18, 6, 26, 0.92));
    border: 1.5px solid rgba(255, 117, 140, 0.35);
    color: #fff;
    border-radius: 22px;
    padding: 9px 18px;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.btn-mood-chip:hover {
    background: linear-gradient(135deg, #ff4d79, #ffd166);
    color: #24081e;
    border-color: #ffd166;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 77, 121, 0.5);
}

.btn-mood-chip.active {
    background: linear-gradient(135deg, #ff4d79, #ffd166);
    color: #24081e;
    border-color: #ffd166;
    box-shadow: 0 0 20px rgba(255, 209, 102, 0.6);
}

/* Favorite Romantic Songs Showcase Header */
.favorite-showcase-header {
    text-align: center;
    max-width: 820px;
    margin: 45px auto 15px;
    padding: 24px 20px;
    background: linear-gradient(135deg, rgba(38, 14, 48, 0.75), rgba(18, 6, 26, 0.85));
    border: 1.5px solid rgba(255, 209, 102, 0.35);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 77, 121, 0.2);
}

.showcase-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(255, 209, 102, 0.15);
    border: 1px solid rgba(255, 209, 102, 0.4);
    font-size: 0.86rem;
    font-weight: 700;
    color: #ffd166;
    margin-bottom: 12px;
}

.showcase-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff, #ffd166 60%, #ff8fa3);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.showcase-desc {
    font-size: 1rem;
    color: var(--text-soft);
    line-height: 1.6;
    max-width: 680px;
    margin: 0 auto;
}

.showcase-desc strong {
    color: #ff8fa3;
}

.f-btn-special {
    background: linear-gradient(135deg, #ff3366, #ffd166);
    border: none;
    color: #1a0523;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 18px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(255, 51, 102, 0.6);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.f-btn-special:hover {
    transform: scale(1.08);
    box-shadow: 0 0 22px rgba(255, 209, 102, 0.8);
}

/* ==========================================================================
   COMPREHENSIVE MOBILE RESPONSIVE SYSTEM (<= 768px, <= 640px, <= 380px)
   ========================================================================== */

/* 1. TABLET & MOBILE GENERAL (<= 768px) */
@media (max-width: 768px) {
    .main-wrapper {
        padding: 55px 12px 145px;
    }

    /* Floating Master Player Bottom Dock Rules */
    body.quiz-active #floating-master-player,
    body.quiz-active #floating-lyrics-pill,
    body.quiz-active .floating-master-player,
    body.quiz-active .floating-lyrics-pill,
    #quiz-overlay:not(.hidden) ~ #floating-master-player,
    #quiz-overlay:not(.hidden) ~ #floating-lyrics-pill,
    .surprise-modal-overlay.active ~ #floating-master-player,
    .surprise-modal-overlay.active ~ #floating-lyrics-pill {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .floating-master-player {
        bottom: 8px;
        width: calc(100% - 14px);
        max-width: 440px;
        padding: 7px 10px;
        gap: 6px;
        border-radius: 18px;
        box-shadow: 0 10px 35px rgba(0, 0, 0, 0.85), 0 0 25px rgba(255, 77, 121, 0.25);
    }
    .floating-player-vinyl {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
    .floating-player-left {
        gap: 6px;
        min-width: 0;
        flex: 1 1 auto;
        overflow: hidden;
    }
    .floating-player-title {
        font-size: 0.78rem;
        max-width: 90px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .floating-player-artist {
        font-size: 0.66rem;
        max-width: 90px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .floating-player-controls {
        gap: 4px;
        flex-shrink: 0;
    }
    .f-btn-ctrl {
        width: 29px;
        height: 29px;
        font-size: 0.82rem;
    }
    .f-btn-ctrl.main-play {
        width: 35px;
        height: 35px;
        font-size: 0.98rem;
    }
    .f-btn-mainpart span.label-text,
    .f-btn-special span.label-text {
        display: none;
    }
    .f-btn-mainpart,
    .f-btn-special {
        padding: 5px 8px;
        font-size: 0.92rem;
        border-radius: 14px;
        min-width: 28px;
        justify-content: center;
        gap: 0;
    }
    .f-btn-close {
        font-size: 0.95rem;
        padding: 2px;
        margin-left: 0;
    }

    .floating-lyrics-pill {
        bottom: 60px !important;
        font-size: 0.82rem !important;
        padding: 4px 14px !important;
        max-width: calc(100% - 24px) !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    /* Music Interlude Cards on Tablet / Mobile */
    .music-interlude-card {
        flex-direction: column;
        text-align: center;
        padding: 18px 14px;
        gap: 14px;
    }
    .music-song-title {
        justify-content: center;
        font-size: 1.15rem;
    }
    .music-action-row,
    .music-actions-row {
        justify-content: center;
        gap: 8px;
        flex-wrap: wrap;
        margin-top: 12px;
        width: 100%;
    }
    .btn-song-play {
        padding: 9px 18px;
        font-size: 0.88rem;
    }
    .btn-song-mainpart {
        padding: 9px 15px;
        font-size: 0.84rem;
    }
    .music-mood-badge-wrap {
        justify-content: center;
        margin-top: 8px;
    }
    .music-mood-indicator {
        font-size: 0.8rem;
        padding: 5px 14px;
    }

    /* Friends Wishes Wall Grid & Cards */
    .friends-wishes-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .friend-wish-card {
        padding: 15px 13px !important;
        border-radius: 14px !important;
        overflow: hidden !important;
    }
    .wish-card-top {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        margin-bottom: 10px !important;
    }
    .friend-info {
        min-width: 0 !important;
        flex: 1 1 auto !important;
        display: flex !important;
        flex-direction: column !important;
    }
    .friend-name {
        font-size: 0.95rem !important;
    }
    .wish-time-badge {
        font-size: 0.62rem !important;
        padding: 2px 6px !important;
        align-self: center !important;
        flex-shrink: 0 !important;
    }
    .wish-card-message p {
        font-size: 0.84rem !important;
        line-height: 1.48 !important;
    }
    .wishes-filter-bar {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 6px !important;
        margin-bottom: 20px !important;
    }
    .wish-filter-chip {
        font-size: 0.8rem !important;
        padding: 6px 14px !important;
    }
    .add-friend-wish-box {
        padding: 20px 16px !important;
    }
    .add-wish-inputs-row {
        flex-direction: column !important;
        gap: 10px !important;
    }
    #btn-post-friend-wish {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* 2. SMARTPHONES & COMPACT SCREENS (<= 640px) */
@media (max-width: 640px) {

    /* Hero Section Responsive Typography */
    .hero-crown-badge {
        font-size: 0.78rem !important;
        padding: 6px 14px !important;
        margin-bottom: 12px !important;
        max-width: 95% !important;
        line-height: 1.3 !important;
        text-align: center !important;
    }
    .hero-main-title {
        margin-top: 8px !important;
        margin-bottom: 14px !important;
    }
    .hero-main-title .gradient-text {
        font-size: clamp(1.8rem, 6.8vw, 2.5rem) !important;
        line-height: 1.15 !important;
    }
    .mithi-chinni-tag {
        font-size: clamp(1.8rem, 7.2vw, 2.6rem) !important;
        margin-top: 10px !important;
        margin-bottom: 8px !important;
        line-height: 1.15 !important;
    }
    .hero-romantic-script {
        font-size: clamp(1.35rem, 5.2vw, 1.95rem) !important;
        margin-top: 8px !important;
        margin-bottom: 10px !important;
        line-height: 1.25 !important;
    }
    .hero-date-tag {
        font-size: 0.8rem !important;
        padding: 5px 12px !important;
        margin: 8px auto 14px !important;
        line-height: 1.3 !important;
    }
    .hero-photo-showcase {
        width: 100% !important;
        max-width: 270px !important;
        height: auto !important;
        margin: 8px auto 18px !important;
    }
    .hero-photo-frame {
        width: 185px !important;
        height: 235px !important;
        margin: 0 auto !important;
    }
    .hero-photo-title {
        font-size: 1rem !important;
        line-height: 1.3 !important;
    }

    /* Heartfelt Security Verification Quiz Overlay (Zero Cut-Off & Clean Fit) */
    #quiz-overlay {
        padding: 12px 10px !important;
        align-items: center !important;
        justify-content: center !important;
        overflow-y: auto !important;
    }
    .quiz-container {
        padding: 22px 16px 18px !important;
        width: 100% !important;
        max-width: 420px !important;
        max-height: 92vh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        border-radius: 24px !important;
        box-sizing: border-box !important;
        margin: auto !important;
    }
    .quiz-badge {
        font-size: 0.78rem !important;
        padding: 5px 14px !important;
        margin-bottom: 22px !important;
    }

    /* Photo Frame: Fixed overlapping swap button and couple tags */
    .quiz-avatar-wrapper {
        width: 140px !important;
        height: 165px !important;
        margin: 6px auto 24px !important;
        border-radius: 20px !important;
        position: relative !important;
    }
    .quiz-avatar-crown {
        font-size: 1.4rem !important;
        top: -16px !important;
    }
    .quiz-avatar-inner, .quiz-avatar {
        border-radius: 18px !important;
    }
    .quiz-avatar-tag {
        font-size: 0.75rem !important;
        padding: 4px 12px !important;
        bottom: -12px !important;
        white-space: nowrap !important;
        box-shadow: 0 4px 14px rgba(255, 77, 121, 0.45) !important;
    }
    /* Position Swap Photo button neatly at bottom of photo above the tag */
    .quiz-avatar-switch-btn {
        position: absolute !important;
        bottom: 22px !important;
        left: 50% !important;
        right: auto !important;
        top: auto !important;
        transform: translateX(-50%) !important;
        padding: 2.5px 8px !important;
        font-size: 0.68rem !important;
        border-radius: 10px !important;
        background: rgba(18, 5, 26, 0.88) !important;
        border: 1px solid rgba(255, 209, 102, 0.65) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
        z-index: 10 !important;
        white-space: nowrap !important;
    }

    /* Quiz Title and Description */
    .quiz-title {
        font-size: 1.25rem !important;
        margin-bottom: 8px !important;
        line-height: 1.3 !important;
    }
    .quiz-desc {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        margin-bottom: 16px !important;
    }

    /* Runaway Action Buttons */
    .runaway-actions {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
        width: 100% !important;
    }
    #btn-yes-identity {
        width: 100% !important;
        max-width: 320px !important;
        padding: 12px 18px !important;
        font-size: 0.94rem !important;
        border-radius: 50px !important;
        line-height: 1.3 !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }
    #btn-no-runaway {
        padding: 8px 18px !important;
        font-size: 0.82rem !important;
    }

    /* Quiz Progress Dots */
    .quiz-progress {
        margin-top: 14px !important;
        gap: 6px !important;
    }
    .progress-dot {
        width: 7px !important;
        height: 7px !important;
    }
    .progress-dot.active {
        width: 22px !important;
    }

    /* Front Page Special Dedication Song Mini-Banner (Flawless Mobile Typography & EQ) */
    .quiz-special-music-banner {
        margin-top: 14px !important;
        padding: 9px 12px 14px !important;
        border-radius: 16px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        box-sizing: border-box !important;
        width: 100% !important;
        position: relative !important;
    }
    .quiz-music-left {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
        overflow: hidden !important;
    }
    .quiz-music-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.82rem !important;
        flex-shrink: 0 !important;
    }
    .quiz-music-info {
        min-width: 0 !important;
        flex: 1 1 auto !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 2px !important;
    }
    .quiz-music-title {
        font-size: 0.78rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        letter-spacing: 0.1px !important;
        line-height: 1.25 !important;
    }
    .quiz-music-subtitle {
        font-size: 0.69rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        line-height: 1.2 !important;
    }
    .quiz-music-eq {
        flex-shrink: 0 !important;
        margin-left: 6px !important;
        height: 16px !important;
        gap: 2.5px !important;
    }
    .quiz-music-eq .eq-bar {
        width: 2.5px !important;
    }
    .quiz-special-progress-bg {
        height: 3px !important;
        border-bottom-left-radius: 16px !important;
        border-bottom-right-radius: 16px !important;
    }

    /* Date Lock PIN Input & Hint */
    .pin-input-group {
        gap: 3px !important;
        margin: 12px auto 8px !important;
    }
    .pin-digit {
        width: clamp(26px, 8vw, 36px) !important;
        height: clamp(38px, 11vw, 48px) !important;
        font-size: 1.15rem !important;
        border-radius: 8px !important;
    }
    .pin-separator {
        font-size: 1.1rem !important;
    }
    .pin-hint {
        font-size: 0.8rem !important;
        margin-top: 8px !important;
    }

    /* Multiple Choice Options List */
    .quiz-options-list {
        gap: 9px !important;
        margin-top: 10px !important;
    }
    .quiz-option-card {
        padding: 11px 14px !important;
        font-size: 0.88rem !important;
        border-radius: 14px !important;
        line-height: 1.35 !important;
    }
}

/* 3. ULTRA-COMPACT SCREENS (<= 380px, e.g. iPhone SE, 360px Android) */
@media (max-width: 380px) {
    #quiz-overlay {
        padding: 8px 6px !important;
    }
    .quiz-container {
        padding: 16px 12px 14px !important;
        border-radius: 20px !important;
    }
    .quiz-badge {
        font-size: 0.72rem !important;
        padding: 4px 10px !important;
        margin-bottom: 18px !important;
    }
    .quiz-avatar-wrapper {
        width: 120px !important;
        height: 140px !important;
        margin: 4px auto 18px !important;
    }
    .quiz-avatar-crown {
        font-size: 1.25rem !important;
        top: -14px !important;
    }
    .quiz-avatar-tag {
        font-size: 0.7rem !important;
        padding: 3px 10px !important;
        bottom: -10px !important;
    }
    .quiz-avatar-switch-btn {
        bottom: 20px !important;
        left: 50% !important;
        right: auto !important;
        top: auto !important;
        transform: translateX(-50%) !important;
        padding: 2px 6px !important;
        font-size: 0.62rem !important;
    }
    .quiz-title {
        font-size: 1.15rem !important;
    }
    .quiz-desc {
        font-size: 0.84rem !important;
        margin-bottom: 12px !important;
    }
    #btn-yes-identity {
        padding: 10px 14px !important;
        font-size: 0.88rem !important;
    }
    .quiz-special-music-banner {
        padding: 7px 10px 12px !important;
    }
    .quiz-music-btn {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.75rem !important;
    }
    .quiz-music-title {
        font-size: 0.74rem !important;
    }
    .quiz-music-subtitle {
        font-size: 0.65rem !important;
    }
    .quiz-music-eq {
        height: 14px !important;
        gap: 2px !important;
    }
    .quiz-music-eq .eq-bar {
        width: 2px !important;
    }
}

/* ==========================================================================
   IRON MAN "LOVE YOU 3000" & ARC REACTOR SECTION
   ========================================================================== */
.arc-reactor-section {
    position: relative;
    z-index: 5;
    max-width: 1000px;
    margin: 40px auto 60px;
    padding: 50px 30px;
    background: radial-gradient(circle at 50% 30%, rgba(0, 242, 254, 0.08), rgba(15, 23, 42, 0.95));
    border: 1.5px solid rgba(0, 242, 254, 0.35);
    border-radius: 28px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 242, 254, 0.15);
    text-align: center;
    overflow: hidden;
}

.arc-reactor-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00f2fe, #ff4d79, #ffd166, #00f2fe, transparent);
    animation: neonFlow 4s linear infinite;
}

.iron-man-badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(255, 77, 121, 0.2));
    border: 1px solid rgba(0, 242, 254, 0.5);
    color: #00f2fe;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
}

.gradient-text-ironman {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #ff4d79 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 8px;
}

.iron-man-subtitle {
    display: block;
    font-family: var(--font-script, cursive);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: #ffd166;
    margin-bottom: 15px;
    text-shadow: 0 0 12px rgba(255, 209, 102, 0.4);
}

.iron-man-lead {
    max-width: 780px;
    margin: 0 auto 35px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #cbd5e1;
}

/* ARC REACTOR INTERACTIVE VISUAL */
.arc-reactor-container {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    margin: 15px auto 40px;
    transition: transform 0.3s ease;
    user-select: none;
}

.arc-reactor-container:hover {
    transform: scale(1.03);
}

.arc-reactor-container:active {
    transform: scale(0.97);
}

.arc-reactor-housing {
    position: relative;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, #0b192e 20%, #030712 90%);
    border: 8px solid #1e293b;
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.4), inset 0 0 25px rgba(0, 242, 254, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.arc-reactor-housing.overcharged {
    box-shadow: 0 0 60px rgba(0, 242, 254, 0.9), 0 0 100px rgba(255, 77, 121, 0.6), inset 0 0 40px #00f2fe;
    animation: reactorJolt 0.5s ease-in-out;
}

@keyframes reactorJolt {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.reactor-outer-ring {
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    border: 2px dashed rgba(0, 242, 254, 0.6);
    animation: spinClockwise 20s linear infinite;
}

@keyframes spinClockwise {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.reactor-coils-wrap {
    position: absolute;
    inset: 0;
    border-radius: 50%;
}

.reactor-coil {
    position: absolute;
    width: 14px;
    height: 22px;
    background: linear-gradient(to bottom, #d97706, #f59e0b);
    border: 1px solid #78350f;
    border-radius: 3px;
    top: 6px;
    left: calc(50% - 7px);
    transform-origin: 7px 104px;
    transform: rotate(var(--coil-deg, 0deg));
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

.reactor-inner-ring {
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 3px solid rgba(0, 242, 254, 0.7);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: spinCounterClockwise 15s linear infinite;
}

@keyframes spinCounterClockwise {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

.reactor-triangle {
    width: 65px;
    height: 65px;
    border: 2px solid rgba(255, 209, 102, 0.8);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    background: rgba(0, 242, 254, 0.05);
}

.reactor-core-disc {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, #ffffff 10%, #00f2fe 60%, #0369a1 95%);
    box-shadow: 0 0 35px #00f2fe, 0 0 60px rgba(0, 242, 254, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: reactorPulse 2s ease-in-out infinite alternate;
    z-index: 3;
}

@keyframes reactorPulse {
    0% {
        box-shadow: 0 0 25px #00f2fe, 0 0 45px rgba(0, 242, 254, 0.6);
        transform: scale(0.96);
    }
    100% {
        box-shadow: 0 0 45px #00f2fe, 0 0 80px rgba(0, 242, 254, 0.95);
        transform: scale(1.04);
    }
}

.reactor-core-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    color: #030712;
    font-weight: 900;
    user-select: none;
}

.reactor-val {
    font-size: 1.25rem;
    font-family: var(--font-heading, sans-serif);
    letter-spacing: 1px;
    color: #0f172a;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.reactor-lbl {
    font-size: 0.62rem;
    letter-spacing: 2px;
    color: #0f172a;
    font-weight: 800;
}

.reactor-engraving {
    margin-top: 18px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffd166;
    text-shadow: 0 0 10px rgba(255, 209, 102, 0.5);
}

.reactor-tap-hint {
    margin-top: 6px;
    font-size: 0.82rem;
    color: #94a3b8;
    animation: pulseSoft 2s infinite ease-in-out;
}

/* DIALOGUE CARDS GRID */
.iron-man-dialogue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 35px;
    text-align: left;
}

.dialogue-quote-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 22px 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dialogue-quote-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 242, 254, 0.4);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.dialogue-quote-card.stark-card {
    border-color: rgba(0, 242, 254, 0.4);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(0, 242, 254, 0.08));
}

.dialogue-quote-card.babu-card {
    border-color: rgba(255, 77, 121, 0.45);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(255, 77, 121, 0.1));
}

.dialogue-speaker {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.speaker-avatar {
    font-size: 1.8rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
}

.speaker-info {
    display: flex;
    flex-direction: column;
}

.speaker-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #f8fafc;
}

.speaker-role {
    font-size: 0.75rem;
    color: #94a3b8;
}

.dialogue-quote {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #e2e8f0;
    font-style: italic;
    position: relative;
    padding-left: 12px;
    border-left: 3px solid #00f2fe;
}

.dialogue-quote-card.babu-card .dialogue-quote {
    border-left-color: #ff4d79;
    color: #fff;
}

/* STARK HUD BOX */
.ironman-hud-box {
    background: rgba(10, 15, 30, 0.85);
    border: 1.5px solid rgba(0, 242, 254, 0.4);
    border-radius: 20px;
    padding: 24px;
    text-align: left;
    box-shadow: inset 0 0 20px rgba(0, 242, 254, 0.1);
}

.stark-hud-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0, 242, 254, 0.2);
    margin-bottom: 16px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.hud-status {
    color: #34d399;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hud-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 8px #34d399;
    animation: blinkFast 1.2s infinite;
}

@keyframes blinkFast {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hud-target {
    color: #ffd166;
}

.hud-metric-row {
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.hud-label {
    color: #00f2fe;
    font-weight: 700;
    margin-right: 6px;
}

.hud-value {
    color: #e2e8f0;
}

.ironman-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 20px;
}

.btn-stark-action {
    flex: 1;
    min-width: 220px;
    padding: 14px 22px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-stark-action.charge-btn {
    background: linear-gradient(135deg, #00f2fe, #0284c7);
    color: #030712;
    box-shadow: 0 4px 18px rgba(0, 242, 254, 0.4);
}

.btn-stark-action.charge-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 242, 254, 0.6);
}

.btn-stark-action.vow-btn {
    background: linear-gradient(135deg, #ff4d79, #ffd166);
    color: #1e1b4b;
    box-shadow: 0 4px 18px rgba(255, 77, 121, 0.4);
}

.btn-stark-action.vow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 77, 121, 0.6);
}

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

.reactor-status-toast {
    margin-top: 16px;
    padding: 12px 18px;
    border-radius: 12px;
    background: rgba(0, 242, 254, 0.15);
    border: 1px solid rgba(0, 242, 254, 0.4);
    color: #e0f2fe;
    font-size: 0.95rem;
    line-height: 1.5;
    display: none;
    animation: fadeIn 0.4s ease;
}

.reactor-status-toast.active {
    display: block;
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 640px) {
    .arc-reactor-section {
        padding: 35px 16px;
        margin: 30px 10px 45px;
    }
    .arc-reactor-housing {
        width: 180px;
        height: 180px;
    }
    .reactor-coil {
        height: 18px;
        transform-origin: 7px 84px;
    }
    .reactor-inner-ring {
        width: 105px;
        height: 105px;
    }
    .reactor-triangle {
        width: 50px;
        height: 50px;
    }
    .reactor-core-disc {
        width: 65px;
        height: 65px;
    }
    .reactor-val {
        font-size: 1rem;
    }
    .reactor-engraving {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }
    .ironman-hud-box {
        padding: 16px;
    }
    .btn-stark-action {
        width: 100%;
        min-width: unset;
    }
}






