:root {
    --primary-color: #C21E56;
    --secondary-color: #FFD1DC;
    --bg-color: #FFF0F5;
    --text-color: #4A4A4A;
    --white: #FFFFFF;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, #fff0f5 0%, #ffe6ee 100%);
    overflow: hidden;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 2rem;
}

.date-display {
    font-size: 2rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    color: var(--primary-color);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
}

.delay-1 {
    animation-delay: 0.5s;
}

.delay-2 {
    animation-delay: 1s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    font-size: 2rem;
    color: var(--primary-color);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Timer Section */
.counter-section {
    padding: 5rem 2rem;
    text-align: center;
    background: var(--white);
}

.counter-section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.timer-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 15px;
    min-width: 120px;
    box-shadow: 0 4px 15px rgba(194, 30, 86, 0.1);
}

.time-unit span {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.time-unit label {
    margin-top: 0.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Timeline Section */
.timeline-section {
    padding: 5rem 2rem;
    position: relative;
}

.timeline-section h2 {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 4rem;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '❤️';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -12.5px;
    background-color: var(--white);
    border: 2px solid var(--primary-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid var(--white);
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--white);
}

.right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid var(--white);
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--white) transparent transparent;
}

.right::after {
    left: -12.5px;
}

.content {
    padding: 20px 30px;
    background-color: var(--white);
    position: relative;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.img-placeholder {
    width: 100%;
    height: 150px;
    background-color: #eee;
    margin-top: 15px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 0.9rem;
    border: 2px dashed #ddd;
}

.timeline-img {
    width: 100%;
    height: auto;
    margin-top: 15px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Dashboard Section */
.dashboard-section {
    padding: 5rem 2rem;
    background: var(--bg-color);
    text-align: center;
}

.dashboard-section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.dashboard-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(194, 30, 86, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(194, 30, 86, 0.1);
}

.dashboard-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(194, 30, 86, 0.2);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.dashboard-card h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card-content {
    width: 100%;
}

.placeholder-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.card-desc {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.color-swatch {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    border: 3px solid var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Love Note Section */
.love-note-section {
    padding: 5rem 2rem;
    background: var(--white);
    display: flex;
    justify-content: center;
}

.note-card {
    max-width: 600px;
    text-align: center;
    padding: 3rem;
    border: 2px solid var(--secondary-color);
    border-radius: 20px;
    background: #fff;
    position: relative;
}

.note-card::before {
    content: '💌';
    font-size: 3rem;
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    padding: 0 1rem;
}

.note-card h2 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.note-card p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.love-btn {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: var(--font-body);
}

.love-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(194, 30, 86, 0.3);
}

footer {
    text-align: center;
    padding: 2rem;
    background: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 600;
}

/* Mobile Responsiveness */
@media screen and (max-width: 600px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }

    .left::after,
    .right::after {
        left: 18px;
    }

    .right {
        left: 0%;
    }

    .timer-grid {
        gap: 1rem;
    }

    .time-unit {
        min-width: 80px;
        padding: 1rem;
    }

    .time-unit span {
        font-size: 2rem;
    }
}

.play-btn {
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    transition: all 0.3s ease;
}

.play-btn:hover {
    background-color: #a01848;
    transform: scale(1.05);
}

#player-container {
    width: 100%;
    margin-top: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

#player-container iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
}

/* 21 Reasons Section - Carousel Redesign */
.reasons-section {
    padding: 5rem 2rem;
    background: var(--white);
    text-align: center;
}

.reasons-section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.reasons-carousel {
    width: 300px;
    height: 300px;
    position: relative;
    perspective: 1000px;
}

.reason-card {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.reason-card.active {
    opacity: 1;
    pointer-events: all;
    z-index: 10;
}

.reason-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
}

.reason-card:hover .reason-card-inner,
.reason-card.flipped .reason-card-inner {
    transform: rotateY(180deg);
}

.reason-card-front,
.reason-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.reason-card-front {
    background-color: var(--bg-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

.reason-card-front span {
    font-size: 4rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.reason-card-back {
    background-color: var(--primary-color);
    color: var(--white);
    transform: rotateY(180deg);
}

.reason-card-back p {
    font-size: 1.1rem;
    line-height: 1.5;
    font-family: var(--font-heading);
}

.carousel-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(194, 30, 86, 0.3);
}

.carousel-btn:hover {
    background-color: #a0184a;
    transform: scale(1.1);
}

.carousel-indicators {
    margin-top: 2rem;
    font-family: var(--font-heading);
    color: var(--text-color);
    font-size: 1.2rem;
}

/* Inline Red Text for Last Card */
.red-text {
    color: #ff4444;
    font-weight: 600;
}

@media (max-width: 600px) {
    .carousel-container {
        gap: 1rem;
    }

    .reasons-carousel {
        width: 250px;
        height: 250px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .reason-card-back p {
        font-size: 1rem;
    }
}

/* Vibe Check Theme Styles */
.dashboard-section.vibe-check-theme {
    background-color: #E8ECEA;
}

.dashboard-section.vibe-check-theme h2 {
    color: #4A5D4F;
}

.dashboard-section.vibe-check-theme .dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.dashboard-card.vibe-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.dashboard-card.vibe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.icon-circle {
    background-color: rgba(74, 93, 79, 0.1);
    color: #4A5D4F;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.dashboard-card.vibe-card h3 {
    color: #4A5D4F;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.dashboard-card.vibe-card .placeholder-text {
    color: #2C3A2F;
    font-size: 1.2rem;
    font-weight: 500;
}

.dashboard-card.vibe-card .card-desc {
    color: #6B7F70;
    font-style: italic;
    font-size: 0.9rem;
}

.play-btn.vibe-btn {
    background-color: #4A5D4F;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin: 1rem auto 0;
    box-shadow: 0 4px 10px rgba(74, 93, 79, 0.2);
}

.play-btn.vibe-btn:hover {
    background-color: #3A4A3E;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .dashboard-section.vibe-check-theme .dashboard-grid {
        grid-template-columns: 1fr;
    }
}