/* ============================================================
   ROYAL RAJASTHANI PALACE WEDDING
   Deep maroon/burgundy · Antique gold · Ivory · Peacock teal
   Fonts: Marcellus (display) · Great Vibes (script) · Jost (body)
   ============================================================ */

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --maroon: #4a0e12;
    --maroon-deep: #380a0e;
    --maroon-rich: #5d1218;
    --gold: #c9a227;
    --gold-light: #e6c968;
    --gold-dark: #9a7a1c;
    --ivory: #faf3e3;
    --ivory-dim: #f1e5cb;
    --teal: #0f5e5c;
    --teal-dark: #0a4543;
    --text-dark: #3d2320;
    --text-medium: #71503f;
    --text-light: #a0816d;
    --white: #ffffff;
    --border: #e3d0a8;
    --border-soft: #eee0c2;
    --shadow-royal: 0 18px 45px rgba(74, 14, 18, 0.18);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Jost', sans-serif;
    background-color: var(--ivory);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

body.splash-locked {
    overflow: hidden;
}

/* Transparent line-art ornaments must sit directly on the section
   background — never inside a coloured box */
.ornament {
    background: transparent;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

h1, h2, h3, h4 {
    font-family: 'Marcellus', serif;
    font-weight: 400;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: none;
}

/* ===== ARCH (MEHRAB) FRAMES ===== */
.arch-frame {
    border-radius: 999px 999px 14px 14px;
    overflow: hidden;
    border: 3px solid var(--gold);
    box-shadow: var(--shadow-royal);
}

.arch-frame-sm {
    border-radius: 999px 999px 10px 10px;
    overflow: hidden;
    border: 2px solid var(--gold);
}

/* ===== SECTION HEADERS ===== */
.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 46px;
    text-align: center;
}

.section-header h2 {
    font-size: clamp(22px, 4vw, 34px);
    letter-spacing: 4px;
    color: var(--maroon);
    white-space: nowrap;
}

.section-header .ornament {
    height: 30px;
    width: auto;
    opacity: 0.9;
}

.section-header .ornament.flipped {
    transform: scaleX(-1);
}

.section-header.light h2 {
    color: var(--ivory);
}

/* ===== FLOATING MUSIC BUTTON ===== */
.floating-music {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--maroon);
    border: 2px solid var(--gold);
    box-shadow: 0 6px 20px rgba(56, 10, 14, 0.45);
    cursor: pointer;
    overflow: hidden;
    padding: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-music:hover {
    transform: scale(1.07);
    box-shadow: 0 8px 26px rgba(56, 10, 14, 0.55);
}

.floating-music img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.floating-music.playing {
    animation: rpw-pulse 1.6s infinite;
}

.floating-music.playing img {
    animation: rpw-spin 7s linear infinite;
}

@keyframes rpw-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.55); }
    50% { box-shadow: 0 0 0 12px rgba(201, 162, 39, 0); }
}

@keyframes rpw-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
    color: var(--maroon-deep);
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    padding: 15px 38px;
    border-radius: 999px;
    border: 1px solid var(--gold-light);
    box-shadow: 0 10px 28px rgba(201, 162, 39, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(201, 162, 39, 0.5);
}

.btn-primary i {
    color: var(--maroon-rich);
    margin-left: 6px;
}

.btn-outline {
    display: inline-block;
    margin-top: 18px;
    padding: 12px 32px;
    border: 2px solid var(--gold);
    border-radius: 999px;
    color: var(--maroon);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--maroon-deep);
}

.btn-watch {
    display: inline-block;
    margin-top: 12px;
    padding: 9px 24px;
    border-radius: 999px;
    background: var(--teal);
    color: var(--ivory);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    transition: background 0.3s ease;
}

.btn-watch:hover {
    background: var(--teal-dark);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 90px 20px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(56, 10, 14, 0.45) 0%, rgba(56, 10, 14, 0.25) 40%, rgba(56, 10, 14, 0.72) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 860px;
    text-align: center;
}

.hero-frame {
    position: relative;
    border: 2px solid var(--gold);
    border-radius: 280px 280px 18px 18px;
    padding: 64px 48px 52px;
    background: rgba(56, 10, 14, 0.55);
    backdrop-filter: blur(3px);
    color: var(--ivory);
}

.hero-frame::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(230, 201, 104, 0.65);
    border-radius: 270px 270px 12px 12px;
    pointer-events: none;
}

.monogram {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: 'Marcellus', serif;
    font-size: 30px;
    color: var(--gold-light);
    border: 1px solid var(--gold);
    border-radius: 50%;
    width: 118px;
    height: 118px;
    justify-content: center;
    margin-bottom: 22px;
    background: rgba(74, 14, 18, 0.65);
}

.monogram .monogram-amp {
    font-family: 'Great Vibes', cursive;
    font-size: 26px;
    color: var(--ivory);
}

.tagline {
    letter-spacing: 5px;
    font-size: 12px;
    font-weight: 500;
    color: var(--gold-light);
    text-transform: uppercase;
    margin-bottom: 14px;
}

.top-quote {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(24px, 4vw, 34px);
    color: var(--ivory);
    margin-bottom: 10px;
}

.invite-text {
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--ivory-dim);
    margin-bottom: 8px;
}

.couple-names {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin: 10px 0 6px;
}

.couple-names .name-groom,
.couple-names .name-bride {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(52px, 9vw, 84px);
    line-height: 1.15;
    color: var(--ivory);
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.couple-names .ampersand {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(30px, 5vw, 44px);
    color: var(--gold-light);
    line-height: 1;
}

.hero-ornament {
    display: flex;
    justify-content: center;
    margin: 14px 0 20px;
}

.hero-ornament .ornament {
    height: 40px;
    width: auto;
    filter: brightness(1.15);
}

.wedding-details {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 14px;
    margin-bottom: 30px;
    font-size: 14px;
    letter-spacing: 2px;
}

.wedding-details .detail-item i {
    color: var(--gold-light);
    margin-right: 7px;
}

.wedding-details .detail-separator {
    color: var(--gold);
}

.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    z-index: 2;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(230, 201, 104, 0.8);
    border-radius: 14px;
}

.hero-scroll span {
    position: absolute;
    left: 50%;
    top: 8px;
    width: 4px;
    height: 8px;
    margin-left: -2px;
    border-radius: 4px;
    background: var(--gold-light);
    animation: rpw-scroll 1.8s ease-in-out infinite;
}

@keyframes rpw-scroll {
    0% { transform: translateY(0); opacity: 1; }
    70% { transform: translateY(14px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

/* ===== COUPLE ===== */
.couple-section {
    padding: 96px 20px 84px;
    background:
        radial-gradient(ellipse at top, rgba(201, 162, 39, 0.08), transparent 55%),
        var(--ivory);
}

.family-header {
    text-align: center;
    font-family: 'Great Vibes', cursive;
    font-size: clamp(26px, 4vw, 36px);
    color: var(--teal);
    margin: -18px auto 40px;
    max-width: 720px;
}

.couple-container {
    max-width: 1020px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
}

.person {
    flex: 1;
    max-width: 380px;
    text-align: center;
}

.person-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--ivory);
    background: var(--maroon);
    border: 1px solid var(--gold);
    padding: 7px 22px;
    border-radius: 999px;
    margin-bottom: 22px;
    text-transform: uppercase;
}

.person-photo {
    aspect-ratio: 3 / 4;
    margin-bottom: 24px;
}

.person-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.person h3 {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(38px, 5vw, 50px);
    color: var(--maroon);
    line-height: 1.2;
    margin-bottom: 8px;
}

.person .relation {
    font-size: 14px;
    letter-spacing: 1px;
    color: var(--text-medium);
    line-height: 1.9;
}

.couple-divider {
    align-self: center;
    flex: 0 0 auto;
}

.couple-divider .heart-icon {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    border: 3px solid var(--gold);
    object-fit: cover;
    box-shadow: var(--shadow-royal);
}

/* ===== COUNTDOWN ===== */
.countdown-section {
    padding: 88px 20px;
    background:
        radial-gradient(ellipse at center, rgba(201, 162, 39, 0.14), transparent 60%),
        linear-gradient(160deg, var(--maroon-rich), var(--maroon) 45%, var(--maroon-deep));
}

.countdown-container {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.countdown-item {
    width: 132px;
    padding: 28px 10px 22px;
    text-align: center;
    background: rgba(250, 243, 227, 0.06);
    border: 1px solid var(--gold);
    border-radius: 999px 999px 12px 12px;
}

.countdown-number {
    display: block;
    font-family: 'Marcellus', serif;
    font-size: 46px;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: 8px;
}

.countdown-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--ivory);
}

/* ===== TIMELINE ===== */
.timeline-section {
    padding: 96px 20px 84px;
    background: var(--ivory);
}

.timeline-container {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 44px 30px;
}

.timeline-track {
    position: absolute;
    top: 108px;
    left: 6%;
    right: 6%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    z-index: 0;
}

.timeline-item {
    position: relative;
    z-index: 1;
    width: 200px;
    text-align: center;
}

.timeline-img {
    width: 168px;
    height: 168px;
    margin: 0 auto;
}

.timeline-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timeline-icon {
    width: 66px;
    height: 66px;
    margin: -33px auto 12px;
    position: relative;
    border-radius: 50%;
    border: 3px solid var(--gold);
    overflow: hidden;
    background: var(--maroon);
    box-shadow: 0 8px 20px rgba(74, 14, 18, 0.3);
}

.timeline-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timeline-item h4 {
    font-size: 17px;
    letter-spacing: 3px;
    color: var(--maroon);
    margin-bottom: 6px;
}

.timeline-date {
    font-weight: 600;
    color: var(--teal);
    font-size: 14px;
    letter-spacing: 1px;
}

.timeline-time {
    font-size: 14px;
    color: var(--text-medium);
    letter-spacing: 1px;
}

.timeline-desc {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 6px;
    line-height: 1.6;
}

/* ===== PRE-WEDDING ===== */
.prewedding-section {
    padding: 96px 20px 84px;
    background: linear-gradient(180deg, var(--ivory), var(--ivory-dim));
}

.prewedding-container {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 30px;
}

.prewedding-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(74, 14, 18, 0.1);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.prewedding-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-royal);
}

.prewedding-img {
    border: none;
    border-radius: 0;
    height: 215px;
}

.prewedding-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prewedding-info {
    padding: 26px 26px 30px;
    text-align: center;
}

.prewedding-info h4 {
    font-size: 19px;
    letter-spacing: 3px;
    color: var(--maroon);
    margin-bottom: 8px;
}

.event-datetime {
    font-weight: 600;
    color: var(--teal);
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.event-location {
    font-size: 14px;
    color: var(--text-medium);
    margin-bottom: 6px;
}

.event-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== VENUE ===== */
.venue-section {
    padding: 96px 20px 84px;
    background: var(--ivory);
}

.venue-container {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 44px;
    align-items: center;
}

.venue-info h3 {
    font-size: clamp(26px, 4vw, 36px);
    color: var(--maroon);
    margin-bottom: 14px;
    line-height: 1.3;
}

.venue-info p {
    font-size: 16px;
    color: var(--text-medium);
    line-height: 1.9;
    margin-bottom: 8px;
}

.venue-info p i {
    color: var(--gold-dark);
    margin-right: 8px;
}

.venue-visual {
    aspect-ratio: 4 / 3;
}

.venue-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.venue-visual iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 0;
}

/* ===== TRAVEL & INFO ===== */
.travel-section {
    padding: 96px 20px 60px;
    background: linear-gradient(180deg, var(--ivory), var(--ivory-dim));
}

.info-cards {
    max-width: 1120px;
    margin: 46px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.info-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 4px solid var(--gold);
    border-radius: 14px;
    padding: 0 26px 32px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(74, 14, 18, 0.08);
}

.info-icon {
    width: 88px;
    height: 88px;
    margin: -44px auto 16px;
    border-radius: 50%;
    border: 3px solid var(--gold);
    overflow: hidden;
    background: var(--maroon);
    box-shadow: 0 10px 22px rgba(74, 14, 18, 0.28);
}

.info-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-card h4 {
    font-size: 17px;
    letter-spacing: 3px;
    color: var(--maroon);
    margin-bottom: 12px;
}

.info-card p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 8px;
}

.info-card p strong {
    color: var(--teal);
    letter-spacing: 1px;
}

/* ===== GALLERY ===== */
.gallery-section {
    padding: 96px 20px 84px;
    background: var(--ivory);
}

.gallery-grid {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 22px;
}

.gallery-item {
    aspect-ratio: 3 / 4;
    transition: transform 0.35s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item:hover img {
    transform: scale(1.06);
}

/* ===== RSVP ===== */
.rsvp-section {
    padding: 96px 20px 100px;
    background:
        radial-gradient(ellipse at center, rgba(201, 162, 39, 0.13), transparent 62%),
        linear-gradient(160deg, var(--maroon-rich), var(--maroon) 45%, var(--maroon-deep));
}

.rsvp-section .section-header h2 {
    white-space: normal;
}

.rsvp-form {
    max-width: 880px;
    margin: 0 auto;
    background: rgba(250, 243, 227, 0.05);
    border: 1px solid rgba(201, 162, 39, 0.6);
    border-radius: 18px;
    padding: 38px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
    width: 100%;
    font-family: 'Jost', sans-serif;
    font-size: 15px;
    color: var(--text-dark);
    background: var(--ivory);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 16px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.rsvp-form input:focus,
.rsvp-form select:focus,
.rsvp-form textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.25);
}

.rsvp-form textarea {
    resize: vertical;
    margin-bottom: 22px;
}

.btn-submit {
    display: block;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
    color: var(--maroon-deep);
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    padding: 15px 42px;
    border: 1px solid var(--gold-light);
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(201, 162, 39, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(201, 162, 39, 0.5);
}

.rsvp-thanks {
    margin-top: 20px;
    text-align: center;
    font-family: 'Great Vibes', cursive;
    font-size: 28px;
    color: var(--gold-light);
}

.rsvp-thanks.show {
    animation: rpw-fadein 0.6s ease;
}

@keyframes rpw-fadein {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--maroon) 0%, var(--maroon-deep) 100%);
    color: var(--ivory);
    padding: 84px 20px 0;
}

.footer-floral-left,
.footer-floral-right {
    position: absolute;
    bottom: 0;
    z-index: 0;
    width: min(300px, 42vw);
    opacity: 0.6;
    pointer-events: none;
    background: transparent;
}

.footer-floral-left {
    left: 0;
}

.footer-floral-right {
    right: 0;
    transform: scaleX(-1);
}

.footer-floral-left img,
.footer-floral-right img {
    width: 100%;
}

.footer-content {
    position: relative;
    z-index: 1;
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
    padding-bottom: 54px;
}

.footer-left h4 {
    font-size: 17px;
    letter-spacing: 4px;
    color: var(--gold-light);
    margin-bottom: 10px;
}

.footer-left p {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--ivory-dim);
    max-width: 300px;
}

.footer-center {
    text-align: center;
}

.footer-monogram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 92px;
    height: 92px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    font-family: 'Marcellus', serif;
    font-size: 23px;
    color: var(--gold-light);
    background: rgba(250, 243, 227, 0.05);
    margin-bottom: 16px;
}

.footer-monogram .monogram-amp {
    font-family: 'Great Vibes', cursive;
    font-size: 20px;
    color: var(--ivory);
}

.footer-names {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(34px, 5vw, 46px);
    line-height: 1.2;
    color: var(--ivory);
}

.footer-date {
    letter-spacing: 4px;
    font-size: 13px;
    color: var(--gold-light);
    margin-top: 8px;
}

.footer-right {
    text-align: right;
}

.footer-right > span {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--gold-light);
    margin-bottom: 14px;
}

.social-icons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.social-icons a {
    width: 42px;
    height: 42px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--ivory);
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    background: var(--gold);
    color: var(--maroon-deep);
    transform: translateY(-3px);
}

.footer-bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(201, 162, 39, 0.35);
    padding: 22px 10px 26px;
    text-align: center;
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--ivory-dim);
}

.footer-bottom .credit-line {
    margin-top: 5px;
    color: var(--gold-light);
}

.footer-bottom .credit-line i {
    color: #e25563;
}

/* ===== SPLASH / OPEN INVITATION ===== */
.splash {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    overflow: hidden;
    cursor: pointer;
    transition: opacity 0.9s ease, transform 0.9s ease, visibility 0.9s ease;
}

.splash.splash-open {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.06);
    pointer-events: none;
}

.splash-bg {
    position: absolute;
    inset: 0;
}

.splash-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.splash-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(56, 10, 14, 0.62) 0%, rgba(74, 14, 18, 0.55) 45%, rgba(56, 10, 14, 0.88) 100%);
}

.splash-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--ivory);
    max-width: 720px;
    animation: rpw-splash-in 1.1s ease both;
}

@keyframes rpw-splash-in {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: none; }
}

.splash-monogram {
    margin-bottom: 20px;
}

.splash-tagline {
    letter-spacing: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--gold-light);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.splash-names {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-bottom: 14px;
}

.splash-names .name-groom,
.splash-names .name-bride {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(48px, 10vw, 78px);
    line-height: 1.15;
    color: var(--ivory);
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.splash-names .ampersand {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(28px, 5vw, 40px);
    color: var(--gold-light);
    line-height: 1;
}

.splash-date {
    font-size: 15px;
    letter-spacing: 4px;
    color: var(--gold-light);
    margin-bottom: 32px;
}

.splash-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-family: 'Jost', sans-serif;
}

.splash-btn-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(56, 10, 14, 0.45);
}

.splash-hint {
    margin-top: 18px;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(250, 243, 227, 0.75);
    animation: rpw-hint-pulse 2.2s ease-in-out infinite;
}

@keyframes rpw-hint-pulse {
    0%, 100% { opacity: 0.55; }
    50% { opacity: 1; }
}

/* ===== FIREWORKS CANVAS ===== */
#fwCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 90;
}

/* ===== SCRATCH CARD ===== */
.scratch-section {
    padding: 96px 20px 84px;
    background: linear-gradient(180deg, var(--ivory), #fdf6df);
}

.scratch-subtext {
    text-align: center;
    font-family: 'Great Vibes', cursive;
    font-size: clamp(26px, 4vw, 34px);
    color: var(--teal);
    margin: -22px auto 34px;
}

.scratch-wrap {
    position: relative;
    width: 340px;
    max-width: 100%;
    height: 200px;
    margin: 0 auto;
    border: 2px solid var(--gold);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-royal);
    background: var(--maroon);
}

.scratch-under {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 18px;
    background:
        radial-gradient(ellipse at center, rgba(201, 162, 39, 0.16), transparent 65%),
        linear-gradient(160deg, var(--maroon-rich), var(--maroon-deep));
    color: var(--ivory);
}

.scratch-under-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--gold-light);
    margin-bottom: 8px;
}

.scratch-date {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(30px, 8vw, 40px);
    line-height: 1.2;
    color: var(--ivory);
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.4);
}

.scratch-venue {
    margin-top: 10px;
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--gold-light);
}

.scratch-venue i {
    margin-right: 6px;
}

#scratchCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
    touch-action: none;
    transition: opacity 0.7s ease;
}

#scratchCanvas.cleared {
    opacity: 0;
    pointer-events: none;
}

.scratch-hint {
    text-align: center;
    margin-top: 22px;
    font-size: 13px;
    letter-spacing: 2px;
    color: var(--text-light);
}

.scratch-hint i {
    color: var(--gold-dark);
    margin-right: 6px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .venue-container {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .venue-info {
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 34px;
    }

    .footer-left p {
        margin: 0 auto;
    }

    .footer-right {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .timeline-track {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 70px 14px 90px;
    }

    .hero-frame {
        padding: 52px 24px 42px;
        border-radius: 190px 190px 14px 14px;
    }

    .hero-frame::before {
        border-radius: 182px 182px 10px 10px;
    }

    .monogram {
        width: 96px;
        height: 96px;
        font-size: 24px;
    }

    .couple-container {
        flex-direction: column;
        align-items: center;
        gap: 36px;
    }

    .person {
        width: 100%;
        max-width: 340px;
    }

    .couple-divider .heart-icon {
        width: 76px;
        height: 76px;
    }

    .section-header {
        gap: 10px;
        margin-bottom: 36px;
    }

    .section-header .ornament {
        height: 20px;
    }

    .section-header h2 {
        letter-spacing: 2px;
        white-space: normal;
    }

    .countdown-item {
        width: calc(50% - 12px);
        max-width: 150px;
    }

    .countdown-number {
        font-size: 38px;
    }

    .timeline-item {
        width: calc(50% - 16px);
    }

    .timeline-img {
        width: 132px;
        height: 132px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .rsvp-form {
        padding: 26px 20px;
    }

    .footer-floral-left,
    .footer-floral-right {
        opacity: 0.4;
    }
}

@media (max-width: 420px) {
    .timeline-item {
        width: 100%;
    }

    .wedding-details {
        flex-direction: column;
        gap: 6px;
    }

    .wedding-details .detail-separator {
        display: none;
    }

    .btn-primary {
        padding: 14px 30px;
        letter-spacing: 2px;
    }
}
