/* ========== Root Variables & Theme ========== */
:root {
    --primary-gold: #d4af37;
    --primary-red: #8b0000;
    --secondary-amber: #fcd34d;
    --dark-brown: #3d2817;
    --light-cream: #fff8dc;
    --accent-pink: #ffb6c1;
    --accent-blue: #87ceeb;
    --text-light: #f5deb3;
}

/* ========== Global Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: "Geist", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #5d3c1a 0%, #6b2c2c 50%, #4a2a1a 100%);
    color: var(--text-light);
    position: relative;
}

/* ========== Main Container ========== */
.main-container {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 20px;
}

/* ========== Decorative Background ========== */
.decorative-bg {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    pointer-events: none;
}

.circle {
    position: absolute;
    border: 2px solid var(--secondary-amber);
    border-radius: 50%;
}

.circle-top-left {
    top: 40px;
    left: 40px;
    width: 160px;
    height: 160px;
}

.circle-bottom-right {
    bottom: 80px;
    right: 80px;
    width: 240px;
    height: 240px;
}

/* ========== Content Wrapper ========== */
.content-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 900px;
    width: 100%;
}

/* ========== Ganesh Header Section ========== */
.ganesh-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-bottom: 48px;
    animation: fadeInDown 0.8s ease-out;
}

.ganesh-icon {
    width: 96px;
    height: 96px;
    margin-bottom: 16px;
}

.ganesh-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--secondary-amber);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.title-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.main-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.5rem, 10vw, 4.5rem);
    font-weight: 700;
    color: var(--light-cream);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    margin: 0;
    line-height: 1.1;
}

.subtitle {
    font-size: clamp(1rem, 4vw, 1.5rem);
    color: var(--secondary-amber);
    font-style: italic;
    font-weight: 300;
    letter-spacing: 3px;
    margin: 0;
}

/* ========== Couple Section ========== */
.couple-section {
    text-align: center;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.intro-text {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 24px;
}

.couple-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.couple-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    flex: 0 1 auto;
}

.couple-avatar {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    margin-bottom: 8px;
}

.bride-avatar {
    background: linear-gradient(180deg, #fca5a5 0%, #f472b6 100%);
}

.groom-avatar {
    background: linear-gradient(180deg, #93c5fd 0%, #60a5fa 100%);
}

.couple-name {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.5rem, 5vw, 2.25rem);
    color: var(--light-cream);
    margin: 0;
}

.couple-role {
    font-size: 0.875rem;
    color: var(--secondary-amber);
    margin: 0;
    letter-spacing: 1px;
}

.divider {
    display: none;
    width: 48px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--secondary-amber), transparent);
}

@media (min-width: 768px) {
    .divider {
        display: block;
    }
}

/* ========== Countdown Section ========== */
.countdown-section {
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.countdown-intro {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 32px;
    letter-spacing: 2px;
}

.timer-container {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

@media (min-width: 576px) {
    .timer-container {
        gap: 32px;
    }
}

.timer-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.timer-value {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 100%);
    border: 2px solid var(--secondary-amber);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.875rem;
    font-weight: 700;
    font-family: "Courier New", monospace;
    color: var(--primary-red);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    min-width: 80px;
    min-height: 80px;
}

@media (min-width: 768px) {
    .timer-value {
        width: 96px;
        height: 96px;
        font-size: 2.25rem;
    }
}

.timer-label {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.countdown-outro {
    font-size: 1rem;
    color: var(--secondary-amber);
    margin-top: 24px;
    font-style: italic;
}

/* ========== Social Links Section ========== */
.social-section {
    margin-bottom: 96px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.social-link {
    width: 40px;
    height: 40px;
    border: 2px solid var(--secondary-amber);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1.125rem;
}

.social-link:hover {
    transform: scale(1.1);
    background-color: rgba(212, 175, 55, 0.1);
}

.social-link.facebook:hover {
    color: #4267b2;
    border-color: #4267b2;
}

.social-link.twitter:hover {
    color: #1da1f2;
    border-color: #1da1f2;
}

.social-link.pinterest:hover {
    color: #e60023;
    border-color: #e60023;
}

.social-link.instagram:hover {
    color: #e1306c;
    border-color: #e1306c;
}

/* ========== Footer ========== */
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 24px 20px;
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
    z-index: 10;
}

/* ========== Animations ========== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== Responsive ========== */
@media (max-width: 576px) {
    .main-container {
        padding: 20px 15px;
    }

    .ganesh-section {
        margin-bottom: 32px;
    }

    .couple-section {
        margin-bottom: 32px;
    }

    .couple-avatar {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }

    .countdown-section {
        margin-bottom: 32px;
    }

    .timer-value {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
    }

    .social-links {
        gap: 20px;
    }

    .social-link {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .footer {
        padding: 16px 10px;
        font-size: 0.75rem;
    }
}