:root {
    --primary-gold: #D4AF37;
    --accent-saffron: #FF9933;
    --deep-indigo: #0A0A0F;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #E0E0E0;
    --text-dim: #A0A0A0;
    --transition-slow: 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--deep-indigo);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-user-drag: none;
    /* Disable image dragging */
    user-select: none;
    /* Disable text/image selection */
}

img {
    pointer-events: auto;
    /* Allow hover but prevent selection */
    -webkit-user-drag: none;
    user-select: none;
}

body {
    background-color: var(--deep-indigo);
    color: var(--text-main);
    font-family: 'Inter', 'Baloo Tamma 2', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    cursor: auto;
    /* Standard cursor for most of the page */
}

.sacred-photo {
    cursor: none !important;
    /* Hide cursor only on deity photos */
}

a,
button,
[role="button"] {
    cursor: pointer;
    touch-action: manipulation;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: 'Cinzel', serif;
    font-weight: 700;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slowPan {
    from {
        transform: scale(1.1) translate(0, 0);
    }

    to {
        transform: scale(1.1) translate(-2%, -2%);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        filter: brightness(1) drop-shadow(0 0 10px var(--primary-gold));
    }

    50% {
        filter: brightness(1.2) drop-shadow(0 0 25px var(--primary-gold));
    }
}

@keyframes flicker {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    20% {
        transform: scale(1.1) rotate(1deg);
        opacity: 1;
    }

    40% {
        transform: scale(0.9) rotate(-1deg);
        opacity: 0.7;
    }

    60% {
        transform: scale(1.05);
        opacity: 0.9;
    }

    80% {
        transform: scale(0.95) rotate(2deg);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

@keyframes arathiFloat {
    0% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-3px) rotate(1deg);
    }

    100% {
        transform: translateY(0) rotate(0);
    }
}

@keyframes kenBurns {
    0% {
        transform: scale(1.0);
    }

    100% {
        transform: scale(1.1);
    }
}

@keyframes grain {

    0%,
    100% {
        transform: translate(0, 0);
    }

    10% {
        transform: translate(-5%, -5%);
    }

    30% {
        transform: translate(5%, -10%);
    }

    50% {
        transform: translate(-15%, 5%);
    }

    70% {
        transform: translate(10%, 10%);
    }

    90% {
        transform: translate(-5%, 0%);
    }
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(to right, var(--accent-saffron), var(--primary-gold));
    z-index: 2000;
    transition: width 0.1s ease;
}

/* Utility */
.blurred {
    filter: blur(15px) brightness(0.6) contrast(1.1);
    transition: filter 0.8s var(--transition-slow);
    object-position: center 30%;
    /* Focus on the face area */
}

.blurred:hover {
    filter: blur(5px) brightness(0.8) contrast(1.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-lamp {
    transform: scale(0.5);
    /* Smaller scale for navbar */
    margin-right: -10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-lamp .flame {
    width: 20px;
    height: 35px;
    box-shadow: 0 0 20px var(--accent-saffron);
}

.logo-lamp .lamp-base {
    width: 40px;
    height: 12px;
}

.logo {
    font-size: 1.4rem;
    color: var(--primary-gold);
    letter-spacing: 1.5px;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-gold);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 3rem;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    font-size: 0.85rem;
    padding: 10px 15px;
    /* Increased for better touch target */
    transition: all 0.3s ease;
    font-family: 'Baloo Tamma 2', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    /* Standard touch target size */
    min-height: 44px;
}

.lang-btn.active {
    color: var(--primary-gold);
    border-bottom: 1px solid var(--primary-gold);
}

.lang-btn:hover {
    color: #fff;
}

.sep {
    color: var(--glass-border);
    font-size: 0.8rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1100;
}

.menu-toggle span {
    display: block;
    width: 30px;
    height: 2px;
    background: var(--primary-gold);
    transition: 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Hero Section Slider */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.hero-vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.9) 100%);
    pointer-events: none;
    z-index: 5;
}

.hero-grain {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: url("https://www.transparenttextures.com/patterns/pinstriped-suit.png");
    opacity: 0.04;
    pointer-events: none;
    z-index: 6;
    animation: grain 8s steps(10) infinite;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    line-height: normal;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    display: none;
    /* Force layout removal when inactive */
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1),
        filter 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
    filter: blur(20px);
}

.slide.active {
    opacity: 1;
    visibility: visible;
    display: flex;
    /* Restore layout when active */
    z-index: 2;
    filter: blur(0px);
}

.slide.active .hero-bg {
    animation: none;
    transform: scale(1);
}

.hero-festival-billboard {
    max-width: 950px;
    width: 95%;
    max-height: calc(100vh - 120px);
    margin-top: 50px;
    background: rgba(15, 15, 20, 0.4);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 10px;
    padding: clamp(0.2rem, 0.5vh, 0.4rem) clamp(0.5rem, 1vw, 1.5rem);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(212, 175, 55, 0.1) inset,
        0 0 20px rgba(255, 153, 51, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
}

.hero-festival-billboard::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.festival-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.1rem;
}

.banner-lamp .flame {
    width: 15px;
    height: 25px;
}

.banner-lamp .lamp-base {
    width: 35px;
    height: 12px;
}

.festival-title {
    font-size: clamp(0.9rem, 1.4vh, 1.4rem);
    color: var(--primary-gold);
    letter-spacing: 3px;
    margin: 0;
    text-transform: uppercase;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.3));
}

.fest-subtitle {
    color: var(--text-dim);
    font-size: clamp(0.55rem, 0.7vh, 0.75rem);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.billboard-vertical-flow {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    align-items: center;
    text-align: center;
    width: 100%;
    margin-top: 0.2rem;
}

.fest-main-header {
    width: 100%;
}

.fest-deity-title {
    font-size: clamp(0.85rem, 2vh, 2rem);
    margin: 0.1rem 0;
    line-height: 1;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(180deg, #fff 0%, var(--primary-gold) 60%, var(--accent-saffron) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.3));
    position: relative;
    padding-bottom: 10px;
}

.fest-deity-title::after {
    content: '✧ ✦ ✧';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    font-size: 0.9rem;
    -webkit-text-fill-color: var(--primary-gold);
    letter-spacing: 10px;
    opacity: 0.6;
    text-align: center;
    filter: drop-shadow(0 0 5px var(--primary-gold));
}

.fest-address-billboard {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 2px;
    line-height: 1.2;
    letter-spacing: 1px;
    opacity: 0.85;
}

.fest-meta-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    width: 100%;
    margin: 0.2rem 0;
}

.fest-central-seal {
    display: flex;
    justify-content: center;
    padding: 0;
    width: auto;
}

/* Royal Edict Date Badge */
.hero-date-badge {
    position: relative;
    width: clamp(112px, 7vh, 112px);
    height: clamp(65px, 7vh, 65px);
    border: 1px solid var(--primary-gold);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(20, 20, 25, 0.85);
    backdrop-filter: blur(15px);
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.7);
    transform: rotate(-3deg);
    z-index: 20;
}

.hero-date-badge::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 1px dashed var(--primary-gold);
    border-radius: 50%;
    opacity: 0.3;
    animation: rotateSlow 30s linear infinite;
}

@keyframes rotateSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.fest-day {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-gold);
    margin-bottom: 2px;
}

.fest-date {
    width: max-content;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.fest-schedule-mini.full-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    width: 100%;
    margin-top: 0.2rem;
    padding: 0 0.2rem;
}

.mini-event {
    background: rgba(255, 255, 255, 0.03);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    border-left: 1.5px solid rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
}

.mini-event:hover {
    background: rgba(255, 255, 255, 0.06);
    border-left-color: var(--primary-gold);
    transform: translateX(5px);
}

.mini-event.highlight {
    grid-column: span 2;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.1), transparent);
    border-left-color: var(--accent-saffron);
}

.mini-event time {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-saffron);
    letter-spacing: 1px;
}

.mini-event span {
    font-size: 0.75rem;
    line-height: 1.1;
    color: #eee;
}

.billboard-footer {
    margin-top: auto;
    padding-top: 0.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.fest-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.fest-contact {
    font-size: 0.75rem;
    color: var(--primary-gold);
}

.fest-welcome {
    font-size: 0.8rem;
    color: var(--accent-saffron);
    font-family: 'Cinzel', serif;
}

.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 100;
}

.slider-dot {
    width: 30px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.5s var(--transition-slow);
    position: relative;
    padding: 0;
}

.slider-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--primary-gold);
    transition: width 0.5s;
    transform: translateY(-50%);
}

.slider-dot.active {
    background: rgba(255, 255, 255, 0.1);
}

.slider-dot.active::after {
    width: 100%;
    box-shadow: 0 0 15px var(--primary-gold);
}

.festival-overlay {
    background: linear-gradient(to top, rgba(10, 35, 18, 0.8) 0%, rgba(10, 10, 15, 0.4) 100%);
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    /* Specifically target the face height */
    animation: none;
    will-change: transform;
}

.hero-bg-container .overlay {
    background: linear-gradient(to bottom,
            rgba(10, 10, 15, 0.3) 0%,
            rgba(10, 10, 15, 0.8) 100%);
}

/* Enhance Slide 3 Contrast & Premium Feel */
.slide:nth-child(3) .hero-bg-container .overlay {
    background: radial-gradient(circle at center, rgba(10, 10, 15, 0) 0%, rgba(10, 10, 15, 0.7) 100%),
        linear-gradient(to bottom, rgba(10, 10, 15, 0.4) 0%, rgba(10, 10, 15, 0.9) 100%);
}

.slide:nth-child(3) .hero-split-info {
    background: rgba(10, 10, 15, 0.3);
    backdrop-filter: blur(12px);
    padding: clamp(1.5rem, 4vw, 3rem);
    border-radius: 24px;
    border: 1px solid rgba(255, 250, 240, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    max-width: fit-content;
}

.slide.active .hero-split-info {
    animation: slideReveal 1.2s forwards 0.2s;
}

.hero-content {
    max-width: 1200px;
    padding: 2rem;
    position: relative;
    z-index: 10;
}

.hero-split {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
    width: 100%;
}

.hero-split-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-split-info {
    flex: 1.2;
    text-align: left;
}

.hero-split-info .hero-lead {
    margin-left: 0;
}

.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.hero-cta-group .cta-button {
    margin-left: 0;
}

.sub-title {
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: clamp(4px, 1vw, 8px);
    font-size: clamp(0.7rem, 1.2vh, 1rem);
    margin-bottom: 0.5rem;
    opacity: 0;
}

.main-title {
    font-size: clamp(2.5rem, 7vh, 5.5rem);
    margin: 0.2rem 0 1rem 0;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    line-height: 1.1;
    background: linear-gradient(180deg, #fff 0%, #fff 40%, var(--primary-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3));
    opacity: 0;
}

.hero-lead {
    font-size: clamp(1rem, 2vh, 1.35rem);
    color: var(--text-dim);
    margin-bottom: 1rem;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
}

.renovation-badge {
    display: inline-block;
    padding: 0.6rem 2rem;
    border: 1px solid rgba(255, 153, 51, 0.3);
    color: var(--accent-saffron);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    border-radius: 50px;
    background: rgba(255, 153, 51, 0.05);
    backdrop-filter: blur(5px);
    opacity: 0;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    margin-top: 1rem;
    vertical-align: middle;
    margin-left: 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    border: 1px solid var(--primary-gold);
    border-radius: 50px;
    vertical-align: middle;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

/* Divine Glimpse Card Style */
.divine-glimpse-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: clamp(1rem, 3vh, 2.5rem);
    opacity: 0;
}

.slide.active .divine-glimpse-wrap {
    animation: slideReveal 1s forwards 0.2s;
}

.divine-glimpse-card {
    width: clamp(180px, 15vw, 240px);
    height: clamp(280px, 25vh, 360px);
    border-radius: 120px 120px 20px 20px;
    /* Sacred Arch */
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(212, 175, 55, 0.1) inset;
    background: #000;
}

.glimpse-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.divine-glimpse-card:hover .glimpse-img {
    transform: scale(1.12);
}

.glimpse-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.8) 0%, transparent 100%);
    pointer-events: none;
}

.cta-button:hover {
    background: var(--primary-gold);
    color: #000;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transition: 0.6s;
}

.cta-button:hover::after {
    left: 100%;
}

/* Slide Entrance Animations */
.slide.active .sub-title {
    animation: slideReveal 1s forwards 0.3s;
}

.slide.active .main-title {
    animation: slideReveal 1s forwards 0.5s;
}

.slide.active .hero-lead {
    animation: slideReveal 1s forwards 0.7s;
}

.slide.active .renovation-badge {
    animation: slideReveal 1s forwards 0.9s;
}

.slide.active .cta-button {
    animation: slideReveal 1s forwards 1.1s;
}

/* Billboard Entrance Stagger */
.festival-header,
.fest-main-header,
.fest-meta-wrap,
.fest-schedule-mini,
.billboard-footer {
    opacity: 0;
}

.slide.active .festival-header {
    animation: slideReveal 1s forwards 0.3s;
}

.slide.active .fest-main-header {
    animation: slideReveal 1s forwards 0.5s;
}

.slide.active .fest-meta-wrap {
    animation: slideReveal 1s forwards 0.7s;
}

.slide.active .fest-schedule-mini {
    animation: slideReveal 1s forwards 0.9s;
}

.slide.active .billboard-footer {
    animation: slideReveal 1s forwards 1.1s;
}

@keyframes slideReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0px);
    }
}

/* Aura Section (Eternal Flame) */
.aura-section {
    padding: 10rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.lamp-container {
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.flame {
    width: 30px;
    height: 50px;
    background: radial-gradient(ellipse at bottom, var(--accent-saffron) 0%, #ff4500 90%);
    border-radius: 50% 50% 20% 20%;
    filter: blur(1px);
    animation: flicker 0.5s infinite alternate ease-in-out;
    box-shadow: 0 0 40px var(--accent-saffron);
    margin: 0 auto;
}

.lamp-base {
    width: 60px;
    height: 20px;
    background: var(--primary-gold);
    border-radius: 50% 50% 10px 10px;
    margin-top: -5px;
}

/* Gallery Section */
.gallery-section {
    padding: 8rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
}

.gallery-item {
    aspect-ratio: 1/1;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--glass-border);
    transition: all 0.5s var(--transition-slow);
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) blur(5px);
    transition: all 0.8s ease;
}

.gallery-item:hover img {
    filter: grayscale(0) blur(2px);
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 0%, var(--deep-indigo) 150%);
    pointer-events: none;
}

/* Glass Section */
.glass-section {
    padding: 10rem 0;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-10px);
}

.revelation-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.card-image-wrapper {
    position: relative;
    height: 500px;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 4rem;
}

.card-content h3 {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
}

.quote {
    margin-top: 2rem;
    font-style: italic;
    color: var(--text-dim);
    border-left: 2px solid var(--primary-gold);
    padding-left: 1.5rem;
}

/* Renovation Section */
.renovation-section {
    padding: 8rem 0;
    background: linear-gradient(to bottom, transparent, rgba(212, 175, 55, 0.05), transparent);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.accent-line {
    width: 80px;
    height: 3px;
    background: var(--primary-gold);
    margin: 0 auto;
}

.renovation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
}

.renovation-item {
    padding: 3rem 2rem;
    text-align: center;
}

.status-icon {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
}

.renovation-item h4 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.progress-showcase {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
}

.showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-caption {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    padding: 1.5rem 2.5rem;
    max-width: 400px;
}

/* Location Section */
.location-section {
    padding: 10rem 0;
}

.location-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.location-info h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.address-box {
    margin: 2rem 0;
    padding: 1.5rem;
    border-left: 1px solid var(--primary-gold);
}

.map-link {
    display: inline-block;
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: 0.3s;
}

.map-link:hover {
    border-bottom-color: var(--primary-gold);
}

.map-preview {
    height: 400px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--glass-border);
    background: rgba(10, 10, 15, 0.4);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.temple-map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: contrast(1.1) brightness(0.7) sepia(0.2) grayscale(0.2);
    transition: all 0.5s ease;
}

.map-preview:hover .temple-map-iframe {
    filter: contrast(1) brightness(1) sepia(0) grayscale(0);
}

.map-preview::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.6);
    background: linear-gradient(to top, rgba(10, 10, 15, 0.2), transparent);
}

/* Footer */
.main-footer {
    padding: 6rem 0 3rem;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.footer-brand {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.domain-footer {
    margin: 2rem 0;
    font-size: 1.5rem;
    opacity: 0.3;
    letter-spacing: 5px;
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* Arathi Cursor Effect */
.arathi-cursor {
    position: fixed;
    width: 80px;
    height: 80px;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    /* Centered for JS-based radius offsets */
    display: flex;
    justify-content: center;
    align-items: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.arathi-cursor.visible {
    opacity: 1;
    visibility: visible;
}

.arathi-flame {
    position: absolute;
    width: 8px;
    height: 16px;
    background: radial-gradient(ellipse at bottom, var(--accent-saffron) 0%, #ff4500 100%);
    border-radius: 50% 50% 20% 20%;
    filter: blur(0.5px);
    animation: flicker 0.4s infinite alternate ease-in-out, arathiFloat 2s infinite ease-in-out;
    box-shadow: 0 0 15px var(--accent-saffron);
    transform: translateX(-50%);
}

.arathi-stand {
    position: absolute;
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, #8a6d3b, var(--primary-gold), #8a6d3b);
    border-radius: 50% 50% 5px 5px;
    bottom: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.arathi-stand::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 20px;
    background: var(--primary-gold);
    clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
    top: 8px;
}

/* Evenly distribute 5 flames */
.arathi-flame:nth-child(2) {
    left: 10%;
    bottom: 8px;
    animation-delay: 0.1s;
}

.arathi-flame:nth-child(3) {
    left: 30%;
    bottom: 15px;
    animation-delay: 0.3s;
}

.arathi-flame:nth-child(4) {
    left: 50%;
    bottom: 22px;
    animation-delay: 0.0s;
    width: 10px;
    height: 20px;
    box-shadow: 0 0 25px var(--primary-gold);
}

.arathi-flame:nth-child(5) {
    left: 70%;
    bottom: 15px;
    animation-delay: 0.2s;
}

.arathi-flame:nth-child(6) {
    left: 90%;
    bottom: 8px;
    animation-delay: 0.4s;
}

.arathi-cursor.active .arathi-flame {
    height: 25px;
    width: 12px;
    box-shadow: 0 0 30px var(--primary-gold);
}

/* Mouse Glow Effect Removed */

/* Audio Toggle Button */
.audio-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.audio-toggle:hover {
    background: var(--primary-gold);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.sound-waves {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 15px;
}

.sound-waves span {
    width: 2px;
    height: 100%;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.audio-toggle.playing .sound-waves span {
    animation: wave 1s infinite alternate ease-in-out;
}

.audio-toggle.playing .sound-waves span:nth-child(2) {
    animation-delay: 0.2s;
}

.audio-toggle.playing .sound-waves span:nth-child(3) {
    animation-delay: 0.4s;
}

.audio-toggle.playing .sound-waves span:nth-child(4) {
    animation-delay: 0.6s;
}

@keyframes wave {
    0% {
        transform: scaleY(0.3);
    }

    100% {
        transform: scaleY(1);
    }
}

.audio-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .audio-toggle {
        bottom: 20px;
        right: 20px;
        padding: 10px 15px;
    }

    .audio-label {
        display: none;
    }
}

@media (max-width: 968px) {
    .main-title {
        font-size: 2.5rem;
        line-height: 1.4;
    }

    .glass-nav {
        padding: 1rem 1.5rem;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--deep-indigo);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1050;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        margin: 1.5rem 0;
        font-size: 1.2rem;
    }

    .lang-switcher {
        margin: 3rem 0 0 0;
        gap: 20px;
    }

    .lang-btn {
        font-size: 1.1rem;
        padding: 10px 20px;
    }

    .revelation-card {
        grid-template-columns: 1fr;
    }

    .renovation-grid {
        grid-template-columns: 1fr;
    }

    .location-layout {
        grid-template-columns: 1fr;
    }
}

/* Festival Billboard Section */
.festival-banner-section {
    padding: 8rem 0;
    background: radial-gradient(circle at center, #0a2312 0%, var(--deep-indigo) 100%);
    position: relative;
    overflow: hidden;
}

.festival-banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(212,175,55,0.15)"/></svg>');
    opacity: 0.5;
}

.banner-glass-container {
    max-width: 1100px;
    margin: 0 auto;
    background: linear-gradient(145deg, rgba(20, 25, 20, 0.9) 0%, rgba(10, 10, 15, 0.98) 100%);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    padding: 5rem 3rem;
    text-align: center;
    position: relative;
    box-shadow: 0 50px 120px rgba(0, 0, 0, 0.8), 0 0 40px rgba(212, 175, 55, 0.1) inset;
    z-index: 10;
}

.banner-accent-top,
.banner-accent-bottom {
    position: absolute;
    left: 5%;
    right: 5%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    box-shadow: 0 0 20px var(--primary-gold);
}

.banner-accent-top {
    top: 0;
}

.banner-accent-bottom {
    bottom: 0;
}

.festival-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 1rem;
}

.banner-lamp {
    transform: scale(0.7);
    filter: drop-shadow(0 0 15px var(--accent-saffron));
}

.festival-title {
    font-size: clamp(0.9rem, 1.5vh, 1.5rem);
    /* Scaled by viewport height */
    color: var(--accent-saffron);
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.fest-deity-title {
    font-size: clamp(2rem, 2vw, 3rem);
    margin-bottom: clamp(1rem, 2vh, 2.5rem);
    background: linear-gradient(to bottom, #fff 20%, var(--primary-gold) 60%, var(--accent-saffron) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.fest-date-badge {
    display: inline-flex;
    flex-direction: column;
    padding: clamp(1rem, 2vh, 2rem) clamp(2rem, 5vw, 5rem);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 20px;
    margin-bottom: clamp(1.5rem, 3vh, 4rem);
    background: rgba(212, 175, 55, 0.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.fest-day {
    font-size: 0.75rem;
    color: var(--accent-saffron);
    margin-bottom: 0.8rem;
    font-weight: 300;
}

.fest-date {
    font-size: 0.75rem;
    font-weight: 700;
    font-family: 'Cinzel', serif;
    color: var(--text-main);
}

.fest-timer-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    margin: 0rem 0;
}

.timer-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 0.45rem;
    border-radius: 12px;
}

.timer-item span {
    font-size: clamp(1.2rem, 2.5vh, 1.8rem);
    color: var(--primary-gold);
}

.timer-item label {
    font-size: 0.6rem;
    text-transform: uppercase;
}

.fest-schedule-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: left;
}

.schedule-item {
    background: rgba(0, 0, 0, 0.4);
    padding: 2rem;
    border-radius: 20px;
    border-top: 2px solid rgba(212, 175, 55, 0.1);
    border-left: 4px solid var(--primary-gold);
    transition: transform 0.3s ease;
}

.schedule-item:hover {
    transform: translateX(5px);
}

.schedule-item.highlighted {
    background: linear-gradient(to right, rgba(212, 175, 55, 0.08), transparent);
    border-left-color: var(--accent-saffron);
}

.schedule-item time {
    display: block;
    font-size: 1rem;
    color: var(--accent-saffron);
    margin-bottom: 1rem;
    font-weight: 700;
    text-transform: uppercase;
}

.schedule-item span {
    font-size: 1.3rem;
    color: var(--text-main);
    line-height: 1.4;
}

@media (max-width: 968px) {
    .banner-glass-container {
        padding: 3rem 1.5rem;
        border-radius: 30px;
    }

    .fest-deity-title {
        font-size: clamp(1rem, 4.5vw, 1.8rem);
        line-height: 1.2;
    }

    .fest-date {
        font-size: 0.85rem;
    }

    .fest-date-badge {
        padding: 1rem;
        width: auto;
    }

    .fest-timer-grid {
        gap: 8px;
    }

    .timer-item {
        padding: 1rem;
    }

    .timer-item span {
        font-size: 1.5rem;
    }

    .festival-header {
        gap: 10px;
    }

    .schedule-item {
        padding: 1.2rem;
    }

    /* Billboard Specific Responsive Styles */
    .billboard-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .hero-festival-billboard {
        width: 95%;
        padding: 1.5rem 1rem;
        margin: 0.5rem auto;
        max-height: 85vh;
    }

    .mini-event {
        text-align: left;
    }

    .fest-meta-wrap {
        gap: 1rem;
        flex-direction: row;
        /* Force side-by-side even on mobile as per user request */
    }

    .hero-date-badge {
        position: relative;
        right: auto;
        top: auto;
        margin: 0;
        height: 65px;
        width: 112px;
        transform: rotate(0deg);
    }

    .logo {
        font-size: 1rem;
    }

    .hero-split {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .hero-split-info {
        text-align: center;
    }

    .hero-split-visual {
        justify-content: center;
    }

    .hero-cta-group {
        justify-content: center;
    }
}