/* ============================================================
   ROYAL HERITAGE - PREMIUM DESIGN SYSTEM
   ============================================================ */

:root {
    --bg-color: #0b0303;
    --bg-2: #160606;
    --card-bg: rgba(24, 7, 7, 0.78);
    --primary: #d4af37;
    --primary-dark: #9f7d2f;
    --gold-accent: #f0d078;
    --ruby: #811019;
    --ruby-deep: #3b080b;
    --emerald: #0d4d2b;
    --ivory: #fff7e8;
    --text-dark: #fff7e8;
    --text-light: #d8c8a6;
    --muted: #a99773;
    --border-color: rgba(212, 175, 55, 0.28);
    --shadow-gold: 0 28px 80px rgba(212, 175, 55, 0.15);
    --shadow-dark: 0 28px 90px rgba(0, 0, 0, 0.52);
    --radius: 8px;
    --font-display: "Cinzel", "Playfair Display", serif;
    --font-serif: "Cormorant Garamond", serif;
    --font-body: "Lato", sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    background:
        radial-gradient(circle at 50% -10%, rgba(212, 175, 55, 0.13), transparent 34rem),
        linear-gradient(180deg, var(--bg-color), #070202 55%, #120505);
    color: var(--text-dark);
    font-family: var(--font-serif);
    overflow-x: hidden;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 5;
    opacity: 0.055;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
}

body.modal-open {
    overflow: hidden;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

:where(a, button, [role="button"], input, textarea, select, label, summary, .nav-link, .btn, .magnetic-btn) {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

img {
    max-width: 100%;
}

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

.eyebrow {
    color: var(--gold-accent);
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.22em;
    margin-bottom: 0.85rem;
    text-transform: uppercase;
}

.eyebrow.light {
    color: var(--ivory);
}

.section-title {
    color: var(--primary);
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 6vw, 4.9rem);
    font-weight: 600;
    line-height: 1.02;
}

.section-sub {
    color: var(--text-light);
    font-size: 1.25rem;
    margin: 0.75rem auto 0;
    max-width: 620px;
}

.royal-section {
    padding: clamp(5.5rem, 10vw, 9rem) 1.25rem;
    position: relative;
}

.section-kicker {
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.custom-divider {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 1.2rem 0 0;
}

.custom-divider::before,
.custom-divider::after {
    background: linear-gradient(90deg, transparent, var(--primary));
    content: "";
    height: 1px;
    width: min(18vw, 90px);
}

.custom-divider::after {
    background: linear-gradient(-90deg, transparent, var(--primary));
}

.divider-icon-center {
    color: var(--gold-accent);
    filter: drop-shadow(0 0 14px rgba(212, 175, 55, 0.6));
}

.page-transition-curtain {
    background:
        linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.16), transparent),
        #080202;
    inset: 0;
    pointer-events: none;
    position: fixed;
    z-index: 99999;
}

.no-gsap .page-transition-curtain {
    display: none;
}

.no-gsap .hero-word,
.no-gsap .hero-date {
    opacity: 1;
    transform: none;
}

.gold-dust-container {
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    position: fixed;
    z-index: 3;
}

.dust-particle {
    animation: floatUp linear infinite;
    background: var(--gold-accent);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(240, 208, 120, 0.95);
    position: absolute;
}

@keyframes floatUp {
    0% { opacity: 0; transform: translateY(105vh) translateX(0) scale(0.9); }
    12%, 80% { opacity: 0.62; }
    100% { opacity: 0; transform: translateY(-12vh) translateX(24px) scale(0.35); }
}

.royal-cursor-aura {
    background: radial-gradient(circle, rgba(212, 175, 55, 0.18), transparent 62%);
    border-radius: 50%;
    height: 220px;
    left: 0;
    mix-blend-mode: screen;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    transform: translate(-50%, -50%);
    width: 220px;
    z-index: 4;
}

nav {
    align-items: center;
    display: flex;
    justify-content: space-between;
    left: 0;
    padding: 1rem clamp(1rem, 4vw, 3rem);
    position: fixed;
    top: 0;
    transition: transform 0.45s ease, background 0.45s ease, border-color 0.45s ease;
    width: 100%;
    z-index: 1000;
}

.transparent-nav {
    background: rgba(8, 2, 2, 0.54);
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
    backdrop-filter: blur(22px);
}

.nav-white {
    background: rgba(8, 2, 2, 0.92);
    border-bottom-color: rgba(212, 175, 55, 0.35);
}

.nav-hidden {
    transform: translateY(-110%);
}

.nav-container,
.nav-right {
    align-items: center;
    display: flex;
    gap: clamp(0.8rem, 2vw, 1.7rem);
}

.nav-container a,
.nav-right a,
.lang-toggle {
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    position: relative;
    text-transform: uppercase;
}

.nav-container a::after,
.nav-right a::after {
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    bottom: -0.42rem;
    content: "";
    height: 1px;
    left: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
    width: 100%;
}

.nav-container a:hover,
.nav-right a:hover,
.lang-toggle:hover {
    color: var(--gold-accent);
}

.nav-container a:hover::after,
.nav-right a:hover::after {
    transform: scaleX(1);
}

.lang-toggle {
    align-items: center;
    background: rgba(255, 247, 232, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    gap: 0.5rem;
    padding: 0.65rem 0.9rem;
}

.btn {
    align-items: center;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 900;
    gap: 0.55rem;
    justify-content: center;
    letter-spacing: 0.13em;
    min-height: 46px;
    overflow: hidden;
    padding: 0.95rem 1.45rem;
    position: relative;
    text-transform: uppercase;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.btn.primary {
    background: linear-gradient(135deg, #f6d77b, #b98c2d 45%, #fff0ad);
    box-shadow: 0 18px 38px rgba(212, 175, 55, 0.28);
    color: #150606;
}

.btn.outline {
    background: rgba(255, 247, 232, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.54);
    color: var(--primary);
}

.btn.outline.white-btn {
    border-color: rgba(255, 247, 232, 0.72);
    color: var(--ivory);
}

.btn:hover {
    transform: translateY(-2px);
}

.full-width {
    width: 100%;
}

.shimmer-btn::before,
.timeline-card::after,
.shagun-card::after {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    content: "";
    height: 100%;
    left: -90%;
    position: absolute;
    top: 0;
    transform: skewX(-20deg);
    width: 42%;
}

.shimmer-btn::before {
    animation: shimmerSweep 3.7s infinite;
}

@keyframes shimmerSweep {
    0%, 44% { left: -90%; }
    82%, 100% { left: 145%; }
}

.hero {
    align-items: center;
    display: flex;
    min-height: 100svh;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

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

.hero-bg {
    background: url("../images/royal-palace-hero.webp") center/cover;
    filter: saturate(1.06) contrast(1.04);
    transform: scale(1.03);
    z-index: 0;
}

.hero-veil {
    background:
        radial-gradient(circle at 50% 41%, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.48) 38%, rgba(5, 1, 1, 0.84) 82%),
        linear-gradient(180deg, rgba(8, 2, 2, 0.15), rgba(8, 2, 2, 0.88));
    z-index: 1;
}

.particles-container {
    background:
        radial-gradient(circle at 20% 24%, rgba(212, 175, 55, 0.16), transparent 20rem),
        radial-gradient(circle at 80% 18%, rgba(13, 77, 43, 0.16), transparent 22rem);
    inset: 0;
    position: absolute;
    z-index: 1;
}

.mandala-container {
    height: min(72vh, 680px);
    left: 50%;
    opacity: 0.12;
    pointer-events: none;
    position: absolute;
    top: 52%;
    transform: translate(-50%, -50%);
    width: min(72vh, 680px);
    z-index: 2;
}

.mandala-ring,
.mandala-ring-inner {
    background: url("../images/royal-mandala-velvet.webp") center/cover;
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 50%;
    height: 100%;
    mix-blend-mode: screen;
    position: absolute;
    width: 100%;
}

.mandala-ring {
    animation: rotateMandala 80s linear infinite;
}

.mandala-ring-inner {
    animation: rotateMandala 55s linear infinite reverse;
    inset: 10%;
    height: 80%;
    opacity: 0.7;
    width: 80%;
}

@keyframes rotateMandala {
    to { transform: rotate(360deg); }
}

.hero-content {
    max-width: min(980px, 94vw);
    padding: 6rem 1rem 3rem;
    position: relative;
    text-align: center;
    z-index: 3;
}

.hero-eyebrow {
    color: var(--gold-accent);
    font-family: var(--font-body);
    font-size: clamp(0.78rem, 1.6vw, 0.98rem);
    font-weight: 900;
    letter-spacing: 0.28em;
    margin-bottom: 1.3rem;
    text-transform: uppercase;
}

.hero-title {
    color: var(--ivory);
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 11vw, 9rem);
    font-weight: 500;
    letter-spacing: 0;
    line-height: 0.95;
    text-shadow: 0 10px 60px rgba(0, 0, 0, 0.85), 0 0 45px rgba(212, 175, 55, 0.2);
}

.hero-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(42px) rotateX(12deg);
}

.hero-ampersand {
    color: var(--gold-accent);
    font-family: var(--font-serif);
    font-style: italic;
    margin: 0 0.18em;
}

.hero-date {
    color: var(--gold-accent);
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    font-weight: 900;
    letter-spacing: 0.26em;
    margin-top: 1.6rem;
    opacity: 0;
    text-transform: uppercase;
    transform: translateY(20px);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.scroll-indicator {
    bottom: 1.4rem;
    height: 42px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    width: 1px;
    z-index: 3;
}

.scroll-indicator span {
    animation: scrollHint 1.9s ease infinite;
    background: linear-gradient(var(--gold-accent), transparent);
    display: block;
    height: 100%;
    width: 1px;
}

@keyframes scrollHint {
    0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    35% { opacity: 1; transform: scaleY(1); transform-origin: top; }
    100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

.countdown-banner {
    background:
        linear-gradient(90deg, rgba(129, 16, 25, 0.32), rgba(13, 77, 43, 0.22)),
        rgba(8, 2, 2, 0.96);
    border-bottom: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
    padding: 2.1rem 1rem;
    position: relative;
}

.countdown-label {
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.22em;
    margin-bottom: 1.2rem;
    text-align: center;
    text-transform: uppercase;
}

.countdown-container {
    align-items: center;
    display: flex;
    gap: clamp(0.55rem, 2vw, 1.4rem);
    justify-content: center;
}

.time-block {
    min-width: clamp(58px, 10vw, 105px);
    text-align: center;
}

.time-val {
    color: var(--gold-accent);
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 4rem);
    line-height: 1;
}

.time-label {
    color: var(--text-light);
    display: block;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    margin-top: 0.4rem;
    text-transform: uppercase;
}

.time-colon {
    color: var(--primary-dark);
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 5vw, 3rem);
    transform: translateY(-0.3rem);
}

.timeline-section {
    background:
        linear-gradient(180deg, rgba(8, 2, 2, 0.9), rgba(8, 2, 2, 0.76) 44%, rgba(8, 2, 2, 0.94)),
        radial-gradient(circle at 50% 8%, rgba(212, 175, 55, 0.12), transparent 28rem),
        url("../images/bg-gallery-memory-vault.webp") center/cover fixed;
    overflow: hidden;
}

.timeline-section::before {
    background:
        linear-gradient(90deg, transparent, rgba(240, 208, 120, 0.2), transparent),
        radial-gradient(circle at 20% 22%, rgba(126, 16, 24, 0.24), transparent 22rem),
        radial-gradient(circle at 82% 38%, rgba(13, 77, 43, 0.18), transparent 25rem);
    content: "";
    inset: 0;
    opacity: 0.78;
    pointer-events: none;
    position: absolute;
}

.timeline-section .section-kicker,
.timeline-section .timeline-container {
    position: relative;
    z-index: 1;
}

.timeline-container,
.love-story-container {
    margin: 0 auto;
    max-width: 1160px;
    position: relative;
}

.timeline-line,
.love-story-line {
    background: linear-gradient(180deg, transparent, var(--primary), rgba(212, 175, 55, 0.18), transparent);
    bottom: 0;
    left: 50%;
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    width: 1px;
}

.timeline-item,
.love-milestone {
    margin-bottom: clamp(2rem, 5vw, 4rem);
    padding: 1.2rem 3.8rem;
    position: relative;
    width: 50%;
}

.timeline-item.left,
.love-milestone.left {
    left: 0;
    text-align: right;
}

.timeline-item.right,
.love-milestone.right {
    left: 50%;
    text-align: left;
}

.timeline-dot,
.love-dot {
    align-items: center;
    background: #120505;
    border: 1px solid var(--primary);
    border-radius: 999px;
    box-shadow: 0 0 0 8px rgba(212, 175, 55, 0.06);
    color: var(--gold-accent);
    display: flex;
    height: 42px;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    z-index: 2;
}

.timeline-item.left .timeline-dot,
.love-milestone.left .love-dot {
    right: -21px;
}

.timeline-item.right .timeline-dot,
.love-milestone.right .love-dot {
    left: -21px;
}

.timeline-card,
.love-card,
.family-side,
.tab-card,
.shagun-card,
.guestbook-form,
.guestbook-message {
    background:
        linear-gradient(145deg, rgba(255, 247, 232, 0.06), rgba(255, 247, 232, 0.015)),
        rgba(18, 5, 5, 0.76);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-dark);
    backdrop-filter: blur(18px);
}

.timeline-card,
.love-card,
.family-side,
.tab-card,
.shagun-card,
.guestbook-message,
.spot-card,
.album-card {
    --mouse-x: 50%;
    --mouse-y: 50%;
}

.timeline-card,
.love-card,
.family-side,
.tab-card,
.shagun-card,
.guestbook-message {
    background-image:
        radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(212, 175, 55, 0.1), transparent 11rem),
        linear-gradient(145deg, rgba(255, 247, 232, 0.06), rgba(255, 247, 232, 0.015));
}

.timeline-card {
    border-radius: var(--radius);
    display: inline-block;
    max-width: 450px;
    overflow: hidden;
    padding: 2.25rem;
    position: relative;
    text-align: center;
    transform-style: preserve-3d;
    width: 100%;
}

.timeline-card::before,
.love-card::before,
.family-side::before,
.shagun-card::before {
    border: 1px solid rgba(212, 175, 55, 0.14);
    content: "";
    inset: 0.65rem;
    pointer-events: none;
    position: absolute;
}

.timeline-card:hover::after,
.shagun-card:hover::after {
    animation: cardSweep 0.9s ease forwards;
}

@keyframes cardSweep {
    to { left: 140%; }
}

.timeline-icon-img {
    filter: drop-shadow(0 12px 20px rgba(212, 175, 55, 0.2));
    height: 76px;
    margin-bottom: 1.2rem;
    object-fit: contain;
    width: 76px;
}

.timeline-card h3,
.love-card h3,
.tab-card h3 {
    color: var(--ivory);
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.08;
    margin-bottom: 0.9rem;
}

.timeline-meta {
    color: var(--text-light);
    display: flex;
    font-family: var(--font-body);
    font-size: 0.9rem;
    gap: 0.55rem;
    justify-content: center;
    margin-bottom: 0.6rem;
}

.timeline-meta i {
    color: var(--primary);
}

.links-row {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
    margin-top: 1.35rem;
}

.action-link {
    align-items: center;
    background: rgba(255, 247, 232, 0.045);
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 999px;
    color: var(--text-light);
    cursor: pointer;
    display: inline-flex;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 900;
    gap: 0.45rem;
    letter-spacing: 0.1em;
    padding: 0.65rem 0.8rem;
    text-transform: uppercase;
    transition: all 0.25s ease;
}

.action-link:hover,
.action-link.gold-link {
    border-color: rgba(212, 175, 55, 0.45);
    color: var(--gold-accent);
}

.ride-picker {
    align-items: stretch;
    display: inline-flex;
    flex-direction: column;
    gap: 0.48rem;
    min-width: 150px;
}

.ride-picker-trigger {
    justify-content: center;
    min-height: 38px;
    width: 100%;
}

.ride-chevron {
    font-size: 0.58rem;
    margin-left: 0.1rem;
    transition: transform 0.25s ease;
}

.ride-picker.open .ride-chevron {
    transform: rotate(180deg);
}

.ride-options-panel {
    background:
        linear-gradient(145deg, rgba(255, 247, 232, 0.1), rgba(255, 247, 232, 0.03)),
        rgba(13, 4, 4, 0.94);
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 999px;
    box-shadow:
        inset 0 0 20px rgba(212, 175, 55, 0.06),
        0 18px 36px rgba(0, 0, 0, 0.32);
    display: grid;
    gap: 0.4rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0.4rem;
}

.ride-options-panel[hidden] {
    display: none !important;
}

.ride-provider-link {
    align-items: center;
    border-radius: 999px;
    color: var(--text-light);
    display: inline-flex;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 900;
    gap: 0.38rem;
    justify-content: center;
    letter-spacing: 0.08em;
    min-height: 34px;
    padding: 0.52rem 0.7rem;
    text-transform: uppercase;
    transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.ride-provider-link:hover {
    background: rgba(212, 175, 55, 0.14);
    color: var(--gold-accent);
    transform: translateY(-1px);
}

.families-section {
    background:
        radial-gradient(circle at 20% 16%, rgba(129, 16, 25, 0.2), transparent 23rem),
        radial-gradient(circle at 80% 20%, rgba(13, 77, 43, 0.18), transparent 24rem),
        #0e0303;
}

.families-container {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 auto;
    max-width: 1120px;
}

.family-side {
    border-radius: var(--radius);
    min-height: 100%;
    padding: clamp(1.6rem, 4vw, 2.7rem);
    position: relative;
    text-align: center;
}

.family-crest {
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--gold-accent);
    display: flex;
    height: 64px;
    justify-content: center;
    margin: 0 auto 1rem;
    width: 64px;
}

.family-side h3 {
    color: var(--primary);
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 1.4rem;
}

.family-members-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.family-member-card {
    background: rgba(255, 247, 232, 0.045);
    border: 1px solid rgba(212, 175, 55, 0.14);
    border-radius: var(--radius);
    padding: 1.2rem 0.8rem;
}

.family-avatar-placeholder,
.family-avatar {
    align-items: center;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.24), rgba(129, 16, 25, 0.2));
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--gold-accent);
    display: flex;
    height: 58px;
    justify-content: center;
    margin: 0 auto 0.8rem;
    object-fit: cover;
    width: 58px;
}

.family-member-card h4 {
    color: var(--ivory);
    font-family: var(--font-display);
    font-size: 1rem;
}

.family-member-card p {
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 0.78rem;
    margin-top: 0.3rem;
}

.love-story-section {
    background:
        linear-gradient(rgba(11, 3, 3, 0.88), rgba(11, 3, 3, 0.94)),
        url("../images/royal-mandala-velvet.webp") center/520px auto;
}

.love-card {
    border-radius: var(--radius);
    padding: 1.7rem;
    position: relative;
}

.love-year {
    color: var(--gold-accent);
    display: block;
    font-family: var(--font-body);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    margin-bottom: 0.55rem;
}

.love-card p {
    color: var(--text-light);
    font-size: 1.08rem;
    line-height: 1.6;
}

.assistance-section {
    overflow: hidden;
    padding: clamp(5rem, 10vw, 8rem) 1.25rem;
    position: relative;
}

.assistance-bg {
    background: url("../images/bg-faq-concierge-lounge.webp") center/cover;
    filter: blur(10px) saturate(0.9);
    inset: -2rem;
    position: absolute;
    transform: scale(1.05);
}

.assistance-bg::after {
    background: rgba(8, 2, 2, 0.72);
    content: "";
    inset: 0;
    position: absolute;
}

.assistance-container {
    background:
        linear-gradient(145deg, rgba(255, 247, 232, 0.08), rgba(255, 247, 232, 0.02)),
        rgba(8, 2, 2, 0.68);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-dark);
    margin: 0 auto;
    max-width: 980px;
    padding: clamp(2rem, 5vw, 4rem);
    position: relative;
    text-align: center;
    z-index: 1;
    backdrop-filter: blur(22px);
}

.glass-title {
    color: var(--ivory);
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.7rem);
}

.glass-sub {
    color: var(--text-light);
    font-size: 1.2rem;
    margin: 0.65rem 0 2rem;
}

.tabs-header {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.tab-btn {
    background: rgba(255, 247, 232, 0.055);
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 999px;
    color: var(--text-light);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    padding: 0.85rem 1.15rem;
    text-transform: uppercase;
}

.tab-btn.active,
.tab-btn:hover {
    border-color: var(--primary);
    color: var(--gold-accent);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tab-card {
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: left;
}

.tab-icon {
    color: var(--gold-accent);
    font-size: 1.7rem;
    margin-bottom: 0.8rem;
}

.tab-card p {
    color: var(--text-light);
    line-height: 1.55;
}

.tab-highlight,
.tab-link {
    color: var(--gold-accent) !important;
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin-top: 0.8rem;
    text-transform: uppercase;
}

.explore-teaser-section,
.rsvp-finale-section {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 82svh;
    overflow: hidden;
    position: relative;
}

.explore-mask-bg,
.rsvp-finale-bg,
.post-wedding-bg {
    background-position: center;
    background-size: cover;
    inset: -8%;
    position: absolute;
}

.explore-mask-bg {
    clip-path: inset(18% 18% 18% 18%);
}

.explore-mask-bg::after,
.rsvp-finale-bg::after,
.post-wedding-bg::after {
    background: linear-gradient(180deg, rgba(8, 2, 2, 0.25), rgba(8, 2, 2, 0.82));
    content: "";
    inset: 0;
    position: absolute;
}

.explore-teaser-content,
.finale-content {
    max-width: 820px;
    padding: 1rem;
    position: relative;
    text-align: center;
    z-index: 1;
}

.cinematic-title {
    color: var(--ivory);
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 7vw, 5.5rem);
    line-height: 1;
    margin-bottom: 1.5rem;
    text-shadow: 0 18px 50px rgba(0, 0, 0, 0.8);
}

.shagun-section {
    background: radial-gradient(circle at 50% 10%, rgba(212, 175, 55, 0.12), transparent 30rem), #0b0303;
}

.shagun-container,
.guestbook-wrapper {
    margin: 0 auto;
    max-width: 1040px;
}

.shagun-card {
    align-items: center;
    border-radius: var(--radius);
    display: grid;
    gap: 2rem;
    grid-template-columns: 1.3fr 0.7fr;
    overflow: hidden;
    padding: clamp(1.5rem, 4vw, 3rem);
    position: relative;
}

.shagun-copy p {
    color: var(--text-light);
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.shagun-copy strong {
    color: var(--gold-accent);
    display: block;
    font-family: var(--font-body);
    letter-spacing: 0.08em;
    margin-bottom: 1.2rem;
}

.shagun-apps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.shagun-app-btn {
    align-items: center;
    background: rgba(255, 247, 232, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 999px;
    color: var(--text-light);
    display: inline-flex;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 900;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    text-transform: uppercase;
}

.primary-mini {
    color: var(--gold-accent);
}

.shagun-qr-wrap {
    background: var(--ivory);
    border: 8px solid rgba(212, 175, 55, 0.6);
    border-radius: var(--radius);
    margin: auto;
    max-width: 220px;
    padding: 1rem;
}

.shagun-qr-wrap img {
    display: block;
    width: 100%;
}

.shagun-kicker {
    color: var(--gold-accent);
    display: block;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.upi-id-chip {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(255, 247, 232, 0.09), rgba(212, 175, 55, 0.08)),
        rgba(8, 2, 2, 0.58);
    border: 1px solid rgba(240, 208, 120, 0.32);
    border-radius: 999px;
    color: var(--ivory);
    cursor: pointer;
    display: inline-flex;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 900;
    gap: 0.6rem;
    letter-spacing: 0.06em;
    margin-bottom: 1.25rem;
    padding: 0.78rem 0.95rem;
}

.upi-id-chip span {
    color: var(--gold-accent);
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.shagun-status {
    border-left: 2px solid rgba(240, 208, 120, 0.55);
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
    margin: 1rem 0 0 !important;
    max-width: 560px;
    padding-left: 0.85rem;
}

.shagun-status.pulse {
    animation: statusGlow 0.8s ease;
}

@keyframes statusGlow {
    0% { color: var(--ivory); text-shadow: 0 0 22px rgba(240, 208, 120, 0.7); }
    100% { color: var(--muted); text-shadow: none; }
}

.guestbook-section {
    background:
        linear-gradient(rgba(11, 3, 3, 0.92), rgba(11, 3, 3, 0.94)),
        url("../images/royal-mandala-velvet.webp") center/620px auto;
}

.guestbook-wrapper {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(280px, 0.86fr) 1.14fr;
}

.guestbook-form {
    border-radius: var(--radius);
    padding: 1.5rem;
}

.input-group {
    margin-bottom: 1rem;
}

.input-styled,
.textarea-styled {
    background: rgba(255, 247, 232, 0.07);
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: var(--radius);
    color: var(--ivory);
    outline: none;
    padding: 0.95rem 1rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    width: 100%;
}

.input-styled:focus,
.textarea-styled:focus {
    background: rgba(255, 247, 232, 0.1);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.08);
}

.textarea-styled {
    min-height: 130px;
    resize: vertical;
}

.input-styled::placeholder,
.textarea-styled::placeholder {
    color: rgba(216, 200, 166, 0.62);
}

select.input-styled {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--gold-accent) 50%),
        linear-gradient(135deg, var(--gold-accent) 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% - 3px),
        calc(100% - 12px) calc(50% - 3px);
    background-repeat: no-repeat;
    background-size: 6px 6px, 6px 6px;
    padding-right: 2.6rem;
}

select.input-styled option {
    background: #120505;
    color: var(--ivory);
}

.guestbook-status {
    color: var(--gold-accent);
    font-family: var(--font-body);
    font-size: 0.82rem;
    margin-top: 0.8rem;
}

.guestbook-grid {
    display: grid;
    gap: 1rem;
    max-height: 560px;
    overflow: auto;
    padding-right: 0.35rem;
}

.guestbook-message {
    border-radius: var(--radius);
    padding: 1.4rem;
}

.guestbook-message p {
    color: var(--text-light);
    font-size: 1.13rem;
    line-height: 1.6;
}

.guestbook-message span {
    color: var(--gold-accent);
    display: block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    margin-top: 0.95rem;
    text-transform: uppercase;
}

.rsvp-finale-section {
    min-height: 54svh;
}

.rsvp-cta-text {
    color: var(--ivory);
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

footer {
    background: #070202;
    border-top: 1px solid rgba(212, 175, 55, 0.14);
    color: var(--text-light);
    padding: 2rem 1rem;
    text-align: center;
}

.footer-hashtag {
    color: var(--gold-accent);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    margin-top: 0.4rem;
    text-transform: uppercase;
}

.audio-toggle {
    align-items: center;
    background: rgba(8, 2, 2, 0.82);
    border: 1px solid var(--primary);
    border-radius: 999px;
    bottom: 1.4rem;
    box-shadow: var(--shadow-dark);
    color: var(--gold-accent);
    cursor: pointer;
    display: flex;
    height: 52px;
    justify-content: center;
    left: 1.4rem;
    position: fixed;
    width: 52px;
    z-index: 1000;
}

.dress-modal-overlay {
    align-items: center;
    background: rgba(4, 1, 1, 0.84);
    display: flex;
    inset: 0;
    justify-content: center;
    opacity: 0;
    padding: 1rem;
    pointer-events: none;
    position: fixed;
    transition: opacity 0.35s ease;
    z-index: 10000;
}

.dress-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.dress-modal-content {
    background:
        linear-gradient(145deg, rgba(255, 247, 232, 0.09), rgba(255, 247, 232, 0.025)),
        #120505;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: 0 32px 120px rgba(0, 0, 0, 0.72);
    max-height: min(86svh, 760px);
    max-width: 980px;
    overflow: auto;
    padding: clamp(1.2rem, 3vw, 2rem);
    position: relative;
    transform: translateY(18px) scale(0.98);
    transition: transform 0.35s ease;
    width: min(96vw, 980px);
}

.dress-modal-overlay.active .dress-modal-content {
    transform: translateY(0) scale(1);
}

.dress-modal-close {
    align-items: center;
    background: rgba(255, 247, 232, 0.06);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--gold-accent);
    cursor: pointer;
    display: flex;
    height: 42px;
    justify-content: center;
    position: sticky;
    top: 0;
    margin-left: auto;
    width: 42px;
    z-index: 2;
}

.dress-modal-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 0.82fr 1.18fr;
    align-items: center;
}

.dress-modal-copy h2 {
    color: var(--ivory);
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.8rem);
    line-height: 1.02;
    margin-bottom: 1rem;
}

.dc-vibe {
    color: var(--gold-accent);
    font-size: 1.35rem;
    font-style: italic;
    margin-bottom: 0.8rem;
}

.dc-desc {
    color: var(--text-light);
    font-size: 1.12rem;
    line-height: 1.65;
}

.dc-colors {
    margin-top: 1.5rem;
}

.dc-colors span {
    color: var(--muted);
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.dc-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.dc-swatch {
    border: 1px solid rgba(255, 247, 232, 0.72);
    border-radius: 999px;
    cursor: pointer;
    height: 38px;
    position: relative;
    width: 38px;
}

.dc-swatch.copied::after {
    color: var(--ivory);
    content: "Copied";
    font-family: var(--font-body);
    font-size: 0.7rem;
    left: 50%;
    position: absolute;
    top: -1.5rem;
    transform: translateX(-50%);
}

.dress-modal-image {
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: var(--radius);
    overflow: hidden;
}

.dress-modal-image img {
    aspect-ratio: 16 / 10;
    display: block;
    object-fit: cover;
    width: 100%;
}

.event-option-card.flash::after {
    animation: eventGoldFlash 0.65s ease;
    background: rgba(212, 175, 55, 0.24);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

@keyframes eventGoldFlash {
    from { opacity: 1; }
    to { opacity: 0; }
}

.spot-card,
.album-card {
    background-image: radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(212, 175, 55, 0.12), transparent 12rem);
}

.post-wedding-section {
    align-items: center;
    display: flex;
    min-height: 100svh;
    overflow: hidden;
    position: relative;
}

.post-wedding-content {
    margin: 0 auto;
    max-width: 760px;
    padding: 2rem;
    position: relative;
    text-align: center;
    z-index: 1;
}

.post-wedding-content h1 {
    color: var(--ivory);
    font-family: var(--font-display);
    font-size: clamp(3rem, 9vw, 7rem);
    line-height: 0.98;
}

.post-wedding-content p {
    color: var(--text-light);
    font-size: 1.35rem;
    line-height: 1.7;
    margin: 1.2rem 0 2rem;
}

.ripple {
    animation: ripple 0.7s linear;
    background: rgba(255, 255, 255, 0.36);
    border-radius: 50%;
    position: absolute;
    transform: scale(0);
}

@keyframes ripple {
    to { opacity: 0; transform: scale(3.2); }
}

@media (max-width: 900px) {
    nav {
        align-items: flex-start;
        gap: 0.75rem;
    }

    .nav-right {
        justify-content: flex-end;
        flex-wrap: wrap;
    }

    .timeline-line,
    .love-story-line {
        left: 1.5rem;
    }

    .timeline-item,
    .love-milestone,
    .timeline-item.left,
    .timeline-item.right,
    .love-milestone.left,
    .love-milestone.right {
        left: 0;
        padding: 1rem 0 1rem 4rem;
        text-align: left;
        width: 100%;
    }

    .timeline-item.left .timeline-dot,
    .timeline-item.right .timeline-dot,
    .love-milestone.left .love-dot,
    .love-milestone.right .love-dot {
        left: 0.2rem;
        right: auto;
    }

    .families-container,
    .guestbook-wrapper,
    .shagun-card,
    .dress-modal-grid {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 620px) {
    .nav-container a,
    .nav-right a,
    .lang-toggle {
        font-size: 0.66rem;
        letter-spacing: 0.08em;
    }

    .hero-content {
        padding-top: 7rem;
    }

    .hero-actions,
    .countdown-container {
        gap: 0.55rem;
    }

    .btn {
        min-height: 42px;
        padding: 0.78rem 1rem;
    }

    .timeline-card {
        padding: 1.5rem 1.15rem;
    }

    .links-row {
        align-items: stretch;
        flex-direction: column;
    }

    .action-link {
        justify-content: center;
    }

    .ride-picker {
        width: 100%;
    }

    .ride-options-panel {
        border-radius: 24px;
        grid-template-columns: 1fr 1fr;
    }

    .dress-modal-content {
        padding: 1rem;
    }
}

/* ============================================================
   EXPERIENCE POLISH LAYER
   ============================================================ */

.pattern-pulse-layer {
    background:
        linear-gradient(115deg, transparent 0%, rgba(255, 232, 142, 0.02) 33%, rgba(255, 220, 104, 0.24) 48%, transparent 62%),
        var(--pattern-image) center/560px auto repeat;
    filter: sepia(0.55) saturate(1.3) contrast(1.32);
    inset: -8%;
    mix-blend-mode: screen;
    opacity: 0.24;
    pointer-events: none;
    position: fixed;
    transform: translate3d(0, 0, 0);
    z-index: 0;
    animation: patternPulse 8s ease-in-out infinite, patternSweep 16s linear infinite;
}

.pattern-pulse-layer::after {
    background:
        radial-gradient(circle at 18% 26%, rgba(244, 211, 122, 0.26), transparent 17rem),
        radial-gradient(circle at 82% 64%, rgba(212, 175, 55, 0.2), transparent 20rem);
    content: "";
    inset: 0;
    position: absolute;
    animation: patternGlowWalk 12s ease-in-out infinite alternate;
}

@keyframes patternPulse {
    0%, 100% { opacity: 0.13; filter: sepia(0.55) saturate(1.1) contrast(1.15) brightness(0.85); }
    48% { opacity: 0.32; filter: sepia(0.8) saturate(1.65) contrast(1.55) brightness(1.16); }
}

@keyframes patternSweep {
    to { background-position: 820px 0, center; }
}

@keyframes patternGlowWalk {
    from { transform: translate3d(-2%, -1%, 0) scale(1); }
    to { transform: translate3d(2%, 1.5%, 0) scale(1.04); }
}

nav,
.hero,
.royal-section,
.gallery-wrapper,
.explore-wrapper,
.faq-wrapper,
.main-container,
footer {
    position: relative;
    z-index: 2;
}

.transparent-nav {
    background: transparent;
    border-bottom-color: transparent;
    backdrop-filter: none;
    box-shadow: none;
}

.nav-white {
    background:
        linear-gradient(90deg, rgba(8, 2, 2, 0.92), rgba(20, 5, 5, 0.72)),
        rgba(8, 2, 2, 0.74);
    border-bottom-color: rgba(212, 175, 55, 0.34);
    backdrop-filter: blur(20px);
    box-shadow: 0 14px 42px rgba(0, 0, 0, 0.34);
}

.lang-toggle,
.nav-right a {
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.9);
}

.countdown-banner {
    background:
        radial-gradient(circle at 50% -25%, rgba(240, 208, 120, 0.18), transparent 22rem),
        linear-gradient(90deg, rgba(129, 16, 25, 0.36), rgba(13, 77, 43, 0.26)),
        rgba(8, 2, 2, 0.84);
    overflow: hidden;
    padding: clamp(2.2rem, 5vw, 3.8rem) 1rem;
}

.countdown-banner::before {
    background:
        linear-gradient(90deg, transparent, rgba(255, 229, 144, 0.22), transparent),
        url("../images/royal-mandala-velvet.webp") center/420px auto;
    content: "";
    inset: 0;
    opacity: 0.2;
    position: absolute;
    animation: countdownAura 7s ease-in-out infinite;
}

@keyframes countdownAura {
    0%, 100% { transform: scale(1); opacity: 0.16; }
    50% { transform: scale(1.04); opacity: 0.33; }
}

.countdown-label,
.countdown-container {
    position: relative;
    z-index: 1;
}

.countdown-container {
    gap: clamp(0.6rem, 2.2vw, 1.7rem);
    perspective: 900px;
}

.time-block {
    align-items: center;
    aspect-ratio: 1;
    background:
        linear-gradient(#100404, #100404) padding-box,
        conic-gradient(from -90deg, var(--gold-accent) var(--progress, 0deg), rgba(212, 175, 55, 0.14) 0) border-box;
    border: 1px solid transparent;
    border-radius: 999px;
    box-shadow:
        inset 0 0 30px rgba(212, 175, 55, 0.08),
        0 20px 42px rgba(0, 0, 0, 0.32),
        0 0 32px rgba(212, 175, 55, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: clamp(72px, 10vw, 126px);
    padding: 0.65rem;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.time-block::before {
    background: radial-gradient(circle, rgba(255, 245, 191, 0.18), transparent 62%);
    border-radius: inherit;
    content: "";
    inset: 8px;
    opacity: 0;
    position: absolute;
    transition: opacity 0.35s ease;
}

.time-block:hover {
    box-shadow:
        inset 0 0 34px rgba(212, 175, 55, 0.12),
        0 24px 52px rgba(0, 0, 0, 0.44),
        0 0 42px rgba(212, 175, 55, 0.22);
    transform: translateY(-6px) rotateX(8deg);
}

.time-block:hover::before {
    opacity: 1;
}

.time-val {
    text-shadow: 0 0 28px rgba(240, 208, 120, 0.26);
    transform: translateZ(18px);
}

.time-label {
    transform: translateZ(12px);
}

.time-colon {
    align-self: center;
    opacity: 0.52;
}

.timeline-container {
    perspective: 1400px;
}

.timeline-card {
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.54),
        0 0 0 1px rgba(212, 175, 55, 0.08);
    background:
        radial-gradient(circle at 50% -20%, rgba(240, 208, 120, 0.14), transparent 12rem),
        linear-gradient(145deg, rgba(255, 247, 232, 0.075), rgba(255, 247, 232, 0.018)),
        rgba(18, 5, 5, 0.82);
    transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.timeline-card:hover {
    border-color: rgba(240, 208, 120, 0.58);
    box-shadow:
        0 42px 105px rgba(0, 0, 0, 0.64),
        0 0 48px rgba(212, 175, 55, 0.16);
    transform: translateY(-8px) rotateX(3deg) rotateY(var(--card-tilt, 0deg));
}

.timeline-visual {
    aspect-ratio: 16 / 9;
    background-color: #140505;
    background-position: var(--visual-pan-x, 50%) var(--visual-pan-y, 50%);
    background-size: cover;
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: calc(var(--radius) - 2px);
    box-shadow:
        inset 0 -92px 72px rgba(8, 2, 2, 0.68),
        inset 0 0 0 1px rgba(255, 247, 232, 0.08),
        0 18px 42px rgba(0, 0, 0, 0.32);
    margin: -0.85rem -0.85rem 1.2rem;
    overflow: hidden;
    position: relative;
}

.timeline-visual::before {
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 242, 180, 0.28), transparent 8rem),
        linear-gradient(120deg, rgba(212, 175, 55, 0.18), transparent 34%, rgba(129, 16, 25, 0.28));
    content: "";
    inset: 0;
    mix-blend-mode: screen;
    position: absolute;
    z-index: 1;
}

.timeline-visual::after {
    background:
        linear-gradient(180deg, transparent 26%, rgba(8, 2, 2, 0.72)),
        linear-gradient(90deg, rgba(8, 2, 2, 0.38), transparent 35%, rgba(8, 2, 2, 0.3));
    content: "";
    inset: 0;
    position: absolute;
    z-index: 1;
}

.timeline-visual-glint {
    background: linear-gradient(105deg, transparent 20%, rgba(255, 232, 142, 0.32), transparent 58%);
    height: 100%;
    left: -80%;
    position: absolute;
    top: 0;
    transform: skewX(-16deg);
    width: 42%;
    z-index: 2;
}

.timeline-icon-img {
    background:
        radial-gradient(circle, rgba(255, 247, 232, 0.1), rgba(129, 16, 25, 0.18)),
        rgba(11, 3, 3, 0.72);
    border: 1px solid rgba(212, 175, 55, 0.32);
    border-radius: 999px;
    box-shadow:
        0 15px 32px rgba(0, 0, 0, 0.34),
        0 0 28px rgba(212, 175, 55, 0.1);
    margin-top: -3rem;
    padding: 0.55rem;
    position: relative;
    z-index: 3;
}

.tab-card,
.family-side,
.love-card,
.guestbook-form,
.guestbook-message {
    box-shadow:
        0 26px 68px rgba(0, 0, 0, 0.46),
        inset 0 1px 0 rgba(255, 247, 232, 0.06);
}

.tab-card:hover,
.family-side:hover,
.love-card:hover {
    border-color: rgba(240, 208, 120, 0.44);
    box-shadow:
        0 34px 82px rgba(0, 0, 0, 0.54),
        0 0 34px rgba(212, 175, 55, 0.1);
}

.timeline-card:hover .timeline-visual-glint {
    animation: visualGlint 0.95s ease forwards;
}

@keyframes visualGlint {
    to { left: 128%; }
}

/* ============================================================
   ROYAL HERITAGE - REIMAGINED INVITATION LAYER
   ============================================================ */

.royal-invite-card {
    --event-accent: var(--primary);
    isolation: isolate;
}

.royal-invite-card::before {
    background:
        linear-gradient(90deg, transparent, rgba(255, 247, 232, 0.16), transparent) top / 100% 1px no-repeat,
        linear-gradient(90deg, transparent, rgba(255, 247, 232, 0.1), transparent) bottom / 100% 1px no-repeat,
        radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 20%), color-mix(in srgb, var(--event-accent), white 18%) 0, transparent 12rem);
    border: 1px solid color-mix(in srgb, var(--event-accent), var(--primary) 45%);
    box-shadow: inset 0 0 0 1px rgba(255, 247, 232, 0.035);
    opacity: 0.64;
    z-index: -1;
}

.royal-invite-card::after {
    background:
        linear-gradient(90deg, transparent, rgba(255, 247, 232, 0.46), transparent),
        linear-gradient(135deg, transparent 0 44%, rgba(240, 208, 120, 0.14) 50%, transparent 56% 100%);
}

.event-seal {
    align-items: center;
    background:
        radial-gradient(circle, rgba(255, 247, 232, 0.2), rgba(212, 175, 55, 0.16) 44%, rgba(11, 3, 3, 0.92) 45%),
        conic-gradient(from 45deg, rgba(240, 208, 120, 0.8), rgba(126, 16, 24, 0.5), rgba(13, 77, 43, 0.46), rgba(240, 208, 120, 0.8));
    border: 1px solid rgba(240, 208, 120, 0.52);
    border-radius: 999px;
    box-shadow:
        inset 0 0 16px rgba(255, 247, 232, 0.08),
        0 16px 36px rgba(0, 0, 0, 0.36),
        0 0 26px color-mix(in srgb, var(--event-accent), transparent 50%);
    color: var(--gold-accent);
    display: flex;
    height: 52px;
    justify-content: center;
    left: 1.05rem;
    position: absolute;
    top: 1.05rem;
    width: 52px;
    z-index: 4;
}

.event-seal img {
    display: block;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.34));
    height: 58px;
    object-fit: contain;
    width: 58px;
}

.royal-invite-card {
    padding-top: 5.15rem;
}

.royal-invite-card h3 {
    margin-top: 0.2rem;
}

.royal-invite-card:hover .event-seal {
    animation: sealTurn 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes sealTurn {
    0% { transform: rotate(0) scale(1); }
    42% { transform: rotate(-10deg) scale(1.08); }
    100% { transform: rotate(0) scale(1); }
}

.timeline-card h3 {
    text-wrap: balance;
}

.timeline-meta {
    background: rgba(255, 247, 232, 0.035);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 999px;
    margin-inline: auto;
    max-width: max-content;
    padding: 0.42rem 0.7rem;
}

.links-row {
    background:
        linear-gradient(145deg, rgba(255, 247, 232, 0.04), rgba(255, 247, 232, 0.014)),
        rgba(5, 1, 1, 0.28);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 28px;
    padding: 0.65rem;
}

.action-link,
.ride-picker-trigger,
.shagun-app-btn,
.upi-id-chip {
    position: relative;
    overflow: hidden;
}

.action-link::before,
.ride-provider-link::before,
.shagun-app-btn::before,
.upi-id-chip::before {
    background: linear-gradient(90deg, transparent, rgba(255, 247, 232, 0.22), transparent);
    content: "";
    height: 100%;
    left: -90%;
    pointer-events: none;
    position: absolute;
    top: 0;
    transform: skewX(-18deg);
    transition: left 0.52s ease;
    width: 42%;
}

.action-link:hover::before,
.ride-provider-link:hover::before,
.shagun-app-btn:hover::before,
.upi-id-chip:hover::before {
    left: 128%;
}

.shagun-section {
    background:
        radial-gradient(circle at 18% 20%, rgba(126, 16, 24, 0.22), transparent 24rem),
        radial-gradient(circle at 86% 12%, rgba(13, 77, 43, 0.22), transparent 26rem),
        linear-gradient(180deg, #090202, #120505 62%, #070202);
}

.shagun-card {
    background:
        linear-gradient(135deg, rgba(255, 247, 232, 0.08), rgba(255, 247, 232, 0.018)),
        radial-gradient(circle at 82% 22%, rgba(240, 208, 120, 0.16), transparent 18rem),
        rgba(13, 4, 4, 0.86);
    border-color: rgba(240, 208, 120, 0.28);
    box-shadow:
        0 38px 110px rgba(0, 0, 0, 0.58),
        inset 0 1px 0 rgba(255, 247, 232, 0.08);
}

.shagun-card::before {
    background:
        linear-gradient(90deg, transparent, rgba(240, 208, 120, 0.36), transparent) top / 100% 1px no-repeat,
        linear-gradient(90deg, transparent, rgba(240, 208, 120, 0.22), transparent) bottom / 100% 1px no-repeat,
        url("../images/royal-mandala-velvet.webp") right -130px center / 360px auto no-repeat;
    border: 0;
    inset: 0;
    opacity: 0.22;
}

.shagun-app-btn {
    border-color: rgba(240, 208, 120, 0.22);
    cursor: pointer;
    min-height: 46px;
    transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.shagun-app-btn:hover,
.shagun-app-btn.launching {
    border-color: rgba(240, 208, 120, 0.58);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.34), 0 0 22px rgba(212, 175, 55, 0.12);
    color: var(--ivory);
    transform: translateY(-2px);
}

.pay-tone-jade {
    background: linear-gradient(135deg, rgba(13, 77, 43, 0.36), rgba(255, 247, 232, 0.04));
}

.pay-tone-amethyst {
    background: linear-gradient(135deg, rgba(90, 45, 130, 0.36), rgba(255, 247, 232, 0.04));
}

.pay-tone-gold {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.28), rgba(255, 247, 232, 0.04));
}

.shagun-qr-wrap {
    position: relative;
    transform-style: preserve-3d;
}

.qr-halo {
    animation: qrBreath 2.8s ease-in-out infinite;
    background: radial-gradient(circle, rgba(240, 208, 120, 0.24), transparent 66%);
    content: "";
    inset: -38px;
    position: absolute;
    z-index: -1;
}

.shagun-qr-wrap p {
    color: #160606;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    margin-top: 0.75rem;
    text-align: center;
    text-transform: uppercase;
}

@keyframes qrBreath {
    0%, 100% { opacity: 0.52; transform: scale(0.96); }
    50% { opacity: 1; transform: scale(1.08); }
}

.royal-spark {
    animation: royalSparkFly 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    background: radial-gradient(circle, #fff4b8 0 26%, #d4af37 27% 58%, transparent 60%);
    border-radius: 999px;
    height: 8px;
    left: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    transform: translate(-50%, -50%);
    width: 8px;
    z-index: 100005;
}

@keyframes royalSparkFly {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.55);
    }
    100% {
        opacity: 0;
        transform: translate(calc(-50% + var(--spark-x)), calc(-50% + var(--spark-y))) scale(0);
    }
}

.guestbook-message.is-yours {
    border-color: rgba(240, 208, 120, 0.54);
    box-shadow: 0 24px 60px rgba(212, 175, 55, 0.14), var(--shadow-dark);
}

.guestbook-chip {
    color: var(--gold-accent);
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    margin-bottom: 0.7rem;
    text-transform: uppercase;
}

.guestbook-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.guestbook-edit-btn,
.guestbook-delete-btn {
    background: transparent;
    border: 1px solid rgba(240, 208, 120, 0.24);
    border-radius: 999px;
    color: var(--gold-accent);
    cursor: pointer;
    display: inline-flex;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 900;
    gap: 0.45rem;
    letter-spacing: 0.12em;
    padding: 0.55rem 0.8rem;
    text-transform: uppercase;
}

.guestbook-delete-btn {
    border-color: rgba(146, 33, 45, 0.34);
    color: var(--ivory);
}

.guestbook-edit-btn:hover,
.guestbook-delete-btn:hover {
    color: var(--ivory);
}

@media (max-width: 760px) {
    nav {
        padding: 0.75rem 0.85rem;
    }

    .nav-container,
    .nav-right {
        gap: 0.55rem;
    }

    .nav-right a {
        font-size: 0.62rem;
        letter-spacing: 0.06em;
    }

    .lang-toggle {
        min-height: 38px;
        padding: 0.5rem 0.68rem;
    }

    .pattern-pulse-layer {
        background-size: 420px auto;
        opacity: 0.18;
    }

    .countdown-banner {
        padding: 1.9rem 0.75rem;
    }

    .countdown-container {
        display: grid;
        gap: 0.65rem;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .time-colon {
        display: none;
    }

    .time-block {
        min-width: 0;
        width: 100%;
    }

    .time-val {
        font-size: clamp(1.55rem, 9vw, 2.35rem);
    }

    .time-label {
        font-size: 0.58rem;
        letter-spacing: 0.08em;
    }

    .timeline-card:hover,
    .time-block:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
