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

html {
    scroll-behavior: auto;
    overflow-y: scroll;
}

body {
    font-family: 'Cormorant Garamond', serif;
    background: #ffffff;
    background-attachment: scroll;
    margin: 0;
    padding: 0;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: none;
    pointer-events: none;
    z-index: 1;
}

.container {
    position: relative;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    gap: 40px;
    padding: 40px 20px;
    height: 100%;
}

.page-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-image: url('../assets/TopBackground.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.8));
    pointer-events: none;
}


.hero-section .container {
    height: 100%;
    justify-content: center;
    padding: 40px 20px;
}

/* Date Display */
.date-display {
    text-align: center;
    margin-bottom: 30px;
    animation: fadeIn 1s ease-out;
}

.save-the-date-text {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: white;
    margin: 0;
    letter-spacing: 2px;
    text-shadow: 0 0 3px black, 0 0 6px black;
}

/* Countdown Timer */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.countdown-value {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: #d4af37;
    line-height: 1;
    min-width: 80px;
    text-align: center;
}

.countdown-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Tick.js Flip Clock Styling */
/* Hide HMS from first countdown (hours, minutes, seconds are 2nd, 3rd, 4th groups) */
.tick-days-only .tick-group:nth-child(n+2) {
    display: none !important;
}

/* Hide Days from second countdown (days is 1st group) */
.tick-hms-only .tick-group:nth-child(1) {
    display: none !important;
}
.tick {
    font-size: 1rem;
    white-space: nowrap;
    font-family: 'Playfair Display', serif;
}

.tick-flip, .tick-text-inline {
    font-size: 3em;
}

.tick-label {
    margin-top: 1em;
    font-size: 0.75em;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.tick-char {
    width: 1.5em;
}

.tick-text-inline {
    display: inline-block;
    text-align: center;
    min-width: 1em;
    color: #d4af37;
}

.tick-text-inline + .tick-text-inline {
    margin-left: -0.325em;
}

.tick-group {
    margin: 0 0.75em;
    text-align: center;
}

.tick-flip-panel {
    color: #1a1a1a !important;
    background-color: #ffffff00 !important;
    background: linear-gradient(135deg, #fff9f0 0%, #f5f5f5 100%) !important;
    border: 1px solid #d4af37 !important;
    border-radius: 4px !important;
}

.tick-flip {
    font-family: 'Playfair Display', serif !important;
    border-radius: 4px !important;
}

.tick-flip-panel-text-wrapper {
    line-height: 1 !important;
}

.tick-label {
    color: #d4af37 !important;
}

/* Hide PQINA credits */
.tick-credits {
    display: none !important;
}

/* Mail Header */
.mail-header {
    text-align: center;
    margin-bottom: 0;
    position: relative;
    z-index: 99;
}

.mail-from {
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    color: white;
    font-style: italic;
    margin: 0 0 10px 0;
    letter-spacing: 1px;
    animation: typewriter 1s steps(20, end) 0.1s forwards;
    overflow: hidden;
    white-space: nowrap;
    width: 0;
    text-shadow: 0 0 3px black, 0 0 6px black;
}

.couple-names-header {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin: 0;
    letter-spacing: 3px;
    animation: typewriter 1s steps(15, end) 1.2s forwards;
    overflow: hidden;
    white-space: nowrap;
    width: 0;
    text-shadow: 0 0 3px black, 0 0 6px black;
}

@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* Envelope Styling */
.envelope-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    overflow: visible;
    z-index: 10;
    padding: 20px;
    max-height: 90vh;
    width: 100%;
}

.envelope-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    /* background-image: url('../assets/Floralframe.png'); */
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    width: 1100px;
    height: 1100px;
    z-index: -1;
    pointer-events: none;
    translate: -25px -75px;
}

.envelope {
    max-width: 400px;
    width: 90vw;
    height: auto;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8);
    position: relative;
    cursor: url('../assets/Goldletteropener.png') 5 5, auto;
    transition: width 0.6s ease, all 0.6s ease, box-shadow 0s;
    display: block;
}

.envelope:hover {
    transform: translateY(-15px);
    box-shadow: 0 50px 120px rgba(0, 0, 0, 0.9);
}

.envelope.open {
    box-shadow: none;
    max-width: 90vw;
    cursor: pointer;
}

/* Click Prompt */
.click-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: pulse 2s ease-in-out infinite;
    position: relative;
    z-index: 98;
}

.click-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    color: white;
    font-style: italic;
    margin: 0;
    letter-spacing: 1px;
    text-shadow: 0 0 3px black, 0 0 6px black;
}

/* Scroll Down Indicator */
.scroll-indicator {
    position: fixed;
    bottom: 30px;
    right: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounce 2s ease-in-out infinite;
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 100;
    width: fit-content;
    translate: 50px 0px;
}

.scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

.scroll-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
    color: white;
    font-style: italic;
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 0 3px black, 0 0 6px black;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    color: #d4af37;
    animation: slideDown 1.5s ease-in-out infinite;
    margin-left: 0px;
    display: block;
}

@keyframes slideDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px);
    }
}

.curved-arrow {
    width: 50px;
    height: 50px;
    color: #d4af37;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.envelope-flap {
    display: none;
}

.envelope.open .envelope-flap {
    transform: rotateX(120deg);
}

.envelope:not(.open) .wax-seal {
    cursor: pointer;
}

.envelope-body {
    display: none;
}

.envelope-text {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: #d4af37;
    letter-spacing: 2px;
}

/* Ribbon and Bow */
.ribbon {
    width: 100%;
    height: 6px;
    background-color: #d4af37;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Wax Seal */
.wax-seal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.seal-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #f4d03f, #d4af37 40%, #8b7620 70%, #5a5000 100%);
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.6),
        inset -2px -2px 4px rgba(0, 0, 0, 0.3),
        inset 1px 1px 2px rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: sealPulse 2s ease-in-out infinite;
}

@keyframes sealPulse {
    0%, 100% {
        box-shadow: 
            0 8px 16px rgba(0, 0, 0, 0.6),
            inset -2px -2px 4px rgba(0, 0, 0, 0.3),
            inset 1px 1px 2px rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 
            0 8px 16px rgba(0, 0, 0, 0.6),
            inset -2px -2px 4px rgba(0, 0, 0, 0.3),
            inset 1px 1px 2px rgba(255, 255, 255, 0.2),
            0 0 20px rgba(212, 175, 55, 0.3);
    }
}

.seal-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #a88e1f;
    box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.1);
}

.seal-monogram {
    width: 70px;
    height: 70px;
    z-index: 2;
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
}

.seal-shine {
    position: absolute;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4), transparent);
    border-radius: 50%;
    top: 8px;
    left: 8px;
    z-index: 3;
}

.bow {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 30px;
    z-index: 6;
}

.bow-left,
.bow-right {
    position: absolute;
    width: 18px;
    height: 25px;
    background-color: #1a1a1a;
    border-radius: 50% 0 50% 50%;
    top: 0;
}

.bow-left {
    left: 0;
    transform: skewY(-15deg);
}

.bow-right {
    right: 0;
    transform: scaleX(-1) skewY(-15deg);
}

.bow-center {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: #1a1a1a;
    border-radius: 50%;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
}

/* Invite Content */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 15;
    opacity: 0;
    pointer-events: none;
    transition: all 0.6s ease;
}

.overlay.active {
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 1;
    pointer-events: auto;
    pointer-events: none;
}

/* Rose Petal Video Overlay */
.rose-petal-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 35;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.rose-petal-video.playing {
    opacity: 1;
}

/* Particle Effect Container */
.particle-container {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(0%);
    width: 1000px;
    max-width: 100vw;
    height: 100%;
    z-index: 35;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dot {
    width: 35px;
    height: 35px;
    position: absolute;
    background: url(../assets/Whiterose.png) no-repeat center center;
    background-size: 100% 100%;
}

.invite-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: 30;
    opacity: 0;
    transition: all 0.6s ease;
    pointer-events: none;
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    box-sizing: border-box;
}

.invite-content.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.container.invite-open .mail-header,
.container.invite-open .click-prompt {
    display: none;
}

.invite-card {
    background: transparent;
    width: 100%;
    height: auto;
    padding: 0;
    border: none;
    box-shadow: none;
    border-radius: 0;
    position: relative;
    animation: slideIn 0.6s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.invite-image {
    width: auto;
    height: auto;
    max-width: 400px;
    max-height: auto;
    display: block;
    border-radius: 0;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), 0 0 80px rgba(0, 0, 0, 0.6);
    transition: max-width 0.6s ease, max-height 0.6s ease;
    position: relative;
    z-index: 5;
}

.babybreath-decoration {
    position: absolute;
    width: auto;
    height: auto;
    max-width: 300px;
    max-height: 300px;
    display: block;
    pointer-events: none;
    z-index: 3;
    transition: transform 0.3s ease;
}

.invite-content.active .invite-image {
    max-width: 90vw;
    max-height: 90vh;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.invite-header {
    text-align: right;
    margin-bottom: 40px;
}

.date-large {
    font-family: 'Playfair Display', serif;
    font-size: 80px;
    font-weight: 700;
    color: #4a4a4a;
    line-height: 1;
    margin: 0;
    letter-spacing: 2px;
}

.invite-body {
    text-align: center;
    margin-bottom: 40px;
}

.invite-title {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 700;
    color: #4a4a4a;
    line-height: 1.2;
    margin: 0 0 30px 0;
    letter-spacing: 2px;
}

.the-date {
    color: #d4af37;
    font-style: italic;
    font-weight: 400;
}

.invite-details {
    margin: 30px 0;
}

.for-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    color: #666;
    font-style: italic;
    margin: 0 0 15px 0;
    letter-spacing: 1px;
}

.couple-names {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: #4a4a4a;
    margin: 15px 0;
    letter-spacing: 1px;
}

.bride,
.groom {
    display: block;
    margin: 5px 0;
}

.and {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-style: italic;
    font-weight: 400;
    color: #999;
    margin: 10px 0;
}

.wedding-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #4a4a4a;
    letter-spacing: 2px;
    margin: 20px 0 10px 0;
}

.invitation-note {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    color: #999;
    font-style: italic;
    margin: 0;
}

.invite-footer {
    text-align: center;
    border-top: 1px solid #d4af37;
    padding-top: 30px;
    margin-top: 30px;
}

.love-message {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    color: #666;
    font-style: italic;
    line-height: 1.6;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 32px;
    color: #666;
    cursor: pointer;
    z-index: 100;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-width: 50px;
    min-height: 50px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.invite-content.active .close-btn {
    display: flex;
}

.close-btn:hover,
.close-btn:focus {
    background-color: #d4af37;
    color: white;
    transform: rotate(90deg);
    outline: none;
}

/* Date and Countdown Section */
.date-countdown-section {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url('../assets/Refinedweddingring.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.date-countdown-section .container {
    padding: 40px 20px;
    height: 100%;
}

/* Venue Intro Section */
.venue-intro-section {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    text-align: center;
}

.venue-intro-section .venue-location-text {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.venue-intro-section .venue-image-wrapper {
    max-width: 90vw;
    margin: 0 auto;
}

.venue-intro-section .venue-intro-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* Venue Section */
.venue-section {
    width: 100%;
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f9f9f9;
    padding: 40px 20px;
}

.venue-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.venue-address {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: #1a1a1a;
    text-align: center;
    line-height: 1.4;
}

.map-container {
    width: calc(100vw - 100px);
    height: 50vh;
    min-height: 250px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    margin: 0 auto;
    margin-left: 50%;
    margin-right: 50%;
}

#googleMap {
    width: 100%;
    height: 100%;
}

.venue-btn {
    display: inline-block;
    padding: 14px 40px;
    background-color: #d4af37;
    color: white;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 2px solid #d4af37;
    cursor: pointer;
}

.venue-btn:hover {
    background-color: transparent;
    color: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* Accommodation Section */
.accommodation-section {
    width: 100%;
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url('../assets/Enhancedfloralarray.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.accommodation-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.accommodation-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin: 0;
    letter-spacing: 2px;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 4px 8px rgba(0, 0, 0, 0.6),
        0 6px 12px rgba(0, 0, 0, 0.4);
}

.accommodation-btn {
    padding: 14px 40px;
    background-color: white;
    color: #d4af37;
    border: 2px solid #d4af37;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accommodation-btn:hover {
    background-color: #d4af37;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* RSVP Section */
.rsvp-section {
    width: 100%;
    height: 25vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f9f9f9;
    padding: 40px 20px;
}
/* Password Countdown Section */
.password-countdown-section {
    width: 100%;
    height: 25vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    text-align: center;
    padding: 40px 20px;
}

.password-countdown-text {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #1a1a1a;
    margin-bottom: 20px;
}
.rsvp-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.rsvp-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    letter-spacing: 2px;
}

.rsvp-locked {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.password-input {
    padding: 12px 20px;
    border: 2px solid #d4af37;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    width: 250px;
    transition: all 0.3s ease;
}

.password-input:focus {
    outline: none;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

.unlock-btn {
    padding: 12px 30px;
    background-color: #d4af37;
    color: white;
    border: 2px solid #d4af37;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.unlock-btn:hover {
    background-color: transparent;
    color: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.rsvp-unlocked {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    animation: fadeIn 0.6s ease;
}

.qr-code-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.qr-code {
    width: 300px;
    height: 300px;
    border: 2px solid #d4af37;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.qr-link-btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: #d4af37;
    color: white;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 2px solid #d4af37;
    cursor: pointer;
}

.qr-link-btn:hover {
    background-color: transparent;
    color: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .invite-content {
        max-width: 95vw;
        max-height: 95vh;
    }

    .invite-card {
        padding: 40px 30px;
    }

    .date-large {
        font-size: 60px;
    }

    .invite-title {
        font-size: 48px;
    }

    .couple-names {
        font-size: 32px;
    }

    .envelope {
        max-width: 600px;
    }

    .envelope-text {
        font-size: 24px;
    }

    .seal-circle {
        width: 70px;
        height: 70px;
    }

    .seal-monogram {
        width: 55px;
        height: 55px;
    }

    .couple-names-header {
        font-size: 36px;
    }

    .mail-from {
        font-size: 16px;
    }

    .click-text {
        font-size: 14px;
    }

    /* Close button mobile adjustments */
    .close-btn {
        width: 60px;
        height: 60px;
        min-width: 60px;
        min-height: 60px;
        font-size: 36px;
        top: 15px;
        right: 15px;
        z-index: 100;
    }

    /* Mobile tick/countdown adjustments */
    .tick {
        white-space: normal;
        font-size: 0.7rem;
    }

    .tick-flip, .tick-text-inline {
        font-size: 3em;
    }

    .tick-group {
        margin: 0 0.5em !important;
    }

    .tick-label {
        margin-top: 0.5em;
        font-size: 0.6em;
    }

    .date-countdown-section .container {
        padding: 20px 10px;
        gap: 20px;
    }

    .save-the-date-text {
        font-size: 28px;
    }
}