:root {

    --bg: #0c0c0c;
    --bg2: #15120f;

    --gold: #d8b46a;
    --gold-light: #f0dba6;

    --cream: #f4eee3;
    --muted: #b8aea0;

    --line: rgba(216, 180, 106, 0.28);

}


/* ====================================== */
/* GENERAL */
/* ====================================== */

* {

    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;

}

body {

    margin: 0;

    background:

        radial-gradient(
            circle at 20% 20%,
            rgba(216, 180, 106, 0.05),
            transparent 35%
        ),

        #0c0c0c;

    color: var(--cream);

    font-family: "Montserrat", sans-serif;

    overflow-x: hidden;

}


/* ====================================== */
/* APERTURA */
/* ====================================== */

.welcome-screen {

    position: fixed;

    inset: 0;

    z-index: 9999;

    display: flex;

    align-items: center;

    justify-content: center;

    background:

        radial-gradient(
            circle at center,
            #1b1712 0%,
            #0b0b0b 70%
        );

    padding: 25px;

    transition:

        opacity 1.2s ease,
        visibility 1.2s ease;

}


.welcome-screen.hide {

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

}


.welcome-border {

    position: absolute;

    inset: 20px;

    border: 1px solid var(--line);

}


.welcome-content {

    position: relative;

    z-index: 3;

    text-align: center;

    width: min(100%, 700px);

}


.welcome-kicker {

    color: var(--gold);

    letter-spacing: 0.32em;

    font-size: 0.7rem;

}


.welcome-50 {

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(9rem, 32vw, 18rem);

    line-height: 0.75;

    color: var(--gold-light);

    text-shadow:

        0 0 60px rgba(216, 180, 106, 0.2);

}


.welcome-content h1 {

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(2.4rem, 8vw, 5rem);

    font-weight: 500;

    margin: 20px 0 8px;

}


.welcome-text {

    color: var(--muted);

    font-family: "Cormorant Garamond", serif;

    font-size: 1.25rem;

    font-style: italic;

}


.open-btn {

    margin-top: 30px;

    padding: 16px 26px;

    border-radius: 100px;

    border: 1px solid var(--gold);

    background: transparent;

    color: var(--gold-light);

    font-family: "Montserrat", sans-serif;

    text-transform: uppercase;

    letter-spacing: 0.12em;

    cursor: pointer;

    transition: 0.3s ease;

}


.open-btn span {

    margin: 0 8px;

}


.open-btn:hover {

    background: var(--gold);

    color: #111;

    transform: translateY(-2px);

}


.sound-hint {

    margin-top: 18px;

    color: #82796d;

    font-size: 0.7rem;

}


.welcome-glow {

    position: absolute;

    width: 350px;

    height: 350px;

    border-radius: 50%;

    background: var(--gold);

    filter: blur(100px);

    opacity: 0.1;

}


.welcome-glow-1 {

    top: -160px;

    right: -100px;

}


.welcome-glow-2 {

    bottom: -170px;

    left: -100px;

}


/* ====================================== */
/* BOTÓN AUDIO */
/* ====================================== */

.music-btn {

    position: fixed;

    z-index: 5000;

    right: 20px;

    bottom: 20px;

    width: 48px;

    height: 48px;

    border-radius: 50%;

    border: 1px solid var(--gold);

    background: rgba(12, 12, 12, 0.85);

    color: var(--gold-light);

    backdrop-filter: blur(10px);

    cursor: pointer;

    font-size: 20px;

    opacity: 0;

    visibility: hidden;

    transition: 0.3s ease;

}


.music-btn.show {

    opacity: 1;

    visibility: visible;

}


.music-btn.playing {

    animation: musicPulse 2s infinite;

}


@keyframes musicPulse {

    50% {

        box-shadow:

            0 0 25px rgba(216, 180, 106, 0.38);

    }

}


/* ====================================== */
/* HERO */
/* ====================================== */

.hero {

    min-height: 100svh;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;

    overflow: hidden;

    padding: 40px 20px;

}


.hero-frame {

    position: absolute;

    inset: 25px;

    border: 1px solid var(--line);

}


.hero-content {

    text-align: center;

    position: relative;

    z-index: 3;

}


.eyebrow,
.section-kicker {

    color: var(--gold);

    font-size: 0.68rem;

    letter-spacing: 0.32em;

    font-weight: 500;

}


.hero-title {

    margin: 10px 0 0;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    font-family: "Cormorant Garamond", serif;

}


.hero-small {

    font-size: clamp(2.2rem, 7vw, 5rem);

    font-style: italic;

    font-weight: 400;

}


.hero-number {

    font-size: clamp(8rem, 29vw, 18rem);

    font-weight: 500;

    line-height: 0.8;

    color: var(--gold-light);

}


.divider {

    max-width: 350px;

    margin: 20px auto;

    display: flex;

    align-items: center;

    gap: 15px;

    color: var(--gold);

}


.divider span {

    flex: 1;

    height: 1px;

    background: var(--line);

}


.hero-name {

    margin: 0;

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(2.5rem, 8vw, 5rem);

    font-weight: 500;

}


.hero-intro {

    max-width: 500px;

    margin: 15px auto;

    color: var(--muted);

    line-height: 1.8;

}


.scroll-link {

    display: inline-flex;

    flex-direction: column;

    gap: 8px;

    margin-top: 25px;

    text-decoration: none;

    color: var(--cream);

    font-size: 0.75rem;

    opacity: 0.7;

}


.scroll-link span {

    animation: arrowBounce 1.5s infinite;

}


@keyframes arrowBounce {

    50% {

        transform: translateY(7px);

    }

}


/* ====================================== */
/* SECCIONES */
/* ====================================== */

.section {

    min-height: 75svh;

    padding: 95px 20px;

    display: flex;

    align-items: center;

    justify-content: center;

}


.section-inner {

    width: min(100%, 720px);

    text-align: center;

}


.section-title {

    margin: 8px 0 30px;

    font-family: "Cormorant Garamond", serif;

    font-weight: 500;

    font-size: clamp(3rem, 10vw, 5.5rem);

}


/* ====================================== */
/* FOTO */
/* ====================================== */

.photo-section {

    background:

        linear-gradient(
            180deg,
            #0c0c0c,
            #17130f,
            #0c0c0c
        );

}


.photo-wrapper {

    width: min(92vw, 520px);

    text-align: center;

}


.photo-frame {

    padding: 10px;

    border: 1px solid var(--line);

    position: relative;

}


.photo-frame img {

    display: block;

    width: 100%;

    aspect-ratio: 4 / 5;

    object-fit: cover;

}


.photo-frame::before {

    content: "";

    position: absolute;

    width: 70px;

    height: 70px;

    top: -8px;

    left: -8px;

    border-top: 1px solid var(--gold);

    border-left: 1px solid var(--gold);

}


.photo-frame::after {

    content: "";

    position: absolute;

    width: 70px;

    height: 70px;

    right: -8px;

    bottom: -8px;

    border-right: 1px solid var(--gold);

    border-bottom: 1px solid var(--gold);

}


.photo-text {

    margin-top: 30px;

    font-family: "Cormorant Garamond", serif;

    font-size: 1.35rem;

}


.photo-text span,
.photo-text strong {

    display: block;

}


.photo-text strong {

    color: var(--gold-light);

    font-weight: 500;

}


/* ====================================== */
/* FECHA */
/* ====================================== */

.date-layout {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 25px;

}


.date-number {

    color: var(--gold-light);

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(8rem, 26vw, 13rem);

    line-height: 0.75;

}


.date-info {

    text-align: left;

    padding-left: 25px;

    border-left: 1px solid var(--line);

}


.date-info strong {

    display: block;

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(2.2rem, 7vw, 4rem);

    font-weight: 500;

}


.date-info span {

    display: block;

    color: var(--gold);

    letter-spacing: 0.3em;

}


.event-time {

    margin-top: 30px;

    font-size: 1.35rem;

    letter-spacing: 0.22em;

}


.gold-symbol {

    margin: 35px 0;

    color: var(--gold);

}


.event-message {

    color: var(--muted);

    line-height: 1.9;

}


/* ====================================== */
/* COUNTDOWN */
/* ====================================== */

.countdown {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 10px;

}


.countdown-item {

    border: 1px solid var(--line);

    padding: 20px 8px;

}


.countdown-item strong {

    display: block;

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(2.4rem, 8vw, 4.5rem);

    color: var(--gold-light);

    font-weight: 500;

}


.countdown-item span {

    color: var(--muted);

    text-transform: uppercase;

    letter-spacing: 0.12em;

    font-size: 0.65rem;

}


/* ====================================== */
/* UBICACIÓN */
/* ====================================== */

.location-section {

    background: #15120f;

}


.location-text {

    color: var(--muted);

    line-height: 1.8;

}


.location-btn {

    margin-top: 25px;

    border: 1px solid var(--line);

    background: transparent;

    color: var(--muted);

    padding: 14px 25px;

    border-radius: 100px;

}


/* ====================================== */
/* RSVP */
/* ====================================== */

.rsvp-description {

    color: var(--muted);

}


.rsvp-form {

    margin-top: 40px;

    text-align: left;

    display: grid;

    gap: 24px;

}


.form-group {

    display: grid;

    gap: 9px;

}


.form-group label {

    color: var(--gold-light);

    font-size: 0.76rem;

}


.form-group em {

    color: var(--muted);

    font-style: normal;

}


.form-group input,
.form-group select,
.form-group textarea {

    width: 100%;

    padding: 15px 16px;

    border: 1px solid var(--line);

    background: rgba(255, 255, 255, 0.02);

    color: var(--cream);

    font-family: inherit;

    outline: none;

}


.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {

    border-color: var(--gold);

}


.form-group select option {

    color: #111;

}


.attendance-options {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 10px;

}


.attendance-card {

    border: 1px solid var(--line);

    padding: 15px;

    cursor: pointer;

}


.attendance-card input {

    accent-color: var(--gold);

}


.attendance-card span {

    margin-left: 5px;

    color: var(--cream);

}


.submit-btn {

    border: none;

    background: var(--gold);

    color: #111;

    padding: 16px;

    border-radius: 100px;

    font-family: inherit;

    text-transform: uppercase;

    letter-spacing: 0.1em;

    font-weight: 600;

    cursor: pointer;

    transition: 0.3s ease;

}


.submit-btn:hover {

    transform: translateY(-2px);

    filter: brightness(1.08);

}


.alert {

    margin: 25px 0;

    padding: 15px;

    border: 1px solid;

}


.alert.success {

    border-color: rgba(104, 220, 153, 0.4);

    color: #abe6c3;

}


.alert.error {

    border-color: rgba(220, 104, 104, 0.4);

    color: #e7aaaa;

}


/* ====================================== */
/* FOOTER */
/* ====================================== */

footer {

    padding: 70px 20px;

    border-top: 1px solid var(--line);

    text-align: center;

}


.footer-number {

    font-family: "Cormorant Garamond", serif;

    font-size: 5rem;

    color: var(--gold-light);

}


footer p {

    margin: 0;

    font-family: "Cormorant Garamond", serif;

    font-size: 1.8rem;

}


footer span {

    display: block;

    margin-top: 10px;

    color: var(--muted);

    letter-spacing: 0.2em;

}


/* ====================================== */
/* ANIMACIONES */
/* ====================================== */

.reveal {

    opacity: 0;

    transform: translateY(40px);

    transition:

        opacity 1s ease,
        transform 1s ease;

}


.reveal.visible {

    opacity: 1;

    transform: translateY(0);

}


/* ====================================== */
/* RESPONSIVE */
/* ====================================== */

@media (max-width: 600px) {

    .welcome-border {

        inset: 12px;

    }

    .hero-frame {

        inset: 12px;

    }

    .section {

        padding: 75px 17px;

    }

    .attendance-options {

        grid-template-columns: 1fr;

    }

    .countdown {

        gap: 5px;

    }

    .countdown-item {

        padding: 16px 4px;

    }

    .date-layout {

        gap: 14px;

    }

    .date-info {

        padding-left: 15px;

    }

}