/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: #1a1a1a;
    background: linear-gradient(135deg, #fafafa 0%, #f8f6f7 50%, #f5f3f4 100%);
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 0;
    box-shadow: none;
    padding: 80px 60px;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(250, 250, 250, 0.05) 50%, transparent 60%);
    pointer-events: none;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

/* Vintage Filigree Silver Lines */
.ornamental-line {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px auto;
    position: relative;
    max-width: 350px;
    height: 50px;
}

.ornament-left, .ornament-right {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, #b0b0b0, #c0c0c0, #b0b0b0, transparent);
    position: relative;
}

.ornament-left::before, .ornament-right::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid #b0b0b0;
    border-radius: 50% 0 50% 0;
    transform: rotate(45deg);
    top: -10px;
}

.ornament-left::after, .ornament-right::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid #b0b0b0;
    border-radius: 50%;
    top: -6px;
}

.ornament-left::before {
    right: 10px;
}

.ornament-left::after {
    right: 15px;
}

.ornament-right::before {
    left: 10px;
}

.ornament-right::after {
    left: 15px;
}

.ornament-center {
    width: 30px;
    height: 30px;
    border: 3px solid #b0b0b0;
    border-radius: 50%;
    margin: 0 20px;
    position: relative;
    background: radial-gradient(circle, rgba(200,200,200,0.4), transparent);
}

.ornament-center::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border: 2px solid #b0b0b0;
    border-radius: 50% 0 50% 0;
    transform: translate(-50%, -50%) rotate(45deg);
}

.ornament-center::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #b0b0b0;
    border-radius: 50%;
}

/* Modern Photo Container */
.photo-container {
    margin: 60px 0;
    text-align: center;
}

.photo-frame {
    display: inline-block;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.photo-frame::before {
    display: none;
}

.wedding-photo {
    width: 320px;
    height: auto;
    max-height: 380px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: contrast(1.1) saturate(0.95);
}

.wedding-photo:hover {
    transform: scale(1.02);
}

.main-title {
    font-family: 'Dancing Script', cursive;
    font-size: 4.5rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #2a2a2a;
    margin: 60px 0 40px 0;
    text-shadow: none;
    animation: fadeInDown 1s ease-out;
}

/* Removed old heart emoji styles - replaced with photo */

/* Main Content */
.main-content {
    position: relative;
    z-index: 1;
}

.message-section {
    text-align: center;
    margin-bottom: 40px;
}

.subtitle {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.5rem;
    font-weight: 400;
    color: #666666;
    margin-bottom: 60px;
    letter-spacing: 0.5px;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.congratulations-text {
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 1s both;
}

.main-message, .blessing, .closing {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 35px;
    text-align: center;
    color: #4a4a4a;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.main-message {
    font-weight: 400;
    color: #2a2a2a;
    font-size: 1.15rem;
}

.blessing {
    font-style: normal;
    color: #5a5a5a;
    font-weight: 300;
    padding-left: 30px;
    border-left: 2px solid #f0f0f0;
}

.closing {
    font-weight: 700;
    font-style: italic;
    color: #2a2a2a;
    margin-top: 40px;
    text-align: center;
}

.closing.very-important {
    font-weight: 700;
    font-style: italic;
}

/* Signature */
.signature {
    margin-top: 80px;
    text-align: center;
    animation: fadeInUp 1s ease-out 1.5s both;
    padding-top: 40px;
    border-top: 1px solid #f0f0f0;
}

.love-message {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.2rem;
    color: #888888;
    margin-bottom: 20px;
    font-weight: 400;
}

.names-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
}

.names {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #444;
    font-style: italic;
}

.silver-heart {
    font-size: 1.6rem;
    color: #c0c0c0;
    background: linear-gradient(45deg, #c0c0c0, #e8e8e8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    position: relative;
}

.silver-heart::before {
    content: '♥';
    position: absolute;
    top: 0;
    left: 0;
    color: #c0c0c0;
    z-index: -1;
}

/* Music Control */
.music-control {
    text-align: center;
    margin: 40px 0;
}

.music-btn {
    background: linear-gradient(135deg, #f8f8f8, #e8e8e8);
    border: 2px solid #c0c0c0;
    border-radius: 50px;
    padding: 15px 30px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #5a4a3a;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.music-btn:hover {
    background: linear-gradient(135deg, #e8e8e8, #d8d8d8);
    border-color: #b0b0b0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.music-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.music-btn:focus-visible {
    outline: 3px solid #d4af37;
    outline-offset: 2px;
}

.music-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.autoplay-status {
    margin-bottom: 15px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    border: 2px solid #d4af37;
    border-radius: 25px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #5a4a3a;
    text-align: center;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    animation: gentlePulse 2s infinite;
}

@keyframes gentlePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.02); }
}

.audio-status {
    margin-top: 10px;
    padding: 10px;
    background: rgba(255, 220, 220, 0.9);
    border: 1px solid #ffcccc;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #8b4513;
    text-align: center;
}

.music-btn.playing {
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    border-color: #d4af37;
    color: #5a4a3a;
    animation: musicPulse 2s infinite;
}

@keyframes musicPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3); }
    50% { box-shadow: 0 4px 25px rgba(212, 175, 55, 0.5); }
}

.music-icon {
    font-size: 1.2rem;
    animation: none;
}

.music-btn.playing .music-icon {
    animation: musicBounce 1s infinite;
}

@keyframes musicBounce {
    0%, 50%, 100% { transform: scale(1); }
    25%, 75% { transform: scale(1.1); }
}

.music-text {
    font-weight: 500;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .music-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .music-icon {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .music-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .music-text {
        display: none;
    }
    
    .music-icon {
        font-size: 1.3rem;
    }
}

/* Floating Hearts - Hidden for Modern Design */
.floating-hearts {
    display: none;
}

.floating-heart {
    position: absolute;
    font-size: 1.8rem;
    animation: float 8s ease-in-out infinite;
    opacity: 0.2;
}

.floating-heart:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.floating-heart:nth-child(2) {
    left: 20%;
    animation-delay: 2s;
    animation-duration: 10s;
}

.floating-heart:nth-child(3) {
    left: 70%;
    animation-delay: 4s;
    animation-duration: 9s;
}

.floating-heart:nth-child(4) {
    left: 80%;
    animation-delay: 6s;
    animation-duration: 11s;
}

.floating-heart:nth-child(5) {
    left: 90%;
    animation-delay: 8s;
    animation-duration: 7s;
}

/* Black Heart and Sparkle Confetti Animation */
@keyframes confettiFall {
    0% {
        transform: translateY(-50px) rotate(0deg) scale(1);
        opacity: 1;
    }
    20% {
        opacity: 1;
        transform: translateY(20vh) rotate(180deg) scale(1.1);
    }
    50% {
        opacity: 0.9;
        transform: translateY(50vh) rotate(360deg) scale(0.9);
    }
    80% {
        opacity: 0.7;
        transform: translateY(80vh) rotate(540deg) scale(1.05);
    }
    100% {
        transform: translateY(110vh) rotate(720deg) scale(0.8);
        opacity: 0;
    }
}

/* Swaying confetti with sparkle effects */
@keyframes confettiSway {
    0% {
        transform: translateY(-50px) translateX(0) rotate(0deg) scale(1);
        opacity: 1;
        filter: brightness(1) drop-shadow(0 0 3px rgba(212, 175, 55, 0.3));
    }
    15% {
        transform: translateY(15vh) translateX(30px) rotate(90deg) scale(1.2);
        filter: brightness(1.2) drop-shadow(0 0 5px rgba(212, 175, 55, 0.5));
    }
    35% {
        transform: translateY(35vh) translateX(-20px) rotate(270deg) scale(0.8);
        filter: brightness(0.9) drop-shadow(0 0 4px rgba(212, 175, 55, 0.4));
    }
    55% {
        transform: translateY(55vh) translateX(40px) rotate(450deg) scale(1.1);
        filter: brightness(1.1) drop-shadow(0 0 6px rgba(212, 175, 55, 0.6));
    }
    75% {
        transform: translateY(75vh) translateX(-30px) rotate(630deg) scale(0.9);
        opacity: 0.8;
        filter: brightness(0.8) drop-shadow(0 0 3px rgba(212, 175, 55, 0.3));
    }
    100% {
        transform: translateY(110vh) translateX(0) rotate(720deg) scale(0.7);
        opacity: 0;
        filter: brightness(0.5) drop-shadow(0 0 2px rgba(212, 175, 55, 0.2));
    }
}

/* Footer */
.footer {
    margin-top: 60px;
    text-align: center;
    animation: fadeInUp 1s ease-out 2s both;
    position: relative;
    z-index: 1;
}

.decorative-border {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 30px 0;
    border: none;
    margin-top: 60px;
    position: relative;
}

.border-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #aaaaaa;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.border-heart {
    font-size: 1.8rem;
    animation: pulse 2s ease-in-out infinite;
}

/* 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);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    25%, 75% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1.2);
    }
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.25;
    }
    90% {
        opacity: 0.25;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 40px 30px;
        margin: 0;
        min-height: auto;
    }
    
    .main-title {
        font-size: 3.5rem;
        margin: 40px 0 30px 0;
    }
    
    .names {
        font-size: 1.3rem;
    }
    
    .silver-heart {
        font-size: 1.4rem;
    }
    
    .subtitle {
        font-size: 1.3rem;
        margin-bottom: 50px;
    }
    
    .main-message, .blessing, .closing {
        font-size: 1.1rem;
    }
    
    .love-message {
        font-size: 1.5rem;
    }
    
    .wedding-photo {
        width: 220px;
        height: auto;
        max-height: 280px;
    }
    
    .ornamental-line {
        max-width: 280px;
        height: 40px;
        margin: 30px auto;
    }
    
    .ornament-left::before, .ornament-right::before {
        width: 16px;
        height: 16px;
        top: -8px;
    }
    
    .ornament-left::after, .ornament-right::after {
        width: 10px;
        height: 10px;
        top: -5px;
    }
    
    .ornament-center {
        width: 24px;
        height: 24px;
        margin: 0 15px;
    }
    
    .ornament-center::before {
        width: 10px;
        height: 10px;
    }
    
    .decorative-border {
        flex-direction: column;
        gap: 15px;
        padding: 20px 0;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .container {
        padding: 30px 20px;
        min-height: auto;
    }
    
    .main-title {
        font-size: 3rem;
    }
    
    .names {
        font-size: 1.1rem;
    }
    
    .silver-heart {
        font-size: 1.2rem;
    }
    
    .subtitle {
        font-size: 1.8rem;
    }
    
    .main-message, .blessing, .closing {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .wedding-photo {
        width: 180px;
        height: auto;
        max-height: 220px;
    }
    
    .photo-frame {
        padding: 10px;
    }
    
    .ornamental-line {
        max-width: 220px;
        height: 35px;
        margin: 25px auto;
    }
    
    .ornament-left::before, .ornament-right::before {
        width: 14px;
        height: 14px;
        top: -7px;
    }
    
    .ornament-left::after, .ornament-right::after {
        width: 8px;
        height: 8px;
        top: -4px;
    }
    
    .ornament-center {
        width: 20px;
        height: 20px;
        margin: 0 12px;
    }
    
    .ornament-center::before {
        width: 8px;
        height: 8px;
    }
    
    
    .floating-heart {
        font-size: 1.4rem;
    }
}/* Cache bust Fri Sep 26 04:29:16 PM UTC 2025 */
