* {
    box-sizing: border-box;
}

:root {
    --pink: #d98c9d;
    --pink-dark: #b9667a;
    --pink-soft: #f8e5e8;
    --cream: #fffaf8;
    --gold: #b99a61;
    --text: #6e5158;
    --white: #ffffff;
    --shadow: 0 15px 45px rgba(130, 70, 80, .14);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f9edef;
    color: var(--text);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.8;
}

body:before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .13;
    background-image:
        radial-gradient(circle at 20% 20%, #d98c9d 0 1px, transparent 1.5px),
        radial-gradient(circle at 80% 60%, #b99a61 0 1px, transparent 1.5px);
    background-size: 55px 55px, 75px 75px;
    z-index: 20;
}

a {
    color: inherit;
}

.cover {
    min-height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-image: url('../images/pinkrose.jpg');
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
}

.cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 247, 247, .10),
        rgba(255, 255, 255, .20) 45%,
        rgba(255, 250, 250, .08)
    );
}

.cover-content {
    position: relative;
    z-index: 2;
    width: min(680px, 88%);
    min-height: 72vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 70px 30px 220px;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--pink-dark);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
}

.cover h1 {
    margin: 0;
    color: #9e596a;
    font-family: 'Great Vibes', cursive;
    font-size: clamp(55px, 10vw, 100px);
    line-height: .95;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(255,255,255,.8);
}

.cover h1 span {
    display: block;
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: .42em;
    line-height: 1.2;
}

.ring {
    margin: 20px 0 5px;
    color: var(--gold);
    font-size: 45px;
}

.date-cover {
    margin: 0;
    color: #87636a;
    font-family: 'Cormorant Garamond', serif;
    font-size: 25px;
    font-weight: 600;
}

.guest {
    margin-top: 28px;
    font-size: 13px;
}

.guest strong {
    font-size: 17px;
    color: var(--pink-dark);
}

.btn-open,
.btn-map {
    display: inline-block;
    margin-top: 22px;
    padding: 12px 25px;
    border: 1px solid var(--pink);
    border-radius: 40px;
    color: white;
    background: var(--pink);
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    box-shadow: 0 8px 20px rgba(185, 102, 122, .2);
    transition: .25s ease;
}

.btn-open:hover,
.btn-map:hover {
    transform: translateY(-2px);
    background: var(--pink-dark);
}

.bottom-nav {
    position: fixed;
    z-index: 30;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: min(540px, calc(100% - 24px));
    display: flex;
    justify-content: space-around;
    padding: 9px 6px;
    border: 1px solid rgba(217, 140, 157, .3);
    border-radius: 30px;
    background: rgba(255, 250, 250, .88);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(80, 40, 50, .15);
}

.bottom-nav a {
    min-width: 55px;
    color: #a66774;
    text-decoration: none;
    text-align: center;
    font-size: 18px;
    line-height: 1.1;
}

.bottom-nav span {
    display: block;
    margin-top: 2px;
    font-size: 8px;
    letter-spacing: .5px;
}

.section {
    position: relative;
    padding: 90px 20px;
    overflow: hidden;
}

.container {
    position: relative;
    z-index: 2;
    width: min(920px, 100%);
    margin: auto;
    text-align: center;
}

.paper-section {
    background:
        linear-gradient(rgba(255,250,248,.95), rgba(255,250,248,.95)),
        url('../images/pinkrose.jpg') center/cover;
}

.paper-section:before,
.rose-section:before,
.location-section:before,
.countdown-section:before {
    content: "❀";
    position: absolute;
    color: rgba(217, 140, 157, .13);
    font-size: 230px;
    right: -50px;
    top: -70px;
    transform: rotate(20deg);
}

.rose-section {
    background: linear-gradient(135deg, #fff3f4, #f8e3e7);
}

.countdown-section {
    background: #fffaf8;
}

.location-section {
    background: linear-gradient(135deg, #fff8f7, #f7e4e7);
}

.ornament {
    color: var(--gold);
    font-size: 28px;
    letter-spacing: 5px;
    margin-bottom: 18px;
}

.script-title {
    margin: 10px auto 20px;
    color: #a55f70;
    font-family: 'Great Vibes', cursive;
    font-size: clamp(35px, 6vw, 55px);
    font-weight: 400;
}

.section-title {
    margin: 0 0 35px;
    color: #8e5b65;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(38px, 6vw, 54px);
    font-weight: 600;
}

.lead {
    width: min(700px, 100%);
    margin: auto;
    font-size: 14px;
}

.quote {
    width: min(650px, 100%);
    margin: 35px auto 0;
    padding: 25px;
    border-top: 1px solid rgba(185,154,97,.45);
    border-bottom: 1px solid rgba(185,154,97,.45);
    font-family: 'Cormorant Garamond', serif;
    font-size: 21px;
    font-style: italic;
    color: #80656b;
}

.quote small {
    display: block;
    margin-top: 10px;
    font-family: Montserrat, sans-serif;
    font-size: 10px;
    letter-spacing: 1px;
    font-style: normal;
}

.couple-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.person-card {
    padding: 30px 20px;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(217,140,157,.25);
    border-radius: 120px 120px 20px 20px;
    box-shadow: var(--shadow);
}

.flower-icon {
    font-size: 42px;
}

.person-card h3 {
    margin: 5px 0 0;
    color: #a25d6c;
    font-family: 'Great Vibes', cursive;
    font-size: 44px;
    font-weight: 400;
}

.role {
    margin: 0;
    color: var(--gold);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.line {
    width: 55px;
    height: 1px;
    margin: 15px auto;
    background: var(--gold);
}

.person-card p:last-child {
    margin: 0;
    font-size: 12px;
}

.and-symbol {
    color: var(--gold);
    font-family: 'Great Vibes', cursive;
    font-size: 55px;
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    width: min(650px, 100%);
    margin: auto;
}

.countdown div {
    padding: 20px 10px;
    border: 1px solid rgba(185,154,97,.3);
    border-radius: 18px;
    background: #fff;
}

.countdown strong {
    display: block;
    color: var(--pink-dark);
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    line-height: 1;
}

.countdown span {
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.date-large {
    margin-top: 28px;
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
}

.event-card {
    width: min(620px, 100%);
    margin: 0 auto 25px;
    padding: 35px 25px;
    border: 1px solid rgba(185,154,97,.35);
    border-radius: 25px;
    background: rgba(255,255,255,.85);
    box-shadow: var(--shadow);
}

.event-icon {
    font-size: 35px;
}

.event-card h3,
.location-card h3 {
    margin: 5px 0 0;
    color: #a05d6c;
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
}

.event-date {
    color: var(--pink-dark);
    font-weight: 600;
}

.event-time {
    color: var(--gold);
    font-weight: 600;
}

.event-card p {
    margin: 5px 0;
}

.address {
    font-size: 12px;
}

.location-card {
    width: min(800px, 100%);
    margin: auto;
    padding: 30px;
    border-radius: 25px;
    background: rgba(255,255,255,.9);
    box-shadow: var(--shadow);
}

.map-wrap {
    margin-top: 25px;
    width: 100%;
    aspect-ratio: 16/8;
    overflow: hidden;
    border-radius: 18px;
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.wish-form {
    width: min(650px, 100%);
    margin: auto;
    display: grid;
    gap: 12px;
}

.wish-form input,
.wish-form select,
.wish-form textarea {
    width: 100%;
    border: 1px solid rgba(185,154,97,.35);
    border-radius: 14px;
    padding: 13px 15px;
    outline: none;
    background: rgba(255,255,255,.88);
    color: var(--text);
    font-family: inherit;
}

.wish-form textarea {
    resize: vertical;
}

.wish-form .btn-map {
    border: 0;
    cursor: pointer;
}

.wish-list {
    width: min(650px, 100%);
    margin: 30px auto 0;
    display: grid;
    gap: 12px;
}

.wish-item {
    padding: 17px;
    text-align: left;
    border-radius: 16px;
    background: rgba(255,255,255,.78);
    border-left: 3px solid var(--pink);
}

.wish-item strong {
    color: var(--pink-dark);
}

.wish-item small {
    display: block;
    color: var(--gold);
    margin: 2px 0 5px;
}

.closing {
    min-height: 650px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('../images/pinkrose.jpg') center bottom/cover no-repeat;
}

.closing-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 249, 249, .72);
}

.closing-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px 180px;
}

.closing-content p {
    font-size: 13px;
}

.closing-content h2 {
    margin: 20px 0;
    color: #9e596a;
    font-family: 'Great Vibes', cursive;
    font-size: clamp(50px, 8vw, 80px);
    font-weight: 400;
}

.closing-content .small {
    color: var(--gold);
}

footer {
    padding: 25px 20px 90px;
    text-align: center;
    background: #fff4f5;
    color: #a87580;
    font-size: 10px;
}

@media (max-width: 700px) {
    .cover {
        min-height: 100svh;
        background-size: auto 100%;
        background-position: center top;
    }

    .cover-content {
        padding-bottom: 210px;
    }

    .couple-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .and-symbol {
        line-height: 1;
    }

    .person-card {
        width: min(400px, 100%);
        margin: auto;
    }

    .countdown {
        gap: 6px;
    }

    .countdown div {
        padding: 14px 5px;
    }

    .countdown strong {
        font-size: 32px;
    }

    .countdown span {
        font-size: 8px;
    }

    .location-card {
        padding: 20px 12px;
    }

    .map-wrap {
        aspect-ratio: 1/1;
    }

    .closing {
        min-height: 560px;
        background-size: auto 100%;
    }
}

@media (max-width: 420px) {
    .bottom-nav {
        bottom: 8px;
    }

    .bottom-nav a {
        min-width: 45px;
        font-size: 16px;
    }

    .cover h1 {
        font-size: 54px;
    }
}


/* =========================================
   MUSIC PLAYER
========================================= */
.music-player {
    position: fixed;
    z-index: 31;
    top: 18px;
    right: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px 7px 7px;
    border: 1px solid rgba(185,154,97,.35);
    border-radius: 30px;
    background: rgba(255,250,250,.88);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 25px rgba(80,40,50,.12);
    color: #9d6370;
    font-size: 9px;
    letter-spacing: .6px;
}
.music-player button {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    background: #d98c9d;
    color: white;
    font-size: 14px;
    display: grid;
    place-items: center;
}
.music-player button.playing {
    animation: musicPulse 1.5s infinite;
}
@keyframes musicPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(217,140,157,.3); }
    50% { box-shadow: 0 0 0 9px rgba(217,140,157,0); }
}
@media (max-width: 500px) {
    .music-player { top: 10px; right: 10px; }
    .music-player span { display: none; }
}
/* =================================
   BANK CARD
================================= */

.bank-card {
    width: min(100%, 430px);
    min-height: 245px;
    margin: 30px auto 20px;
    padding: 28px;
    border-radius: 22px;

    background:
        linear-gradient(
            135deg,
            #b5122b,
            #d73535 45%,
            #8e0d20
        );

    color: #fff;

    box-shadow:
        0 20px 45px rgba(100, 20, 20, 0.25);

    position: relative;
    overflow: hidden;
}

.bank-card::before {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    right: -100px;
    top: -100px;
}

.bank-card::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    left: -90px;
    bottom: -90px;
}

.bank-top,
.bank-bottom,
.bank-number {
    position: relative;
    z-index: 2;
}

.bank-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bank-name {
    font-family: Arial, sans-serif;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 1px;
}

.chip {
    width: 46px;
    height: 34px;
    border-radius: 7px;

    background: linear-gradient(
        135deg,
        #e6c878,
        #fff0a8,
        #c8a64b
    );

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    padding: 6px;
}

.chip span {
    border: 1px solid rgba(80,60,10,0.45);
    border-radius: 2px;
}

.bank-number {
    margin-top: 42px;

    font-family: "Courier New", monospace;
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 3px;

    text-shadow: 0 2px 3px rgba(0,0,0,0.25);
}

.bank-bottom {
    margin-top: 25px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.bank-bottom small {
    display: block;
    font-size: 8px;
    letter-spacing: 1.5px;
    opacity: 0.75;
}

.bank-bottom strong {
    display: block;
    margin-top: 5px;
    font-size: 14px;
    letter-spacing: 1px;
}

.bank-heart {
    font-size: 34px;
    opacity: 0.85;
}

.copy-bank {
    display: block;
    margin: 18px auto 0;

    padding: 12px 24px;

    border: 0;
    border-radius: 30px;

    background: #b5122b;
    color: #fff;

    font-weight: 600;
    cursor: pointer;

    transition: 0.3s;
}

.copy-bank:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.copy-message {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
}