:root { --pink: #ffb6c1; --hot-pink: #ff69b4; --purple: #9370db; --lavender: #e6e6fa; --dark: #1a0b2e; --dark-purple: #2d1b4e; --gold: #ffd700; --white: #ffffff; --glass: rgba(255, 255, 255, 0.1); }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; background: linear-gradient(135deg, #2d1b4e 0%, #1a0b2e 50%, #0f0518 100%); color: var(--white); min-height: 100vh; overflow-x: hidden; position: relative; }
.bg-effects { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.stars { position: absolute; width: 100%; height: 100%; background-image: radial-gradient(2px 2px at 20px 30px, #eee, transparent), radial-gradient(2px 2px at 40px 70px, #fff, transparent), radial-gradient(1px 1px at 90px 40px, #ddd, transparent); background-size: 200px 200px; animation: twinkle 4s infinite; }
@keyframes twinkle { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
.container { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; padding: 30px 20px; display: flex; flex-direction: column; gap: 40px; }
.hero { text-align: center; padding: 20px 0; }
.teddy-bear { width: 120px; height: 120px; animation: float 3s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.main-title { font-family: 'Playfair Display', serif; font-size: 2.5rem; background: linear-gradient(to right, var(--pink), var(--gold)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 10px; }
.name-title { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--lavender); margin-bottom: 10px; font-style: italic; }
.date-text { color: var(--pink); font-size: 1rem; letter-spacing: 2px; margin-bottom: 20px; }
.decorations { font-size: 1.5rem; display: flex; justify-content: center; gap: 20px; }
.decorations span { animation: bounce 2s infinite; }
.decorations span:nth-child(2) { animation-delay: 0.3s; }
.decorations span:nth-child(3) { animation-delay: 0.6s; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
.countdown-section { text-align: center; background: var(--glass); padding: 30px 15px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); }
.section-title { font-family: 'Playfair Display', serif; color: var(--pink); margin-bottom: 20px; }
.countdown-container { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.countdown-box { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--purple); border-radius: 15px; padding: 15px 10px; min-width: 70px; display: flex; flex-direction: column; align-items: center; }
.countdown-number { font-size: 1.8rem; font-weight: 700; color: var(--gold); font-family: 'Playfair Display', serif; }
.countdown-label { font-size: 0.75rem; color: var(--lavender); text-transform: uppercase; }
.special-message { margin-top: 20px; font-size: 1.2rem; color: var(--gold); font-weight: 700; animation: pulse 1.5s infinite; }
.hidden { display: none !important; }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }
.card-section { text-align: center; }
.btn-primary { background: linear-gradient(135deg, var(--hot-pink), var(--purple)); color: white; border: none; padding: 15px 30px; border-radius: 50px; font-size: 1rem; cursor: pointer; box-shadow: 0 4px 15px rgba(255, 105, 180, 0.4); transition: transform 0.3s, box-shadow 0.3s; font-family: 'Poppins', sans-serif; font-weight: 600; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(255, 105, 180, 0.6); }
.greeting-card { margin-top: 20px; }
.card-paper { background: #fffaf0; color: #333; padding: 30px 20px; border-radius: 5px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); position: relative; text-align: left; border: 1px solid #e0d0b0; background-image: repeating-linear-gradient(0deg, transparent, transparent 27px, #e8e0c8 28px); animation: unfold 0.8s ease-out; }
@keyframes unfold { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
.card-paper::before { content: '❤️'; position: absolute; top: 10px; right: 15px; font-size: 1.5rem; }
.card-title { font-family: 'Playfair Display', serif; color: #c71585; margin-bottom: 10px; }
.card-subtitle { font-family: 'Playfair Display', serif; color: #c71585; font-size: 1.5rem; margin-bottom: 20px; }
.card-paper p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 15px; color: #444; }
.highlight-text { font-weight: 600; color: #c71585; text-align: center; margin: 20px 0; font-style: italic; }
.card-footer { margin-top: 25px; border-top: 1px dashed #ccc; padding-top: 15px; }
.signature { font-family: 'Playfair Display', serif; font-weight: 700; color: #c71585; font-size: 1.1rem; }
.interaction-section { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.btn-secondary { background: transparent; color: var(--pink); border: 2px solid var(--pink); padding: 12px 20px; border-radius: 50px; font-size: 0.9rem; cursor: pointer; transition: all 0.3s; font-family: 'Poppins', sans-serif; font-weight: 600; }
.btn-secondary:hover { background: var(--pink); color: var(--dark); }
.modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); display: flex; justify-content: center; align-items: center; z-index: 1000; padding: 20px; }
.modal-content { background: linear-gradient(135deg, #2d1b4e, #1a0b2e); padding: 30px; border-radius: 20px; border: 2px solid var(--hot-pink); text-align: center; max-width: 400px; width: 100%; position: relative; box-shadow: 0 0 40px rgba(255, 105, 180, 0.5); }
.close-modal { position: absolute; top: 10px; right: 20px; font-size: 2rem; cursor: pointer; color: var(--pink); }
.modal-content h3 { margin-bottom: 15px; color: var(--gold); }
.modal-content p { margin-bottom: 20px; line-height: 1.6; }
.footer { text-align: center; padding: 30px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 40px; }
.footer-title { color: var(--pink); font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 20px; }
.logos { display: flex; justify-content: center; gap: 25px; margin-bottom: 25px; }
.logos a { color: var(--lavender); transition: color 0.3s; }
.logos a:hover { color: var(--gold); }
.branding h5 { font-family: 'Playfair Display', serif; color: var(--gold); font-size: 1.2rem; margin-bottom: 5px; }
.branding p { font-size: 0.8rem; color: var(--lavender); margin-bottom: 5px; }
.copyright { font-size: 0.7rem !important; opacity: 0.7; margin-top: 10px; }
#confettiCanvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 999; }
@media (max-width: 480px) { .main-title { font-size: 2rem; } .name-title { font-size: 1.5rem; } .countdown-number { font-size: 1.4rem; } .countdown-box { min-width: 60px; padding: 10px 5px; } }
