/* AVP Ganga — footer (stable: content always visible, light motion only) */
#footer.footer-modern {
    --fm-bg: #0a0b10;
    --fm-surface: rgba(255, 255, 255, 0.04);
    --fm-border: rgba(255, 255, 255, 0.08);
    --fm-text: rgba(255, 255, 255, 0.72);
    --fm-heading: #fff;
    --fm-accent: var(--vr-theme-color, #2f3ba2);
    --fm-glow: color-mix(in srgb, var(--fm-accent) 45%, transparent);
    position: relative;
    margin-top: 100px;
    padding: 0;
    color: var(--fm-text);
    font-size: 0.9375rem;
    line-height: 1.65;
    overflow: hidden;
    background: var(--fm-bg);
}

#footer.footer-modern .footer-aurora {
    pointer-events: none;
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% -10%, var(--fm-glow), transparent 55%),
        radial-gradient(ellipse 60% 40% at 90% 10%, rgba(99, 102, 241, 0.12), transparent 50%),
        radial-gradient(ellipse 50% 30% at 50% 100%, rgba(16, 185, 129, 0.08), transparent 45%);
    animation: footerAuroraShift 14s ease-in-out infinite alternate;
}

@keyframes footerAuroraShift {
    0% { opacity: 0.85; transform: scale(1) translateY(0); }
    100% { opacity: 1; transform: scale(1.05) translateY(-8px); }
}

#footer.footer-modern .footer-grid-bg {
    pointer-events: none;
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--fm-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--fm-border) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), transparent 70%);
    opacity: 0.35;
}

#footer.footer-modern .footer-beam {
    position: absolute;
    top: 0;
    left: -40%;
    width: 40%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--fm-accent), transparent);
    animation: footerBeam 5s linear infinite;
    z-index: 2;
}

@keyframes footerBeam {
    0% { left: -40%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 140%; opacity: 0; }
}

#footer.footer-modern .footer-main {
    position: relative;
    z-index: 1;
    padding: 4.5rem 0 2.5rem;
}

#footer.footer-modern .footer-modern-row > [class*="col-"] {
    margin-bottom: 1.75rem;
}

@media (min-width: 992px) {
    #footer.footer-modern .footer-modern-row > [class*="col-"] {
        margin-bottom: 0;
    }
}

#footer.footer-modern .footer-brand-logo {
    display: inline-block;
    margin-bottom: 1.25rem;
    transition: transform 0.4s ease, filter 0.4s ease;
}

#footer.footer-modern .footer-brand-logo:hover {
    transform: translateY(-3px);
    filter: drop-shadow(0 8px 24px var(--fm-glow));
}

#footer.footer-modern .footer-brand-logo img {
    max-height: 56px;
    width: auto;
}

#footer.footer-modern .footer-about-text {
    margin: 0;
    max-width: 22rem;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    opacity: 1 !important;
    visibility: visible !important;
    color: var(--fm-text);
}

#footer.footer-modern .footer-col-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1.25rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fm-heading);
}

#footer.footer-modern .footer-col-title::before {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: var(--fm-accent);
}

#footer.footer-modern .footer-trend-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

#footer.footer-modern .footer-trend-item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 0.65rem;
    border-radius: 14px;
    background: var(--fm-surface);
    border: 1px solid transparent;
    transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
    opacity: 1 !important;
    visibility: visible !important;
}

#footer.footer-modern .footer-trend-item:hover {
    border-color: var(--fm-border);
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.06);
}

#footer.footer-modern .footer-trend-thumb {
    flex-shrink: 0;
    width: 72px;
    height: 52px;
    border-radius: 10px;
    overflow: hidden;
    background: #1a1a22;
}

#footer.footer-modern .footer-trend-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

#footer.footer-modern .footer-trend-item:hover .footer-trend-thumb img {
    transform: scale(1.08);
}

#footer.footer-modern .footer-trend-body {
    min-width: 0;
    flex: 1;
}

#footer.footer-modern .footer-trend-rank {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--fm-accent);
    margin-bottom: 0.15rem;
}

#footer.footer-modern .footer-trend-title {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.45;
}

#footer.footer-modern .footer-trend-title a {
    color: var(--fm-heading);
}

#footer.footer-modern .footer-trend-title a:hover {
    color: var(--fm-accent);
}

#footer.footer-modern .footer-trend-meta {
    margin: 0.25rem 0 0;
    font-size: 0.75rem;
    opacity: 0.65;
}

#footer.footer-modern .footer-newsletter-card {
    padding: 1.15rem;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--fm-border);
    position: relative;
    overflow: hidden;
}

#footer.footer-modern .footer-newsletter-card .description {
    margin-bottom: 0.85rem;
    font-size: 0.875rem;
}

#footer.footer-modern .footer-newsletter-inputs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

#footer.footer-modern .footer-newsletter-inputs input[type="email"] {
    flex: 1 1 160px;
    min-height: 44px;
    border-radius: 10px;
    border: 1px solid var(--fm-border);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    padding: 0.5rem 0.85rem;
}

#footer.footer-modern .footer-newsletter-inputs input[type="email"]:focus {
    outline: none;
    border-color: var(--fm-accent);
    box-shadow: 0 0 0 3px var(--fm-glow);
}

#footer.footer-modern .footer-newsletter-inputs .newsletter-button,
#footer.footer-modern .footer-newsletter-inputs .btn-custom {
    min-height: 44px;
    border-radius: 10px;
    padding: 0.5rem 1.1rem;
    white-space: nowrap;
}

#footer.footer-modern input[name="url"] {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
}

#footer.footer-modern .footer-modern-social {
    margin-top: 1.25rem;
}

#footer.footer-modern .footer-modern-social ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

#footer.footer-modern .footer-modern-social ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--fm-surface);
    border: 1px solid var(--fm-border);
    font-size: 1.05rem;
    color: #fff;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, box-shadow 0.3s ease;
}

#footer.footer-modern .footer-modern-social ul li a:hover {
    transform: translateY(-4px) scale(1.06);
    background: var(--fm-accent);
    box-shadow: 0 10px 28px var(--fm-glow);
    color: #fff;
}

#footer.footer-modern .footer-live-ticker {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--fm-border);
    border-bottom: 1px solid var(--fm-border);
    background: rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

#footer.footer-modern .footer-live-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.65rem 0;
}

#footer.footer-modern .footer-live-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    background: var(--fm-accent);
}

#footer.footer-modern .footer-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    animation: footerLiveBlink 1.2s ease-in-out infinite;
}

@keyframes footerLiveBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.85); }
}

#footer.footer-modern .footer-marquee-wrap {
    overflow: hidden;
    flex: 1;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

#footer.footer-modern .footer-marquee {
    display: flex;
    width: max-content;
    animation: footerMarquee 180s linear infinite;
}

#footer.footer-modern .footer-marquee:hover {
    animation-play-state: paused;
}

@keyframes footerMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

#footer.footer-modern .footer-marquee a {
    display: inline-block;
    padding: 0 3rem;
    white-space: nowrap;
    color: var(--fm-text);
    font-size: 0.875rem;
    font-weight: 500;
}

#footer.footer-modern .footer-marquee a:hover {
    color: var(--fm-accent);
}

#footer.footer-modern .footer-marquee a::before {
    content: "◆";
    margin-right: 0.65rem;
    font-size: 0.5rem;
    color: var(--fm-accent);
    vertical-align: middle;
}

#footer.footer-modern .footer-bottom {
    position: relative;
    z-index: 1;
    padding: 1.25rem 0 1.75rem;
    border-top: 1px solid var(--fm-border);
    backdrop-filter: blur(12px);
    background: rgba(0, 0, 0, 0.35);
}

#footer.footer-modern .footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

#footer.footer-modern .footer-bottom .copyright {
    margin: 0;
    font-size: 0.8125rem;
    opacity: 0.75;
}

#footer.footer-modern .footer-bottom .nav-footer ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
}

#footer.footer-modern .footer-bottom .nav-footer a {
    font-size: 0.8125rem;
    color: var(--fm-text);
    position: relative;
}

#footer.footer-modern .footer-bottom .nav-footer a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: var(--fm-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

#footer.footer-modern .footer-bottom .nav-footer a:hover {
    color: #fff;
}

#footer.footer-modern .footer-bottom .nav-footer a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

@media (max-width: 991px) {
    #footer.footer-modern .footer-main {
        padding: 3rem 0 2rem;
    }

    #footer.footer-modern .footer-bottom .nav-footer ul {
        justify-content: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    #footer.footer-modern .footer-aurora,
    #footer.footer-modern .footer-beam,
    #footer.footer-modern .footer-marquee,
    #footer.footer-modern .footer-live-dot {
        animation: none !important;
    }
}
