:root {
    --primary-gold: #D4AF37;
    --dark-gold: #967117;
    --champagne: #F7E7CE;
    --pearl: #FBFCF8;
    --nude: #E3BC9A;
    --text-color: #333333;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.5);
    --glass-border: rgba(255, 255, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    background-color: var(--pearl);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
.names-cursive {
    font-family: 'Great Vibes', cursive;
}

h3 {
    font-family: 'Playfair Display', serif;
    color: var(--dark-gold);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.hidden {
    display: none !important;
}

/* Intro Overlay */
.intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, var(--pearl) 0%, var(--champagne) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: all 1.2s cubic-bezier(0.7, 0, 0.3, 1);
}

.intro-content {
    text-align: center;
    z-index: 2;
    padding: 20px;
    max-width: 600px;
}

.intro-decoration {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 25px;
}

.intro-blessing {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.4rem;
    color: var(--dark-gold);
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.names-wrapper {
    margin-bottom: 50px;
}

.couple-names {
    font-size: 6rem;
    color: var(--primary-gold);
    margin: 10px 0;
    text-shadow: 3px 3px 6px rgba(150, 113, 23, 0.1);
}

.ornament {
    font-size: 1.5rem;
    color: var(--nude);
    margin-top: -10px;
}

@media (max-width: 768px) {
    .couple-names {
        font-size: 4rem;
    }

    .intro-blessing {
        font-size: 1.1rem;
    }
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-gold);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--dark-gold);
    border: 2px solid var(--primary-gold);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: var(--primary-gold);
    color: white;
}

/* Particles Intro */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: radial-gradient(circle, var(--primary-gold) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 10s infinite ease-in-out;
    filter: blur(1px);
}

.petal {
    position: absolute;
    background-color: #fff;
    border-radius: 150% 0 150% 0;
    opacity: 0.6;
    animation: petal-fall 10s linear infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(1);
    }

    33% {
        transform: translateY(-50px) translateX(30px) rotate(120deg) scale(1.1);
    }

    66% {
        transform: translateY(-100px) translateX(-20px) rotate(240deg) scale(0.9);
    }
}

@keyframes petal-fall {
    0% {
        transform: translateY(-10vh) translateX(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.7;
    }

    90% {
        opacity: 0.7;
    }

    100% {
        transform: translateY(110vh) translateX(100px) rotate(720deg);
        opacity: 0;
    }
}

/* Music Control */
.music-control {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
}

.music-control button {
    background: var(--glass);
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)),
        url('https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&q=80&w=2070');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}

.hero-text {
    text-align: center;
}

.quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--dark-gold);
    font-style: italic;
}

.names-cursive {
    font-size: 6rem;
    color: var(--primary-gold);
    margin-bottom: 40px;
}

.wedding-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid var(--primary-gold);
    border-bottom: 1px solid var(--primary-gold);
    padding: 20px 0;
    max-width: 300px;
    margin: 0 auto;
}

.day {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.date-number {
    font-size: 4rem;
    font-family: 'Playfair Display', serif;
    line-height: 1;
    margin: 10px 0;
    color: var(--dark-gold);
}

.month {
    font-size: 1.5rem;
    letter-spacing: 2px;
}

/* Details Section */
.details-section {
    padding: 100px 0;
    background-color: var(--white);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.detail-card {
    text-align: center;
    padding: 50px 30px;
    background: var(--glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.detail-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(212, 175, 55, 0.2);
    background: rgba(255, 255, 255, 0.9);
}

.icon-wrapper {
    font-size: 3.5rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.detail-card:hover .icon-wrapper {
    transform: scale(1.2) rotate(5deg);
}

.detail-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.detail-card p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.map-action {
    text-align: center;
}

/* Extra Info */
.extra-info {
    padding: 80px 0;
    background-color: var(--champagne);
    color: var(--dark-gold);
}

.info-item {
    margin-bottom: 40px;
}

.label {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.value {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
}

.message-heart {
    font-family: 'Great Vibes', cursive;
    font-size: 2rem;
}

.message-heart i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
    color: var(--primary-gold);
    animation: heartBeat 2s infinite;
}

/* RSVP Section */
.rsvp-section {
    padding: 100px 0;
    background: linear-gradient(rgba(247, 231, 206, 0.9), rgba(247, 231, 206, 0.9)),
        url('https://images.unsplash.com/photo-1511795409834-ef04bbd61622?auto=format&fit=crop&q=80&w=2069');
    background-size: cover;
    background-position: center;
}

.rsvp-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--glass);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.rsvp-title {
    text-align: center;
    font-size: 2.5rem;
    font-family: 'Great Vibes', cursive;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

input,
select {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--nude);
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    outline: none;
    background: white;
}

input:focus,
select:focus {
    border-color: var(--primary-gold);
}

.btn-submit {
    width: 100%;
    background-color: var(--primary-gold);
    color: white;
    border: none;
    padding: 15px;
    font-size: 1.1rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-submit:hover {
    background-color: var(--dark-gold);
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    background-color: var(--pearl);
    border-top: 1px solid var(--champagne);
}

footer p {
    font-family: 'Great Vibes', cursive;
    font-size: 1.8rem;
    color: var(--primary-gold);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .names-cursive {
        font-size: 4rem;
    }

    .value {
        font-size: 2rem;
    }

    .rsvp-form-container {
        padding: 30px 20px;
    }
}