/* ============================================================
   BIRTHDAY CELEBRATION WEBSITE - STYLE.CSS
   Made with love by Harshal Aade for Chaitali Rathod
   Premium Cinematic Edition
   ============================================================ */

/* ======================== CSS VARIABLES ======================== */
:root {
    --pink: #ff6b9d;
    --pink-light: #ff8fb1;
    --pink-dark: #e84578;
    --pink-neon: #ff2d78;
    --purple: #c084fc;
    --purple-dark: #9333ea;
    --purple-light: #e9d5ff;
    --gold: #fbbf24;
    --gold-light: #fde68a;
    --rose: #f43f7a;
    --white: #ffffff;
    --off-white: #fef7ff;
    --cream: #fff5f7;
    --dark: #0a0612;
    --dark-mid: #130b1e;
    --dark-light: #1e1030;
    --glass-bg: rgba(255, 255, 255, 0.06);
    --glass-bg-strong: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-border-strong: rgba(255, 255, 255, 0.2);
    --glass-shadow: rgba(255, 107, 157, 0.15);
    --font-primary: 'Poppins', sans-serif;
    --font-script: 'Great Vibes', cursive;
    --font-dance: 'Dancing Script', cursive;
    --font-serif: 'Playfair Display', serif;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-spring: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    --shadow-soft: 0 8px 32px rgba(255, 107, 157, 0.15);
    --shadow-glow: 0 0 40px rgba(255, 107, 157, 0.25);
    --shadow-neon: 0 0 20px rgba(255, 45, 120, 0.4), 0 0 60px rgba(255, 45, 120, 0.15);
}

/* ======================== RESET & BASE ======================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background: var(--dark);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.7;
    cursor: default;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100vw;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 24px);
    width: 100%;
    box-sizing: border-box;
}

.section {
    padding: 110px 0;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.section-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(800px, 100vw);
    height: 800px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 107, 157, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.section-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--pink), var(--purple));
    border-radius: 3px;
    margin: 16px auto 0;
}

/* ======================== LOADING SCREEN ======================== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark) 0%, #1a082e 50%, var(--dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 1s ease, visibility 1s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

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

.loader-heart-wrap {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-heart {
    font-size: 50px;
    animation: heartPulse 1s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.loader-ring {
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-top-color: var(--pink);
    border-right-color: var(--purple);
    border-radius: 50%;
    animation: loaderSpin 1.5s linear infinite;
}

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

.loader-text {
    font-family: var(--font-dance);
    font-size: 1.4rem;
    color: var(--pink-light);
    margin: 12px 0;
    animation: fadeInOut 2s ease-in-out infinite;
}

.loader-sub {
    font-family: var(--font-script);
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.25);
    margin-top: 16px;
}

.loader-bar {
    width: 220px;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--pink), var(--purple), var(--gold), var(--pink));
    border-radius: 4px;
    animation: loaderFill 2.5s ease-in-out forwards;
}

@keyframes loaderFill {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

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

@keyframes fadeInOut {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* ======================== TAP TO START OVERLAY ======================== */
.tap-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, var(--dark) 0%, #1a082e 50%, var(--dark) 100%);
    z-index: 99998;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.tap-overlay.active {
    display: flex;
    animation: fadeIn 0.6s ease;
}

.tap-overlay.hiding {
    animation: fadeOut 0.8s ease forwards;
    pointer-events: none;
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; visibility: hidden; }
}

.tap-content {
    text-align: center;
    position: relative;
}

.tap-heart {
    font-size: 4rem;
    animation: heartPulse 1.2s ease-in-out infinite;
    margin-bottom: 24px;
}

.tap-title {
    font-family: var(--font-dance);
    font-size: 1.6rem;
    color: var(--pink-light);
    margin-bottom: 12px;
}

.tap-sub {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeInOut 2s ease-in-out infinite;
}

.tap-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    transform: translate(-50%, -80%);
    border: 2px solid rgba(255, 107, 157, 0.2);
    border-radius: 50%;
    animation: tapRingPulse 2s ease-in-out infinite;
}

@keyframes tapRingPulse {
    0%, 100% { transform: translate(-50%, -80%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -80%) scale(1.3); opacity: 0; }
}

/* ======================== SCROLL PROGRESS BAR ======================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--pink), var(--purple), var(--gold), var(--pink));
    background-size: 300% 100%;
    animation: gradientShift 3s ease infinite;
    z-index: 10001;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(255, 107, 157, 0.5);
}

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

/* ======================== CURSOR GLOW & TRAIL ======================== */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.07) 0%, rgba(192, 132, 252, 0.03) 40%, transparent 70%);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: left 0.15s ease, top 0.15s ease;
}

.cursor-trail {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pink);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 0 10px var(--pink), 0 0 20px var(--pink);
}

body:hover .cursor-trail {
    opacity: 0.6;
}

/* ======================== AURORA BACKGROUND ======================== */
.aurora-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    max-width: 100vw;
}

.aurora-1, .aurora-2, .aurora-3 {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.08;
}

.aurora-1 {
    width: 600px;
    height: 600px;
    background: var(--pink);
    top: -200px;
    right: -100px;
    animation: auroraFloat1 12s ease-in-out infinite alternate;
}

.aurora-2 {
    width: 500px;
    height: 500px;
    background: var(--purple);
    bottom: -150px;
    left: -100px;
    animation: auroraFloat2 15s ease-in-out infinite alternate;
}

.aurora-3 {
    width: 400px;
    height: 400px;
    background: var(--gold);
    top: 40%;
    left: 50%;
    animation: auroraFloat3 10s ease-in-out infinite alternate;
}

@keyframes auroraFloat1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-80px, 60px) scale(1.2); }
}

@keyframes auroraFloat2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, -80px) scale(1.15); }
}

@keyframes auroraFloat3 {
    0% { transform: translate(-50%, 0) scale(1); opacity: 0.05; }
    100% { transform: translate(-50%, -40px) scale(1.3); opacity: 0.1; }
}

/* ======================== FLOATING HEARTS ======================== */
.floating-hearts {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floating-heart {
    position: absolute;
    bottom: -50px;
    font-size: 20px;
    animation: floatUp linear infinite;
    opacity: 0.5;
    filter: blur(0.5px);
}

@keyframes floatUp {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.8;
        transform: translateY(-50vh) translateX(20px) rotate(360deg) scale(0.8);
    }
    100% {
        transform: translateY(-105vh) translateX(-10px) rotate(720deg) scale(0.2);
        opacity: 0;
    }
}

/* ======================== PARTICLES CANVAS ======================== */
#particlesCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* ======================== FIREWORKS CANVAS ======================== */
#fireworksCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9997;
}

/* ======================== MUSIC TOGGLE ======================== */
.music-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
    box-shadow: 0 4px 25px rgba(255, 107, 157, 0.4);
    transition: var(--transition-spring);
    flex-direction: column;
}

.music-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--pink);
    opacity: 0;
    animation: none;
}

.music-toggle.playing .music-pulse {
    animation: musicPulseRing 1.5s ease-out infinite;
}

@keyframes musicPulseRing {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.5); opacity: 0; }
}

.music-toggle:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: var(--shadow-neon);
}

.music-icon {
    font-size: 22px;
    display: block;
}

.music-bars {
    display: none;
    align-items: flex-end;
    gap: 3px;
    height: 20px;
}

.music-toggle.playing .music-icon {
    display: none;
}

.music-toggle.playing .music-bars {
    display: flex;
}

.music-bars span {
    display: block;
    width: 3px;
    background: white;
    border-radius: 3px;
    animation: musicBar 0.8s ease-in-out infinite;
}

.music-bars span:nth-child(1) { height: 8px; animation-delay: 0s; }
.music-bars span:nth-child(2) { height: 14px; animation-delay: 0.1s; }
.music-bars span:nth-child(3) { height: 10px; animation-delay: 0.2s; }
.music-bars span:nth-child(4) { height: 16px; animation-delay: 0.3s; }

@keyframes musicBar {
    0%, 100% { transform: scaleY(0.5); }
    50% { transform: scaleY(1.3); }
}

/* ======================== NAVBAR ======================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    padding: 18px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10000;
    transition: var(--transition);
    background: transparent;
    box-sizing: border-box;
}

.navbar.scrolled {
    background: rgba(10, 6, 18, 0.8);
    backdrop-filter: blur(24px) saturate(1.5);
    -webkit-backdrop-filter: blur(24px) saturate(1.5);
    padding: 12px 40px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-brand {
    font-family: var(--font-script);
    font-size: 1.8rem;
    color: var(--pink-light);
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(255, 107, 157, 0.3);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    padding: 6px 0;
    transition: var(--transition);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--pink), var(--purple));
    transition: width 0.3s ease, left 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--pink-light);
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 10001;
    padding: 4px;
}

.nav-hamburger span {
    width: 26px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ======================== HERO SECTION ======================== */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #0a0612 0%, #1a082e 30%, #12061e 60%, #0a0612 100%);
    overflow: hidden;
    text-align: center;
    padding: 70px 0 60px;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    max-width: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.shape-1 {
    width: 500px; height: 500px;
    background: rgba(255, 107, 157, 0.07);
    top: -10%; right: -5%;
    animation: shapeFloat 15s ease-in-out infinite alternate;
}

.shape-2 {
    width: 400px; height: 400px;
    background: rgba(192, 132, 252, 0.06);
    bottom: -10%; left: -5%;
    animation: shapeFloat 12s ease-in-out infinite alternate-reverse;
}

.shape-3 {
    width: 300px; height: 300px;
    background: rgba(251, 191, 36, 0.04);
    top: 40%; left: 20%;
    animation: shapeFloat 18s ease-in-out infinite alternate;
}

.shape-4 {
    width: 250px; height: 250px;
    background: rgba(255, 45, 120, 0.05);
    top: 20%; right: 20%;
    animation: shapeFloat 14s ease-in-out infinite alternate-reverse;
}

@keyframes shapeFloat {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.1); }
    100% { transform: translate(-20px, 30px) scale(0.95); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 20%, rgba(10, 6, 18, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 5;
    padding: 20px;
    max-width: 850px;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 28px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gold-light);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin-bottom: 32px;
    animation: fadeInDown 1s ease 0.5s both;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    animation: dotPulse 2s ease-in-out infinite;
    box-shadow: 0 0 8px var(--gold);
}

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

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 10px;
    animation: fadeInUp 1s ease 0.8s both;
    text-shadow: 0 4px 40px rgba(255, 107, 157, 0.2);
}

.hero-name {
    font-family: var(--font-script);
    font-size: clamp(3.5rem, 9vw, 7rem);
    background: linear-gradient(135deg, var(--pink-light), var(--purple), var(--gold), var(--pink-light));
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shineText 4s ease-in-out infinite, fadeInUp 1s ease 0.8s both;
    display: inline-block;
    filter: drop-shadow(0 0 30px rgba(255, 107, 157, 0.3));
}

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

.hero-subtitle {
    font-family: var(--font-dance);
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    min-height: 40px;
    animation: fadeIn 1s ease 1.2s both;
}

.hero-subtitle .typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background: var(--pink-light);
    margin-left: 3px;
    animation: blink 0.8s step-end infinite;
    vertical-align: text-bottom;
}

@keyframes blink {
    50% { opacity: 0; }
}

.hero-cta {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 55px;
    animation: fadeInUp 1s ease 1.5s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 34px;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-spring);
    border: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.btn:hover .btn-shine {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--pink), var(--rose));
    color: var(--white);
    box-shadow: 0 4px 20px rgba(255, 107, 157, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-neon);
}

.btn-secondary {
    background: var(--glass-bg-strong);
    color: var(--white);
    border: 1px solid var(--glass-border-strong);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.btn-secondary:hover {
    transform: translateY(-4px) scale(1.02);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-soft);
    border-color: var(--pink);
}

.btn-icon {
    font-size: 1.1rem;
}

/* Countdown */
.countdown {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    animation: fadeInUp 1s ease 1.8s both;
}

.countdown-sep {
    font-size: 1.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.2);
    margin-top: -20px;
}

.countdown-item {
    text-align: center;
    transition: var(--transition);
}

.countdown-inner {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 18px;
    padding: 18px 24px;
    min-width: 85px;
    transition: var(--transition);
}

.countdown-item:hover .countdown-inner {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--pink);
}

.countdown-value {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--pink-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.countdown-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 8px;
    display: block;
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 5;
    animation: fadeIn 1s ease 2.5s both;
}

.hero-scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
}

.scroll-arrow {
    width: 18px;
    height: 18px;
    border-right: 2px solid rgba(255, 255, 255, 0.3);
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    transform: rotate(45deg);
    margin: 10px auto 0;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.3; }
    50% { transform: rotate(45deg) translate(5px, 5px); opacity: 0.8; }
}

/* ======================== SECTION HEADERS ======================== */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-tag {
    display: inline-block;
    padding: 8px 22px;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.12), rgba(192, 132, 252, 0.12));
    border: 1px solid rgba(255, 107, 157, 0.18);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--pink-light);
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--white), var(--pink-light), var(--white));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-family: var(--font-dance);
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ======================== WISHES SECTION ======================== */
.wishes-section {
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-mid) 50%, var(--dark) 100%);
}

.wishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 24px;
}

.wish-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px 28px 36px;
    text-align: center;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.wish-glow {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.08) 0%, transparent 70%);
    pointer-events: none;
    transition: var(--transition);
}

.wish-card:hover .wish-glow {
    transform: translateX(-50%) scale(1.5);
    opacity: 1.5;
}

.wish-sparkle {
    position: absolute;
    top: 16px;
    right: 20px;
    color: rgba(255, 107, 157, 0.15);
    font-size: 1.2rem;
    transition: var(--transition);
}

.wish-card:hover .wish-sparkle {
    color: rgba(255, 107, 157, 0.5);
    transform: rotate(45deg) scale(1.2);
}

.wish-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 157, 0.04), transparent);
    transition: left 0.6s ease;
}

.wish-card:hover::before {
    left: 100%;
}

.wish-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(255, 107, 157, 0.15);
    border-color: rgba(255, 107, 157, 0.25);
}

.wish-heart {
    font-size: 2.8rem;
    margin-bottom: 18px;
    display: inline-block;
    animation: heartFloat 3s ease-in-out infinite;
}

@keyframes heartFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.05); }
}

.wish-card h3 {
    font-family: var(--font-dance);
    font-size: 1.7rem;
    margin-bottom: 14px;
    color: var(--pink-light);
}

.wish-card p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

/* ======================== QUOTES SECTION ======================== */
.quotes-section {
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-mid) 100%);
}

.quotes-carousel {
    max-width: 700px;
    margin: 0 auto;
}

.quote-card {
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 50px 40px 40px;
    text-align: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    transition: var(--transition);
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.quote-mark {
    position: absolute;
    top: 12px;
    left: 28px;
    font-family: var(--font-serif);
    font-size: 5rem;
    color: rgba(255, 107, 157, 0.12);
    line-height: 1;
    pointer-events: none;
}

.quote-text {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 20px;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.quote-author {
    font-family: var(--font-dance);
    font-size: 1.1rem;
    color: var(--pink-light);
    transition: opacity 0.4s ease;
}

.quote-decoration {
    margin-top: 16px;
    font-size: 1.2rem;
}

.quote-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 28px;
}

.quote-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--white);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.quote-btn:hover {
    background: rgba(255, 107, 157, 0.2);
    border-color: var(--pink);
    transform: scale(1.1);
}

.quote-dots {
    display: flex;
    gap: 8px;
}

.quote-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.quote-dot.active {
    background: var(--pink);
    box-shadow: 0 0 8px var(--pink);
    transform: scale(1.2);
}

/* ======================== LOVE LETTER SECTION ======================== */
.letter-section {
    background: linear-gradient(180deg, #1a0a2e 0%, var(--dark) 100%);
    padding: 120px 0;
}

.letter-wrapper {
    max-width: 680px;
    margin: 0 auto;
    perspective: 1000px;
    width: 100%;
}

.letter-envelope {
    background: linear-gradient(135deg, #e8b4b8, #c97b84);
    border-radius: 12px;
    padding: 60px 30px;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.letter-envelope:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 50px rgba(255, 107, 157, 0.3);
}

.letter-envelope.opened {
    display: none;
}

.envelope-flap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(135deg, #d4979e, #b5686f);
    clip-path: polygon(0 0, 100% 0, 50% 80%);
    transition: transform 0.6s ease;
    transform-origin: top center;
}

.letter-envelope:hover .envelope-flap {
    transform: rotateX(30deg);
}

.envelope-text {
    font-family: var(--font-dance);
    font-size: 1.5rem;
    color: var(--white);
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.letter-content {
    display: none;
    animation: letterOpen 0.8s ease forwards;
}

.letter-content.visible {
    display: block;
}

@keyframes letterOpen {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.letter-paper {
    background: linear-gradient(135deg, #fef7f0, #fff5ee);
    border-radius: 16px;
    padding: 48px 40px;
    color: #4a2040;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.letter-paper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--pink), var(--purple), var(--gold));
}

.letter-header {
    text-align: right;
    margin-bottom: 20px;
}

.letter-date {
    font-size: 0.85rem;
    color: #8b6b80;
    font-style: italic;
}

.letter-greeting {
    font-family: var(--font-script);
    font-size: 2.2rem;
    color: var(--pink-dark);
    margin-bottom: 24px;
}

.letter-body p {
    font-family: var(--font-dance);
    font-size: 1.15rem;
    line-height: 2;
    margin-bottom: 16px;
    color: #5a3050;
}

.letter-signature {
    margin-top: 32px;
    text-align: right;
}

.letter-signature p {
    font-family: var(--font-dance);
    font-size: 1.1rem;
    color: #8b6b80;
}

.signature-name {
    font-family: var(--font-script);
    font-size: 2rem;
    color: var(--pink-dark);
    margin-top: 4px;
}

.letter-heart {
    font-size: 2rem;
    display: inline-block;
    animation: heartPulse 1.5s ease-in-out infinite;
}

/* ======================== ENVELOPE EXTRAS ======================== */
.envelope-seal {
    font-size: 3rem;
    margin-bottom: 12px;
    animation: heartPulse 1.5s ease-in-out infinite;
}

.envelope-hint {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
    font-style: italic;
}

.envelope-sparkles {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    opacity: 0.6;
    animation: fadeInOut 2s ease-in-out infinite;
}

.envelope-sparkles span {
    font-size: 1rem;
}

/* ======================== LETTER PAPER TEXTURE ======================== */
.letter-paper-texture {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.02'/%3E%3C/svg%3E");
    pointer-events: none;
    border-radius: 16px;
}

/* ======================== CAKE SECTION ======================== */
.cake-section {
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-mid) 50%, var(--dark) 100%);
    padding: 100px 0;
}

.cake-wrap {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 60px 40px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.cake-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--pink), var(--purple), var(--gold));
}

.cake-emoji {
    font-size: 5rem;
    margin-bottom: 24px;
    display: inline-block;
    animation: heartFloat 3s ease-in-out infinite;
}

.cake-text {
    font-family: var(--font-dance);
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    line-height: 1.5;
}

.cake-btn {
    font-size: 1rem;
    padding: 16px 40px;
}

.cake-message {
    display: none;
    margin-top: 32px;
    animation: fadeInUp 0.8s ease forwards;
}

.cake-message.visible {
    display: block;
}

.cake-message p {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--pink-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.cake-sub {
    font-family: var(--font-dance);
    font-size: 1.2rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.6) !important;
    background: none !important;
}

/* ======================== FOOTER GLOW ======================== */
.footer-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(600px, 100vw);
    height: 200px;
    background: radial-gradient(ellipse, rgba(255, 107, 157, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

/* ======================== SURPRISE MODAL ======================== */
.surprise-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.surprise-modal.active {
    display: flex;
    animation: fadeIn 0.5s ease;
}

.surprise-content {
    background: linear-gradient(135deg, rgba(45, 10, 62, 0.95), rgba(26, 10, 30, 0.95));
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 50px 40px;
    text-align: center;
    max-width: 500px;
    width: 100%;
    position: relative;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(255, 107, 157, 0.2);
    animation: surpriseSlideIn 0.6s ease;
    box-sizing: border-box;
    overflow: hidden;
}

@keyframes surpriseSlideIn {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.surprise-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 1.8rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
    background: none;
    border: none;
    line-height: 1;
}

.surprise-close:hover {
    color: var(--pink-light);
}

.surprise-heart-big {
    font-size: 4rem;
    animation: heartPulse 1.5s ease-in-out infinite;
    margin-bottom: 20px;
}

.surprise-content h2 {
    font-family: var(--font-dance);
    font-size: clamp(1.2rem, 3vw, 2rem);
    margin-bottom: 12px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    background: linear-gradient(135deg, var(--pink-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.surprise-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.surprise-sparkles {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.surprise-btn {
    font-size: 1rem;
}

/* ======================== EASTER EGG ======================== */
.easter-egg {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 100002;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.easter-egg.active {
    display: flex;
    animation: fadeIn 0.5s ease;
}

.easter-egg-content {
    text-align: center;
    position: relative;
}

.easter-egg-text {
    font-family: var(--font-script);
    font-size: clamp(2.5rem, 6vw, 5rem);
    background: linear-gradient(135deg, var(--pink), var(--purple), var(--gold), var(--pink));
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shineText 2s ease-in-out infinite;
}

.easter-egg-hearts {
    position: absolute;
    inset: -200px;
    pointer-events: none;
}

/* ======================== CONFETTI CANVAS ======================== */
#confettiCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* ======================== FOOTER ======================== */
.footer {
    padding: 60px 0 40px;
    text-align: center;
    background: linear-gradient(180deg, var(--dark) 0%, #0d0618 100%);
    position: relative;
}

.footer-hearts {
    font-size: 2rem;
    margin-bottom: 16px;
    animation: heartPulse 1.5s ease-in-out infinite;
}

.footer-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.footer-text strong {
    color: var(--pink-light);
}

.footer-sub {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-easter {
    display: inline-block;
    margin-top: 24px;
    padding: 8px 20px;
    font-family: var(--font-script);
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition);
    border-radius: 50px;
}

.footer-easter:hover {
    color: var(--pink-light);
    background: rgba(255, 107, 157, 0.1);
}

/* ======================== ANIMATIONS ======================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

/* Scroll-triggered animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ======================== RESPONSIVE DESIGN ======================== */

/* Tablets */
@media (max-width: 1024px) {
    .wishes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .section {
        padding: 70px 0;
    }

    /* Hide desktop-only elements */
    .cursor-glow,
    .cursor-trail {
        display: none !important;
    }

    .navbar {
        display: none !important;
    }

    /* Hide particles and aurora on mobile */
    #particlesCanvas {
        display: none !important;
    }

    .aurora-1, .aurora-2, .aurora-3 {
        opacity: 0.04;
        animation-duration: 20s;
    }

    .floating-hearts {
        display: none !important;
    }

    /* Navbar */
    .navbar {
        padding: 14px 20px;
    }

    .navbar.scrolled {
        padding: 10px 20px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75vw;
        max-width: 300px;
        height: 100vh;
        height: 100dvh;
        background: rgba(10, 6, 18, 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        padding: 100px 36px 40px;
        gap: 28px;
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
        border-left: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-hamburger {
        display: flex;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 8px 0;
    }

    /* Hero */
    .hero {
        padding: 60px 0 70px;
    }

    .hero-content {
        padding: 10px 16px;
    }

    .hero-badge {
        font-size: 0.78rem;
        padding: 8px 16px;
        margin-bottom: 20px;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 4px;
    }

    .hero-name {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 24px;
        min-height: 32px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-bottom: 32px;
    }

    .btn {
        width: 100%;
        max-width: 260px;
        justify-content: center;
        padding: 13px 24px;
        font-size: 0.85rem;
        -webkit-tap-highlight-color: transparent;
    }

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

    /* Countdown */
    .countdown {
        gap: 8px;
    }

    .countdown-sep {
        display: none;
    }

    .countdown-inner {
        padding: 12px 14px;
        min-width: 60px;
        border-radius: 14px;
    }

    .countdown-value {
        font-size: 1.5rem;
    }

    .countdown-label {
        font-size: 0.58rem;
        letter-spacing: 1px;
        margin-top: 6px;
    }

    .hero-scroll-indicator {
        bottom: 16px;
    }

    .hero-scroll-indicator span {
        font-size: 0.6rem;
        letter-spacing: 2px;
    }

    .scroll-arrow {
        width: 14px;
        height: 14px;
    }

    /* Section Headers */
    .section-header {
        margin-bottom: 40px;
    }

    .section-tag {
        font-size: 0.78rem;
        padding: 6px 16px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1.05rem;
    }

    /* Wishes */
    .wishes-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .wish-card {
        padding: 32px 22px 28px;
        border-radius: 20px;
        -webkit-tap-highlight-color: transparent;
    }

    .wish-card:active {
        transform: scale(0.98);
    }

    .wish-heart {
        font-size: 2.2rem;
        margin-bottom: 14px;
    }

    .wish-card h3 {
        font-size: 1.45rem;
    }

    .wish-card p {
        font-size: 0.88rem;
    }

    /* Quotes */
    .quote-card {
        padding: 40px 22px 32px;
        border-radius: 22px;
        min-height: 200px;
    }

    .quote-mark {
        font-size: 3.5rem;
        top: 8px;
        left: 18px;
    }

    .quote-text {
        font-size: 1.1rem;
        line-height: 1.7;
    }

    .quote-author {
        font-size: 0.95rem;
    }

    .quote-btn {
        width: 40px;
        height: 40px;
        -webkit-tap-highlight-color: transparent;
    }

    .quote-btn:active {
        transform: scale(0.9);
        background: rgba(255, 107, 157, 0.3);
    }

    /* Letter */
    .letter-section {
        padding: 80px 0;
    }

    .letter-envelope {
        padding: 50px 24px;
        border-radius: 16px;
        -webkit-tap-highlight-color: transparent;
    }

    .letter-envelope:active {
        transform: scale(0.98);
    }

    .envelope-seal {
        font-size: 2.5rem;
    }

    .envelope-text {
        font-size: 1.25rem;
    }

    .envelope-hint {
        font-size: 0.8rem;
    }

    .letter-paper {
        padding: 28px 20px;
        border-radius: 14px;
    }

    .letter-greeting {
        font-size: 1.7rem;
        margin-bottom: 18px;
    }

    .letter-body p {
        font-size: 1.05rem;
        line-height: 1.9;
        margin-bottom: 14px;
    }

    .signature-name {
        font-size: 1.6rem;
    }

    /* Cake */
    .cake-section {
        padding: 70px 0;
    }

    .cake-wrap {
        padding: 40px 20px;
        border-radius: 24px;
    }

    .cake-emoji {
        font-size: 3.5rem;
        margin-bottom: 18px;
    }

    .cake-text {
        font-size: 1.3rem;
        margin-bottom: 24px;
    }

    .cake-btn {
        padding: 14px 32px;
        font-size: 0.95rem;
        -webkit-tap-highlight-color: transparent;
    }

    .cake-btn:active {
        transform: scale(0.95);
    }

    .cake-message p {
        font-size: 1.3rem;
    }

    /* Surprise */
    .surprise-modal {
        padding: 16px;
    }

    .surprise-content {
        padding: 32px 20px;
        border-radius: 22px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .surprise-heart-big {
        font-size: 3rem;
    }

    .surprise-content h2 {
        font-size: 1.25rem;
        word-wrap: break-word;
        padding: 0 4px;
    }

    .surprise-content p {
        font-size: 0.92rem;
        padding: 0 4px;
    }

    .surprise-sparkles {
        font-size: 1.3rem;
    }

    .surprise-btn {
        padding: 14px 24px;
        font-size: 0.88rem;
        max-width: 100%;
        -webkit-tap-highlight-color: transparent;
    }

    /* Music toggle */
    .music-toggle {
        bottom: 20px;
        right: 16px;
        width: 50px;
        height: 50px;
        -webkit-tap-highlight-color: transparent;
    }

    .music-toggle:active {
        transform: scale(0.9);
    }

    /* Footer */
    .footer {
        padding: 50px 0 36px;
    }

    .footer-text {
        font-size: 0.95rem;
        padding: 0 12px;
    }

    .footer-easter {
        font-size: 1.1rem;
        padding: 12px 24px;
        -webkit-tap-highlight-color: transparent;
    }

    .footer-easter:active {
        background: rgba(255, 107, 157, 0.15);
    }

    /* Easter Egg */
    .easter-egg-text {
        font-size: 2.2rem;
        padding: 0 16px;
    }

    /* Scroll Progress */
    .scroll-progress {
        height: 2px;
    }
}

/* Small Mobile (under 400px) */
@media (max-width: 400px) {
    html {
        font-size: 14px;
    }

    .hero {
        padding: 50px 0 60px;
    }

    .hero-content {
        padding: 10px 12px;
    }

    .hero-badge {
        font-size: 0.72rem;
        padding: 6px 14px;
    }

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

    .hero-name {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        min-height: 28px;
    }

    .hero-cta {
        margin-bottom: 24px;
    }

    .btn {
        max-width: 240px;
        padding: 12px 20px;
        font-size: 0.8rem;
    }

    .countdown {
        gap: 4px;
    }

    .countdown-inner {
        padding: 10px 10px;
        min-width: 52px;
        border-radius: 12px;
    }

    .countdown-value {
        font-size: 1.2rem;
    }

    .countdown-label {
        font-size: 0.5rem;
        letter-spacing: 0.5px;
    }

    .section {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-tag {
        font-size: 0.72rem;
        padding: 5px 12px;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .wish-card {
        padding: 28px 18px 24px;
    }

    .wish-heart {
        font-size: 2rem;
    }

    .wish-card h3 {
        font-size: 1.3rem;
    }

    .wish-card p {
        font-size: 0.82rem;
    }

    .quote-card {
        padding: 36px 18px 28px;
        min-height: 180px;
    }

    .quote-mark {
        font-size: 3rem;
        top: 6px;
        left: 14px;
    }

    .quote-text {
        font-size: 0.95rem;
    }

    .quote-author {
        font-size: 0.85rem;
    }

    .quote-btn {
        width: 36px;
        height: 36px;
    }

    .letter-section {
        padding: 60px 0;
    }

    .letter-envelope {
        padding: 40px 18px;
    }

    .envelope-seal {
        font-size: 2rem;
    }

    .envelope-text {
        font-size: 1.1rem;
    }

    .letter-paper {
        padding: 24px 16px;
    }

    .letter-greeting {
        font-size: 1.4rem;
    }

    .letter-body p {
        font-size: 0.95rem;
        line-height: 1.8;
    }

    .signature-name {
        font-size: 1.4rem;
    }

    .cake-section {
        padding: 50px 0;
    }

    .cake-wrap {
        padding: 32px 16px;
        border-radius: 20px;
    }

    .cake-emoji {
        font-size: 3rem;
    }

    .cake-text {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .cake-btn {
        padding: 12px 24px;
        font-size: 0.85rem;
    }

    .cake-message p {
        font-size: 1.1rem;
    }

    .surprise-content {
        padding: 28px 16px;
        border-radius: 18px;
    }

    .surprise-heart-big {
        font-size: 2.5rem;
    }

    .surprise-content h2 {
        font-size: 1.1rem;
    }

    .surprise-content p {
        font-size: 0.85rem;
    }

    .surprise-btn {
        padding: 12px 20px;
        font-size: 0.82rem;
    }

    .footer {
        padding: 40px 0 28px;
    }

    .footer-hearts {
        font-size: 1.5rem;
    }

    .footer-text {
        font-size: 0.85rem;
    }

    .footer-sub {
        font-size: 0.75rem;
    }

    .footer-easter {
        font-size: 1rem;
    }

    .easter-egg-text {
        font-size: 1.8rem;
    }
}

/* ======================== SELECTION STYLE ======================== */
::selection {
    background: rgba(255, 107, 157, 0.3);
    color: var(--white);
}

/* ======================== SCROLLBAR ======================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--pink), var(--purple));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--pink-dark), var(--purple-dark));
}
