/**
 * Welfare Camps & Events Stylesheet
 * Complete Dual Theme Support: Light Mode (Default) & Dark Mode ([data-theme="dark"])
 * Integrates seamlessly with Amit Helpline Dashboard theme
 */

:root {
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-heading: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
    --camp-primary: #3b82f6;
    --camp-primary-hover: #2563eb;
}

/* ==========================================================================
   LIGHT THEME (Default)
   ========================================================================== */
body {
    font-family: var(--font-sans);
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) fixed !important;
    color: #0f172a;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    transition: background 0.3s ease, color 0.3s ease;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

body::after {
    content: '';
    position: fixed;
    bottom: 10%;
    right: 15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

/* Top Navbar */
.site-header {
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.site-brand-title {
    color: #0f172a !important;
    transition: color 0.3s ease;
}

.header-subtext {
    color: #64748b !important;
    transition: color 0.3s ease;
}

.btn-site-header-back {
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #334155 !important;
    transition: all 0.2s ease;
}

.btn-site-header-back:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}

/* Theme Toggle Button (Light Mode) */
.theme-toggle-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    color: #0284c7;
    font-size: 0.88rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    padding: 0;
    flex-shrink: 0;
}

.theme-toggle-btn:hover {
    background: #ffffff;
    color: #0369a1;
    transform: translateY(-1px);
    border-color: #38bdf8;
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.25);
}

/* Compact Hero Banner */
.camp-hero-modern {
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
    border-bottom: 1px solid #e2e8f0;
    color: #0f172a;
    padding: 22px 0 18px;
    position: relative;
    z-index: 1;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #dbeafe;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 9999px;
    letter-spacing: 0.02em;
}

.hero-sub-dot {
    color: #64748b;
}

.hero-headline {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
    font-size: 1.55rem;
    line-height: 1.25;
    margin-top: 6px;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.hero-sublead {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.45;
    margin-bottom: 0;
    max-width: 650px;
    transition: color 0.3s ease;
}

/* Controls (Search & Filter) */
.controls-wrapper {
    margin-top: 6px;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}

.search-input-modern {
    position: relative;
}

.search-input-modern i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.92rem;
}

.search-input-modern input {
    width: 100%;
    border-radius: 9999px;
    padding: 10px 18px 10px 42px;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    font-size: 0.90rem;
    color: #0f172a;
    transition: all 0.2s ease;
    height: 44px;
}

.search-input-modern input::placeholder {
    color: #94a3b8;
}

.search-input-modern input:focus {
    outline: none;
    background: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
    color: #0f172a;
}

/* Filter Chips with Smooth Horizontal Scroll */
.filter-scroll-track {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 0;
}

.filter-scroll-track::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    border-radius: 9999px;
    padding: 7px 18px;
    font-weight: 600;
    font-size: 0.84rem;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    cursor: pointer;
    transition: all 0.18s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.filter-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

.filter-btn.active {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
}

@media (max-width: 767.98px) {
    .controls-wrapper {
        margin-bottom: 26px !important;
    }
    .search-input-modern {
        margin-bottom: 6px;
    }
    .filter-scroll-track {
        margin-top: 4px;
        gap: 12px;
    }
    .filter-btn {
        padding: 8px 20px;
        font-size: 0.86rem;
    }
}

/* ==========================================================================
   Camp Cards (Light Mode Defaults)
   ========================================================================== */
.camp-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    transform: none !important;
}

.camp-card:hover {
    transform: none !important;
    background: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.15);
}

.camp-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 10;
}

.camp-card:hover::after {
    opacity: 1;
}

.camp-card.is-expired::after {
    background: linear-gradient(90deg, #94a3b8, #cbd5e1);
}

.camp-card.is-expired .camp-banner-img {
    filter: grayscale(40%) contrast(0.9);
    opacity: 0.85;
}

.camp-banner-wrapper {
    height: 195px;
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    line-height: 0;
    font-size: 0;
    margin-bottom: -1px;
}

.camp-banner-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    vertical-align: bottom;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: none !important;
}

.camp-card:hover .camp-banner-img {
    transform: none !important;
}

.camp-banner-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: -2px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, transparent 35%, rgba(255, 255, 255, 0.7) 82%, #ffffff 92%, #ffffff 100%);
    pointer-events: none;
    z-index: 2;
}

/* Frosted Badges on Banner */
.badge-camp-type {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

.badge-camp-type .type-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 5px #38bdf8;
}
.badge-camp-type.annual .type-dot { background: #f43f5e; box-shadow: 0 0 5px #f43f5e; }
.badge-camp-type.medical .type-dot { background: #10b981; box-shadow: 0 0 5px #10b981; }
.badge-camp-type.sports .type-dot { background: #f59e0b; box-shadow: 0 0 5px #f59e0b; }
.badge-camp-type.spiritual .type-dot { background: #8b5cf6; box-shadow: 0 0 5px #8b5cf6; }
.badge-camp-type.education .type-dot { background: #06b6d4; box-shadow: 0 0 5px #06b6d4; }
.badge-camp-type.kids .type-dot { background: #ec4899; box-shadow: 0 0 5px #ec4899; }

.badge-camp-fee {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 9999px;
    z-index: 5;
}

.badge-camp-fee.free {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    box-shadow: 0 3px 8px rgba(16, 185, 129, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge-camp-fee.paid {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #60a5fa;
    font-weight: 800;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(96, 165, 250, 0.4);
}

.badge-camp-fee.expired {
    background: rgba(30, 41, 59, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Card Content Area */
.camp-body {
    padding: 12px 14px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.camp-card-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.96rem;
    color: #0f172a;
    line-height: 1.32;
    letter-spacing: -0.01em;
    margin-bottom: 7px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.camp-card:hover .camp-card-title {
    color: #2563eb;
}

/* Structured Metadata List */
.camp-meta-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 8px;
}

.camp-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.meta-icon-bubble {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.70rem;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.camp-card:hover .meta-icon-bubble {
    transform: scale(1.06);
}

.date-bubble {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #dbeafe;
}

.loc-bubble {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fee2e2;
}

.meta-text-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    min-width: 0;
    flex: 1;
}

.meta-date-text {
    font-size: 0.76rem;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
}

.meta-time-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.68rem;
    font-weight: 500;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 1px 5px;
    border-radius: 4px;
    white-space: nowrap;
}

.meta-time-badge i {
    font-size: 0.64rem;
    color: #64748b;
}

.meta-venue-text {
    font-size: 0.76rem;
    font-weight: 500;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Live Registration Countdown Bar */
.camp-countdown-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    padding: 4px 8px;
    font-size: 0.70rem;
    color: #0f172a;
    margin-bottom: 8px;
    width: 100%;
    transition: all 0.25s ease;
}

.camp-countdown-pill.is-urgent {
    background: #fffbeb;
    border-color: #fde68a;
    color: #b45309;
}

.camp-countdown-pill.is-live {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #047857;
}

.camp-countdown-pill.is-expired {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #64748b;
}

.cd-info-group {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.cd-info-group i {
    font-size: 0.68rem;
    color: #94a3b8;
}

.countdown-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    flex-shrink: 0;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: cd-pulse-green 1.8s infinite;
}

.camp-countdown-pill.is-urgent .countdown-pulse-dot {
    background: #f59e0b;
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
    animation: cd-pulse-amber 1.5s infinite;
}

.camp-countdown-pill.is-live .countdown-pulse-dot {
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.8);
    animation: cd-pulse-green 1.2s infinite;
}

@keyframes cd-pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 5px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes cd-pulse-amber {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 5px rgba(245, 158, 11, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.countdown-label {
    font-size: 0.68rem;
    font-weight: 600;
    color: #475569;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.countdown-digits {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-family: 'SFMono-Regular', Menlo, Monaco, Consolas, monospace;
    font-variant-numeric: tabular-nums;
    font-size: 0.71rem;
    white-space: nowrap;
}

.cd-box {
    display: inline-flex;
    align-items: baseline;
    gap: 1px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 0 4px;
    border-radius: 3px;
    font-weight: 700;
    color: #0f172a;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.camp-countdown-pill.is-urgent .cd-box {
    background: #ffffff;
    border-color: #fde68a;
    color: #b45309;
}

.camp-countdown-pill.is-live .cd-box {
    background: #ffffff;
    border-color: #a7f3d0;
    color: #047857;
}

.cd-num {
    font-weight: 700;
}

.cd-unit {
    font-size: 0.60rem;
    color: #64748b;
    font-weight: 600;
}

.badge-status-concluded {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 1px 6px;
    border-radius: 9999px;
    background: #f1f5f9;
    color: #64748b;
}

/* Feature Chips */
.camp-chips-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}

.camp-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.66rem;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 9999px;
    letter-spacing: 0.01em;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.camp-chip:hover {
    transform: translateY(-1px);
}

.camp-chip-dance {
    background: #f5f3ff;
    color: #6d28d9;
    border: 1px solid #ddd6fe;
}

.camp-chip-dress {
    background: #fff1f2;
    color: #be123c;
    border: 1px solid #fecdd3;
}

.camp-chip-lucky {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}

.camp-chip-kit {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.camp-chip-sing {
    background: #ecfeff;
    color: #0e7490;
    border: 1px solid #a5f3fc;
}

.camp-chip-art {
    background: #fdf4ff;
    color: #a21caf;
    border: 1px solid #f0abfc;
}

.camp-chip-speech {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.camp-chip-other {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
}

/* Description */
.camp-description {
    font-size: 0.76rem;
    color: #64748b;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

/* Footer & Actions */
.camp-footer {
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.attendees-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.70rem;
    font-weight: 600;
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 2px 8px;
    border-radius: 9999px;
    letter-spacing: 0.01em;
}

.attendees-pill .live-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #10b981;
    display: inline-block;
    animation: cd-pulse-green 2s infinite;
}

.btn-register-action {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: #ffffff;
    border-radius: 7px;
    padding: 5px 13px;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.01em;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    border: none;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-register-action i {
    transition: transform 0.2s ease;
}

.btn-register-action:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.5);
    transform: translateY(-1px);
}

.btn-register-action:hover i {
    transform: translateX(2px);
}

.btn-voting-action {
    background: #f5f3ff;
    color: #6d28d9;
    border: 1px solid #ddd6fe;
    padding: 4px 10px;
    border-radius: 7px;
    font-size: 0.74rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-voting-action:hover {
    background: #7c3aed;
    color: #ffffff;
    border-color: #7c3aed;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}

.btn-expired-action {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
    padding: 4px 10px;
    border-radius: 7px;
    font-size: 0.74rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-expired-action:hover {
    background: #e2e8f0;
    color: #0f172a;
    border-color: #cbd5e1;
}

/* Empty State Card */
.empty-camps-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    color: #0f172a;
}
.empty-camps-icon { color: #3b82f6; }
.empty-camps-title { color: #0f172a; }
.empty-camps-sub { color: #64748b; }

/* Footer Marquee Section (Light) */
footer.footer-marquee-section,
.footer-marquee-section {
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
    color: #64748b !important;
    margin-top: auto;
}

.footer-marquee-section .footer-link {
    color: #2563eb !important;
    text-decoration: none;
}

.footer-marquee-section .footer-link:hover {
    color: #1d4ed8 !important;
    text-decoration: underline;
}

/* ==========================================================================
   DARK THEME OVERRIDES (data-theme="dark")
   ========================================================================== */
[data-theme="dark"] body {
    background: linear-gradient(135deg, #090d16 0%, #0d1527 35%, #0f172a 70%, #070a12 100%) fixed !important;
    color: #f1f5f9 !important;
}

[data-theme="dark"] body::before {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.09) 0%, transparent 70%);
    opacity: 1;
}

[data-theme="dark"] body::after {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.07) 0%, transparent 70%);
    opacity: 1;
}

[data-theme="dark"] .site-header {
    background: rgba(15, 23, 42, 0.92) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="dark"] .site-brand-title {
    color: #f8fafc !important;
}

[data-theme="dark"] .header-subtext {
    color: #94a3b8 !important;
}

[data-theme="dark"] .btn-site-header-back {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #e2e8f0 !important;
}

[data-theme="dark"] .btn-site-header-back:hover {
    background: rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

[data-theme="dark"] .theme-toggle-btn {
    border-color: rgba(255, 255, 255, 0.14) !important;
    background: rgba(30, 41, 59, 0.9) !important;
    color: #fbbf24 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .theme-toggle-btn:hover {
    background: rgba(51, 65, 85, 0.95) !important;
    color: #fde047 !important;
    border-color: rgba(251, 191, 36, 0.5) !important;
    box-shadow: 0 0 16px rgba(251, 191, 36, 0.35) !important;
}

[data-theme="dark"] .camp-hero-modern {
    background: linear-gradient(180deg, rgba(13, 21, 39, 0.8) 0%, rgba(9, 13, 22, 0.4) 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .hero-chip {
    background: rgba(59, 130, 246, 0.14) !important;
    border-color: rgba(96, 165, 250, 0.3) !important;
    color: #93c5fd !important;
}

[data-theme="dark"] .hero-sub-dot {
    color: rgba(255, 255, 255, 0.5) !important;
}

[data-theme="dark"] .hero-headline {
    color: #f8fafc !important;
}

[data-theme="dark"] .hero-sublead {
    color: #94a3b8 !important;
}

[data-theme="dark"] .search-input-modern input {
    background: #131b2e !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .search-input-modern input::placeholder {
    color: #64748b !important;
}

[data-theme="dark"] .search-input-modern input:focus {
    background: #19233c !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .search-input-modern i {
    color: #64748b !important;
}

[data-theme="dark"] .filter-btn {
    background: #131b2e !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #94a3b8 !important;
}

[data-theme="dark"] .filter-btn:hover {
    background: #19233c !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .filter-btn.active {
    background: #3b82f6 !important;
    color: #ffffff !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.45) !important;
}

[data-theme="dark"] .camp-card {
    background: #131b2e !important;
    border: 1.5px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
}

[data-theme="dark"] .camp-card:hover {
    background: #19233c !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 16px 36px rgba(59, 130, 246, 0.28) !important;
}

[data-theme="dark"] .camp-banner-wrapper {
    background-color: #131b2e !important;
}

[data-theme="dark"] .camp-card:hover .camp-banner-wrapper {
    background-color: #19233c !important;
}

[data-theme="dark"] .camp-banner-gradient {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, transparent 35%, rgba(19, 27, 46, 0.7) 78%, #131b2e 90%, #131b2e 100%) !important;
}

[data-theme="dark"] .camp-card:hover .camp-banner-gradient {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, transparent 35%, rgba(25, 35, 60, 0.7) 78%, #19233c 90%, #19233c 100%) !important;
}

[data-theme="dark"] .camp-card-title {
    color: #f8fafc !important;
}

[data-theme="dark"] .camp-card:hover .camp-card-title {
    color: #60a5fa !important;
}

[data-theme="dark"] .date-bubble {
    background: rgba(59, 130, 246, 0.15) !important;
    color: #60a5fa !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
}

[data-theme="dark"] .loc-bubble {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #f87171 !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
}

[data-theme="dark"] .meta-date-text {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .meta-time-badge {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #94a3b8 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .meta-venue-text {
    color: #94a3b8 !important;
}

[data-theme="dark"] .camp-countdown-pill {
    background: rgba(11, 17, 33, 0.85) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .countdown-label {
    color: #94a3b8 !important;
}

[data-theme="dark"] .cd-box {
    background: #1e293b !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .cd-unit {
    color: #94a3b8 !important;
}

[data-theme="dark"] .badge-status-concluded {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #94a3b8 !important;
}

[data-theme="dark"] .camp-chip-dance {
    background: rgba(124, 58, 237, 0.2) !important;
    color: #c4b5fd !important;
    border-color: rgba(167, 139, 250, 0.3) !important;
}

[data-theme="dark"] .camp-chip-dress {
    background: rgba(225, 29, 72, 0.2) !important;
    color: #fda4af !important;
    border-color: rgba(251, 113, 133, 0.3) !important;
}

[data-theme="dark"] .camp-chip-lucky {
    background: rgba(245, 158, 11, 0.2) !important;
    color: #fde68a !important;
    border-color: rgba(252, 211, 77, 0.3) !important;
}

[data-theme="dark"] .camp-chip-kit {
    background: rgba(16, 185, 129, 0.2) !important;
    color: #6ee7b7 !important;
    border-color: rgba(110, 231, 183, 0.3) !important;
}

[data-theme="dark"] .camp-chip-sing {
    background: rgba(6, 182, 212, 0.2) !important;
    color: #67e8f9 !important;
    border-color: rgba(103, 232, 249, 0.3) !important;
}

[data-theme="dark"] .camp-chip-art {
    background: rgba(217, 70, 239, 0.2) !important;
    color: #f0abfc !important;
    border-color: rgba(240, 171, 252, 0.3) !important;
}

[data-theme="dark"] .camp-chip-speech {
    background: rgba(59, 130, 246, 0.2) !important;
    color: #93c5fd !important;
    border-color: rgba(147, 197, 253, 0.3) !important;
}

[data-theme="dark"] .camp-chip-other {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #cbd5e1 !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

[data-theme="dark"] .camp-description {
    color: #94a3b8 !important;
}

[data-theme="dark"] .camp-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .attendees-pill {
    background: rgba(16, 185, 129, 0.15) !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
    color: #34d399 !important;
}

[data-theme="dark"] .btn-voting-action {
    background: rgba(124, 58, 237, 0.18) !important;
    color: #c4b5fd !important;
    border-color: rgba(167, 139, 250, 0.35) !important;
}

[data-theme="dark"] .btn-expired-action {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #94a3b8 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] .btn-expired-action:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #f1f5f9 !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

[data-theme="dark"] .empty-camps-card {
    background: #131b2e !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .empty-camps-icon { color: #60a5fa !important; }
[data-theme="dark"] .empty-camps-title { color: #f8fafc !important; }
[data-theme="dark"] .empty-camps-sub { color: #94a3b8 !important; }

[data-theme="dark"] footer.footer-marquee-section,
[data-theme="dark"] .footer-marquee-section {
    background: #060911 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #94a3b8 !important;
}

[data-theme="dark"] .footer-marquee-section .footer-link {
    color: #60a5fa !important;
}

[data-theme="dark"] .footer-marquee-section .footer-link:hover {
    color: #93c5fd !important;
}

/* Mobile View Optimizations */
@media (max-width: 768px) {
    .camp-hero-modern {
        padding: 14px 0 12px;
    }

    .hero-headline {
        font-size: 1.25rem;
    }

    .hero-sublead {
        font-size: 0.76rem;
    }

    .camp-banner-wrapper {
        height: 118px;
    }

    .camp-body {
        padding: 10px 12px;
    }

    .camp-card-title {
        font-size: 0.92rem;
    }

    .camp-card {
        border-radius: 12px;
    }
}

@media (max-width: 576px) {
    .site-header {
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .site-header img {
        height: 32px !important;
    }

    .site-header h6 {
        font-size: 0.85rem !important;
    }

    .site-header .btn-sm {
        padding: 4px 8px !important;
        font-size: 0.72rem !important;
    }

    .theme-toggle-btn {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.8rem !important;
    }

    .controls-wrapper {
        margin-bottom: 14px;
    }
}

/* ==========================================================================
   Pagination Styling (3 Items Per Page, Dual Theme)
   ========================================================================== */
.camps-pagination-wrap {
    padding: 14px 20px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
}

.pagination-info {
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 500;
}

.pagination-info span {
    color: #0f172a;
    font-weight: 700;
}

.pagination-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.page-nav-btn {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.page-nav-btn:hover:not(:disabled) {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.page-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #94a3b8;
}

.page-num-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border-radius: 50%;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.page-num-btn:hover:not(.active) {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

.page-num-btn.active {
    background: #3b82f6 !important;
    color: #ffffff !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
}

/* Dark Theme Pagination Overrides */
[data-theme="dark"] .camps-pagination-wrap {
    background: #131b2e !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
}

[data-theme="dark"] .pagination-info {
    color: #94a3b8 !important;
}

[data-theme="dark"] .pagination-info span {
    color: #f8fafc !important;
}

[data-theme="dark"] .page-nav-btn {
    background: #19233c !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #e2e8f0 !important;
}

[data-theme="dark"] .page-nav-btn:hover:not(:disabled) {
    background: #3b82f6 !important;
    border-color: #3b82f6 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.45) !important;
}

[data-theme="dark"] .page-nav-btn:disabled {
    opacity: 0.35 !important;
    background: #0f172a !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
    color: #64748b !important;
}

[data-theme="dark"] .page-num-btn {
    background: #19233c !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #e2e8f0 !important;
}

[data-theme="dark"] .page-num-btn:hover:not(.active) {
    background: #223050 !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
}

[data-theme="dark"] .page-num-btn.active {
    background: #3b82f6 !important;
    color: #ffffff !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.5);
}
