/* ============================================================
   GHOOMAR YATRA — MOBILE-FIRST STORY EXPERIENCE STYLES
   Scoped CSS for the Yatra vertical storytelling experience.
   Does not conflict with global styles of other Ghoomar brands.
   ============================================================ */

*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --yatra-burgundy: #8A1538;
    --yatra-burgundy-dark: #4E0A1E;
    --yatra-burgundy-soft: rgba(138, 21, 56, 0.15);
    --yatra-gold: #C59A52;
    --yatra-gold-light: #E7C98C;
    --yatra-gold-soft: rgba(197, 154, 82, 0.2);
    --yatra-cream: #FFF9F2;
    --yatra-sand: #F7EFE4;
    --yatra-dark: #120A0D;
    --yatra-dark-rgb: 18, 10, 13;
    --yatra-text-muted: rgba(255, 255, 255, 0.78);
    --yatra-card-bg: rgba(26, 14, 18, 0.88);
    --yatra-card-border: rgba(197, 154, 82, 0.3);

    --yatra-bottom-nav-height: 64px;
    --sat: env(safe-area-inset-top, 0px);
    --sab: env(safe-area-inset-bottom, 0px);

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset & Box Sizing for Yatra Experience */
html.yatra-html,
body.yatra-body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    overflow: hidden;
    background-color: var(--yatra-dark);
    font-family: var(--font-sans);
    color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    touch-action: pan-y;
}

.yatra-body a {
    color: inherit;
    text-decoration: none;
}

.yatra-body button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    color: inherit;
}

/* ============================================================
   TOP FLOATING BRAND HEADER
   ============================================================ */
.yatra-top-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
    height: calc(60px + var(--sat));
    padding: var(--sat) 14px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 900;
    background: linear-gradient(180deg, rgba(14, 6, 9, 0.85) 0%, rgba(14, 6, 9, 0) 100%);
    pointer-events: none;
    transition: background 0.35s ease;
}

.yatra-top-header > * {
    pointer-events: auto;
}

.yatra-header-center-link {
    position: absolute;
    left: 50%;
    top: calc(50% + var(--sat) / 2);
    transform: translate(-50%, -50%);
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.35s ease, transform 0.35s ease;
    z-index: 901;
}

.yatra-header-center-logo {
    width: clamp(160px, 50vw, 220px);
    height: auto;
    max-height: 48px;
    object-fit: contain;
    display: block;
    /* Clean transparent logo: NO invert filter, strong drop shadow for contrast on both light and dark imagery */
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.85)) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.9));
    transition: transform 0.2s ease;
}

.yatra-header-center-logo:hover {
    transform: scale(1.03);
}

.yatra-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    pointer-events: auto;
    z-index: 902;
}

/* Share Button (Persistent in both Media-Only and Contextual modes) */
.yatra-share-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.32);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.05rem;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.35s ease;
    flex-shrink: 0;
    pointer-events: auto;
}

.yatra-share-btn:hover,
.yatra-share-btn:active {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.06);
}

.yatra-menu-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.35s ease;
    flex-shrink: 0;
    pointer-events: auto;
}

.yatra-menu-btn span {
    display: block;
    width: 18px;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.yatra-menu-btn:hover {
    background: rgba(255, 255, 255, 0.22);
}

/* ============================================================
   VERTICAL STORY SNAP CONTAINER (TikTok / Reels Style)
   ============================================================ */
.yatra-story-viewport {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    position: relative;
    box-sizing: border-box;
}

.yatra-story-viewport::-webkit-scrollbar {
    display: none;
}
.yatra-story-viewport {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Individual Fullscreen Story Screen */
.story-screen {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-sizing: border-box;
    padding: calc(64px + var(--sat)) 16px calc(var(--yatra-bottom-nav-height) + var(--sab) + 16px);
}

/* Screen Background Container */
.story-bg-wrap {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    background-color: var(--yatra-dark);
}

.story-bg-wrap picture {
    display: block;
    width: 100%;
    height: 100%;
}

.story-bg-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1.02);
    transition: transform 8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.story-screen.is-active .story-bg-media {
    transform: scale(1.06);
}

/* Cinematic Scrim Gradient Overlays */
.story-scrim {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        180deg,
        rgba(18, 10, 13, 0.35) 0%,
        rgba(18, 10, 13, 0.15) 35%,
        rgba(18, 10, 13, 0.65) 70%,
        rgba(18, 10, 13, 0.95) 100%
    );
    pointer-events: none;
}

.story-scrim.scrim-deep {
    background: linear-gradient(
        180deg,
        rgba(18, 10, 13, 0.5) 0%,
        rgba(18, 10, 13, 0.3) 40%,
        rgba(18, 10, 13, 0.85) 75%,
        rgba(18, 10, 13, 0.98) 100%
    );
}

/* Content Container Inside Screen */
.story-content {
    position: relative;
    z-index: 5;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Typography & Hierarchy */
.story-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--yatra-gold);
    background: rgba(197, 154, 82, 0.15);
    border: 1px solid rgba(197, 154, 82, 0.35);
    padding: 4px 10px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
}

.story-kicker i {
    font-size: 0.7rem;
}

.story-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 7.2vw, 2.5rem);
    line-height: 1.15;
    margin: 0;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.story-title .accent {
    color: var(--yatra-gold-light);
    font-style: italic;
    font-weight: 400;
}

.story-subtitle {
    font-size: clamp(0.9rem, 3.6vw, 1rem);
    line-height: 1.45;
    color: var(--yatra-text-muted);
    margin: 0;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

/* Feature Pills Row */
.story-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 2px 0 4px;
}

.story-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    font-weight: 500;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    padding: 5px 11px;
    border-radius: 999px;
}

.story-badge i {
    color: var(--yatra-gold);
    font-size: 0.78rem;
}

.story-badge.badge-gold {
    background: rgba(197, 154, 82, 0.22);
    border-color: rgba(197, 154, 82, 0.45);
    color: #FFF2D6;
}

.story-badge.badge-burgundy {
    background: rgba(138, 21, 56, 0.35);
    border-color: rgba(138, 21, 56, 0.6);
    color: #FFE6EE;
}

/* CTA Buttons Row */
.story-ctas {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.btn-yatra-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--yatra-burgundy) 0%, #A51D44 100%);
    color: #fff;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 20px rgba(138, 21, 56, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-height: 44px;
}

.btn-yatra-primary:hover,
.btn-yatra-primary:active {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(138, 21, 56, 0.6);
}

.btn-yatra-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(10px);
    transition: background-color 0.2s ease, transform 0.2s ease;
    min-height: 44px;
}

.btn-yatra-outline:hover,
.btn-yatra-outline:active {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Subtle Vertical Scroll Cue (Screen 1) */
.story-scroll-cue {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    animation: yatraBounce 2s infinite ease-in-out;
}

.story-scroll-cue i {
    color: var(--yatra-gold);
    font-size: 0.82rem;
}

@keyframes yatraBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(6px); }
    60% { transform: translateY(3px); }
}

/* ============================================================
   RIGHT-SIDE STORY PROGRESS INDICATOR
   ============================================================ */
.story-progress-indicator {
    position: fixed;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 850;
    display: flex;
    flex-direction: column;
    gap: 5px;
    pointer-events: none;
}

.progress-dot {
    width: 3.5px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-dot.active {
    height: 20px;
    background: var(--yatra-gold);
    box-shadow: 0 0 8px rgba(197, 154, 82, 0.8);
}

/* ============================================================
   SCREEN 2: INTERACTIVE PANORAMA VIEWER
   ============================================================ */
.panorama-container {
    position: absolute;
    inset: 0;
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-behavior: auto;
    cursor: grab;
    touch-action: auto; /* Fix: Allow vertical gestures to bubble while horizontal gestures scroll panorama */
    -webkit-overflow-scrolling: touch;
    z-index: 1;
}

.panorama-container:active {
    cursor: grabbing;
}

.panorama-container::-webkit-scrollbar {
    display: none;
}
.panorama-container {
    scrollbar-width: none;
}

.panorama-container picture {
    display: block;
    height: 100%;
    width: max-content;
}

/* ============================================================
   MEDIA-FIRST VIEWING MODE (State-Driven)
   ============================================================ */
/* Media-Only Mode */
body.media-only .story-scrim,
body.media-only .story-scrim.scrim-deep {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

body.media-only .story-content {
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

body.media-only .yatra-top-header {
    background: transparent;
    pointer-events: none;
}

body.media-only .yatra-header-center-link {
    opacity: 0;
    transform: translate(-50%, -60%);
    pointer-events: none;
}

body.media-only .yatra-menu-btn {
    opacity: 0;
    pointer-events: none;
}

body.media-only .yatra-share-btn {
    opacity: 1;
    pointer-events: auto;
}

body.media-only .panorama-hint {
    opacity: 0;
    pointer-events: none;
}

/* Contextual State (Revealed on Non-Interactive Tap) */
.story-scrim,
.story-scrim.scrim-deep {
    opacity: 1;
    transition: opacity 0.35s ease;
}

.story-content {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

/* ============================================================
   SUBTLE SWIPE GUIDANCE (Screen 1 & Inactivity)
   ============================================================ */
.swipe-guidance-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 25;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
    transition: opacity 0.4s ease;
}

.guidance-arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: rgba(18, 10, 13, 0.72);
    border: 1px solid rgba(197, 154, 82, 0.45);
    border-radius: 999px;
    padding: 10px 18px;
    backdrop-filter: blur(10px);
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    animation: subtleGuidancePulse 2.4s infinite ease-in-out;
}

.g-mid {
    display: flex;
    align-items: center;
    gap: 16px;
}

.g-arrow {
    font-size: 0.85rem;
    color: var(--yatra-gold-light);
}

.g-center-dot {
    font-size: 0.95rem;
    color: #fff;
}

@keyframes subtleGuidancePulse {
    0%, 100% { transform: scale(1); opacity: 0.85; }
    50% { transform: scale(1.08); opacity: 1; }
}

/* Accessible Feedback Toast */
.yatra-toast {
    position: fixed;
    top: calc(70px + var(--sat));
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: rgba(18, 10, 13, 0.94);
    color: #fff;
    border: 1px solid rgba(197, 154, 82, 0.6);
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.yatra-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.panorama-image {
    height: 100%;
    width: auto;
    max-width: none;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: auto;
}

.panorama-hint {
    position: absolute;
    top: calc(72px + var(--sat));
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(18, 10, 13, 0.75);
    border: 1px solid var(--yatra-gold);
    backdrop-filter: blur(8px);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.05em;
    pointer-events: none;
    transition: opacity 0.5s ease;
    white-space: nowrap;
}

.panorama-hint i {
    color: var(--yatra-gold);
    animation: panArrows 1.5s infinite ease-in-out;
}

@keyframes panArrows {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

/* ============================================================
   SCREEN CARDS & SPECIFIC HIGHLIGHTS
   ============================================================ */
.story-card-box {
    background: var(--yatra-card-bg);
    border: 1px solid var(--yatra-card-border);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 16px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.experience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin: 4px 0;
}

.experience-mini-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 9px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.experience-mini-card h4 {
    font-size: 0.84rem;
    margin: 0;
    font-weight: 600;
    color: #fff;
}

.experience-mini-card p {
    font-size: 0.71rem;
    color: var(--yatra-text-muted);
    margin: 0;
    line-height: 1.35;
}

/* Timing highlight banner */
.timing-highlight-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(138, 21, 56, 0.4);
    border: 1px solid rgba(197, 154, 82, 0.4);
    border-radius: 12px;
    padding: 9px 12px;
    margin: 3px 0;
}

.timing-highlight-banner i {
    font-size: 1.3rem;
    color: var(--yatra-gold);
}

.timing-text-bold {
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.timing-text-sub {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

/* Video wrapper */
.story-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.story-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Event status badge */
.event-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #E53935;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 999px;
    box-shadow: 0 0 10px rgba(229, 57, 53, 0.6);
    align-self: flex-start;
}

.live-pulse {
    width: 6px;
    height: 6px;
    background-color: #fff;
    border-radius: 50%;
    animation: livePulse 1.4s infinite;
}

@keyframes livePulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* ============================================================
   SCREEN 11: FOOTER & CLOSING SCREEN
   ============================================================ */
.story-footer-screen {
    justify-content: center;
    text-align: center;
    padding-top: calc(64px + var(--sat));
    padding-bottom: calc(var(--yatra-bottom-nav-height) + var(--sab) + 24px);
}

.footer-inner-card {
    background: rgba(22, 10, 14, 0.92);
    border: 1px solid var(--yatra-card-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.footer-logo {
    height: 40px;
    width: auto;
}

.footer-tagline {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--yatra-gold-light);
    margin: 0;
}

.footer-quick-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 8px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.footer-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--yatra-gold);
}

.footer-contact-details {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0;
}

.footer-contact-details a {
    color: var(--yatra-gold-light);
    font-weight: 600;
}

.footer-copy {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

/* ============================================================
   PERSISTENT BOTTOM ACTION BAR (Menu, Directions, Call)
   ============================================================ */
.yatra-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 950;
    padding: 8px 12px calc(8px + var(--sab));
    background: rgba(18, 9, 12, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid rgba(197, 154, 82, 0.35);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.45);
}

.yatra-bottom-nav-inner {
    max-width: 480px;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}

.bottom-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 7px 4px;
    border-radius: 12px;
    min-height: 48px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: transform 0.15s ease, background-color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.bottom-action-btn i {
    font-size: 1.1rem;
    color: var(--yatra-gold);
}

.bottom-action-btn span {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.bottom-action-btn.btn-featured {
    background: linear-gradient(135deg, var(--yatra-burgundy) 0%, #A51D44 100%);
    border-color: rgba(197, 154, 82, 0.5);
    box-shadow: 0 4px 14px rgba(138, 21, 56, 0.5);
}

.bottom-action-btn.btn-featured i {
    color: #fff;
}

.bottom-action-btn:active {
    transform: scale(0.96);
    background: rgba(255, 255, 255, 0.15);
}

/* ============================================================
   DECORATIVE DOUBLE-TAP HEART ANIMATION
   ============================================================ */
.yatra-floating-heart {
    position: fixed;
    width: 80px;
    height: 80px;
    margin-left: -40px;
    margin-top: -40px;
    z-index: 9999;
    pointer-events: none;
    user-select: none;
    animation: yatraHeartPop 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.yatra-floating-heart svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 14px rgba(138, 21, 56, 0.8));
}

@keyframes yatraHeartPop {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-15deg);
    }
    30% {
        opacity: 1;
        transform: scale(1.25) rotate(5deg);
    }
    60% {
        opacity: 0.95;
        transform: scale(1.0) translateY(-20px) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: scale(1.1) translateY(-60px);
    }
}

/* ============================================================
   NAVIGATION DRAWER (Slide-Out Menu)
   ============================================================ */
.yatra-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 4, 7, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.yatra-drawer-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

.yatra-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    background: var(--yatra-dark);
    border-left: 1px solid rgba(197, 154, 82, 0.3);
    z-index: 1600;
    display: flex;
    flex-direction: column;
    padding: calc(20px + var(--sat)) 20px calc(20px + var(--sab));
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.35s ease;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.7);
    overflow-y: auto;
    box-sizing: border-box;
}

.yatra-drawer.is-open {
    transform: translateX(0);
    visibility: visible;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-brand {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
}

.drawer-brand span {
    color: var(--yatra-gold);
    font-style: italic;
}

.drawer-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: background-color 0.2s ease;
}

.drawer-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.drawer-nav-list {
    list-style: none;
    margin: 20px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.drawer-nav-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.drawer-nav-item a:hover,
.drawer-nav-item a:active {
    background: rgba(138, 21, 56, 0.3);
    border-color: rgba(197, 154, 82, 0.3);
    color: #fff;
}

.drawer-nav-item a i {
    color: var(--yatra-gold);
    font-size: 0.85rem;
}

.drawer-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.drawer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
}

.drawer-contact-item i {
    color: var(--yatra-gold);
    font-size: 0.9rem;
}

/* ============================================================
   MODALS / DETAIL BOTTOM SHEETS
   ============================================================ */
.yatra-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 4, 7, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1700;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.yatra-modal-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

.yatra-modal-sheet {
    background: var(--yatra-dark);
    border: 1px solid rgba(197, 154, 82, 0.35);
    border-bottom: none;
    border-radius: 24px 24px 0 0;
    width: 100%;
    max-width: 520px;
    max-height: 82vh;
    overflow-y: auto;
    padding: 24px 20px calc(24px + var(--sab));
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
    box-sizing: border-box;
}

.yatra-modal-backdrop.is-open .yatra-modal-sheet {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: #fff;
    margin: 0;
}

.modal-close-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.modal-form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--yatra-gold-light);
}

.modal-input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-family: inherit;
    font-size: 0.9rem;
}

.modal-input:focus {
    outline: none;
    border-color: var(--yatra-gold);
    background: rgba(255, 255, 255, 0.12);
}

.modal-disclaimer {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
    margin-top: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    border-left: 3px solid var(--yatra-gold);
}

/* ============================================================
   ACCESSIBILITY & PREFERS-REDUCED-MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    .yatra-story-viewport {
        scroll-behavior: auto;
    }
    .story-bg-media {
        transform: none !important;
        transition: none !important;
    }
    .story-scroll-cue,
    .live-pulse,
    .panorama-hint i {
        animation: none !important;
    }
    .yatra-floating-heart {
        animation: none !important;
        display: none !important;
    }
}

/* Mobile Viewport Tuning (320px - 430px) */
@media (max-width: 360px) {
    .story-title {
        font-size: 1.65rem;
    }
    .story-subtitle {
        font-size: 0.85rem;
    }
    .story-card-box {
        padding: 12px 12px;
    }
    .experience-grid {
        grid-template-columns: 1fr;
    }
    .bottom-action-btn span {
        font-size: 0.68rem;
    }
}
