html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: clip;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* custom scrollbar for modern look */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
}
::-webkit-scrollbar-thumb {
    background: rgba(165,108,108,0.5);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(165,108,108,0.7);
}

:root {
    --bg-light: #f5d5d5;
    --accent-pink: #d87a94;
    --muted-rose: #be576e;
    --primary-rose: #be576e;
    --text-brown: #be576e;
    --dark-brown: #be576e;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Particles */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Splash Screen Styles (Simple Version) */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffdae6;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    cursor: pointer;
    transition: opacity 1s ease-out, visibility 1s;
    overflow: hidden;
}

#splash-screen:focus,
#splash-screen:focus-visible {
    outline: none;
}

.splash-content {
    position: relative;
    display: grid;
    place-items: center;
    text-align: center;
    width: min(64vw, 380px);
    aspect-ratio: 1 / 1;
    padding: clamp(24px, 5vw, 42px);
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.14) 45%, rgba(255, 255, 255, 0.08) 75%),
        linear-gradient(160deg, rgba(255, 251, 235, 0.22), rgba(255, 232, 187, 0.1));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 244, 214, 0.6);
    box-shadow:
        0 22px 56px rgba(93, 44, 63, 0.25),
        0 0 45px rgba(212, 175, 55, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.75),
        inset 0 -10px 24px rgba(171, 111, 60, 0.12);
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 2);
    animation: contentFadeIn 2.5s ease-out forwards, subtleFloat 10s ease-in-out infinite;
    z-index: 2;
    isolation: isolate;
}

.splash-content::before,
.splash-content::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.splash-content::before {
    inset: 10px;
    border: 1.5px solid rgba(212, 175, 55, 0.65);
    box-shadow: inset 0 0 12px rgba(255, 223, 141, 0.35);
}

.splash-content::after {
    inset: -12px;
    border: 1px solid rgba(255, 226, 161, 0.45);
    opacity: 0.85;
}

.splash-content:hover {
    transform: translateY(-4px) scale(1.04);
}

.splash-logo {
    display: block;
    width: min(100%, 300px);
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    position: relative;
    filter:
        saturate(1.22)
        contrast(1.1)
        brightness(1.06)
        drop-shadow(0 10px 24px rgba(0, 0, 0, 0.22))
        drop-shadow(0 0 16px rgba(255, 212, 120, 0.3))
        drop-shadow(0 0 22px rgba(193, 51, 93, 0.16));
    z-index: 1;
}

.splash-content::after {
    background: radial-gradient(circle, rgba(255, 236, 179, 0.2) 0%, rgba(255, 211, 129, 0.14) 40%, rgba(255, 255, 255, 0) 72%);
}

.splash-name {
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    color: #be576e;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
    margin-bottom: 5px;
    background: linear-gradient(to right, #fff, #d4af37, #fff);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 5s linear infinite, nameReveal 2s ease-out forwards;
    letter-spacing: -2px;
}

.splash-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: #be576e;
    text-transform: uppercase;
    letter-spacing: 12px;
    opacity: 0;
    animation: subtitleReveal 2s ease-out 1s forwards;
    margin-left: 12px;
    /* For balance with letter-spacing */
}

/* Arabesques */
.splash-ornament {
    display: none !important;
}

@keyframes shine {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes nameReveal {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes subtitleReveal {
    from {
        opacity: 0;
        letter-spacing: 30px;
        filter: blur(5px);
    }

    to {
        opacity: 0.9;
        letter-spacing: 12px;
        filter: blur(0);
    }
}

@keyframes contentFadeIn {
    from {
        opacity: 0;
        background: rgba(255, 255, 255, 0);
    }

    to {
        opacity: 1;
        background: rgba(255, 255, 255, 0.1);
    }
}

@keyframes subtleFloat {

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

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

#splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(1.1);
}

body {
    margin: 0;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    background-color: #ffdae6;
    background-image: none;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: #be576e;
    line-height: 1.8;
    overflow-x: clip;
    min-height: 100vh;
}

:root {
    --bg-light: #f5d5d5;
    --accent-pink: #d87a94;
    --muted-rose: #be576e;
    --primary-rose: #be576e;
    --text-brown: #be576e;
    --dark-brown: #be576e;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.main-wrapper {
    width: min(100%, 560px);
    max-width: 560px;
    margin: 22px auto 30px;
    background: transparent;
    backdrop-filter: blur(8px) saturate(130%);
    -webkit-backdrop-filter: blur(8px) saturate(130%);
    min-height: 90vh;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    border-radius: 34px;
    border: 1px solid rgba(190, 87, 110, 0.15);
    box-shadow: 0 18px 48px rgba(130, 49, 69, 0.12);
    overflow: hidden;
}

/* Floral Ornaments (Fallback) */
.floral-ornament {
    width: 100%;
    height: 150px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.floral-ornament.top {
    background-image: none;
    margin-bottom: 20px;
}

.floral-ornament.bottom {
    background-image: none;
    margin-top: 20px;
}

.header-section {
    text-align: center;
    margin-bottom: 8px;
    padding: 28px 24px 0 24px;
}

.weekday-title {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 5.5vw, 3.4rem);
    line-height: 0.95;
    font-weight: 400;
    color: var(--text-brown);
}

.couple-names {
    font-family: 'Playfair Display', serif;
    /* scale from 2.2rem up to 3.2rem based on viewport width */
    font-size: clamp(2.4rem, 5vw + 1.2rem, 3.6rem);
    color: var(--dark-brown);
    font-weight: 400;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.ampersand {
    display: block;
    font-size: 1.5rem;
    color: var(--muted-rose);
    margin: -5px 0;
}

/* Save the Date */
.save-the-date {
    width: 100%;
    text-align: center;
    margin-bottom: 36px;
    padding: 0;
}

.date-banner {
    position: relative;
    --day-size: clamp(118px, 13vw, 152px);
    width: min(100%, 640px);
    margin: 0 auto;
    min-height: 130px;
    border: none;
    border-radius: 2px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 20px 28px;
    background: transparent;
}

.date-banner::before,
.date-banner::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: calc(50% - (var(--day-size) / 2) + 4px);
    border: 2px solid rgba(190, 87, 110, 0.62);
    pointer-events: none;
}

.date-banner::before {
    left: 0;
    border-right: none;
    border-radius: 2px 0 0 2px;
}

.date-banner::after {
    right: 0;
    border-left: none;
    border-radius: 0 2px 2px 0;
}

.date-label {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 2.35vw, 2rem);
    font-weight: 700;
    color: #be576e;
    letter-spacing: 0.5px;
    line-height: 1.05;
    text-transform: uppercase;
    white-space: nowrap;
    display: block;
}

.date-label.left {
    text-align: right;
    justify-self: end;
    padding-right: 8px;
}

.date-label.right {
    text-align: left;
    justify-self: start;
    padding-left: 8px;
}

.day-big {
    width: var(--day-size);
    height: var(--day-size);
    border: 2px solid rgba(190, 87, 110, 0.62);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: 'Playfair Display', serif;
    font-size: clamp(4.3rem, 8.8vw, 5.6rem);
    font-weight: 700;
    font-variant-numeric: lining-nums tabular-nums;
    font-feature-settings: "lnum" 1, "tnum" 1;
    color: #be576e;
    letter-spacing: -2px;
    line-height: 1;
    background: transparent;
    margin: -36px 0;
}

.date-time {
    margin: 18px 0 0;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.1rem, 4.3vw, 3.3rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.5px;
    color: #be576e;
}

.date-time .time-unit {
    font-size: 0.7em;
    line-height: 1;
    display: inline-block;
    transform: scaleY(1.08);
    transform-origin: bottom;
}

.date-description {
    font-size: 1.05rem;
    color: var(--text-brown);
    line-height: 1.65;
    max-width: 460px;
    margin: 24px auto 0;
    font-weight: 400;
}

.floral-separator {
    width: 180px;
    height: 180px;
    background-image: url("../image/rose.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin: 18px auto 10px;
    opacity: 0.95;
}

/* Location */
.location-section {
    text-align: center;
    margin-bottom: 30px;
}

.location-label {
    font-size: 1rem;
    color: var(--text-brown);
    font-weight: 600;
}

.location-address {
    font-size: 0.85rem;
    color: var(--text-brown);
}

/* Countdown timer styling */
.countdown-section {
    text-align: center;
    width: 100%;
    margin-bottom: 36px;
    padding: 24px 18px;
    border: none;
    border-radius: 0;
    background: transparent;
}

.countdown-label {
    font-size: 1rem;
    color: var(--text-brown);
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-weight: 400;
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 78px;
    padding: 6px 4px;
    border-radius: 0;
    background: transparent;
}

.countdown-number {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.8);
    background: transparent;
    box-shadow:
        0 8px 16px rgba(140, 96, 12, 0.12);
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--primary-rose);
    font-family: 'Cinzel', serif;
}

.countdown-unit {
    font-size: 0.7rem;
    color: var(--text-brown);
    letter-spacing: 1px;
    font-weight: 600;
}

/* Interaction with icon grid */
.interaction-section {
    width: 100%;
    padding: 26px 24px 42px;
    margin-bottom: 12px;
    text-align: center;
}

.interaction-section .header-section {
    padding: 0;
    margin-bottom: 4px;
}

.interaction-section .save-the-date {
    margin-bottom: 26px;
    padding: 0;
}

.interaction-section .date-description {
    max-width: 440px;
}

.section-label {
    font-size: 1.1rem;
    color: var(--text-brown);
    font-weight: 600;
    margin-bottom: 5px;
}

.interaction-instruction {
    font-size: 0.8rem;
    color: var(--text-brown);
    margin-bottom: 25px;
    font-style: italic;
}

.icon-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.icon-button {
    border: none;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.icon-button:focus-visible {
    outline: none;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 6px 0;
    border: none;
    border-radius: 0;
    background: transparent;
}

.icon-circle-large {
    width: 80px;
    height: 80px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(246, 217, 154, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #be576e;
    transform-style: preserve-3d;
    background: linear-gradient(145deg, #fdf3d7 0%, #e9c97d 48%, #cca65a 100%);
    box-shadow:
        0 8px 18px rgba(140, 96, 12, 0.2),
        inset 0 2px 0 rgba(255, 250, 230, 0.8),
        inset 0 -4px 8px rgba(125, 82, 8, 0.14);
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        color 0.35s ease;
}

.icon-circle-large::before {
    content: '';
    position: absolute;
    inset: -30%;
    background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.7) 50%, transparent 65%);
    transform: translateX(-120%) rotate(12deg);
    transition: transform 0.8s ease;
}

.icon-circle-large::after {
    content: '';
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 75%, rgba(86, 50, 8, 0.24), rgba(86, 50, 8, 0) 70%);
    transform: translateZ(-1px) scale(0.92);
    opacity: 0.45;
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.icon-circle-large:hover,
.icon-circle-large:focus-visible {
    transform: perspective(700px) translateY(-5px) rotateX(10deg) rotateY(-10deg) scale(1.05);
    color: #be576e;
    box-shadow:
        0 12px 22px rgba(140, 96, 12, 0.24),
        inset 0 2px 0 rgba(255, 251, 232, 0.9),
        inset 0 -6px 10px rgba(125, 82, 8, 0.18);
}

.icon-circle-large:hover::before,
.icon-circle-large:focus-visible::before {
    transform: translateX(120%) rotate(12deg);
}

.icon-circle-large:hover::after,
.icon-circle-large:focus-visible::after {
    opacity: 0.62;
    transform: translateZ(-1px) scale(0.98);
}

.icon-circle-large:active {
    transform: translateY(-1px) scale(1.01);
    box-shadow:
        0 6px 12px rgba(140, 96, 12, 0.2),
        inset 0 3px 6px rgba(125, 82, 8, 0.16);
}

.icon-circle-large.link-icon {
    text-decoration: none;
    cursor: pointer;
}

.icon-circle-large i {
    width: 40px;
    height: 40px;
    stroke-width: 1;
}

.icon-circle-large .icon-whatsapp {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.icon-text {
    font-size: 0.9rem;
    color: var(--text-brown);
    font-weight: 500;
    max-width: 240px;
}

/* Footer message */
.footer-message {
    width: 100%;
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.18) 0%,
        rgba(244, 210, 114, 0.24) 50%,
        rgba(212, 175, 55, 0.18) 100%
    );
    padding: 32px 24px 40px 24px;
    text-align: center;
    border-top: 1px solid rgba(190, 87, 110, 0.2);
    position: relative;
    overflow: visible;
}

.footer-message p {
    position: relative;
    display: inline-block;
    padding: 8px 18px;
    font-size: 1.1rem;
    color: #be576e;
    font-weight: 500;
    letter-spacing: 1px;
    animation: invitePulseSoft 2.4s ease-in-out infinite;
    transform-origin: center;
}

.footer-message p::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 999px;
    border: 1.5px solid rgba(212, 175, 55, 0.55);
    animation: invitePulse 1.8s ease-out infinite;
    pointer-events: none;
}

@keyframes invitePulseSoft {
    0%,
    100% {
        transform: translateY(0) scale(1);
        text-shadow: 0 0 0 rgba(212, 175, 55, 0);
        opacity: 0.92;
    }

    50% {
        transform: translateY(-2px) scale(1.06);
        text-shadow: 0 0 10px rgba(212, 175, 55, 0.35);
        opacity: 1;
    }
}

@keyframes invitePulse {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }

    70% {
        transform: scale(1.2);
        opacity: 0;
    }

    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.star-burst {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.star-spark {
    position: absolute;
    left: 0;
    top: 0;
    width: var(--size, 8px);
    height: var(--size, 8px);
    background: radial-gradient(circle at 35% 35%, #fff6d6 0%, #ffd46c 45%, rgba(255, 212, 108, 0) 72%);
    clip-path: polygon(
        50% 0%,
        61% 35%,
        98% 35%,
        67% 57%,
        79% 91%,
        50% 70%,
        21% 91%,
        33% 57%,
        2% 35%,
        39% 35%
    );
    opacity: 0;
    filter: drop-shadow(0 0 6px rgba(255, 224, 150, 0.9));
    animation: starBurst 1s ease-out forwards;
}

@keyframes starBurst {
    0% {
        transform: translate(var(--x, 0), var(--y, 0)) scale(0.2);
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    100% {
        transform: translate(calc(var(--x, 0) + var(--dx, 0)), calc(var(--y, 0) + var(--dy, 0))) scale(1);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer-message p,
    .footer-message p::after {
        animation: none;
    }

    .star-burst {
        display: none;
    }
}

/* Timeline */
.timeline-section {
    width: 100%;
    padding: 0 20px;
}

.section-title {
    font-size: 1.1rem;
    text-align: center;
    color: var(--text-brown);
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.guest-manual {
    width: 100%;
    text-align: center;
    padding: 0 24px 20px;
}

.guest-manual .manual-item {
    transition: opacity 0.55s ease, transform 0.55s ease, filter 0.55s ease;
}

.guest-manual.manual-hidden .manual-item {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(2px);
    pointer-events: none;
}

.guest-manual.manual-visible .manual-item {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    pointer-events: auto;
}

.guest-manual.manual-visible .manual-item:nth-child(1) {
    transition-delay: 0.08s;
}

.guest-manual.manual-visible .manual-item:nth-child(2) {
    transition-delay: 0.22s;
}

.timeline {
    position: relative;
    max-width: 300px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--muted-rose);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    width: 100%;
}

.icon-circle {
    width: 34px;
    height: 34px;
    background: #fff;
    border: 1px solid var(--muted-rose);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--text-brown);
}

.icon-circle i {
    width: 16px;
    height: 16px;
}

.timeline-item .content {
    width: 40%;
}

.timeline-item.left .content {
    text-align: right;
    margin-right: auto;
    padding-right: 10px;
}

.timeline-item.right .content {
    text-align: left;
    margin-left: auto;
    padding-left: 10px;
}

.timeline-item .time {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-brown);
}

.timeline-item .event {
    font-size: 0.75rem;
    color: var(--text-brown);
}

/* Footer */
.footer {
    text-align: center;
    margin-top: auto;
    width: 100%;
    padding: 0 24px 34px; /* add padding to footer as well */
}

.footer p {
    font-size: 0.55rem;
    font-style: italic;
}

.credits {
    font-size: 0.3rem;
    color: var(--text-brown);
    opacity: 0.8;
    margin: 50px auto 0;
    width: 100%;
    text-align: center;
}

/* Animations */
.animate {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.animate.fadeInUp {
    opacity: 1;
    transform: translateY(0);
}

/* Hero image styling */
.hero-image {
    width: 100%;
    height: auto;
    overflow: hidden;
    margin: 0;
    border-bottom: 1px solid rgba(190, 87, 110, 0.18);
    background: #f7dce4;
}
.hero-image img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-intro {
    width: 100%;
    text-align: center;
    padding: 24px 24px 8px;
}

.hero-kicker {
    margin: 0 0 6px;
    font-size: 0.78rem;
    letter-spacing: 2.4px;
    font-weight: 600;
}

.hero-title {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.1rem, 6vw, 2.8rem);
    line-height: 1.05;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    margin: 12px auto 0;
    max-width: 420px;
    font-size: 1rem;
    line-height: 1.6;
}

/* Accessibility helpers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #fff;
    color: var(--text-brown);
    padding: 8px 16px;
    z-index: 2000;
    transition: top 0.3s;
}
.skip-link:focus {
    top: 0;
}

#main-content:focus,
#main-content:focus-visible {
    outline: none;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-image {
        height: auto;
    }

    .main-wrapper {
        width: calc(100% - 24px);
        max-width: 560px;
        margin: 14px auto 24px;
        padding: 0;
        border-radius: 16px;
    }

    .splash-content {
        width: min(70vw, 290px);
        padding: 18px;
        border-radius: 50%;
    }

    .splash-logo {
        width: min(100%, 228px);
    }

    .splash-name {
        font-size: clamp(3rem, 16vw, 4.8rem);
        letter-spacing: -1px;
    }

    .splash-subtitle {
        font-size: 0.9rem;
        letter-spacing: 6px;
        margin-left: 6px;
    }

    .date-banner {
        --day-size: clamp(96px, 25vw, 114px);
        min-height: 96px;
        padding: 14px 14px;
        gap: 8px;
    }

    .date-label {
        font-size: clamp(0.92rem, 4.2vw, 1.22rem);
    }

    .day-big {
        font-size: clamp(3rem, 10.8vw, 4.2rem);
        margin: -24px 0;
    }

    .date-time {
        margin-top: 14px;
        font-size: clamp(1.8rem, 8.5vw, 2.6rem);
    }

    .countdown-section {
        padding: 20px 12px;
    }

    .countdown {
        flex-wrap: nowrap;
        gap: 6px;
    }

    .countdown-item {
        min-width: 0;
        width: calc((100% - 18px) / 4);
        padding: 4px 2px;
    }

    .countdown-number {
        width: clamp(58px, 16vw, 68px);
        height: clamp(58px, 16vw, 68px);
        font-size: clamp(1.6rem, 4.8vw, 2rem);
    }

    .countdown-unit {
        font-size: 0.58rem;
        letter-spacing: 0.7px;
    }

    .action-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .interaction-section {
        padding: 20px 14px 34px;
    }

    .interaction-section .save-the-date {
        padding: 0;
    }

    .btn-interact {
        width: 100%;
        max-width: 300px;
    }

    .timeline {
        max-width: none;
        padding: 0 10px;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    .timeline-item .content {
        width: 100%;
        text-align: left;
        padding: 0;
    }

    .timeline::before {
        left: 20px;
    }
}

@media (max-width: 480px) {
    .date-banner {
        --day-size: 94px;
        padding: 12px 14px;
        gap: 8px;
    }

    .date-label {
        font-size: clamp(0.82rem, 3.9vw, 1.02rem);
    }

    .date-label.right {
        padding-left: 6px;
    }

    .day-big {
        font-size: 2.9rem;
    }

    .main-wrapper {
        width: calc(100% - 16px);
        margin: 8px auto 18px;
        box-shadow: 0 12px 28px rgba(130, 49, 69, 0.12);
        border-radius: 20px;
        padding: 0;
    }

    .hero-image {
        height: auto;
    }

    .save-the-date {
        padding: 0;
    }

    .hero-intro {
        padding: 20px 16px 6px;
    }

    .hero-kicker {
        letter-spacing: 1.8px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .countdown-section {
        padding: 16px 10px;
    }

    .countdown {
        gap: 4px;
    }

    .countdown-item {
        width: calc((100% - 12px) / 4);
    }

    .countdown-number {
        width: clamp(52px, 15vw, 60px);
        height: clamp(52px, 15vw, 60px);
        font-size: clamp(1.35rem, 4.8vw, 1.65rem);
    }

    .countdown-unit {
        font-size: 0.52rem;
        letter-spacing: 0.5px;
    }
}
