/* ==========================================================================
   DIGITAL JAGANNATH DHAM - SACRED DESIGN SYSTEM & CUSTOM STYLING
   ========================================================================== */

:root {
    --primary: #4A0E17;         /* Sacred Temple Crimson / Deep Maroon */
    --primary-light: #701D28;   /* Warm Sandalwood-Red */
    --primary-dark: #2B070B;    /* Dark Mahogany Sanctum */
    --accent: #D4AF37;          /* Sacred Gold */
    --accent-light: #F3E5AB;    /* Ghee / Cream Gold */
    --accent-dark: #A67C1E;     /* Antique Temple Gold */
    --bg-main: #FAF6EE;         /* Sacred Cow's Milk Cream Base */
    --bg-stone: #F3EFE3;        /* Temple Stone Texture Tint */
    --bg-dark-stone: #1C1816;   /* Sanctum Obsidian Black */
    --bg-card: #FFFFFF;         /* Pure Lotus White */
    --text-main: #332724;       /* Charcoal Wood */
    --text-muted: #7A635F;      /* Clay / Ash Grey */
    --text-light: #FAF6EE;      /* Pure Ivory */
    --border-color: #E6DCBF;    /* Clay Dust Border */
    --border-gold: #D4AF37;     /* Sacred Gold Line */
    
    --shadow-soft: 0 6px 24px rgba(74, 14, 23, 0.06);
    --shadow-heavy: 0 12px 36px rgba(43, 7, 11, 0.12);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.25);
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;
}

/* --- Reset & Global Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    background-image: 
        radial-gradient(var(--border-color) 0.5px, transparent 0.5px), 
        radial-gradient(var(--border-color) 0.5px, var(--bg-main) 0.5px);
    background-size: 24px 24px;
    background-position: 0 0, 12px 12px;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-dark);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* --- Layout Wrappers --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Header / Temple Gate-top --- */
.header {
    background-color: rgba(74, 14, 23, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 3px solid var(--accent);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: var(--shadow-heavy);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1px;
}

.logo-subtext {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: 16px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--text-light);
    position: relative;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-dark);
    background-color: var(--accent);
    box-shadow: var(--shadow-gold);
}

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

/* --- Temple Bells & Audio Controls --- */
.audio-controller {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--accent);
    color: var(--accent);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
}

.audio-controller.playing {
    background: var(--accent);
    color: var(--primary-dark);
    animation: bellRing 1.5s infinite ease-in-out;
}

.audio-controller:hover {
    transform: scale(1.08);
}

@keyframes bellRing {
    0%, 100% { transform: rotate(0deg); }
    20% { transform: rotate(15deg); }
    40% { transform: rotate(-15deg); }
    60% { transform: rotate(10deg); }
    80% { transform: rotate(-10deg); }
}

.icon-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-light);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.icon-btn:hover {
    background-color: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--accent);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--text-light);
    cursor: pointer;
}

/* --- SIMHADWARA GATEWAY ENTRY PAGE --- */
.gateway-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    transition: var(--transition);
}

.gateway-door {
    flex: 1;
    height: 100%;
    background-color: var(--primary-dark);
    background-image: 
        linear-gradient(rgba(43, 7, 11, 0.85), rgba(43, 7, 11, 0.85)),
        url('assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 1.2s cubic-bezier(0.85, 0, 0.15, 1);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
    border: 4px solid var(--accent);
}

.gateway-door.right {
    justify-content: flex-start;
    border-left: none;
}

.gateway-door.left {
    border-right: none;
}

/* Simhadwara details */
.gateway-door::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20px;
    background: repeating-linear-gradient(45deg, var(--accent), var(--accent) 10px, transparent 10px, transparent 20px);
}

.gateway-door.left::before { right: 0; }
.gateway-door.right::before { left: 0; }

.gateway-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10002;
    color: var(--text-light);
    width: 90%;
    max-width: 600px;
    pointer-events: auto;
    transition: opacity 0.8s ease;
}

.gateway-logo {
    font-size: 4rem;
    color: var(--accent);
    margin-bottom: 8px;
    animation: goldGlow 3s infinite alternate;
}

.gateway-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    margin-bottom: 12px;
    color: var(--text-light);
    text-shadow: 0 4px 12px rgba(0,0,0,0.8);
}

.gateway-subtitle {
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.gateway-btn {
    background-color: var(--accent);
    color: var(--primary-dark);
    padding: 16px 36px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    border: 2px solid var(--accent-light);
    cursor: pointer;
    box-shadow: var(--shadow-gold);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.gateway-btn:hover {
    background-color: var(--accent-light);
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--accent);
}

.gateway-bells-desc {
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Door Animation States */
.gateway-overlay.opened {
    pointer-events: none;
}

.gateway-overlay.opened .gateway-door.left {
    transform: translateX(-100%);
}

.gateway-overlay.opened .gateway-door.right {
    transform: translateX(100%);
}

.gateway-overlay.opened .gateway-content {
    opacity: 0;
    pointer-events: none;
}

@keyframes goldGlow {
    from { text-shadow: 0 0 10px rgba(212, 175, 55, 0.4); }
    to { text-shadow: 0 0 30px rgba(212, 175, 55, 0.9); }
}

/* --- COMMON UI COMPONENTS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-light);
    border: 1px solid var(--accent-dark);
}
.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.btn-gold {
    background-color: var(--accent);
    color: var(--primary-dark);
    box-shadow: var(--shadow-gold);
    border: 1px solid var(--accent-light);
}
.btn-gold:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--primary-light);
}
.btn-outline:hover {
    background-color: var(--border-color);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-header h2 {
    font-size: 2.4rem;
    margin-bottom: 8px;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-header::after {
    content: '✵ 🕉 ✵';
    display: block;
    font-size: 1.1rem;
    color: var(--accent-dark);
    margin-top: 12px;
}

/* Decorative Pattachitra Border for elements */
.pattachitra-panel {
    border: 8px solid var(--primary);
    border-image: repeating-linear-gradient(45deg, var(--accent) 0, var(--accent) 10px, var(--primary) 10px, var(--primary) 20px) 10;
    background: var(--bg-card);
    border-radius: 4px;
}

/* --- MAIN CONTENT & SPA LOADING --- */
.main-content {
    min-height: calc(100vh - 85px - 350px);
    padding: 40px 0;
}

.loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 400px;
    gap: 16px;
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.temple-wheel-spinner {
    font-size: 3rem;
    color: var(--accent);
    animation: spin 6s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==========================================================================
   PORTALS & VIEWS
   ========================================================================== */

/* --- 1. DHAM HOME VIEW --- */
.dham-hero {
    position: relative;
    background: linear-gradient(rgba(43, 7, 11, 0.75), rgba(43, 7, 11, 0.75)), url('assets/hero_bg.png') no-repeat center center/cover;
    height: 550px;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    border-bottom: 5px solid var(--accent);
    margin-top: -40px;
    margin-bottom: 40px;
}

.dham-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.dham-badge {
    background-color: var(--accent);
    color: var(--primary-dark);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
}

.dham-hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.2;
}

.dham-hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--accent-light);
}

/* Countdown Clock */
.countdown-container {
    background: rgba(74, 14, 23, 0.85);
    border: 2px solid var(--accent);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    justify-content: space-around;
    max-width: 500px;
    margin: 0 auto 30px auto;
    box-shadow: var(--shadow-heavy);
}

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

.countdown-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
}

.countdown-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-light);
    letter-spacing: 1px;
}

/* Home Grid Quick Experiences */
.quick-exp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.quick-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border-top: 4px solid var(--primary);
}

.quick-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.quick-img-box {
    position: relative;
    height: 180px;
    background-color: var(--bg-stone);
}

.quick-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quick-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: var(--primary);
    color: var(--text-light);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
}

.quick-info {
    padding: 20px;
}

.quick-info h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.quick-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

/* Daily Temple Seva Timeline */
.timeline-section {
    background: var(--bg-stone);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    margin-bottom: 60px;
}

.timeline-timeline {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0;
    scrollbar-width: thin;
}

.timeline-card {
    min-width: 200px;
    flex: 0 0 200px;
    background: var(--bg-card);
    padding: 16px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent);
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.timeline-card.current {
    border-left-color: var(--primary);
    background: var(--primary);
    color: var(--text-light);
}

.timeline-card.current h5, .timeline-card.current p {
    color: var(--text-light);
}

.timeline-time {
    font-weight: 700;
    color: var(--accent-dark);
    font-size: 0.85rem;
    display: block;
    margin-bottom: 5px;
}

.timeline-card.current .timeline-time {
    color: var(--accent);
}

.timeline-card h5 {
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.timeline-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* --- 2. DARSHAN VIEW --- */
.darshan-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.darshan-player-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
}

.live-darshan-stream {
    background: var(--bg-dark-stone);
    height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.live-darshan-stream video, .live-darshan-stream img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stream-overlay-live {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #E53935;
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

.virtual-bell-ring-box {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.darshan-info-box {
    padding: 24px;
}

.darshan-info-box h3 {
    margin-bottom: 10px;
}

.darshan-info-box p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.timings-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.timings-card {
    background: var(--bg-card);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--accent);
}

.timings-list {
    margin-top: 12px;
}

.timing-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--bg-stone);
    font-size: 0.85rem;
}

.timing-row:last-child {
    border-bottom: none;
}

.timing-row span:first-child {
    font-weight: 600;
}

/* Virtual Tour Section */
.tour-walkthrough-card {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)), url('https://upload.wikimedia.org/wikipedia/commons/e/e4/Jagannath_Temple%2C_Puri.jpg') no-repeat center center/cover;
    height: 280px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    padding: 24px;
    margin-top: 30px;
}

/* --- 3. PILGRIMAGE VIEW (MAKEYMYTRIP STYLE) --- */
.booking-search-widget {
    background: var(--primary);
    border: 2px solid var(--accent);
    padding: 24px;
    border-radius: var(--radius-lg);
    color: var(--text-light);
    box-shadow: var(--shadow-heavy);
    margin-bottom: 40px;
}

.search-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

.search-tab-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    padding: 8px 16px;
    cursor: pointer;
    transition: var(--transition);
}

.search-tab-btn.active {
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
}

.booking-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 15px;
    align-items: flex-end;
}

.booking-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.booking-col label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--accent-light);
    font-weight: 600;
}

.booking-col select, .booking-col input {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-light);
    padding: 10px 14px;
    border-radius: var(--radius-md);
    outline: none;
    font-family: var(--font-body);
}

.booking-col select option {
    background: var(--primary-dark);
    color: var(--text-light);
}

.booking-search-btn {
    background: var(--accent);
    color: var(--primary-dark);
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.booking-search-btn:hover {
    background: var(--accent-light);
    transform: scale(1.05);
}

/* Yatra Package Cards */
.yatra-results-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.yatra-row-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: 300px 1fr 200px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.yatra-row-card:hover {
    box-shadow: var(--shadow-heavy);
    transform: translateY(-2px);
}

.yatra-img {
    height: 100%;
    min-height: 200px;
    background-color: var(--bg-stone);
    position: relative;
}

.yatra-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yatra-info-side {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.yatra-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.yatra-distance-badge {
    background: var(--bg-stone);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
}

.yatra-rating-badge {
    color: var(--accent-dark);
    font-weight: 700;
    font-size: 0.85rem;
}

.yatra-inclusions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 15px;
}

.inclusion-item {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.inclusion-item i {
    color: #2E7D32;
}

.yatra-price-side {
    padding: 24px;
    background: var(--bg-stone);
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.yatra-price-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
}

.yatra-price-amount {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin: 5px 0 15px 0;
}

/* --- 4. FESTIVALS VIEW (BOOKMYSHOW STYLE) --- */
.events-discovery-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.event-ticket-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.event-img {
    height: 160px;
    background-color: var(--bg-stone);
}

.event-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-details {
    padding: 20px;
    flex: 1;
}

.event-date {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-dark);
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}

.event-details h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    line-height: 1.3;
}

.event-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.event-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
}

.event-booking-btn-box {
    padding: 0 20px 20px 20px;
}

/* BookMyShow Seat Selection UI */
.seat-selection-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.seat-selection-overlay.active {
    display: flex;
}

.seat-selection-modal {
    background: var(--bg-main);
    border: 3px solid var(--accent);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 700px;
    box-shadow: var(--shadow-heavy);
    overflow: hidden;
}

.seat-modal-header {
    background: var(--primary);
    color: var(--text-light);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--accent);
}

.seat-modal-body {
    padding: 24px;
}

.chariot-diagram {
    background: var(--bg-dark-stone);
    color: var(--text-light);
    border-radius: var(--radius-md);
    padding: 15px;
    text-align: center;
    margin-bottom: 24px;
    font-weight: 600;
    border: 1px solid var(--accent);
}

.seat-grid-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.zone-selector-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.zone-box {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    padding: 12px;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
}

.zone-box:hover {
    border-color: var(--accent);
}

.zone-box.selected {
    background: var(--bg-stone);
    border-color: var(--primary);
}

.zone-name {
    font-weight: 700;
    font-size: 0.9rem;
    display: block;
}

.zone-price {
    font-size: 0.8rem;
    color: var(--primary-light);
    font-weight: 600;
}

.seat-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-color {
    width: 14px;
    height: 14px;
    border-radius: 3px;
}

/* Passes / Ticket Preview */
.ticket-pass {
    background: radial-gradient(circle at 0 50%, transparent 10px, #fff 10px) 0/100% no-repeat;
    border: 2px solid var(--border-color);
    border-left: 6px solid var(--accent);
    padding: 20px;
    border-radius: var(--radius-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-soft);
    margin-bottom: 15px;
}

.qr-code-box {
    width: 80px;
    height: 80px;
    border: 1px solid var(--border-color);
    padding: 4px;
    background: white;
}

.qr-code-box img {
    width: 100%;
    height: 100%;
}

/* --- 5. SEVA VIEW (IMPACT & TRANSPARENCY) --- */
.seva-header-card {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 40px;
    border-radius: var(--radius-lg);
    margin-bottom: 40px;
    border: 2px solid var(--accent);
    text-align: center;
}

.seva-header-card h2 {
    color: var(--accent);
    margin-bottom: 12px;
}

.seva-header-card p {
    max-width: 700px;
    margin: 0 auto;
}

/* Impact meter section */
.impact-meter-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 40px;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.impact-card {
    text-align: center;
    padding: 16px;
    background: var(--bg-stone);
    border-radius: var(--radius-md);
    border-bottom: 3px solid var(--accent);
}

.impact-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.impact-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.seva-programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.seva-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 200px 1fr;
    box-shadow: var(--shadow-soft);
}

.seva-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.seva-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.seva-card-content h3 {
    margin-bottom: 8px;
}

.seva-card-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

/* --- 6. SPIRITUAL STORE VIEW (STORY-DRIVEN) --- */
.store-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 30px;
}

.store-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    height: fit-content;
}

.store-search-box {
    position: relative;
    margin-bottom: 20px;
}

.store-search-box input {
    width: 100%;
    padding: 10px 35px 10px 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    outline: none;
    font-family: var(--font-body);
}

.store-search-box i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.store-categories {
    list-style: none;
}

.category-tab {
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
}

.category-tab.active, .category-tab:hover {
    background-color: var(--bg-stone);
    color: var(--primary);
    font-weight: 600;
}

.store-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.store-item-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.store-item-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.store-item-img {
    height: 180px;
    position: relative;
    background-color: var(--bg-stone);
}

.store-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artisan-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent);
    color: var(--primary-dark);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid white;
}

.store-item-details {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.store-item-details h4 {
    font-size: 1rem;
    margin-bottom: 6px;
    color: var(--primary-dark);
}

.store-item-origin {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.store-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--bg-stone);
    padding-top: 12px;
    margin-top: 12px;
}

.store-item-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

.story-link-btn {
    background: none;
    border: none;
    color: var(--accent-dark);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
}

/* Store Story Modal */
.story-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.story-overlay.active {
    display: flex;
}

.story-modal {
    background: var(--bg-main);
    border: 4px solid var(--accent);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 800px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
}

.story-img-side {
    background-color: var(--bg-dark-stone);
    position: relative;
}

.story-img-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-content-side {
    padding: 30px;
    overflow-y: auto;
    max-height: 500px;
}

.story-content-side h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.story-text-block {
    margin-bottom: 20px;
}

.story-text-block h5 {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: 4px;
}

.story-text-block p {
    font-size: 0.85rem;
    color: var(--text-main);
    line-height: 1.5;
}

/* --- 7. KRISHNA CONSCIOUSNESS VIEW --- */
.wisdom-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

.wisdom-nav-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    height: fit-content;
}

.wisdom-nav-list {
    list-style: none;
}

.wisdom-nav-item {
    margin-bottom: 8px;
}

.wisdom-nav-btn {
    width: 100%;
    text-align: left;
    padding: 12px;
    border-radius: var(--radius-sm);
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.wisdom-nav-btn.active, .wisdom-nav-btn:hover {
    background-color: var(--primary);
    color: var(--text-light);
}

.wisdom-nav-btn i {
    width: 20px;
    font-size: 1rem;
}

/* Course Cards */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.course-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.course-info {
    padding: 20px;
}

.course-info h4 {
    margin-bottom: 8px;
}

.course-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.course-progress {
    margin-bottom: 15px;
}

.progress-bar-bg {
    background: var(--bg-stone);
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    background: var(--accent-dark);
    height: 100%;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-meta-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
}

/* Audio Playlist Player */
.audio-player-card {
    background: var(--primary-dark);
    color: var(--text-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--accent);
    margin-top: 30px;
}

.audio-track-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.audio-track-logo {
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.audio-track-details h4 {
    color: var(--text-light);
}

.audio-track-details span {
    font-size: 0.8rem;
    color: var(--accent-light);
}

.audio-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 1.3rem;
}

.audio-play-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
}

/* --- 8. GLOBAL DEVOTEE COMMUNITY --- */
.community-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

/* Prayer Board */
.prayer-board-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 24px;
    box-shadow: var(--shadow-soft);
}

.prayer-form {
    margin-bottom: 30px;
    background: var(--bg-stone);
    padding: 20px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
}

.prayer-form textarea {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px;
    outline: none;
    font-family: var(--font-body);
    margin-bottom: 12px;
    resize: vertical;
}

.prayer-requests-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.prayer-req-item {
    border-bottom: 1px solid var(--bg-stone);
    padding-bottom: 15px;
}

.prayer-req-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.prayer-req-user {
    font-weight: 700;
    color: var(--primary-dark);
}

.prayer-req-content {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.prayer-req-footer {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lamp-action-btn {
    background: none;
    border: 1px solid var(--accent-dark);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.lamp-action-btn:hover {
    background: var(--accent);
    color: var(--primary-dark);
}

.community-circles-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.circle-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.circle-info h5 {
    font-size: 0.95rem;
}

.circle-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* --- 9. JAGANNATH MEDIA --- */
.media-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.media-featured-player {
    background: var(--bg-dark-stone);
    color: var(--text-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid var(--accent);
    box-shadow: var(--shadow-heavy);
}

.media-featured-video-box {
    position: relative;
    height: 350px;
}

.media-featured-video-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-featured-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: var(--accent);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    box-shadow: var(--shadow-gold);
    transition: var(--transition);
}

.media-featured-play-overlay:hover {
    background: var(--accent-light);
    transform: translate(-50%, -50%) scale(1.08);
}

.media-featured-details {
    padding: 24px;
}

.media-featured-details h3 {
    color: var(--accent);
    margin-bottom: 8px;
}

.media-category-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.media-category-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    transition: var(--transition);
}

.media-category-btn.active, .media-category-btn:hover {
    background-color: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
}

.media-grid-videos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.media-video-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.media-video-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.media-video-thumbnail {
    height: 140px;
    background-color: var(--bg-stone);
    position: relative;
}

.media-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-video-time-tag {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

.media-video-info {
    padding: 12px;
}

.media-video-info h5 {
    font-size: 0.9rem;
    margin-bottom: 4px;
    line-height: 1.3;
}

.media-video-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==========================================================================
   CART & CHECKOUT SIDE DRAWER / MODALS
   ========================================================================== */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

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

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 100%;
    height: 100%;
    background-color: var(--bg-main);
    z-index: 1001;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.drawer.active {
    transform: translateX(0);
}

.drawer-header {
    background: var(--primary);
    color: var(--text-light);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--accent);
}

.close-drawer-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.8rem;
    cursor: pointer;
}

.drawer-content {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.cart-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: var(--radius-md);
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 12px;
    align-items: center;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    background-color: var(--bg-stone);
}

.cart-item-info h5 {
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.cart-item-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.cart-item-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
}

.remove-item-btn {
    background: none;
    border: none;
    color: #C62828;
    font-size: 0.75rem;
    cursor: pointer;
    font-weight: 600;
}

.gau-seva-addon {
    background: #E8F5E9;
    border: 1px solid #A5D6A7;
    border-radius: var(--radius-md);
    padding: 12px;
    margin-bottom: 20px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.addon-text strong {
    font-size: 0.85rem;
    color: #2E7D32;
    display: block;
}

.addon-text p {
    font-size: 0.75rem;
    color: #558B2F;
}

.price-breakdown {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 20px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.price-row.total-row {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--border-color);
}

.checkout-split {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 24px;
}

.form-section-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--accent-dark);
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 4px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-main);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    outline: none;
    font-family: var(--font-body);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.payment-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

.payment-tab-btn {
    padding: 10px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.payment-tab-btn.active {
    background: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
}

.payment-gateway-indicator {
    padding: 12px;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    margin-bottom: 15px;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.modal {
    background: var(--bg-main);
    border: 3px solid var(--accent);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-heavy);
    transform: scale(0.9);
    transition: var(--transition);
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-header {
    background: var(--primary);
    color: var(--text-light);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-body {
    padding: 24px;
}

.close-modal-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.8rem;
    cursor: pointer;
}

/* Receipt styles */
.receipt-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.receipt-table th, .receipt-table td {
    padding: 10px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

/* Payment Processing Loading Screen */
.payment-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(43, 7, 11, 0.9);
    z-index: 5000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-loading-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.payment-loading-card {
    background: var(--bg-main);
    border: 4px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    width: 90%;
    max-width: 450px;
    box-shadow: var(--shadow-heavy);
}

.payment-progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-stone);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 20px;
}

.payment-progress-fill {
    background: var(--primary);
    width: 0%;
    height: 100%;
    transition: width 0.8s ease;
}

/* --- VIDEO THEATER OVERLAY --- */
.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9000;
    display: none;
    align-items: center;
    justify-content: center;
}

.video-overlay.active {
    display: flex;
}

.video-container {
    width: 90%;
    max-width: 800px;
    aspect-ratio: 16/9;
    background: black;
    position: relative;
}

.video-container iframe {
    width: 100%;
    height: 100%;
}

.close-video-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
}

/* --- FOOTER --- */
.footer {
    background-color: var(--bg-dark-stone);
    color: var(--text-light);
    padding: 60px 0 20px 0;
    border-top: 5px solid var(--accent);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-col h3 {
    color: var(--accent);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.footer-col h4 {
    color: var(--accent-light);
    margin-bottom: 15px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p {
    font-size: 0.85rem;
    color: var(--accent-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.footer-col ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 50%;
    color: var(--text-light);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent);
    color: var(--primary-dark);
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    padding: 10px;
    border-radius: var(--radius-md);
    outline: none;
    flex: 1;
    font-size: 0.85rem;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 40px;
    padding-top: 20px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==========================================================================
   MOBILE RESPONSIVENESS & MOBILE-FIRST APP SHELL
   ========================================================================== */

/* Bottom Sticky Navigation for Mobile Devices */
.mobile-app-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background: var(--primary-dark);
    border-top: 3px solid var(--accent);
    display: none; /* Hidden on desktop */
    grid-template-columns: repeat(5, 1fr);
    z-index: 998;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.3);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-nav-item i {
    font-size: 1.25rem;
    margin-bottom: 3px;
    color: var(--accent-light);
}

.mobile-nav-item.active {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
}

.mobile-nav-item.active i {
    color: var(--accent);
}

@media (max-width: 992px) {
    .header-container {
        height: 75px;
    }
    .nav-menu {
        display: none; /* Hide standard nav on mobile */
    }
    .mobile-nav-toggle {
        display: block; /* Show menu toggle */
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    
    /* Show mobile app bottom navigation */
    .mobile-app-bottom-bar {
        display: grid;
    }
    
    body {
        padding-bottom: 65px; /* Offset for bottom navigation bar */
    }
    
    .main-content {
        padding: 20px 0;
    }
    
    .quick-exp-grid, .events-discovery-layout, .media-grid-videos, .store-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .yatra-row-card {
        grid-template-columns: 1fr;
    }
    .yatra-price-side {
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding: 20px;
    }
    
    .seva-card {
        grid-template-columns: 1fr;
    }
    .seva-card img {
        height: 180px;
    }
    
    .booking-grid {
        grid-template-columns: 1fr 1fr;
    }
    .booking-grid button {
        grid-column: span 2;
    }
    
    .darshan-layout, .store-layout, .wisdom-layout, .community-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .quick-exp-grid, .events-discovery-layout, .media-grid-videos, .store-products-grid, .seva-programs-grid, .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }
    .newsletter-form {
        flex-direction: column;
    }
    
    .booking-grid {
        grid-template-columns: 1fr;
    }
    .booking-grid button {
        grid-column: span 1;
    }
    
    .dham-hero h1 {
        font-size: 2.2rem;
    }
    
    .dham-hero p {
        font-size: 0.95rem;
    }
    
    .gateway-title {
        font-size: 2rem;
    }
    .gateway-subtitle {
        font-size: 0.95rem;
    }
    
    .story-modal {
        grid-template-columns: 1fr;
    }
    .story-img-side {
        height: 200px;
    }
    
    .zone-selector-row {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   HEY JAGANNATH CUSTOM BRANDING & LOCALIZATION STYLING
   ========================================================================== */

/* Gateway deity image frame */
.gateway-deity-frame {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    border: 4px solid var(--accent);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.8);
    overflow: hidden;
    background: var(--primary-dark);
    animation: pulseGlow 2.5s infinite alternate;
}

.gateway-deity-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 15px rgba(212, 175, 55, 0.5); }
    100% { box-shadow: 0 0 35px rgba(212, 175, 55, 1); }
}

/* Home Page Hero Section Layout Override */
.dham-hero {
    position: relative;
    background: linear-gradient(rgba(43, 7, 11, 0.85), rgba(43, 7, 11, 0.85)), url('assets/hero_bg.png') no-repeat center center/cover;
    min-height: 580px;
    display: flex;
    align-items: center;
    color: var(--text-light);
    border-bottom: 5px solid var(--accent);
    margin-top: -40px;
    margin-bottom: 40px;
    padding: 60px 0;
}

.dham-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

.dham-hero-left {
    flex: 1.2;
    text-align: left;
}

.dham-hero-right {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Deity Portrait Frame on Hero Page */
.hero-deity-frame {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 6px double var(--accent);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.6), inset 0 0 20px rgba(212, 175, 55, 0.4);
    overflow: hidden;
    background-color: var(--primary-dark);
    animation: floatDeity 4s ease-in-out infinite alternate;
}

.hero-deity-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.hero-deity-frame:hover .hero-deity-img {
    transform: scale(1.1);
}

@keyframes floatDeity {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-10px) rotate(1deg); }
}

/* --- Global Language Dropdown System --- */
.language-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.lang-dropdown-menu {
    position: absolute;
    top: 55px;
    right: -10px;
    width: 300px;
    background-color: var(--bg-card);
    border: 2px solid var(--accent);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-heavy);
    display: none;
    z-index: 10000;
    overflow: hidden;
    animation: dropFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-dropdown-menu.active {
    display: block;
}

@keyframes dropFadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.lang-dropdown-header {
    background-color: var(--primary);
    color: var(--accent);
    padding: 10px 15px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--accent-dark);
    text-align: center;
}

.lang-dropdown-section {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-color);
}

.lang-dropdown-section:last-child {
    border-bottom: none;
}

.lang-section-title {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.lang-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.lang-select-btn {
    background-color: var(--bg-stone);
    border: 1px solid var(--border-color);
    color: var(--primary-dark);
    padding: 6px 4px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
}

.lang-select-btn:hover, .lang-select-btn.active {
    background-color: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent-dark);
}

@media (max-width: 768px) {
    .dham-hero {
        min-height: 500px;
        padding: 40px 0;
    }
    .dham-hero-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .dham-hero-left {
        text-align: center;
    }
    .hero-deity-frame {
        width: 260px;
        height: 260px;
        margin-top: 10px;
    }
    .lang-dropdown-menu {
        right: -100px;
    }
}

/* ==========================================================================
   FESTIVAL CALENDAR & DETAILED COUNTDOWN FOCUS STYLES
   ========================================================================== */

.festival-calendar-section {
    background-color: var(--bg-stone);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin: 40px auto;
    max-width: 1200px;
    box-shadow: var(--shadow-soft);
}

.festival-calendar-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 25px;
}

@media (max-width: 768px) {
    .festival-calendar-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.calendar-headline-container {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
    padding: 24px;
    border-radius: var(--radius-md);
    border-left: 5px solid var(--accent);
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: var(--shadow-heavy);
}

.calendar-headline-container h4 {
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.calendar-headline-container p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.5;
    margin-bottom: 15px;
}

.festival-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 380px;
    overflow-y: auto;
    padding-right: 8px;
}

.festival-list::-webkit-scrollbar {
    width: 6px;
}
.festival-list::-webkit-scrollbar-thumb {
    background-color: var(--accent-dark);
    border-radius: var(--radius-sm);
}

.festival-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 12px 18px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.festival-item:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    box-shadow: var(--shadow-soft);
}

.festival-item.active {
    border-color: var(--accent);
    background-color: var(--accent-light);
    box-shadow: var(--shadow-gold);
}

.festival-item-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: white;
    min-width: 65px;
    height: 65px;
    border-radius: var(--radius-sm);
    font-weight: 700;
}

.festival-item.active .festival-item-date {
    background-color: var(--primary-dark);
    color: var(--accent);
}

.festival-item-date .month {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.festival-item-date .day {
    font-size: 1.4rem;
    line-height: 1;
}

.festival-item-info {
    flex-grow: 1;
}

.festival-item-info h5 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--primary-dark);
    font-family: var(--font-body);
}

.festival-item-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.festival-item-status {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 20px;
}

.status-upcoming {
    background-color: #FFF9C4;
    color: #F57F17;
}

.status-current {
    background-color: #E8F5E9;
    color: #2E7D32;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(46, 125, 50, 0); }
}

/* ==========================================================================
   FOUNDER branding & Vision section
   ========================================================================== */

.founder-branding-section {
    background-color: var(--bg-card);
    border-top: 3px solid var(--accent);
    border-bottom: 1px solid var(--border-color);
    padding: 60px 0;
    margin-top: 50px;
}

.founder-layout {
    display: flex;
    align-items: center;
    gap: 50px;
}

@media (max-width: 768px) {
    .founder-layout {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
}

.founder-frame-wrapper {
    position: relative;
    flex-shrink: 0;
}

.founder-frame {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 5px solid var(--accent);
    padding: 6px;
    background-color: var(--bg-main);
    box-shadow: var(--shadow-heavy);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
}

.founder-frame:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-gold);
}

.founder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.founder-frame-badge {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--accent);
    white-space: nowrap;
}

.founder-info {
    flex-grow: 1;
}

.founder-info h3 {
    font-size: 2rem;
    margin-bottom: 5px;
    color: var(--primary-dark);
}

.founder-info h4 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--accent-dark);
    margin-bottom: 20px;
}

.founder-info p {
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 20px;
}

.founder-quote {
    font-style: italic;
    border-left: 4px solid var(--accent);
    padding-left: 20px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--primary-light);
}

/* ==========================================================================
   DEVOTEE AUTH MODAL STYLES
   ========================================================================== */

.auth-modal {
    max-width: 450px !important;
}

.auth-tabs {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 20px;
}

.auth-tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.auth-tab-btn:hover {
    color: var(--primary);
}

.auth-tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--accent);
}

/* ==========================================================================
   ADMIN PORTAL CRUD & 2FA STYLES
   ========================================================================== */

.admin-layout-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.admin-login-card {
    max-width: 500px;
    margin: 40px auto;
    background-color: var(--bg-card);
    border: 2px solid var(--accent);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-heavy);
    overflow: hidden;
}

.admin-login-header {
    background-color: var(--primary);
    color: var(--accent);
    padding: 24px;
    text-align: center;
    border-bottom: 3px solid var(--accent);
}

.admin-login-body {
    padding: 30px;
}

.admin-dashboard-tabs {
    display: flex;
    background-color: var(--bg-stone);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 25px;
}

.admin-dash-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 14px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--primary-dark);
    transition: var(--transition);
    text-align: center;
}

.admin-dash-tab.active {
    background-color: var(--primary);
    color: var(--accent);
}

.admin-crud-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.admin-table-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow-x: auto;
    box-shadow: var(--shadow-soft);
    margin-bottom: 25px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    text-align: left;
}

.admin-table th, .admin-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
}

.admin-table th {
    background-color: var(--bg-stone);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table tr:hover {
    background-color: var(--bg-main);
}

.admin-table img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.action-badges {
    display: flex;
    gap: 8px;
}

.badge-edit {
    background-color: #E3F2FD;
    color: #1565C0;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 0.75rem;
    transition: var(--transition);
}

.badge-edit:hover {
    background-color: #1565C0;
    color: white;
}

.badge-delete {
    background-color: #FFEBEE;
    color: #C62828;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 0.75rem;
    transition: var(--transition);
}

.badge-delete:hover {
    background-color: #C62828;
    color: white;
}

/* Edit/Add CRUD Form Modals */
.crud-modal {
    max-width: 600px !important;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

@media (max-width: 576px) {
    .form-grid-2 {
        grid-template-columns: 1fr;
    }
}


