/* Romantic Birthday Website CSS for Neha Singh */
/* Created with endless love and passion */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-pink: #ff6b9d;
    --deep-rose: #e91e63;
    --neon-pink: #ff1493;
    --luxury-gold: #ffd700;
    --romantic-purple: #9c27b0;
    --dark-bg: #0a0a0a;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --neon-glow: 0 0 20px rgba(255, 20, 147, 0.8);
    --gold-glow: 0 0 30px rgba(255, 215, 0, 0.6);
}

body {
    font-family: 'Poppins', 'Arial', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0033 50%, #0a0a0a 100%);
    color: white;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Animated background hearts */
.heart-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.heart {
    position: absolute;
    color: var(--neon-pink);
    font-size: 20px;
    animation: floatHeart 15s infinite linear;
    opacity: 0.6;
    text-shadow: var(--neon-glow);
}

@keyframes floatHeart {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Neon text effects */
.neon-text {
    text-shadow: 
        0 0 10px var(--neon-pink),
        0 0 20px var(--neon-pink),
        0 0 30px var(--neon-pink),
        0 0 40px var(--deep-rose);
    animation: neonPulse 2s ease-in-out infinite alternate;
}

@keyframes neonPulse {
    from {
        text-shadow: 
            0 0 10px var(--neon-pink),
            0 0 20px var(--neon-pink),
            0 0 30px var(--neon-pink),
            0 0 40px var(--deep-rose);
    }
    to {
        text-shadow: 
            0 0 20px var(--neon-pink),
            0 0 30px var(--neon-pink),
            0 0 40px var(--neon-pink),
            0 0 50px var(--deep-rose),
            0 0 60px var(--deep-rose);
    }
}

/* Glassmorphism effects */
.glass-container {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.glass-container:hover {
    box-shadow: 0 12px 40px rgba(255, 20, 147, 0.4);
    transform: translateY(-5px);
}

/* Luxury romantic buttons */
.romantic-btn {
    background: linear-gradient(45deg, var(--primary-pink), var(--romantic-purple));
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--neon-glow);
}

.romantic-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.6);
}

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

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

/* 3D Heart animations */
.heart-3d {
    position: relative;
    width: 100px;
    height: 90px;
    animation: heartBeat 1.5s ease-in-out infinite;
}

.heart-3d::before,
.heart-3d::after {
    content: '';
    width: 52px;
    height: 80px;
    position: absolute;
    left: 50px;
    top: 0;
    background: var(--neon-pink);
    border-radius: 50px 50px 0 0;
    transform: rotate(-45deg);
    transform-origin: 0 100%;
    box-shadow: var(--neon-glow);
}

.heart-3d::after {
    left: 0;
    transform: rotate(45deg);
    transform-origin: 100% 100%;
}

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

/* Floating particles */
.particle {
    position: absolute;
    background: var(--luxury-gold);
    border-radius: 50%;
    pointer-events: none;
    animation: particleFloat 10s infinite linear;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* Main container */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 10;
}

/* Landing page styles */
.hero-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary-pink), var(--luxury-gold), var(--romantic-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from {
        filter: drop-shadow(0 0 20px rgba(255, 20, 147, 0.8));
    }
    to {
        filter: drop-shadow(0 0 40px rgba(255, 215, 0, 0.8));
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 2s ease-out;
}

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

/* Typing animation */
.typing-text {
    overflow: hidden;
    border-right: 3px solid var(--neon-pink);
    white-space: nowrap;
    margin: 0 auto;
    animation: typing 4s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--neon-pink); }
}

/* Surprise box animation */
.surprise-box {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, var(--primary-pink), var(--romantic-purple));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--neon-glow);
}

.surprise-box:hover {
    transform: scale(1.05) rotateY(5deg);
    box-shadow: 0 20px 60px rgba(255, 20, 147, 0.8);
}

.surprise-box::before {
    content: '🎁';
    font-size: 4rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Fireworks animation */
.firework {
    position: absolute;
    width: 5px;
    height: 5px;
    background: var(--luxury-gold);
    border-radius: 50%;
    animation: fireworkExplode 1s ease-out forwards;
}

@keyframes fireworkExplode {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(20);
        opacity: 0;
    }
}

/* Navigation */
.nav-menu {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 15px;
}

.nav-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-item:hover {
    background: var(--neon-pink);
    box-shadow: var(--neon-glow);
    transform: translateY(-2px);
}

/* Login form styles */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(255, 20, 147, 0.1) 0%, transparent 70%);
}

.login-form {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 400px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--luxury-gold);
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--neon-pink);
    box-shadow: var(--neon-glow);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Shayari page styles */
.shayari-container {
    padding: 80px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.shayari-item {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease-out forwards;
}

.shayari-item:nth-child(even) {
    animation-delay: 0.2s;
}

.shayari-item:nth-child(odd) {
    animation-delay: 0.4s;
}

.shayari-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: white;
    text-align: center;
    font-style: italic;
}

/* Gallery styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 20px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(255, 20, 147, 0.4);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px;
    text-align: center;
    font-weight: 600;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .shayari-item {
        padding: 20px;
    }
    
    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: block !important;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 1001;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }
    
    .nav-links.mobile-active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links .nav-link {
        display: block;
        padding: 0.8rem 1rem;
        text-align: center;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.1);
        margin: 0.2rem 0;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .nav-brand {
        font-size: 1.2rem;
    }
    
    .mobile-menu-toggle {
        font-size: 1.3rem;
        right: 0.5rem;
    }
    
    .nav-links .nav-link {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .btn:hover {
        transform: none;
    }
    
    .btn:active {
        transform: scale(0.95);
    }
    
    .nav-link:hover {
        background: none;
    }
    
    .nav-link:active {
        background: rgba(255, 255, 255, 0.1);
    }
}

/* Love message popup */
.love-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 50%;
    border: 3px solid #ff6b6b;
    box-shadow: 0 0 30px rgba(255, 107, 107, 0.5), 0 0 60px rgba(255, 107, 107, 0.3);
    z-index: 1000;
    text-align: center;
    animation: popupShow 0.5s ease-out forwards;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes popupShow {
    to {
        transform: translate(-50%, -50%) scale(1);
    }
}

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

.love-popup .heart-icon {
    animation: heartBeat 1s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 107, 107, 0.8));
}

/* Floating heart animation */
@keyframes float-up {
    0% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -200px) scale(0.5) rotate(360deg);
        opacity: 0;
    }
}

.love-popup h3 {
    color: var(--luxury-gold);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.love-popup p {
    color: white;
    font-size: 1.1rem;
    font-style: italic;
}

/* Admin panel styles */
.admin-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    margin: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.stat-card {
    background: linear-gradient(45deg, var(--primary-pink), var(--romantic-purple));
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--neon-glow);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    margin-bottom: 5px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

/* Reply form styles */
.reply-form {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 20px auto;
    max-width: 600px;
}

.reply-textarea {
    width: 100%;
    min-height: 150px;
    padding: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
    resize: vertical;
    transition: all 0.3s ease;
}

.reply-textarea:focus {
    outline: none;
    border-color: var(--neon-pink);
    box-shadow: var(--neon-glow);
}

.reply-textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Success and error messages */
.message {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.success {
    background: linear-gradient(45deg, #4caf50, #8bc34a);
    color: white;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.error {
    background: linear-gradient(45deg, #f44336, #ff5722);
    color: white;
    box-shadow: 0 5px 15px rgba(244, 67, 54, 0.4);
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--neon-pink);
    animation: spin 1s ease-in-out infinite;
}

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-pink);
}

/* Ending love note */
.love-note {
    text-align: center;
    padding: 40px 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 2px solid var(--luxury-gold);
    margin: 40px auto;
    max-width: 800px;
    box-shadow: var(--gold-glow);
}

.love-note h2 {
    color: var(--luxury-gold);
    font-size: 2rem;
    margin-bottom: 20px;
    text-shadow: var(--gold-glow);
}

.love-note p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: white;
    font-style: italic;
}

/* Logout button styling */
.logout-link {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: white !important;
    padding: 8px 16px;
    border-radius: 20px;
    margin-left: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.logout-link:hover {
    background: linear-gradient(45deg, #ff5252, #ff7979);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

/* Mobile logout button */
@media (max-width: 768px) {
    .logout-link {
        margin-left: 0;
        margin-top: 10px;
        display: block;
        text-align: center;
    }
}

/* Status badges for admin panel */
.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.success {
    background: linear-gradient(45deg, #4caf50, #8bc34a);
    color: white;
}

.status-badge.error {
    background: linear-gradient(45deg, #f44336, #ff5722);
    color: white;
}