/* ╔═══════════════════════════════════════════════════════════════════════════╗
   ║                    💕 VALENTINE PROPOSAL GENERATOR 💕                      ║
   ║                         Complete Stylesheet                                ║
   ╚═══════════════════════════════════════════════════════════════════════════╝ */

/* ===== CSS VARIABLES ===== */
:root {
    --primary-pink: #ff6b9d;
    --secondary-pink: #ff8fab;
    --light-pink: #ffc2d1;
    --deep-red: #c9184a;
    --soft-rose: #ffb3c6;
    --cream: #fff0f3;
    --white: #ffffff;
    --dark: #1a0a0f;
    --dark-medium: #2d1f2b;
    --text-light: rgba(255, 255, 255, 0.9);
    --text-muted: rgba(255, 255, 255, 0.6);

    --gradient-romantic: linear-gradient(135deg, #ff6b9d 0%, #c9184a 50%, #ff6b9d 100%);
    --gradient-background: linear-gradient(135deg, #1a0a0f 0%, #2d1f2b 25%, #3d2838 50%, #2d1f2b 75%, #1a0a0f 100%);

    --shadow-soft: 0 10px 40px rgba(255, 107, 157, 0.3);
    --shadow-glow: 0 0 30px rgba(255, 107, 157, 0.5);

    --transition-fast: 0.2s;
    --transition-normal: 0.3s;
    --transition-slow: 0.5s;

    --border-radius: 16px;
    --border-radius-lg: 24px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    background: var(--gradient-background);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: var(--text-light);
    overflow-x: hidden;
}

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

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

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

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

.floating-heart {
    position: absolute;
    animation: floatUp linear infinite;
    opacity: 0.6;
    filter: drop-shadow(0 0 5px rgba(255, 107, 157, 0.5));
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) rotate(0deg) scale(1);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-100px) rotate(360deg) scale(0.5);
        opacity: 0;
    }
}

/* ╔═══════════════════════════════════════════════════════════════════════════╗
   ║                         NAVIGATION STYLES                                  ║
   ╚═══════════════════════════════════════════════════════════════════════════╝ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(26, 10, 15, 0.8);
    backdrop-filter: blur(10px);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-icon {
    font-size: 28px;
}

.brand-text {
    font-family: 'Pacifico', cursive;
    font-size: 1.5rem;
    color: var(--primary-pink);
}

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

.nav-btn {
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 500;
    transition: all var(--transition-normal);
}

.nav-btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-light);
}

.nav-btn-outline:hover {
    border-color: var(--primary-pink);
    color: var(--primary-pink);
}

.nav-btn-primary {
    background: var(--gradient-romantic);
    color: white;
}

.nav-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

/* ╔═══════════════════════════════════════════════════════════════════════════╗
   ║                         LANDING PAGE STYLES                                ║
   ╚═══════════════════════════════════════════════════════════════════════════╝ */

.landing-page {
    display: block;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 60px;
    position: relative;
    z-index: 10;
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 107, 157, 0.2);
    border: 1px solid rgba(255, 107, 157, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 25px;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.gradient-text {
    font-family: 'Pacifico', cursive;
    background: var(--gradient-romantic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    font-size: 0.95rem;
}

.feature-icon {
    font-size: 1.2rem;
}

.hero-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all var(--transition-normal);
}

.cta-button.primary {
    background: var(--gradient-romantic);
    color: white;
    box-shadow: var(--shadow-soft);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.cta-button.secondary {
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button.secondary:hover {
    border-color: var(--primary-pink);
    color: var(--primary-pink);
}

.cta-icon {
    font-size: 1.3rem;
}

/* Countdown Timer */
.countdown-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px 40px;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 107, 157, 0.2);
}

.countdown-label {
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--text-muted);
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-pink);
    line-height: 1;
}

.countdown-unit {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 5px;
}

/* Hero Decorations */
.hero-decoration .floating-heart {
    position: absolute;
    font-size: 30px;
    animation: floatAround 6s ease-in-out infinite;
}

.heart-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.heart-2 {
    top: 30%;
    right: 15%;
    animation-delay: 1s;
}

.heart-3 {
    bottom: 30%;
    left: 15%;
    animation-delay: 2s;
}

.heart-4 {
    bottom: 25%;
    right: 10%;
    animation-delay: 1.5s;
}

.heart-5 {
    top: 50%;
    left: 5%;
    animation-delay: 0.5s;
}

@keyframes floatAround {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(10px, -15px) rotate(10deg);
    }

    50% {
        transform: translate(-5px, -25px) rotate(-5deg);
    }

    75% {
        transform: translate(-15px, -10px) rotate(5deg);
    }
}

/* How It Works Section */
.how-it-works {
    padding: 80px 20px;
    position: relative;
    z-index: 10;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-family: 'Pacifico', cursive;
    color: var(--primary-pink);
    margin-bottom: 50px;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.step-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 35px 25px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    position: relative;
    border: 1px solid rgba(255, 107, 157, 0.2);
    transition: all var(--transition-normal);
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-pink);
    box-shadow: var(--shadow-soft);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--gradient-romantic);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.step-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-light);
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 20px;
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255, 107, 157, 0.2);
}

.footer p {
    color: var(--text-muted);
}

.footer-small {
    font-size: 0.85rem;
    margin-top: 10px;
}

/* ╔═══════════════════════════════════════════════════════════════════════════╗
   ║                         AUTH PAGE STYLES                                   ║
   ╚═══════════════════════════════════════════════════════════════════════════╝ */

.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.back-home {
    position: fixed;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.95rem;
    z-index: 100;
    transition: color var(--transition-fast);
}

.back-home:hover {
    color: var(--primary-pink);
}

.auth-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 420px;
}

.auth-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    border: 1px solid rgba(255, 107, 157, 0.3);
    box-shadow: var(--shadow-soft);
}

.auth-logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo-icon {
    font-size: 50px;
    display: block;
    margin-bottom: 10px;
}

.logo-text {
    font-family: 'Pacifico', cursive;
    font-size: 1.8rem;
    color: var(--primary-pink);
}

.auth-tabs {
    display: flex;
    margin-bottom: 30px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50px;
    padding: 5px;
}

.auth-tab {
    flex: 1;
    padding: 12px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 50px;
    transition: all var(--transition-normal);
}

.auth-tab.active {
    background: var(--gradient-romantic);
    color: white;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-form.hidden {
    display: none;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-pink);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.auth-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    border: none;
    border-radius: 50px;
    background: var(--gradient-romantic);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    margin-top: 10px;
}

.auth-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.auth-switch {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-switch a {
    color: var(--primary-pink);
    font-weight: 500;
}

.auth-message {
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    font-size: 0.9rem;
    margin-top: 15px;
}

.auth-message.error {
    background: rgba(231, 76, 60, 0.2);
    border: 1px solid rgba(231, 76, 60, 0.5);
    color: #ff6b6b;
}

.auth-message.success {
    background: rgba(46, 204, 113, 0.2);
    border: 1px solid rgba(46, 204, 113, 0.5);
    color: #6bff9a;
}

.auth-message.hidden {
    display: none;
}

/* ╔═══════════════════════════════════════════════════════════════════════════╗
   ║                         DASHBOARD STYLES                                   ║
   ╚═══════════════════════════════════════════════════════════════════════════╝ */

.dashboard-page {
    display: block;
}

.dashboard-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(26, 10, 15, 0.9);
    backdrop-filter: blur(10px);
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-greeting {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.user-greeting span {
    color: var(--primary-pink);
    font-weight: 500;
}

.logout-btn {
    padding: 8px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    background: transparent;
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.logout-btn:hover {
    border-color: var(--primary-pink);
    color: var(--primary-pink);
}

.dashboard-content {
    padding: 100px 30px 50px;
    position: relative;
    z-index: 10;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 40px;
}

.dashboard-header h1 {
    font-family: 'Pacifico', cursive;
    font-size: 2.5rem;
    color: var(--primary-pink);
    margin-bottom: 10px;
}

.dashboard-header p {
    color: var(--text-muted);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.dashboard-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    border: 1px solid rgba(255, 107, 157, 0.2);
}

.dashboard-card h2 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--text-light);
}

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

.form-section h3 {
    font-size: 1rem;
    color: var(--primary-pink);
    margin-bottom: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Photo Upload */
.photo-upload-area {
    position: relative;
    border: 2px dashed rgba(255, 107, 157, 0.3);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.photo-upload-area:hover {
    border-color: var(--primary-pink);
    background: rgba(255, 107, 157, 0.05);
}

.photo-upload-area input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.upload-placeholder {
    color: var(--text-muted);
}

.upload-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 10px;
}

.photo-preview {
    position: relative;
    display: inline-block;
}

.photo-preview img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--primary-pink);
}

.remove-photo {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: var(--deep-red);
    color: white;
    font-size: 1rem;
    cursor: pointer;
}

.photo-preview.hidden,
.upload-placeholder.hidden {
    display: none;
}

/* Color Options */
.color-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.color-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.color-option input {
    display: none;
}

.color-swatch {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 3px solid transparent;
    transition: all var(--transition-fast);
}

.color-option input:checked+.color-swatch {
    border-color: white;
    transform: scale(1.1);
}

.color-option span:last-child {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Date Idea Box */
.date-idea-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: var(--border-radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.date-idea-box p {
    color: var(--text-light);
    font-style: italic;
}

.idea-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 50px;
    background: rgba(255, 107, 157, 0.2);
    color: var(--primary-pink);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.idea-btn:hover {
    background: rgba(255, 107, 157, 0.3);
}

/* Generate Button */
.generate-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 50px;
    background: var(--gradient-romantic);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

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

/* Link Section */
.link-section {
    margin-bottom: 30px;
}

.link-section.hidden {
    display: none;
}

.generated-link-box {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.generated-link-box input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid rgba(255, 107, 157, 0.3);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-light);
    font-size: 0.9rem;
}

.copy-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    background: var(--primary-pink);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.copy-btn:hover {
    background: var(--deep-red);
}

.link-instructions {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    flex: 1;
    min-width: 100px;
    padding: 12px 15px;
    border: none;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    transition: all var(--transition-fast);
}

.share-btn.whatsapp {
    background: #25D366;
    color: white;
}

.share-btn.email {
    background: #EA4335;
    color: white;
}

.share-btn.preview {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.share-btn:hover {
    transform: translateY(-2px);
}

.no-link-message {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
}

.no-link-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
}

.tips-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tips-section h3 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--primary-pink);
}

.tips-section ul {
    list-style: none;
}

.tips-section li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.tips-section li::before {
    content: '💡';
    position: absolute;
    left: 0;
    font-size: 0.8rem;
}

/* ╔═══════════════════════════════════════════════════════════════════════════╗
   ║                      VALENTINE PAGE STYLES                                 ║
   ╚═══════════════════════════════════════════════════════════════════════════╝ */

.valentine-page {
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    position: relative;
    z-index: 10;
    padding: 20px;
    transition: all var(--transition-slow) ease;
}

.container.hidden {
    opacity: 0;
    transform: scale(0.8) translateY(-50px);
    pointer-events: none;
}

.card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 50px 60px;
    text-align: center;
    position: relative;
    border: 2px solid rgba(255, 107, 157, 0.3);
    box-shadow: var(--shadow-soft), inset 0 0 50px rgba(255, 107, 157, 0.1);
    max-width: 520px;
    animation: cardPulse 3s ease-in-out infinite;
}

@keyframes cardPulse {

    0%,
    100% {
        box-shadow: var(--shadow-soft), inset 0 0 50px rgba(255, 107, 157, 0.1);
    }

    50% {
        box-shadow: var(--shadow-glow), inset 0 0 80px rgba(255, 107, 157, 0.2);
    }
}

/* Sparkles */
.sparkle {
    position: absolute;
    font-size: 24px;
    animation: sparkle 2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8));
}

.sparkle-1 {
    top: -10px;
    left: 20px;
    animation-delay: 0s;
}

.sparkle-2 {
    top: 20px;
    right: 10px;
    animation-delay: 0.5s;
}

.sparkle-3 {
    bottom: 30px;
    left: -10px;
    animation-delay: 1s;
}

@keyframes sparkle {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.4) rotate(180deg);
        opacity: 1;
    }
}

.heart-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: heartBeat 1.2s ease-in-out infinite;
    filter: drop-shadow(0 0 25px rgba(255, 107, 157, 0.9));
}

@keyframes heartBeat {

    0%,
    100% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.15);
    }

    30% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.1);
    }
}

.title {
    font-family: 'Pacifico', cursive;
    font-size: 2.5rem;
    color: var(--primary-pink);
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(255, 107, 157, 0.5);
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.title.typing {
    border-right: 3px solid var(--primary-pink);
    animation: blink 0.7s step-end infinite;
}

@keyframes blink {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: var(--primary-pink);
    }
}

.subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 35px;
}

.buttons-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 25px;
    min-height: 100px;
    align-items: center;
    position: relative;
}

.btn {
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-yes {
    background: var(--gradient-romantic);
    color: white;
    box-shadow: 0 5px 25px rgba(255, 107, 157, 0.5);
    animation: yesButtonPulse 1.5s ease-in-out infinite;
}

@keyframes yesButtonPulse {

    0%,
    100% {
        box-shadow: 0 5px 25px rgba(255, 107, 157, 0.5);
    }

    50% {
        box-shadow: 0 5px 40px rgba(255, 107, 157, 0.8);
    }
}

.btn-yes.super-glow {
    animation: superGlow 0.5s ease-in-out infinite alternate;
}

@keyframes superGlow {
    from {
        box-shadow: 0 0 20px rgba(255, 107, 157, 0.8), 0 0 40px rgba(255, 107, 157, 0.6);
    }

    to {
        box-shadow: 0 0 40px rgba(255, 107, 157, 1), 0 0 80px rgba(255, 107, 157, 0.8);
    }
}

.btn-no {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-no.running-away {
    position: fixed;
    z-index: 100;
}

.btn-no.shake {
    animation: buttonShake 0.4s ease-in-out;
}

@keyframes buttonShake {

    0%,
    100% {
        transform: translateX(0) rotate(0deg);
    }

    20% {
        transform: translateX(-8px) rotate(-5deg);
    }

    40% {
        transform: translateX(8px) rotate(5deg);
    }

    60% {
        transform: translateX(-6px) rotate(-3deg);
    }

    80% {
        transform: translateX(6px) rotate(3deg);
    }
}

.hint {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
}

/* Success Screen */
.success-screen {
    position: fixed;
    inset: 0;
    background: var(--gradient-background);
    background-size: 400% 400%;
    animation: gradientShift 10s ease infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
    overflow-y: auto;
    padding: 20px;
}

.success-screen.visible {
    opacity: 1;
    pointer-events: all;
}

.confetti-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.confetti {
    position: absolute;
    top: -20px;
    animation: confettiFall linear forwards;
}

@keyframes confettiFall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

.success-content {
    text-align: center;
    animation: successPop 0.8s ease-out;
    position: relative;
    z-index: 10;
    max-width: 600px;
    padding: 20px;
}

@keyframes successPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    60% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-hearts {
    font-size: 50px;
    margin-bottom: 20px;
    animation: heartsFloat 2s ease-in-out infinite;
}

@keyframes heartsFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.success-title {
    font-family: 'Pacifico', cursive;
    font-size: 3.5rem;
    color: var(--primary-pink);
    margin-bottom: 15px;
    text-shadow: 0 0 40px rgba(255, 107, 157, 0.8);
}

.success-message {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.photo-section {
    margin: 30px 0;
    animation: photoAppear 1s ease-out 0.5s both;
}

.photo-section.hidden {
    display: none;
}

@keyframes photoAppear {
    from {
        opacity: 0;
        transform: scale(0.5) rotate(-10deg);
    }

    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.photo-container {
    position: relative;
    display: inline-block;
}

.photo-hearts {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    display: flex;
    gap: 10px;
    z-index: 2;
}

.photo-hearts span {
    animation: photoHeartFloat 2s ease-in-out infinite;
}

.photo-hearts span:nth-child(1) {
    animation-delay: 0s;
}

.photo-hearts span:nth-child(2) {
    animation-delay: 0.3s;
}

.photo-hearts span:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes photoHeartFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-10px) scale(1.2);
    }
}

.couple-photo {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--primary-pink);
    box-shadow: 0 0 30px rgba(255, 107, 157, 0.6);
}

.thank-you-message {
    font-size: 1.2rem;
    color: var(--light-pink);
    line-height: 1.6;
    margin: 25px 0;
}

.date-idea-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px 30px;
    border-radius: var(--border-radius);
    margin: 20px 0;
}

.date-idea-section.hidden {
    display: none;
}

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

.date-idea-text {
    font-size: 1.1rem;
    color: var(--primary-pink);
    font-weight: 500;
}

.floating-hearts-row {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.floating-hearts-row span {
    font-size: 30px;
    animation: floatingHeart 2s ease-in-out infinite;
}

.floating-hearts-row span:nth-child(1) {
    animation-delay: 0s;
}

.floating-hearts-row span:nth-child(2) {
    animation-delay: 0.15s;
}

.floating-hearts-row span:nth-child(3) {
    animation-delay: 0.3s;
}

.floating-hearts-row span:nth-child(4) {
    animation-delay: 0.45s;
}

.floating-hearts-row span:nth-child(5) {
    animation-delay: 0.6s;
}

@keyframes floatingHeart {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.2);
    }
}

/* ╔═══════════════════════════════════════════════════════════════════════════╗
   ║                         RESPONSIVE DESIGN                                  ║
   ╚═══════════════════════════════════════════════════════════════════════════╝ */

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

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

@media (max-width: 600px) {
    .navbar {
        padding: 12px 15px;
    }

    .brand-text {
        font-size: 1.2rem;
    }

    .nav-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .cta-button {
        padding: 14px 25px;
        font-size: 1rem;
    }

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

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

    .card {
        padding: 35px 25px;
        margin: 15px;
    }

    .title {
        font-size: 1.8rem;
        min-height: 70px;
    }

    .btn {
        padding: 12px 28px;
        font-size: 0.95rem;
    }

    .buttons-container {
        flex-direction: column;
        gap: 15px;
    }

    .auth-card {
        padding: 30px 20px;
    }

    .dashboard-content {
        padding: 80px 15px 30px;
    }

    .dashboard-card {
        padding: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .success-title {
        font-size: 2.5rem;
    }

    .couple-photo {
        width: 180px;
        height: 180px;
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}