html {
    scroll-behavior: smooth;
    scroll-padding-top: 20px; /* Extra breathing room when jumping to sections */
}

:root {
    --bg-color: #fff0f5;
    /* LavenderBlush */
    --text-color: #444;
    --heading-color: #c71585;
    /* MediumVioletRed */
    --accent-color: #ff69b4;
    /* HotPink */
    --accent-hover: #ff1493;
    /* DeepPink */
    --border-color: #ffb6c1;
    /* LightPink */
    --card-bg: white;
    --sidebar-width: 200px;
    --content-max-width: 1000px;
    --shadow-soft: 0 4px 15px rgba(255, 105, 180, 0.15);
    --shadow-hover: 0 8px 25px rgba(255, 105, 180, 0.25);
    --radius-lg: 15px;
    --radius-md: 10px;
    --headings-font: 'Merriweather', serif;
    --ui-font: 'Quicksand', sans-serif;
    --logo-font: 'Pacifico', cursive;
    --handwritten-font: 'Dancing Script', cursive;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--ui-font);
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    min-height: 100vh;
    /* Hide scrollbar but keep functionality */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

body::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

/* Background Hearts Animation */
.heart-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z" fill="%23ffc0cb" opacity="0.4"/></svg>');
    background-size: 60px 60px;
    z-index: -1;
    opacity: 0.5;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    padding: 2em 1.5em;
    background: transparent;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    font-family: var(--ui-font);
    border-right: 1px solid rgba(255, 182, 193, 0.3);
}

.wiki-logo {
    text-align: center;
    margin-bottom: 2.5em;
}

.logo-text h1 {
    font-family: var(--logo-font);
    font-size: 1.6rem;
    margin: 0.5em 0 0;
    color: var(--accent-hover);
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.8);
}

.logo-text p {
    font-size: 0.75rem;
    color: #666;
    margin: 0;
    font-style: italic;
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links li {
    margin-bottom: 0.8em;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    transition: color 0.2s;
    display: block;
    padding: 5px 10px;
    border-radius: 6px;
}

.nav-links a:hover {
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.6);
}

.search-box {
    margin-top: 1.5em;
    display: flex;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: 20px;
    padding: 2px 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.search-box input {
    border: none;
    padding: 8px;
    width: 100%;
    outline: none;
    font-family: var(--ui-font);
    font-size: 0.9rem;
}

.search-box button {
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--accent-color);
}

/* Main Content */
.content {
    margin-left: var(--sidebar-width);
    padding: 2.5em 4em;
    background-color: rgba(255, 255, 255, 0.95);
    width: 100%;
    min-height: 100vh;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.03);
    border-left: 1px solid var(--border-color);
}

.article-header {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2em;
    padding-bottom: 1em;
}

.article-title {
    font-family: var(--headings-font);
    font-size: 2.5rem;
    margin: 0;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #333;
}

.article-title .fa-heart {
    font-size: 0.6em;
    color: var(--accent-color);
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.3);
    }

    30% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.15);
    }

    60% {
        transform: scale(1);
    }
}

.article-meta {
    font-size: 0.9rem;
    color: #777;
    margin-top: 8px;
}

/* Body Text */
.article-body {
    font-family: var(--headings-font);
    line-height: 1.8;
    font-size: 1.05rem;
    color: #333;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    text-decoration: underline;
    color: var(--accent-hover);
}

p {
    margin-bottom: 1.5em;
    line-height: 1.8;
    font-size: 1.3rem;
    color: #333;
}

/* Headings */
h2 {
    font-family: var(--ui-font);
    font-weight: 700;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 8px;
    margin-top: 2em;
    margin-bottom: 1em;
    color: var(--heading-color);
    clear: both;
    /* Crucial for layout */
}

.lead {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5em;
    font-weight: 400;
}

h3 {
    font-family: var(--ui-font);
    font-weight: 600;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    color: #444;
}

/* Infobox */
.infobox {
    float: right;
    width: 320px;
    background: white;
    border: 1px solid var(--border-color);
    padding: 0;
    margin: 0 0 1.5em 1.5em;
    font-size: 0.9rem;
    box-shadow: var(--shadow-soft);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.infobox-title {
    background-color: #ffe4e1;
    padding: 12px;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    font-family: var(--ui-font);
    color: var(--heading-color);
    border-bottom: 1px solid var(--border-color);
}

.infobox-image {
    text-align: center;
    padding: 15px;
    background: #fffafa;
}

.infobox-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-md);
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.caption {
    font-size: 0.85rem;
    margin-top: 8px;
    color: #666;
    font-style: italic;
}

.infobox-data {
    width: 100%;
    border-collapse: collapse;
}

.infobox-data th,
.infobox-data td {
    padding: 10px 15px;
    text-align: left;
    vertical-align: top;
    border-top: 1px solid #f0f0f0;
}

.infobox-data th {
    width: 35%;
    font-weight: 700;
    color: #555;
    background: #fffcfc;
}

/* Table of Contents */
.toc {
    background-color: #fffbfb;
    border: 1px solid var(--border-color);
    padding: 15px 25px;
    display: table;
    /* Shrink to fit */
    border-radius: var(--radius-md);
    margin-bottom: 2em;
    min-width: 250px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    clear: left;
}

.toc-title {
    font-weight: bold;
    text-align: center;
    margin-bottom: 12px;
    font-family: var(--ui-font);
}

.toc ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.toc ul ul {
    padding-left: 20px;
    margin-top: 5px;
}

.toc li {
    margin-bottom: 6px;
    font-size: 0.95rem;
}

/* ---------------- Features ---------------- */

/* Love Letter & Envelope */
.love-letter-container {
    margin: 3em 340px 3em 0; /* Respects the 320px infobox + margin on the right */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 350px;
}

/* On smaller screens where infobox stacks, remove the right margin */
@media (max-width: 1000px) {
    .love-letter-container {
        margin: 3em 0;
    }
}

.envelope-wrapper {
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 10;
    transform: scale(1.3);
    margin: 40px auto; /* Centered horizontally */
    display: flex;
    justify-content: center;
}

.envelope-wrapper:hover {
    transform: scale(1.4) rotate(2deg);
}

.envelope {
    width: 240px;
    height: 160px;
    background: var(--accent-color);
    position: relative;
    border-radius: 0 0 10px 10px;
    box-shadow: var(--shadow-hover);
    display: flex;
    justify-content: center;
    align-items: center;
}

.envelope .flap {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-top: 90px solid #ff85c2;
    transform-origin: top;
    transition: transform 0.4s ease;
    z-index: 2;
}

.envelope.open .flap {
    transform: rotateX(180deg);
}

.envelope .body-front {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0;
    border-left: 120px solid var(--accent-hover);
    border-right: 120px solid var(--accent-hover);
    border-top: 80px solid transparent;
    border-bottom: 80px solid var(--accent-hover);
    border-radius: 0 0 10px 10px;
    z-index: 3;
}

.envelope .heart-seal {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 2.5rem;
    z-index: 4;
    transition: opacity 0.4s;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}

.envelope.open .heart-seal {
    opacity: 0;
}

.envelope .text {
    color: white;
    font-family: var(--logo-font);
    z-index: 4;
    margin-top: 50px;
    font-size: 1.4rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.love-letter-content {
    width: 100%;
    max-width: 700px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(20px);
    transition: all 0.8s ease-in-out;
}

.love-letter-content.visible {
    opacity: 1;
    max-height: 1000px;
    transform: translateY(0);
}

.love-letter {
    font-family: var(--handwritten-font);

    font-size: 1.6rem;
    line-height: 1.6;
    color: #444;
    background: #fff;
    padding: 3em;
    box-shadow: var(--shadow-soft);
    border-radius: 2px;
    border: 1px solid #eee;
    background-image: repeating-linear-gradient(to bottom, transparent, transparent 29px, #fff0f5 30px);
    position: relative;
}

.love-letter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: repeating-linear-gradient(45deg, #ff69b4, #ff69b4 10px, white 10px, white 20px);
}

.letter-title {
    font-family: var(--logo-font);
    color: var(--accent-hover);
    font-size: 2rem;
    margin-top: 0;
    text-align: center;
    border: none;
    margin-bottom: 1em;
}

.signature {
    text-align: right;
    margin-top: 1.5em;
    font-weight: bold;
    color: var(--accent-color);
}

/* Timeline Styles - Redesigned (Robust & Clean) */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 3em auto;
    padding: 20px 0 20px 40px;
    /* Space for line on left */
    border-left: 4px solid #ffd1dc;
    /* The vertical line is now a simple border */
    font-family: var(--ui-font);
}

.timeline-item {
    position: relative;
    margin-bottom: 3em;
    width: 100%;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* The Heart Icon on the Line */
.timeline-item::before {
    content: '❤';
    position: absolute;
    left: -54px;
    /* Alignment with border */
    top: 0;
    width: 32px;
    height: 32px;
    background-color: white;
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    text-align: center;
    line-height: 26px;
    color: var(--accent-color);
    font-size: 14px;
    z-index: 2;
    box-shadow: 0 0 0 5px #fff0f5;
    /* Spacing ring */
}

.timeline-item .content {
    background-color: white;
    padding: 20px 25px;
    border-radius: var(--radius-md);
    border: 1px solid #ffe4e1;
    box-shadow: var(--shadow-soft);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item .content:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

/* Arrow pointing to left */
.timeline-item .content::after {
    content: " ";
    position: absolute;
    top: 10px;
    left: -10px;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
    border-style: solid;
}

.timeline-item .content h3 {
    color: var(--accent-hover);
    font-family: var(--logo-font);
    font-size: 1.3rem;
}

.timeline-item .content .date {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    color: #999;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 10 Things Grid */
.love-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 2em 0;
    clear: both;
}

.love-card {
    background: white;
    padding: 25px;
    border-radius: var(--radius-lg);
    border: 2px solid #fff0f5;
    text-align: center;
    font-family: var(--ui-font);
    font-weight: 700;
    color: #d63384;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.love-card i {
    color: var(--accent-color);
    margin-right: 15px;
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(255, 105, 180, 0.2));
}

.love-card:hover {
    transform: translateY(-7px);
    background: #fff0f5;
    border-color: var(--accent-color);
    box-shadow: var(--shadow-hover);
}

/* Carousel */
.carousel-container {
    position: relative;
    max-width: 700px;
    height: 500px; /* Maintained Height */
    margin: 3em auto;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 8px solid white;
    box-shadow: var(--shadow-hover);
    background: var(--bg-color); /* Match site background */
}

.carousel-slide {
    display: none;
    height: 100%; /* Match container height */
    text-align: center;
    position: relative;
    background: var(--bg-color);
}

.carousel-slide.active {
    display: flex; /* Use flex to center images */
    align-items: center;
    justify-content: center;
    animation: fadeEffect 1s;
}

@keyframes fadeEffect {
    from {
        opacity: 0.4;
    }

    to {
        opacity: 1;
    }
}

.carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain !important; /* Absolute priority for full image */
    display: block;
    margin: 0 auto; /* Center within slide */
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    color: #d63384;
    padding: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    color: var(--accent-color);
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background-color: var(--accent-color);
    color: white;
}

.carousel-btn.prev {
    left: 15px;
}

.carousel-btn.next {
    right: 15px;
}

/* Dots Navigation (Updated) */
.carousel-dots {
    width: 100%;
    text-align: center;
    margin-top: 15px; /* Space below the gallery */
    z-index: 10;
}

.dot {
    cursor: pointer;
    height: 14px;
    width: 14px;
    margin: 0 6px;
    background-color: #ffc0cb; /* Soft Pink */
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.dot:hover {
    background-color: var(--accent-color);
    transform: scale(1.3);
}

.dot.active {
    background-color: var(--accent-color);
    width: 30px; /* Pill shape for active dot */
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(255, 105, 180, 0.4);
}

/* Coupons */
.coupon-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    margin: 2em 0;
    clear: both;
}

.coupon {
    width: 300px;
    background: #fff;
    border: 2px dashed var(--accent-color);
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
}

.coupon:hover {
    transform: scale(1.02) rotate(1deg);
    box-shadow: var(--shadow-hover);
}

.coupon::before,
.coupon::after {
    content: '';
    position: absolute;
    height: 24px;
    width: 24px;
    background: var(--bg-color);
    /* Match body bg for hole punch effect */
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.coupon::before {
    left: -12px;
}

.coupon::after {
    right: -12px;
}

.coupon-content {
    padding: 25px;
    text-align: center;
    background: radial-gradient(circle at center, white 0%, #fffafa 100%);
}

.coupon h3 {
    margin-top: 0;
    color: var(--accent-hover);
    font-family: var(--logo-font);
    font-size: 1.5rem;
}

.coupon p {
    color: #666;
    margin-bottom: 0.5em;
}

.coupon small {
    display: block;
    margin-top: 15px;
    color: #999;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Stats */
.stats-container {
    display: flex;
    gap: 20px;
    justify-content: space-around;
    padding: 30px;
    background: linear-gradient(135deg, #fff0f5 0%, #ffe4e1 100%);
    border-radius: var(--radius-lg);
    margin-top: 2em;
    clear: both;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.5);
}

.stat-box {
    text-align: center;
    font-family: var(--ui-font);
}

.stat-box span {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-hover);
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.5);
}

.stat-box .stat-label {
    font-size: 0.9rem;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 5px;
}





/* Glitch Fixes & Responsive */
.section-content {
    overflow: hidden;
    /* Contains floats */
}



@media (max-width: 900px) {
    .sidebar {
        display: none;
    }
    
    .content {
        margin-left: 0;
        padding: 2em;
    }
}

@media (max-width: 768px) {
    .infobox {
        float: none;
        width: 100%;
        margin: 0 0 2em 0;
    }

    @media screen and (max-width: 600px) {
        .timeline::after {
            left: 31px;
        }

        .timeline-item {
            width: 100%;
            padding-left: 70px;
            padding-right: 25px;
        }

        .timeline-item::after {
            left: 15px;
        }

        .timeline-item.left::after,
        .timeline-item.right::after {
            left: 15px;
        }

        .timeline-item.right {
            left: 0%;
        }

        .timeline-item.left::before,
        .timeline-item.right::before {
            left: 60px;
            border: medium solid white;
            border-width: 10px 10px 10px 0;
            border-color: transparent white transparent transparent;
        }
    }

    .article-title {
        font-size: 2rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .love-card {
        min-height: auto;
    }
}

/* --- Easter Egg: Jyotiska Mode --- */
.jyotiska-mode {
    animation: royalPulse 2s infinite alternate;
}

@keyframes royalPulse {
    0% { background-color: var(--bg-color); }
    100% { background-color: #ffdeeb; }
}

.queen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 20, 147, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1s ease;
}

.queen-overlay.visible {
    opacity: 1;
}

.queen-text {
    font-family: var(--logo-font);
    font-size: 5rem;
    color: white;
    text-shadow: 0 0 20px #ff69b4, 0 0 40px #ff1493;
    animation: queenEntrance 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
}

@keyframes queenEntrance {
    0% { transform: scale(0) rotate(-20deg); opacity: 0; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.sparkle {
    position: fixed;
    background: white;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    animation: sparkleAnim 1s linear forwards;
}

@keyframes sparkleAnim {
    0% { transform: scale(0) rotate(0deg); opacity: 1; }
    100% { transform: scale(1.5) rotate(180deg); opacity: 0; }
}

.spinning-heart {
    animation: spin 0.5s linear infinite !important;
}

@keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
}

/* --- Cosmic Kiss Modal Styles --- */
.kiss-modal {
    display: none;
    position: fixed;
    z-index: 20000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
}

.kiss-modal-content {
    background: linear-gradient(135deg, #fff 0%, #fff0f5 100%);
    margin: 5% auto;
    padding: 40px;
    border: 3px solid var(--accent-color);
    width: 90%;
    max-width: 500px;
    border-radius: 30px;
    position: relative;
    text-align: center;
    box-shadow: 0 0 50px rgba(255, 105, 180, 0.5);
    overflow: hidden;
    animation: modalSlideUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.cosmic-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, #ff69b4, #ffd700, #ff1493, #00d2ff, #ff69b4);
    background-size: 400% 100%;
    animation: rainbowShift 3s linear infinite;
}

@keyframes rainbowShift {
    0% { background-position: 0% 0; }
    100% { background-position: 400% 0; }
}

.close-kiss {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-kiss:hover {
    color: var(--accent-hover);
}

.main-kiss-icon {
    font-size: 5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    display: inline-block;
    animation: pulseKiss 1.5s infinite;
}

@keyframes pulseKiss {
    0% { transform: scale(1); text-shadow: 0 0 0 rgba(255,105,180,0); }
    50% { transform: scale(1.2); text-shadow: 0 0 20px rgba(255,105,180,0.8); }
    100% { transform: scale(1); text-shadow: 0 0 0 rgba(255,105,180,0); }
}

.happiness-meter {
    margin: 30px 0;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.05);
}

.meter-label {
    font-weight: bold;
    margin-bottom: 10px;
    color: #555;
}

.meter-bar {
    height: 25px;
    background: #eee;
    border-radius: 20px;
    overflow: hidden;
}

.meter-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #ff69b4, #ff1493);
    transition: width 2.5s cubic-bezier(0.1, 0.7, 0.1, 1);
}

.meter-value {
    margin-top: 10px;
    font-weight: 800;
    color: var(--accent-hover);
    font-size: 1.5rem;
}

.cosmic-status {
    font-style: italic;
    color: #777;
    font-size: 0.9rem;
    margin-top: 15px;
}

.thank-you-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 12px 40px;
    border-radius: 50px;
    font-family: var(--ui-font);
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255,105,180,0.3);
    transition: all 0.3s;
}

.thank-you-btn:hover {
    transform: scale(1.1);
    background: var(--accent-hover);
    box-shadow: 0 6px 20px rgba(255,105,180,0.5);
}

/* --- Donation Banner --- */
.donation-banner {
    margin-top: 4em;
    padding: 40px;
    background: #fffafa;
    border: 2px solid #ffe4e1;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.donation-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 100%;
    background: var(--accent-color);
}

.donation-icon {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.donation-content h2 {
    border: none;
    margin-top: 0;
    margin-bottom: 15px;
    font-family: var(--headings-font);
    color: var(--heading-color);
}

.donation-content p {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.big-donate-btn {
    background: var(--accent-color);
    color: white !important;
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: bold;
    font-family: var(--ui-font);
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(255, 105, 180, 0.4);
    font-size: 1.2rem;
}

.big-donate-btn:hover {
    transform: scale(1.08);
    background: var(--accent-hover);
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.6);
    text-decoration: none !important;
}

/* --- Ultimate Kiss Experience Styles --- */
.blast-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 30000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-in;
}

.blast-overlay.active {
    opacity: 1;
}

.falling-text-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 25000;
    pointer-events: none;
    background: linear-gradient(to bottom, #ff75c3, #ffa647, #ffe83f, #9fff5b, #70e2ff, #cd93ff);
    background-size: 100% 600%;
    animation: skyGradient 5s ease infinite;
    opacity: 0;
    transition: opacity 1s ease;
}

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

.falling-text-container.visible {
    opacity: 1;
}

/* --- Custom Heart Cursor --- */
#cursor-heart {
    position: fixed;
    top: 0;
    left: 0;
    width: 25px;
    height: 25px;
    color: var(--accent-color);
    font-size: 20px;
    pointer-events: none;
    z-index: 50000;
    display: flex;
    justify-content: center;
    align-items: center;
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.8);
    transition: transform 0.1s ease-out; /* Smooth follow */
    opacity: 0; /* Hidden initially */
}

@media (max-width: 768px) {
    #cursor-heart {
        display: none; /* Hide on mobile for better UX */
    }
}
.falling-word {
    font-family: var(--logo-font);
    font-size: 4rem;
    color: white;
    text-shadow: 0 5px 15px rgba(0,0,0,0.2);
    margin: 10px;
    opacity: 0;
    transform: translateY(-200px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.falling-word.dropped {
    opacity: 1;
    transform: translateY(0);
}

.site-hidden {
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.5s ease;
}

.big-kiss-impact {
    font-size: 15rem;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(5);
    opacity: 0;
    z-index: 21000;
    transition: all 0.4s cubic-bezier(0.6, -0.28, 0.735, 0.045);
    pointer-events: none;
}

.big-kiss-impact.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* --- Grand Entrance Curtains --- */
.curtain-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999 !important;
    display: flex;
    pointer-events: all;
    overflow: hidden;
}

.curtain-left, .curtain-right {
    width: 50%;
    height: 100%;
    background: #ff1493; /* Solid Deep Pink */
    background: linear-gradient(135deg, #ff1493 0%, #ff69b4 100%);
    position: relative;
    transition: transform 1.5s cubic-bezier(0.7, 0, 0.3, 1);
    pointer-events: all;
    z-index: 100000;
}

.curtain-left::before, .curtain-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(90deg, rgba(0,0,0,0.05) 0px, rgba(0,0,0,0.05) 1px, transparent 1px, transparent 30px);
    opacity: 0.3;
}

.curtain-container.open {
    pointer-events: none;
}

.curtain-container.open .curtain-left {
    transform: translateX(-100%);
}

.curtain-container.open .curtain-right {
    transform: translateX(100%);
}

.curtain-left::after, .curtain-right::after {
    content: '';
    position: absolute;
    top: 0;
    width: 30px;
    height: 100%;
    background: rgba(0,0,0,0.2);
}

.curtain-left::after { right: 0; }
.curtain-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 200000; /* Much higher than the curtains (100000) */
    text-align: center;
    color: #d63384; /* Deep romantic pink */
    cursor: pointer;
    transition: opacity 0.5s ease;
    width: 100%;
}

.curtain-container.open .curtain-content {
    opacity: 0;
    pointer-events: none;
}

.entrance-heart {
    font-size: 100px; /* Larger */
    color: var(--accent-color);
    margin-bottom: 25px;
    animation: heartPulse 1.5s infinite;
    filter: drop-shadow(0 0 15px rgba(255, 105, 180, 0.4));
}

.curtain-content p {
    font-family: var(--ui-font);
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8); /* White shadow for readability */
}

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

/* --- Floating Music Button --- */
#floating-music-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-color);
    color: white;
    border: none;
    cursor: pointer;
    z-index: 55000;
    box-shadow: 0 5px 20px rgba(255, 105, 180, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#floating-music-btn:hover {
    transform: scale(1.1) rotate(15deg);
    background: var(--accent-hover);
    box-shadow: 0 8px 30px rgba(255, 105, 180, 0.7);
}

#floating-music-btn.playing {
    animation: pulseMusic 2s infinite;
}

@keyframes pulseMusic {
    0% { box-shadow: 0 0 0 0 rgba(255, 105, 180, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(255, 105, 180, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 105, 180, 0); }
}

#floating-music-btn i {
    transition: transform 0.3s;
}

#floating-music-btn.playing i {
    animation: rotateMusic 3s linear infinite;
}

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