/* Public landing page animations and effects */

.landing-page {
    scroll-behavior: smooth;
}

.landing-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
    background: rgba(30, 27, 75, 0.88) !important;
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(167, 139, 250, 0.15);
}

.landing-nav-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.65rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.landing-nav-pill:hover,
.landing-nav-pill.active {
    background: rgba(167, 139, 250, 0.18);
    color: #fff !important;
}

.landing-mobile-panel {
    background: rgba(30, 27, 75, 0.98);
    border-top: 1px solid rgba(167, 139, 250, 0.2);
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
}

.landing-mobile-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.5rem;
    color: rgba(221, 214, 254, 0.95) !important;
    font-size: 0.9375rem;
    font-weight: 500;
}

.landing-mobile-link:hover {
    background: rgba(167, 139, 250, 0.15);
    color: #fff !important;
}

.landing-page main {
    padding-top: 0;
    min-height: 50vh;
}

.landing-section-light {
    background: #fff;
    color: #1f2937;
}

.landing-section-light .text-violet-950,
.landing-section-light h2,
.landing-section-light h3,
.landing-section-light h4 {
    color: #4c1d95 !important;
}

.landing-section-light .text-gray-600 {
    color: #4b5563 !important;
}

.landing-header.scrolled {
    background: rgba(46, 16, 101, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px rgba(76, 29, 149, 0.25);
}

.landing-donate-btn {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.45);
}

.landing-btn-ghost {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
}

.landing-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
}

.landing-btn-glow:hover {
    box-shadow: 0 0 24px rgba(167, 139, 250, 0.55);
}

.landing-hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.landing-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    animation: landingFloat 8s ease-in-out infinite;
}

.landing-shape-1 {
    width: 320px;
    height: 320px;
    background: rgba(255, 255, 255, 0.2);
    top: -80px;
    right: -40px;
}

.landing-shape-2 {
    width: 240px;
    height: 240px;
    background: rgba(167, 139, 250, 0.35);
    bottom: 10%;
    left: -60px;
    animation-delay: -3s;
}

.landing-shape-3 {
    width: 120px;
    height: 120px;
    background: rgba(245, 158, 11, 0.3);
    top: 40%;
    right: 20%;
    animation-delay: -5s;
}

@keyframes landingFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

.landing-float {
    animation: landingFloat 4s ease-in-out infinite;
}

.landing-hero-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.landing-hero-visual {
    position: relative;
}

.landing-hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: landingHeroCardIn 1s ease-out;
}

.landing-hero-slider {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    min-height: 320px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.landing-hero-slider-track {
    position: relative;
    width: 100%;
    min-height: 320px;
}

.landing-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.landing-hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.landing-hero-slide-img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
}

.landing-hero-slide-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(transparent, rgba(15, 5, 40, 0.85));
    color: #fff;
    font-weight: 600;
    font-size: 1.05rem;
}

.landing-hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(15, 5, 40, 0.45);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    z-index: 2;
}

.landing-hero-slider-btn:hover {
    background: rgba(124, 58, 237, 0.75);
}

.landing-hero-slider-btn.prev { left: 0.75rem; }
.landing-hero-slider-btn.next { right: 0.75rem; }

.landing-hero-slider-dots {
    position: absolute;
    bottom: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.45rem;
    z-index: 2;
}

.landing-hero-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 9999px;
    border: none;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    padding: 0;
}

.landing-hero-dot.active {
    background: #fff;
    transform: scale(1.15);
}

@media (min-width: 1024px) {
    .landing-hero-slider,
    .landing-hero-slider-track,
    .landing-hero-slide-img {
        min-height: 380px;
    }
}

@keyframes landingHeroCardIn {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.landing-section-alt {
    background: linear-gradient(180deg, rgba(237, 233, 254, 0.4) 0%, transparent 100%);
}

.landing-donate-section {
    background: linear-gradient(135deg, #4c1d95 0%, #6d28d9 50%, #7c3aed 100%);
    position: relative;
    overflow: hidden;
}

.landing-donate-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(245, 158, 11, 0.15), transparent 50%);
    pointer-events: none;
}

.landing-donate-icon {
    opacity: 0.9;
}

.landing-amount-chip {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-weight: 600;
    transition: all 0.2s ease;
}

.landing-amount-chip:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-2px);
}

.landing-sponsor-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    padding: 1.25rem;
    background: #fff;
    border-radius: 1rem;
    border: 1px solid rgba(124, 58, 237, 0.12);
    box-shadow: 0 4px 16px rgba(76, 29, 149, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.landing-sponsor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(76, 29, 149, 0.12);
}

.landing-leader-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.landing-leader-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(76, 29, 149, 0.12);
}

.landing-icon-pulse {
    animation: landingIconPulse 3s ease-in-out infinite;
}

@keyframes landingIconPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.2); }
    50% { box-shadow: 0 0 0 12px rgba(124, 58, 237, 0); }
}

.landing-stats-card {
    animation: landingStatsIn 0.8s ease-out;
}

@keyframes landingStatsIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.landing-reveal {
    opacity: 1;
    transform: translateY(0);
}

.landing-page.landing-js-ready .landing-reveal:not(.visible) {
    opacity: 0;
    transform: translateY(20px);
}

.landing-reveal.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.landing-reveal-delay {
    transition-delay: 0.15s;
}

.landing-social-icon {
    transition: transform 0.2s ease;
}

.landing-social-icon i {
    color: #fff;
    font-size: 1rem;
    line-height: 1;
    display: inline-block;
}

.landing-social-icon:hover {
    transform: scale(1.1);
}

/* Cookie consent */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 1rem;
    background: rgba(30, 15, 60, 0.97);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(167, 139, 250, 0.3);
    color: #fff;
    animation: slideUpBanner 0.4s ease-out;
}

.cookie-consent-banner.hidden {
    display: none;
}

@keyframes slideUpBanner {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.cookie-consent-inner {
    max-width: 72rem;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-consent-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.cookie-consent-message {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 42rem;
}

.cookie-consent-links a {
    color: #c4b5fd;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cookie-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s;
}

.cookie-btn:hover {
    opacity: 0.9;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
    color: #fff;
}

.cookie-btn-reject {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.cookie-btn-customize {
    background: transparent;
    color: #c4b5fd;
    border: 1px solid rgba(196, 181, 253, 0.4);
}

.cookie-settings-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.cookie-settings-modal.hidden {
    display: none;
}

.cookie-settings-panel {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    max-width: 28rem;
    width: 100%;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
    animation: modalIn 0.3s ease-out;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Legal pages */
.legal-body h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #4c1d95;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-body h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #5b21b6;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.legal-body p {
    margin-bottom: 0.75rem;
}

.legal-body ul {
    list-style: disc;
    margin-left: 1.25rem;
    margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
    .cookie-consent-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent-actions {
        justify-content: stretch;
    }

    .cookie-btn {
        flex: 1;
        text-align: center;
    }
}

/* Executive circle cards on landing */
.landing-exec-circle {
    width: 130px;
    text-align: center;
    flex-shrink: 0;
}

.landing-exec-avatar-ring {
    width: 96px;
    height: 96px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, #7c3aed, #a78bfa, #f59e0b);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.2);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.landing-exec-circle:hover .landing-exec-avatar-ring {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 12px 32px rgba(124, 58, 237, 0.28);
}

.landing-exec-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    display: block;
}

.landing-exec-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: #4c1d95;
    line-height: 1.3;
}

.landing-exec-position {
    font-size: 0.75rem;
    color: #7c3aed;
    font-weight: 500;
    margin-top: 0.2rem;
    line-height: 1.3;
}

/* Sponsor initials placeholder */
.landing-sponsor-initials {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    color: #5b21b6;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.landing-sponsor-initials-sm {
    width: 48px;
    height: 48px;
    font-size: 0.95rem;
}

/* Partners carousel */
.partners-carousel-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.partners-carousel-viewport {
    flex: 1;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}

.partners-carousel-track {
    display: flex;
    gap: 1rem;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.partners-carousel-slide {
    flex: 0 0 calc(33.333% - 0.67rem);
    min-width: 220px;
}

@media (max-width: 768px) {
    .partners-carousel-slide {
        flex: 0 0 calc(85% - 0.5rem);
        min-width: 200px;
    }
}

.partners-carousel-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.25rem;
    text-align: center;
    border: 1px solid rgba(124, 58, 237, 0.1);
    box-shadow: 0 4px 16px rgba(76, 29, 149, 0.06);
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.partners-carousel-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(76, 29, 149, 0.1);
}

.partners-carousel-btn {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(124, 58, 237, 0.2);
    background: #fff;
    color: #7c3aed;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.partners-carousel-btn:hover {
    background: #7c3aed;
    color: #fff;
}

.partners-carousel-track.auto-scroll {
    animation: partnersScroll 30s linear infinite;
}

@keyframes partnersScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Leaders & Patrons page */
.lp-leader-card {
    background: #fff;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(76, 29, 149, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lp-leader-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(76, 29, 149, 0.12);
}

.lp-leader-card-inner {
    display: flex;
    flex-direction: column;
}

@media (min-width: 640px) {
    .lp-leader-card-inner {
        flex-direction: row;
    }
}

.lp-leader-photo-wrap {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    max-width: 180px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 0;
}

@media (min-width: 640px) {
    .lp-leader-photo-wrap {
        padding: 1.5rem;
        margin: 0;
    }
}

.lp-leader-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    display: block;
    ring: 4px solid #ede9fe;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.15);
    border: 4px solid #ede9fe;
}

.lp-leader-badge {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    white-space: nowrap;
}

.lp-leader-badge-patron {
    background: #7c3aed;
    color: #fff;
}

.lp-leader-badge-exec {
    background: #f59e0b;
    color: #fff;
}

.lp-leader-body {
    padding: 1.25rem 1.5rem 1.5rem;
    flex: 1;
}

/* Public gallery album cards */
.public-gallery-album-card {
    display: block;
    background: linear-gradient(145deg, #faf5ff, #fff);
    border: 1px solid rgba(124, 58, 237, 0.12);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
}

.public-gallery-album-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(76, 29, 149, 0.1);
    border-color: rgba(124, 58, 237, 0.25);
}

.public-gallery-album-icon {
    width: 56px;
    height: 56px;
    background: #ede9fe;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* Documentary page */
.documentary-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.documentary-tab {
    padding: 0.65rem 1.25rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(124, 58, 237, 0.2);
    background: #fff;
    color: #5b21b6;
    transition: all 0.2s ease;
}

.documentary-tab.active {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}

.documentary-list-item {
    display: block;
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
}

.documentary-list-item:hover {
    background: #f5f3ff;
    border-color: rgba(124, 58, 237, 0.15);
}

.documentary-list-item.active {
    background: #ede9fe;
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: inset 3px 0 0 #7c3aed;
}

.documentary-viewer {
    min-height: 480px;
    background: #fafafa;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(124, 58, 237, 0.12);
}

.documentary-viewer iframe,
.documentary-viewer embed,
.documentary-viewer object {
    width: 100%;
    height: 100%;
    min-height: 480px;
    border: none;
    display: block;
}

.documentary-viewer video {
    width: 100%;
    max-height: 540px;
    background: #000;
}

.documentary-empty {
    min-height: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    text-align: center;
    padding: 2rem;
}

.documentary-panel.hidden {
    display: none;
}
