:root {
    --bg: #030604;
    --bg2: #07140d;
    --panel: rgba(10, 18, 13, .76);
    --green: #16a34a;
    --green2: #7ee787;
    --gold: #d6a941;
    --gold2: #ffe08a;
    --text: #fff7e8;
    --muted: #beb6a5;
    --line: rgba(255, 224, 138, .22);
    --whiteGlass: rgba(255, 255, 255, .065);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: Montserrat, Arial, sans-serif;
    background:
        radial-gradient(circle at 50% -18%, rgba(22, 163, 74, .22), transparent 35%),
        radial-gradient(circle at 100% 18%, rgba(214, 169, 65, .16), transparent 32%),
        linear-gradient(180deg, #030604, #07140d 44%, #030604);
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

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

button,
input {
    font-family: inherit;
}

.stadium-grid {
    position: fixed;
    inset: 0;
    z-index: -5;
    pointer-events: none;
    opacity: .22;
    background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.light-beam {
    position: fixed;
    top: -20vh;
    width: 28vw;
    height: 120vh;
    z-index: -4;
    pointer-events: none;
    opacity: .18;
    filter: blur(5px);
    background: linear-gradient(180deg, rgba(255, 224, 138, .35), transparent 72%);
    clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%);
}

.beam-one {
    left: 8vw;
    transform: rotate(18deg);
}

.beam-two {
    right: 8vw;
    transform: rotate(-18deg);
}

.ambient {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    opacity: .19;
    z-index: -3;
}

.ambient-one {
    width: 430px;
    height: 430px;
    background: var(--green);
    top: -150px;
    left: -180px;
}

.ambient-two {
    width: 470px;
    height: 470px;
    background: var(--gold);
    right: -220px;
    top: 42%;
}

[data-parallax],
.tilt-card {
    will-change: transform;
}

/* HERO */

.hero {
    min-height: 100vh;
    padding: 24px max(28px, calc((100vw - 1180px) / 2));
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 76% 32%, rgba(255, 224, 138, .17), transparent 28%),
        linear-gradient(115deg, rgba(0,0,0,.70), rgba(0,0,0,.16));
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 170px;
    background: linear-gradient(transparent, var(--bg));
}

.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 6;
    padding: 10px 0;
}

.mini-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: .1em;
    font-size: .82rem;
}

.mini-brand span {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    border: 1px solid var(--line);
    box-shadow: 0 0 30px rgba(255, 224, 138, .12);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-actions a,
.primary-btn,
.ghost-btn,
.location-card a,
.rsvp-card button {
    border: 1px solid rgba(255, 224, 138, .68);
    padding: 13px 20px;
    border-radius: 999px;
    color: var(--gold2);
    font-weight: 900;
    text-transform: uppercase;
    font-size: .72rem;
    letter-spacing: .1em;
    transition: .25s ease;
    background: rgba(255,255,255,.04);
    backdrop-filter: blur(12px);
}

.primary-btn,
.location-card a,
.rsvp-card button {
    background: linear-gradient(135deg, var(--gold2), var(--gold));
    color: #07120c;
    box-shadow: 0 18px 45px rgba(214, 169, 65, .18);
}

.nav-actions a:hover,
.primary-btn:hover,
.ghost-btn:hover,
.location-card a:hover,
.rsvp-card button:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 55px rgba(214, 169, 65, .24);
}

.hero-grid {
    min-height: calc(100vh - 82px);
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
    gap: 42px;
    position: relative;
    z-index: 3;
}

.hero-copy {
    max-width: 720px;
}

.overline,
.section-kicker {
    color: var(--gold2);
    font-weight: 900;
    letter-spacing: .22em;
    font-size: .73rem;
    text-transform: uppercase;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0 16px;
    padding: 10px 15px;
    border: 1px solid rgba(255, 224, 138, .28);
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(12px);
}

.hero-badge span {
    font-size: 1.4rem;
}

.hero-badge small {
    color: #ddd3bf;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .67rem;
}

.hero h1 {
    margin: 0;
    text-transform: uppercase;
    line-height: .88;
    font-family: Cinzel, serif;
    font-size: clamp(3.25rem, 7.8vw, 7.4rem);
    letter-spacing: -.065em;
    text-shadow: 0 28px 60px rgba(0,0,0,.62);
}

.hero h1 span {
    display: block;
    font-family: Montserrat, sans-serif;
    font-size: .33em;
    text-transform: none;
    letter-spacing: .04em;
    color: var(--gold2);
    margin-bottom: 12px;
    font-weight: 600;
}

.xv-title {
    display: flex;
    gap: 18px;
    align-items: center;
    margin: 26px 0;
    color: var(--gold2);
    letter-spacing: .28em;
}

.xv-title i {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold2));
    flex: 1;
    max-width: 95px;
}

.xv-title i:last-child {
    background: linear-gradient(90deg, var(--gold2), transparent);
}

.intro {
    max-width: 640px;
    color: #ded5c4;
    line-height: 1.85;
    font-size: 1rem;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.premium-card {
    width: min(440px, 100%);
    height: 640px;
    position: relative;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 224, 138, .28);
    border-radius: 38px;
    background:
        radial-gradient(circle at 50% 0, rgba(255,224,138,.20), transparent 42%),
        linear-gradient(160deg, rgba(18, 76, 42, .84), rgba(3, 6, 4, .96));
    box-shadow:
        0 38px 100px rgba(0,0,0,.52),
        inset 0 1px 0 rgba(255,255,255,.12);
    overflow: hidden;
    transform-style: preserve-3d;
}

.card-glow {
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(255, 224, 138, .16);
    filter: blur(50px);
    top: 40px;
}

.field-lines {
    position: absolute;
    inset: 24px;
    border: 2px solid rgba(255,255,255,.12);
    border-radius: 30px;
}

.field-lines::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255,255,255,.11);
}

.field-lines::after {
    content: "";
    position: absolute;
    width: 165px;
    height: 165px;
    border: 2px solid rgba(255,255,255,.13);
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.jersey {
    width: 258px;
    height: 368px;
    position: relative;
    z-index: 2;
    background:
        linear-gradient(90deg, transparent 48%, rgba(255,224,138,.24) 50%, transparent 52%),
        linear-gradient(145deg, #121914, #020403);
    clip-path: polygon(18% 0, 36% 9%, 64% 9%, 82% 0, 100% 24%, 83% 34%, 80% 100%, 20% 100%, 17% 34%, 0 24%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 78px;
    filter: drop-shadow(0 34px 48px rgba(0,0,0,.80));
}

.jersey small {
    font-weight: 900;
    letter-spacing: .25em;
    color: var(--gold2);
}

.jersey strong {
    font-family: Cinzel, serif;
    font-size: 8.8rem;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px var(--gold2);
    text-shadow: 0 0 28px rgba(255, 224, 138, .22);
}

.floating-ball {
    position: absolute;
    bottom: 58px;
    right: 38px;
    z-index: 3;
    font-size: 5.8rem;
    filter: drop-shadow(0 18px 20px #000);
}

.ticket-mini {
    position: absolute;
    left: 24px;
    bottom: 26px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 13px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    background: rgba(0,0,0,.34);
    backdrop-filter: blur(12px);
}

.ticket-mini span {
    font-family: Cinzel, serif;
    color: var(--gold2);
    font-weight: 900;
}

.ticket-mini p {
    margin: 0;
    color: #d9d0bd;
    font-size: .68rem;
    font-weight: 800;
}

/* GENERAL */

main {
    max-width: 1180px;
    margin: auto;
    padding: 0 28px;
}

.countdown-section {
    text-align: center;
    padding: 74px 0 58px;
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 880px;
    margin: 28px auto 0;
    border: 1px solid var(--line);
    border-radius: 28px;
    background:
        radial-gradient(circle at 50% 0, rgba(22,163,74,.14), transparent 48%),
        rgba(255,255,255,.045);
    overflow: hidden;
    backdrop-filter: blur(15px);
    box-shadow: 0 24px 80px rgba(0,0,0,.22);
}

.countdown div {
    padding: 32px 15px;
    position: relative;
}

.countdown div + div::before {
    content: "";
    position: absolute;
    left: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: var(--line);
}

.countdown strong {
    display: block;
    font-family: Cinzel, serif;
    color: var(--gold2);
    font-size: clamp(2rem, 5vw, 4rem);
}

.countdown span {
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .68rem;
    color: var(--muted);
}

.ticket-section,
.location-section,
.family-section,
.gallery-section {
    padding: 68px 0;
}

.event-ticket {
    display: grid;
    grid-template-columns: 1.2fr auto 1fr;
    gap: 28px;
    align-items: center;
    padding: 34px;
    border-radius: 32px;
    border: 1px solid rgba(255, 224, 138, .24);
    background:
        linear-gradient(135deg, rgba(255,224,138,.12), transparent 28%),
        linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.025));
    box-shadow: 0 28px 90px rgba(0,0,0,.28);
    overflow: hidden;
}

.ticket-left p,
.ticket-right small {
    margin: 0;
    color: var(--gold2);
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.ticket-left h2 {
    margin: 8px 0;
    font-family: Cinzel, serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.ticket-left span {
    color: var(--muted);
    line-height: 1.7;
}

.ticket-divider {
    width: 1px;
    height: 150px;
    background: linear-gradient(transparent, var(--line), transparent);
    position: relative;
}

.ticket-right {
    display: grid;
    gap: 16px;
}

.ticket-right div {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(0,0,0,.18);
    border: 1px solid rgba(255,255,255,.08);
}

.ticket-right strong {
    display: block;
    margin-top: 4px;
    font-size: .9rem;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 30px;
}

.section-heading > span {
    font-family: Cinzel, serif;
    font-size: 3.1rem;
    color: rgba(255, 224, 138, .22);
}

.section-heading p {
    margin: 0 0 5px;
    color: var(--gold);
    letter-spacing: .18em;
    font-size: .7rem;
    font-weight: 900;
}

.section-heading h2 {
    font-family: Cinzel, serif;
    margin: 0;
    font-size: clamp(1.9rem, 4vw, 3.1rem);
    line-height: 1.05;
}

.location-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background:
        linear-gradient(110deg, rgba(22, 163, 74, .15), rgba(255,255,255,.035)),
        var(--panel);
    backdrop-filter: blur(14px);
    box-shadow: 0 24px 80px rgba(0,0,0,.24);
}

.pin {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border-radius: 20px;
    background: rgba(255,224,138,.10);
    color: var(--gold2);
    font-size: 2.1rem;
}

.location-card h3 {
    margin: 0 0 7px;
}

.location-card p {
    margin: 0;
    color: #d0c9bb;
    line-height: 1.7;
}

/* FAMILY */

.family-intro {
    max-width: 760px;
    color: var(--muted);
    line-height: 1.8;
    margin: -12px 0 28px;
}

.family-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.family-card {
    position: relative;
    min-height: 310px;
    padding: 42px 28px;
    border-radius: 32px;
    border: 1px solid rgba(255, 224, 138, .24);
    background:
        radial-gradient(circle at 50% 0, rgba(255,224,138,.16), transparent 45%),
        linear-gradient(145deg, rgba(255,255,255,.068), rgba(255,255,255,.025));
    text-align: center;
    overflow: hidden;
    box-shadow: 0 26px 76px rgba(0,0,0,.28);
}

.family-card::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 24px;
    pointer-events: none;
}

.family-icon {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    border-radius: 50%;
    border: 1px solid rgba(255, 224, 138, .35);
    background: rgba(255,255,255,.065);
    font-size: 2.05rem;
}

.family-card p {
    margin: 0 0 14px;
    color: var(--gold2);
    font-size: .75rem;
    letter-spacing: .18em;
    font-weight: 900;
    text-transform: uppercase;
}

.family-card h3 {
    margin: 7px 0;
    font-family: Cinzel, serif;
    font-size: clamp(1.45rem, 3vw, 2.18rem);
}

.family-card span {
    display: block;
    color: var(--gold2);
    font-size: 1.4rem;
    margin: 6px 0;
}

/* GALERÍA */

.gallery-help {
    color: #cfc7b8;
    font-size: .98rem;
    margin: -12px 0 32px;
}

.polaroid-gallery {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 21px;
    padding: 38px 22px;
}

.polaroid-gallery::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 38px;
    background:
        radial-gradient(circle at 10% 15%, rgba(22,163,74,.16), transparent 34%),
        radial-gradient(circle at 90% 80%, rgba(255,224,138,.16), transparent 32%),
        rgba(255,255,255,.035);
    border: 1px solid rgba(255,224,138,.12);
    z-index: -1;
}

.polaroid {
    border: 0;
    padding: 12px 12px 46px;
    background:
        linear-gradient(180deg, #fffaf0, #ece1ca);
    border-radius: 9px;
    cursor: pointer;
    position: relative;
    box-shadow: 0 26px 62px rgba(0,0,0,.40);
    transition: .32s ease;
    min-height: 335px;
}

.polaroid:nth-child(1) {
    transform: rotate(-4deg);
}

.polaroid:nth-child(2) {
    transform: rotate(3deg) translateY(18px);
}

.polaroid:nth-child(3) {
    transform: rotate(-2deg) translateY(4px);
}

.polaroid:nth-child(4) {
    transform: rotate(4deg) translateY(20px);
}

.polaroid:hover {
    transform: rotate(0) translateY(-14px) scale(1.035);
    z-index: 4;
}

.polaroid img {
    width: 100%;
    height: 258px;
    object-fit: cover;
    display: block;
    border-radius: 5px;
    filter: saturate(1.05) contrast(1.02);
}

.polaroid span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    color: #182019;
    font-family: Cinzel, serif;
    font-weight: 900;
    font-size: .94rem;
    text-align: center;
}

/* RSVP */

.rsvp-section {
    padding: 20px 0 112px;
}

.rsvp-card {
    position: relative;
    text-align: center;
    padding: 76px 25px;
    border: 1px solid var(--line);
    border-radius: 38px;
    background:
        radial-gradient(circle at 50% 0, rgba(255,224,138,.18), transparent 48%),
        linear-gradient(145deg, rgba(22,163,74,.12), rgba(255,255,255,.035));
    overflow: hidden;
    box-shadow: 0 28px 96px rgba(0,0,0,.26);
}

.rsvp-card::before {
    content: "XV";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-family: Cinzel, serif;
    font-size: 15rem;
    font-weight: 900;
    color: rgba(255,255,255,.026);
    pointer-events: none;
}

.rsvp-card h2 {
    position: relative;
    font-family: Cinzel, serif;
    font-size: clamp(2rem, 5vw, 3.9rem);
    margin: 8px;
}

.rsvp-card p:not(.section-kicker) {
    position: relative;
    color: var(--muted);
}

.rsvp-card button {
    position: relative;
    margin-top: 22px;
    cursor: pointer;
    font-size: .85rem;
    padding: 16px 27px;
}

/* FOOTER */

footer {
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    padding: 26px 22px;
    color: #8d877c;
    font-size: .74rem;
    text-align: center;
}

footer a {
    color: #aaa394;
}

/* MODALES */

.modal,
.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    place-items: center;
    z-index: 50;
    padding: 20px;
}

.modal.show,
.lightbox.show {
    display: grid;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.84);
    backdrop-filter: blur(10px);
}

.modal-card {
    position: relative;
    width: min(520px, 100%);
    background:
        radial-gradient(circle at top, rgba(255,224,138,.14), transparent 42%),
        linear-gradient(145deg, #121b15, #070908);
    border: 1px solid rgba(255,224,138,.62);
    border-radius: 28px;
    padding: 38px;
    box-shadow: 0 30px 100px #000;
}

.close {
    position: absolute;
    right: 16px;
    top: 12px;
    background: none;
    border: 0;
    color: #aaa;
    font-size: 2rem;
    cursor: pointer;
}

.modal-icon {
    font-size: 2.5rem;
}

.modal-card h2 {
    font-family: Cinzel, serif;
    margin: 7px 0;
}

.modal-card > p {
    color: #bdb6a9;
    line-height: 1.6;
}

.modal-card label {
    display: block;
    margin-top: 18px;
    font-size: .78rem;
    font-weight: 800;
}

.modal-card input {
    width: 100%;
    margin-top: 8px;
    padding: 15px;
    background: #070908;
    border: 1px solid rgba(255,255,255,.14);
    color: white;
    border-radius: 12px;
    outline: none;
}

.modal-card input:focus {
    border-color: var(--gold);
}

.modal-card small {
    display: block;
    color: #928b80;
    margin-top: 7px;
    font-weight: 400;
}

.modal-card form > button {
    width: 100%;
    padding: 15px;
    margin-top: 23px;
    background: linear-gradient(135deg, var(--gold2), var(--gold));
    color: #07120c;
    border: 0;
    border-radius: 999px;
    font-weight: 900;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.modal-card form > button:disabled {
    opacity: .65;
}

.form-message {
    font-size: .82rem !important;
}

.success {
    color: #75d98a !important;
}

.error-text {
    color: #ff8585 !important;
}

#successModal .modal-card {
    width: min(560px, 92vw);
    text-align: center;
    padding: 48px 34px 38px;
    overflow: hidden;
}

#successModal .modal-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    font-size: 2.7rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,224,138,.22), rgba(22,163,74,.08));
    border: 1px solid rgba(255,224,138,.45);
}

#successModal h2 {
    margin: 0 auto 18px;
    max-width: 470px;
    font-family: Cinzel, serif;
    font-size: clamp(2rem, 6vw, 3.2rem);
    line-height: 1.12;
}

#successModal .modal-card > p:not(.section-kicker) {
    max-width: 420px;
    margin: 0 auto 28px;
    font-size: 1rem;
    color: #c9c5bb;
}

#closeSuccessModal {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 190px;
    padding: 15px 24px;
    border: 1px solid var(--gold);
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold2), var(--gold));
    color: #07120c;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .09em;
    cursor: pointer;
    transition: .25s;
}

#closeSuccessModal:hover {
    transform: translateY(-2px);
}

/* LIGHTBOX */

.lightbox {
    background: rgba(0,0,0,.92);
}

.lightbox img {
    max-width: min(1000px, 92vw);
    max-height: 88vh;
    border-radius: 16px;
    box-shadow: 0 30px 90px #000;
}

.lightbox button {
    position: fixed;
    top: 20px;
    right: 25px;
    background: none;
    border: 0;
    color: white;
    font-size: 2.4rem;
    cursor: pointer;
}

/* MÚSICA */

.music-btn {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 90;
    width: 58px;
    height: 58px;
    border: 1px solid rgba(255,224,138,.55);
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 20%, rgba(255,224,138,.18), transparent 34%),
        linear-gradient(145deg, #121b15, #070908);
    color: var(--gold2);
    font-size: 1.45rem;
    cursor: pointer;
    box-shadow: 0 18px 45px rgba(0,0,0,.48);
    transition: .25s ease;
}

.music-btn:hover {
    transform: translateY(-3px) scale(1.04);
}

.music-btn.is-playing {
    animation: musicPulse 1.8s infinite ease-in-out;
}

@keyframes musicPulse {
    0%, 100% {
        box-shadow: 0 18px 45px rgba(0,0,0,.48);
    }

    50% {
        box-shadow: 0 18px 45px rgba(255,224,138,.34);
    }
}

/* ANIMACIONES */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: .78s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 950px) {
    .hero-grid {
        grid-template-columns: 1fr;
        padding-top: 58px;
        text-align: center;
    }

    .hero-copy {
        margin: auto;
    }

    .xv-title,
    .hero-buttons {
        justify-content: center;
    }

    .premium-card {
        height: 470px;
    }

    .jersey {
        transform: scale(.78);
    }

    .floating-ball {
        bottom: 28px;
    }

    .event-ticket {
        grid-template-columns: 1fr;
    }

    .ticket-divider {
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--line), transparent);
    }

    .family-grid {
        grid-template-columns: 1fr;
    }

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

    .location-card {
        grid-template-columns: auto 1fr;
    }

    .location-card a {
        grid-column: 1 / 3;
        text-align: center;
    }
}

@media (max-width: 650px) {
    .nav-actions {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 22px 18px 72px;
    }

    .hero-grid {
        min-height: auto;
        padding-top: 50px;
        gap: 30px;
    }

    .hero h1 {
        font-size: 3.15rem;
    }

    .hero h1 span {
        font-size: .42em;
    }

    .intro {
        font-size: .94rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .primary-btn,
    .ghost-btn {
        width: 100%;
        text-align: center;
    }

    .premium-card {
        height: 345px;
        border-radius: 28px;
    }

    .jersey {
        transform: scale(.58);
    }

    .floating-ball {
        font-size: 4.2rem;
        right: 22px;
        bottom: 18px;
    }

    .ticket-mini {
        left: 14px;
        bottom: 14px;
        transform: scale(.86);
        transform-origin: left bottom;
    }

    main {
        padding: 0 18px;
    }

    .countdown {
        grid-template-columns: repeat(4, 1fr);
        border-radius: 18px;
    }

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

    .countdown strong {
        font-size: 1.85rem;
    }

    .countdown span {
        font-size: .51rem;
        letter-spacing: .07em;
    }

    .ticket-section,
    .location-section,
    .family-section,
    .gallery-section {
        padding: 54px 0;
    }

    .event-ticket {
        padding: 24px;
        border-radius: 26px;
    }

    .section-heading {
        align-items: flex-start;
    }

    .section-heading > span {
        font-size: 2.5rem;
    }

    .location-card {
        padding: 22px;
    }

    .family-card {
        padding: 34px 20px;
    }

    .polaroid-gallery {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 22px 8px 28px;
        overflow: visible;
    }

    .polaroid {
        min-height: auto;
        padding: 7px 7px 28px;
        border-radius: 6px;
        box-shadow: 0 16px 34px rgba(0,0,0,.34);
    }

    .polaroid:nth-child(1) {
        transform: rotate(-4deg);
    }

    .polaroid:nth-child(2) {
        transform: rotate(3deg) translateY(10px);
    }

    .polaroid:nth-child(3) {
        transform: rotate(2deg) translateY(-2px);
    }

    .polaroid:nth-child(4) {
        transform: rotate(-3deg) translateY(9px);
    }

    .polaroid:hover {
        transform: scale(1.03);
    }

    .polaroid img {
        height: 145px;
        border-radius: 4px;
    }

    .polaroid span {
        bottom: 8px;
        font-size: .67rem;
    }

    .rsvp-card {
        padding: 58px 20px;
    }

    .modal-card {
        padding: 30px 22px;
    }

    footer {
        flex-wrap: wrap;
    }

    .music-btn {
        right: 16px;
        bottom: 16px;
        width: 54px;
        height: 54px;
        font-size: 1.35rem;
    }
}

@media (max-width: 390px) {
    .hero h1 {
        font-size: 2.82rem;
    }

    .polaroid-gallery {
        gap: 10px;
        padding-left: 4px;
        padding-right: 4px;
    }

    .polaroid img {
        height: 125px;
    }

    .polaroid span {
        font-size: .62rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    [data-parallax],
    .tilt-card {
        transform: none !important;
    }
}