/* Base styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #fff8f0 0%, #ffe6e6 100%);
    color: #5d4037;
    overflow-x: hidden;
    scroll-behavior: smooth; /* Add smooth scroll */
}

/* Golden accents for special touches */
::selection {
    background-color: rgba(210, 160, 90, 0.3);
    color: #5d4037;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

/* Remove music control styles as they're no longer needed */

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.om {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #d2a05a;
    text-shadow: 0 0 10px rgba(210, 160, 90, 0.5);
}

.names {
    font-family: 'Rozha One', serif;
    font-size: 3.5rem;
    margin: 10px 0;
    color: #8B4513;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    background: linear-gradient(to right, #8B4513, #d2a05a, #8B4513);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: textGradient 5s linear infinite;
}

@keyframes textGradient {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.and {
    font-size: 2.5rem;
    color: #d2a05a;
    display: inline-block;
}

.invite-text {
    font-size: 1.2rem;
    margin-top: 10px;
    color: #5d4037;
    letter-spacing: 1px;
}

/* Card Styles */
.invitation-card {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 40px;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    transition: all 0.5s ease;
}

.invitation-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.card-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Add decorative corner flourishes */
.invitation-card::before,
.invitation-card::after {
    content: '❦';
    font-size: 30px;
    color: rgba(210, 160, 90, 0.3);
    position: absolute;
}

.invitation-card::before {
    top: 15px;
    left: 15px;
}

.invitation-card::after {
    bottom: 15px;
    right: 15px;
    transform: rotate(180deg);
}

.ganesh {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #d2a05a;
}

.invite {
    font-family: 'Rozha One', serif;
    font-size: 2.5rem;
    margin: 15px 0;
    color: #8B4513;
    position: relative;
}

.invite::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, transparent, #d2a05a, transparent);
}

.invite-msg {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

.invitation-image {
    max-width: 100%;
    margin: 30px 0;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.invitation-image::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, rgba(210, 160, 90, 0.3), transparent);
    border-radius: 15px;
    z-index: -1;
    opacity: 0.7;
    transition: opacity 0.5s ease;
}

.invitation-image:hover::before {
    opacity: 1;
}

.invitation-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Remove animation: pulse 5s infinite ease-in-out; */
    transform: scale(1);
    filter: saturate(1);
}

.invitation-image img:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(210, 160, 90, 0.4);
    filter: saturate(1.1) contrast(1.05);
}

/* Create a golden border effect on hover */
.invitation-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 0px solid rgba(210, 160, 90, 0);
    border-radius: 10px;
    transition: all 0.4s ease;
    pointer-events: none;
}

.invitation-image:hover::after {
    border-width: 4px;
    border-color: rgba(210, 160, 90, 0.6);
    box-shadow: inset 0 0 20px rgba(210, 160, 90, 0.3);
}

/* Border Design */
.border-design {
    height: 10px;
    background: repeating-linear-gradient(
        45deg,
        #d2a05a,
        #d2a05a 10px,
        #e6c79c 10px,
        #e6c79c 20px
    );
    margin: 20px 0;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.border-design::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Decorative Elements */
.diya {
    position: absolute;
    width: 40px;
    height: 40px;
    background-image: url('diya.png');
    background-size: contain;
    background-repeat: no-repeat;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.7));
}

.diya.left {
    left: 10px;
    top: 50%;
}

.diya.right {
    right: 10px;
    top: 50%;
}

.flower {
    position: absolute;
    width: 60px;
    height: 60px;
    background-image: url('flower.png');
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.flower:hover {
    transform: scale(1.1) rotate(10deg);
}

.flower.top-left {
    left: 20px;
    top: 20px;
}

.flower.top-right {
    right: 20px;
    top: 20px;
}

.flower.bottom-left {
    left: 20px;
    bottom: 20px;
}

.flower.bottom-right {
    right: 20px;
    bottom: 20px;
}

/* Additional fancy elements - sparkle effect */
@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

.sparkle {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 215, 0, 0.8);
    box-shadow: 0 0 10px gold;
    pointer-events: none;
    z-index: 10;
}

/* Responsive styles remain unchanged... */
