:root {
    --primary-dark: #022c22;
    --secondary-dark: #064e3b;
    --accent-gold: #fbbf24;
    --accent-gold-hover: #f59e0b;
    --text-light: #f3f4f6;
    --text-muted: #9ca3af;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-bg: #065f46;
    --success: #10b981;
    --danger: #ef4444;
    --pending: #f59e0b;
    --font-bn: 'Hind Siliguri', sans-serif;
    --font-en: 'Outfit', sans-serif;
    --shadow-premium: 0 10px 30px -5px rgba(0, 0, 0, 0.5), 0 8px 12px -6px rgba(0, 0, 0, 0.4);
    --container-max: 1400px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 20px;
    --spacing-lg: 32px;
}

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

body {
    background-color: var(--primary-dark);
    color: var(--text-light);
    font-family: var(--font-bn);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* For mobile views, keep it tight and responsive */
@media (max-width: 600px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
}

/* Developer Credit */
.dev-credit {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    font-size: 0.85rem;
}

.dev-credit a {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 700;
}

.hidden {
    display: none !important;
}

.custom-div-icon {
    position: relative;
    text-align: center;
}

.marker-pin {
    width: 30px;
    height: 30px;
    border-radius: 50% 50% 50% 0;
    position: absolute;
    transform: rotate(-45deg);
    left: 50%;
    top: 50%;
    margin: -15px 0 0 -15px;
    border: 2px solid white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.custom-div-icon i {
    position: absolute;
    width: 30px;
    font-size: 14px;
    color: white;
    left: 0;
    top: 6px;
    z-index: 10;
}

/* List Item Styles */
.location-card {
    background: linear-gradient(135deg, #065f46 0%, #064e3b 100%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow-premium);
}

.location-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--accent-gold);
}

.location-card p {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

/* Prayer Times Notification Badge */
.prayer-item.active {
    background: var(--accent-gold);
    color: var(--primary-dark);
    border-color: var(--accent-gold);
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.4);
}

.prayer-item.active .prayer-name {
    color: var(--primary-dark);
}

/* Visitor Counter in Admin */
.visitor-stat {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Responsive Grid for Desktop */
@media (min-width: 769px) {
    .main-grid-layout {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .hero-section .container {
        max-width: 800px;
    }

    .content-tabs .container {
        max-width: 1000px;
    }
}

/* Background Stars */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at center, #064e3b 0%, #022c22 100%);
    overflow: hidden;
}

.stars-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(1px 1px at 20px 30px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 40px 70px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 50px 160px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 90px 40px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 130px 80px, #fff, rgba(0, 0, 0, 0));
    background-size: 200px 200px;
    opacity: 0.3;
}

/* Typography Helpers */
.gold-text {
    color: var(--accent-gold);
}

.brand-name {
    font-family: var(--font-en);
    font-weight: 700;
    color: #fff;
}

.brand-name span {
    color: var(--accent-gold);
}

/* Header */
.main-header {
    background: rgba(2, 44, 34, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    padding: var(--spacing-sm) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
}

/* Hero & Countdown */
.hero-section {
    padding: var(--spacing-lg) 0;
}

.countdown-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--secondary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
    position: relative;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-premium);
    overflow: hidden;
}

.crescent-bg {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
}

#hero-moon {
    width: 100%;
    filter: drop-shadow(0 0 10px var(--accent-gold));
}

.countdown-content {
    position: relative;
    z-index: 1;
}

.countdown-content h2 {
    font-size: 1.1rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-family: var(--font-en);
}

.time-block {
    display: flex;
    flex-direction: column;
}

.time-block span {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.time-block small {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.time-divider {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--accent-gold);
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.stat-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.stat-value {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-gold);
    font-family: var(--font-en);
}

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

/* Tabs */
.tab-buttons {
    display: flex;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 20px;
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 10px;
    border-radius: 8px;
    font-family: var(--font-bn);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tab-btn.active {
    background: var(--accent-gold);
    color: var(--primary-dark);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

/* Map Area */
#map-container {
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--glass-border);
}

#main-map {
    height: 100%;
    width: 100%;
    z-index: 1;
}

.map-overlay {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
}

#map-legend {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    background: rgba(2, 44, 34, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) var(--spacing-md);
    box-shadow: var(--shadow-premium);
}

.legend-header {
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-items {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.8rem;
    color: white;
}

#map-container {
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--glass-border);
    margin-bottom: 20px;
}

#main-map {
    height: 100%;
    width: 100%;
    background: #011612;
}

@media (max-width: 600px) {
    #map-container {
        height: 350px;
    }
}

/* Forms & Inputs */
.form-group {
    margin-bottom: var(--spacing-md);
    flex: 1;
}

.form-row {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.form-row .form-group {
    min-width: 200px;
}

@media (max-width: 500px) {
    .form-row .form-group {
        min-width: 100%;
    }
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

input,
select,
textarea {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    color: #fff;
    padding: 12px;
    border-radius: 10px;
    width: 100%;
    margin-bottom: 15px;
    font-family: inherit;
}

/* List View Cards */
.location-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.location-card {
    background: var(--card-bg);
    border-radius: 18px;
    padding: 16px;
    border: 1px solid var(--glass-border);
    transition: transform 0.2s;
}

.card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.badge {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.badge-biryani { background: rgba(251, 191, 36, 0.2); color: var(--accent-gold); border: 1px solid rgba(251, 191, 36, 0.3); }
.badge-kacchi { background: rgba(217, 119, 6, 0.2); color: #d97706; border: 1px solid rgba(217, 119, 6, 0.3); }
.badge-khichuri { background: rgba(16, 185, 129, 0.2); color: var(--success); border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-muri { background: rgba(96, 165, 250, 0.2); color: #60a5fa; border: 1px solid rgba(96, 165, 250, 0.3); }
.badge-sehri { background: rgba(251, 191, 36, 0.3); color: #fbbf24; border: 1px solid var(--accent-gold); }
.badge-others { background: rgba(156, 163, 175, 0.2); color: var(--text-muted); border: 1px solid rgba(156, 163, 175, 0.3); }

.badge-verified {
    background: var(--success);
    color: white;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

/* Buttons */
.btn {
    padding: 12px 20px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-bn);
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-gold {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

.btn-gold:hover {
    background: var(--accent-gold-hover);
    transform: translateY(-2px);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    overflow-y: auto;
    padding: 20px;
}

/* When modal is opened via flex */
.modal[style*="flex"] {
    padding: 20px;
    align-items: flex-start;
    justify-content: center;
}

.modal-content {
    background: var(--secondary-dark);
    max-width: 550px;
    width: 100%;
    margin: 20px auto;
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    position: relative;
    border: 1px solid var(--accent-gold);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    animation: modalSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 24px;
    cursor: pointer;
}

#mini-map {
    height: 200px;
    border-radius: 12px;
    margin-bottom: 15px;
}

/* Verification Actions */
.verification-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-action {
    flex: 1;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-family: var(--font-bn);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-action.success:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: var(--success);
}

.btn-action.danger:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: var(--danger);
}

/* Toast Notifications */
#toast-container {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3000;
    width: calc(100% - 40px);
    max-width: 400px;
}

.toast {
    background: #1f2937;
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    border-left: 4px solid var(--accent-gold);
    animation: slideUp 0.3s ease-out;
}

.toast-error {
    border-left-color: var(--danger);
}

.toast-success {
    border-left-color: var(--success);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Skeleton Loading */
.skeleton-card {
    height: 180px;
    background: linear-gradient(90deg, #064e3b 25%, #065f46 50%, #064e3b 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 18px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Popups */
.popup-content {
    color: #1f2937;
    font-family: var(--font-bn);
}

.leaflet-popup-content-wrapper {
    border-radius: 12px;
}

/* Premium Prayer Times Card */
.prayer-card {
    background: rgba(6, 78, 59, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow-premium);
    margin-top: 10px;
}

.calendar-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--glass-border);
}

.calendar-header h3 {
    color: var(--accent-gold);
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.calendar-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.prayer-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prayer-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 16px 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 12px;
}

.prayer-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(251, 191, 36, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent-gold);
    font-size: 1rem;
}

.prayer-item.highlight {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(245, 158, 11, 0.1) 100%);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.prayer-item.highlight .prayer-icon {
    background: rgba(251, 191, 36, 0.2);
}

.prayer-item.next-prayer {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #f59e0b 100%);
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.35);
    border: none;
    transform: scale(1.02);
}

.prayer-item.next-prayer .prayer-name,
.prayer-item.next-prayer .prayer-time {
    color: #064e3b;
    font-weight: 700;
}

.prayer-item.next-prayer .prayer-icon {
    background: rgba(6, 78, 59, 0.2);
    color: #064e3b;
}

.next-badge {
    background: #064e3b;
    color: var(--accent-gold);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.prayer-name {
    font-size: 1rem;
    font-weight: 500;
    flex: 1;
}

.prayer-time {
    font-family: var(--font-en);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Animations for premium feel */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content:not(.hidden) {
    animation: slideUp 0.4s ease-out forwards;
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== Filter Chips (index.html list-view) ===== */
.chip-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 15px 18px;
    justify-content: safe center;
    /* Centering with overflow protection */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
    -webkit-overflow-scrolling: touch;
}

/* Center fix for responsive flexbox */
@media (max-width: 900px) {
    .chip-container {
        justify-content: flex-start;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Ensure chips don't look cramped on tiny screens */
@media (max-width: 400px) {

    .fchip,
    .dchip {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

.chip-container::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

/* Info Sections */
.info-section {
    padding: 60px 0;
    position: relative;
    border-top: 1px solid rgba(251, 191, 36, 0.05);
}

.info-section-title {
    text-align: center;
    margin-bottom: 40px;
}

.info-section-title h2 {
    font-size: 1.85rem;
    color: var(--accent-gold);
    margin-bottom: 8px;
    font-family: var(--font-bn);
}

.info-section-title div {
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    margin: 0 auto;
    border-radius: 10px;
    opacity: 0.6;
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.info-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.info-card:hover {
    border-color: rgba(251, 191, 36, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(251, 191, 36, 0.1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.info-card i {
    font-size: 2.2rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
    background: rgba(251, 191, 36, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.info-card:hover i {
    transform: rotate(10deg) scale(1.1);
}

.info-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: white;
    font-weight: 700;
}

.info-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 768px) {
    .info-section {
        padding: 40px 0;
    }

    .info-card {
        padding: 24px;
    }
}

.fchip,
.dchip {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-family: var(--font-bn);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.fchip:hover,
.dchip:hover {
    background: rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.4);
    color: var(--accent-gold);
}

.fchip.active,
.dchip.active {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #064e3b;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.35);
}

/* ===== Footer ===== */
.main-footer {
    background: linear-gradient(180deg, rgba(2, 26, 19, 0) 0%, rgba(2, 26, 19, 0.95) 20%);
    border-top: 1px solid rgba(251, 191, 36, 0.12);
    padding: 28px 0 20px;
    margin-top: 40px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    position: relative;
    padding-bottom: 2px;
    transition: color 0.2s;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-gold);
    transition: width 0.25s;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-links a:hover::after {
    width: 100%;
}

/* Global Notice Bar */
#global-notification-bar {
    background: linear-gradient(90deg, #064e3b, #065f46);
    border-bottom: 1px solid var(--accent-gold);
    color: white;
    padding: 6px 0;
    z-index: 1001;
    overflow: hidden;
    font-size: 0.85rem;
}

.notice-wrap {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    gap: 15px;
}

.notice-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    overflow: hidden;
}

.notice-wrap marquee {
    font-family: var(--font-bn);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--accent-gold);
}

.pulse-icon {
    animation: pulse 1.5s infinite;
    color: #fbbf24;
}

.notice-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Premium Footer */
.fb-btn {
    background: #1877f2;
    color: white !important;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.fb-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

/* Lush Green Map Filter — Vibrant & High Contrast */
.leaflet-tile-pane {
    filter: saturate(1.8) contrast(1.15) brightness(1.05) hue-rotate(-12deg);
}

@media (min-width: 992px) {
    body {
        overflow-x: hidden;
    }

    .container {
        max-width: var(--container-max);
        padding: 0 40px;
    }

    #main-map {
        height: 720px;
        border-radius: 32px;
        box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
    }

    .location-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 24px;
    }

    .chip-container {
        overflow-x: visible;
        flex-wrap: wrap;
    }
}

/* Prayer item flex fix */
.prayer-item {
    display: flex;
    align-items: center;
}

/* Eid Mode Theme Changes */
body.eid-mode {
    background: radial-gradient(circle at top, #065f46 0%, #022c22 100%);
}

body.eid-mode .hero-section {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
    border: 2px solid var(--accent-gold);
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.2);
}

body.eid-mode .gold-text {
    text-shadow: 0 0 15px rgba(251, 191, 36, 0.8);
}

body.eid-mode .countdown-card {
    background: rgba(255, 255, 255, 0.05);
}

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-gold);
    border-radius: 50%;
    filter: blur(1px);
    animation: sparkleAnim 2s infinite;
    opacity: 0;
}

@keyframes sparkleAnim {

    0%,
    100% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.8;
    }
}

/* Info Sections */
.info-section {
    padding: 60px 0;
}

.info-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 35px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.info-card h2 {
    color: var(--accent-gold);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
}

.info-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
    text-align: justify;
}

@media (max-width: 600px) {
    .info-card {
        padding: 20px;
    }

    .info-card h2 {
        font-size: 1.3rem;
    }

    .info-card p {
        font-size: 0.95rem;
    }
}