:root {
    --primary: #c98860;
    --primary-hover: #b57a56;
    --text-main: #f8f9fa;
    --text-muted: rgba(255, 255, 255, 0.85);
    --glass-bg: rgba(20, 20, 24, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08); /* Softer white line */
    --glass-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

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

body {
    font-family: 'Mukta Vaani', 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    background-color: #0a0a0c;
}

.background-container {
    position: fixed;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-image: url('assets/farmhouse_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    transition: transform 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: slowZoom 30s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    0% {
        transform: scale(1) translate(0, 0);
    }

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

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.85) 100%);
    z-index: -1;
}

.content-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem 4rem;
    max-width: 650px;
    width: 100%;
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
}

.bless-btn-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.bless-btn {
    background: rgba(201, 136, 96, 0.1);
    color: var(--primary);
    border: 1px solid rgba(201, 136, 96, 0.3);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-family: inherit;
    animation: gentlePulse 2s infinite;
}

.bless-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 136, 96, 0.3);
}

.bless-btn i {
    width: 18px;
    height: 18px;
}

@keyframes gentlePulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(201, 136, 96, 0.2); }
    70% { transform: scale(1.02); box-shadow: 0 0 0 10px rgba(201, 136, 96, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(201, 136, 96, 0); }
}

/* Shine effect on card */
.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.015), transparent);
    transform: skewX(-20deg);
    animation: shine 8s infinite;
    pointer-events: none;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

.deity-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.deity-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    mix-blend-mode: screen;
    border-radius: 50%;
    filter: drop-shadow(0 0 15px rgba(201, 136, 96, 0.4));
    animation: floating 4s ease-in-out infinite;
}

.deity-img:nth-child(1) {
    animation-delay: 0s;
}

.deity-img:nth-child(3) {
    animation-delay: 1s;
}

.center-deity {
    width: 90px;
    height: 90px;
    transform: translateY(-10px);
    animation: floatingCenter 4s ease-in-out infinite 0.5s;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

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

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

@keyframes floatingCenter {
    0% {
        transform: translateY(-10px);
    }

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

    100% {
        transform: translateY(-10px);
    }
}

.card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 0.5rem;
}

.subtitle {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
}

.title {
    font-size: 2.8rem;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

.countdown-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.count-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    text-shadow: 0 0 10px rgba(201, 136, 96, 0.3);
}

.count-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.count-sep {
    font-size: 2rem;
    color: var(--glass-border);
    padding-bottom: 1.5rem;
}

.event-started {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary);
    font-style: italic;
    text-align: center;
    width: 100%;
    animation: glowPulse 2s infinite;
}

@keyframes glowPulse {
    0% { opacity: 0.8; text-shadow: 0 0 5px var(--primary); }
    50% { opacity: 1; text-shadow: 0 0 20px var(--primary); }
    100% { opacity: 0.8; text-shadow: 0 0 5px var(--primary); }
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.detail-item.full-width {
    grid-column: 1 / -1;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 0.5rem;
    width: 100%;
}

.detail-item.full-width .detail-icon {
    margin-top: 0;
    margin-bottom: 8px;
    width: 28px;
    height: 28px;
}

.detail-item.full-width .detail-text {
    align-items: center;
    text-align: center;
}

.detail-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.detail-icon {
    color: var(--primary);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 4px;
}

.detail-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-text strong {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.detail-text span {
    font-size: 1.1rem;
    /* Slightly larger text for Gujarati readability */
    color: var(--text-muted);
}

.map-link-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    background: rgba(201, 136, 96, 0.15);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(201, 136, 96, 0.2);
    width: fit-content;
}

.map-link-inline:hover {
    background: var(--primary);
    color: var(--text-main);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 136, 96, 0.2);
}

.map-link-inline i {
    width: 18px;
    height: 18px;
}

.main-message {
    text-align: justify;
    font-size: 1.15rem;
    /* Better readability for Gujarati */
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.main-message strong {
    color: var(--primary);
    font-size: 1.25rem;
}

.divider {
    height: 1px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 80%);
    margin-bottom: 2.5rem;
    opacity: 0.2; /* Very subtle */
}

.inviters-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
}

.inviter-list {
    list-style: none;
    text-align: center;
    margin-top: 1rem;
}

.inviter-list li {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.family-text {
    justify-content: center !important;
    font-weight: 600;
    margin-top: 0.5rem;
    color: var(--primary);
}

.phone {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s;
}

.phone:hover {
    color: var(--primary);
}

.phone i {
    width: 16px;
    height: 16px;
}

.action-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.rsvp-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(201, 136, 96, 0.25);
}

.rsvp-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(201, 136, 96, 0.4);
}

.rsvp-btn i {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    color: white;
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(40px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.music-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.music-btn:hover {
    transform: scale(1.1);
    background: var(--primary);
    color: white;
}

.music-btn.playing {
    animation: pulseGlow 2s infinite;
}

.music-btn i {
    width: 20px;
    height: 20px;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(201, 136, 96, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(201, 136, 96, 0); }
    100% { box-shadow: 0 0 0 0 rgba(201, 136, 96, 0); }
}

/* Responsive */
@media (max-width: 768px) {
    .deity-section {
        gap: 1rem;
    }

    .deity-img {
        width: 55px;
        height: 55px;
    }

    .center-deity {
        width: 75px;
        height: 75px;
    }

    .countdown-section {
        gap: 0.5rem;
        padding: 1rem;
    }

    .count-num {
        font-size: 1.8rem;
    }

    .count-sep {
        font-size: 1.5rem;
    }

    .glass-card {
        padding: 2.5rem 1.5rem;
    }

    .title {
        font-size: 2.2rem;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .detail-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .detail-text {
        align-items: center;
    }

    .main-message {
        text-align: left;
    }

    .inviter-list li {
        flex-direction: column;
        gap: 0.25rem;
    }

    .music-btn {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}