/* Minimalist Floating Footer - Artist Template */

.site-footer {
    margin-top: auto;
    margin-bottom: 1.25rem !important;
}

.footer-floating-bar {
    pointer-events: auto;
    width: 100%;
    background: rgba(15, 23, 42, 0.75) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    padding: 0.4rem 1.5rem !important;
    color: #fff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
}

.footer-floating-bar:hover {
    background: rgba(15, 23, 42, 0.85) !important;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
}

/* Social Dock Buttons & Action Buttons */
.social-dock-btn, .footer-action-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-dock-btn:hover, .footer-action-btn:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    transform: translateY(-2px) scale(1.1);
    color: #fff !important;
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.footer-action-btn[aria-expanded="true"] {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #fff !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.25);
}

/* Modern Glass Dropdown & Floating Cards */
.glass-dropdown.footer-floating-card {
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    background-color: rgba(15, 23, 42, 0.92) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 1.25rem !important;
    min-width: 300px;
    max-width: 360px;
    box-shadow: 0 24px 48px -8px rgba(0, 0, 0, 0.55), 0 0 1px 1px rgba(255, 255, 255, 0.08) !important;
    overflow: hidden;
    margin-bottom: 12px !important;
    animation: slideUpPopup 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpPopup {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Card Header */
.footer-card-header {
    border-color: rgba(255, 255, 255, 0.08) !important;
    background: rgba(255, 255, 255, 0.02);
}

.footer-card-badge {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.15);
    font-size: 1.05rem;
    flex-shrink: 0;
}

.footer-card-title {
    color: #f8fafc;
    font-size: 0.92rem;
    letter-spacing: -0.01em;
}

.footer-card-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.72rem;
    font-weight: 500;
}

/* Action Rows */
.footer-card-actions {
    background: transparent;
}

.footer-action-row {
    color: #f8fafc !important;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-action-row:hover {
    background: rgba(59, 130, 246, 0.16) !important;
    border-color: rgba(59, 130, 246, 0.35) !important;
    transform: translateX(4px);
}

.footer-action-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.footer-action-row:hover .footer-action-icon {
    transform: scale(1.08);
}

.footer-action-label {
    font-size: 0.66rem;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.55);
}

.footer-action-val {
    font-size: 0.85rem;
    color: #f8fafc;
    line-height: 1.25;
}

.footer-action-chevron {
    color: rgba(255, 255, 255, 0.35);
    transition: transform 0.2s ease, color 0.2s ease;
}

.footer-action-row:hover .footer-action-chevron {
    color: #3b82f6;
    transform: translateX(2px);
}

/* Address Items */
.footer-card-addresses {
    border-color: rgba(255, 255, 255, 0.08) !important;
    background: rgba(0, 0, 0, 0.1);
}

.footer-address-item {
    line-height: 1.35;
}

.footer-address-icon {
    font-size: 0.9rem;
    flex-shrink: 0;
}

.footer-address-label {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.02em;
}

.footer-address-text {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.8rem;
}

/* Card Footer Note / Bio */
.footer-card-footer {
    border-color: rgba(255, 255, 255, 0.08) !important;
    background: rgba(0, 0, 0, 0.22);
}

.footer-quote-icon {
    font-size: 1.1rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.4) !important;
    flex-shrink: 0;
}

.footer-desc-text {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.78rem;
    line-height: 1.45;
    font-style: italic;
}

/* Copyright Card Specifics */
.footer-copyright-card .footer-copyright-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.82rem;
    line-height: 1.45;
}

.footer-copyright-card .footer-developer-text {
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.74rem;
}

.footer-copyright-card .footer-developer-text a {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 500;
}

.footer-copyright-card .footer-developer-text a:hover {
    text-decoration: underline;
}

/* Dark/Light Theme Support */
[data-bs-theme="light"] .footer-floating-bar {
    background: rgba(255, 255, 255, 0.75) !important;
    border-color: rgba(0, 0, 0, 0.08);
    color: #0f172a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

[data-bs-theme="light"] .footer-floating-bar:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(0, 0, 0, 0.14);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
}

[data-bs-theme="light"] .social-dock-btn,
[data-bs-theme="light"] .footer-action-btn {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.08);
    color: #1e293b;
}

[data-bs-theme="light"] .social-dock-btn:hover,
[data-bs-theme="light"] .footer-action-btn:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff !important;
}

[data-bs-theme="light"] .footer-action-btn[aria-expanded="true"] {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

[data-bs-theme="light"] .glass-dropdown.footer-floating-card {
    background-color: rgba(255, 255, 255, 0.96) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 24px 48px -8px rgba(15, 23, 42, 0.16), 0 0 1px 1px rgba(0, 0, 0, 0.04) !important;
}

[data-bs-theme="light"] .footer-card-header {
    border-color: rgba(0, 0, 0, 0.06) !important;
    background: rgba(0, 0, 0, 0.015);
}

[data-bs-theme="light"] .footer-card-badge {
    background: rgba(37, 99, 235, 0.1);
}

[data-bs-theme="light"] .footer-card-title {
    color: #0f172a;
}

[data-bs-theme="light"] .footer-card-subtitle {
    color: #64748b;
}

[data-bs-theme="light"] .footer-action-row {
    color: #0f172a !important;
    background: rgba(0, 0, 0, 0.025);
    border-color: rgba(0, 0, 0, 0.04);
}

[data-bs-theme="light"] .footer-action-row:hover {
    background: rgba(37, 99, 235, 0.08) !important;
    border-color: rgba(37, 99, 235, 0.25) !important;
}

[data-bs-theme="light"] .footer-action-label {
    color: #64748b;
}

[data-bs-theme="light"] .footer-action-val {
    color: #0f172a;
}

[data-bs-theme="light"] .footer-action-chevron {
    color: #94a3b8;
}

[data-bs-theme="light"] .footer-action-row:hover .footer-action-chevron {
    color: #2563eb;
}

[data-bs-theme="light"] .footer-card-addresses {
    border-color: rgba(0, 0, 0, 0.06) !important;
    background: rgba(0, 0, 0, 0.02);
}

[data-bs-theme="light"] .footer-address-label {
    color: #64748b;
}

[data-bs-theme="light"] .footer-address-text {
    color: #334155;
}

[data-bs-theme="light"] .footer-card-footer {
    border-color: rgba(0, 0, 0, 0.06) !important;
    background: rgba(0, 0, 0, 0.035);
}

[data-bs-theme="light"] .footer-quote-icon {
    color: #94a3b8 !important;
}

[data-bs-theme="light"] .footer-desc-text {
    color: #475569;
}

[data-bs-theme="light"] .footer-copyright-card .footer-copyright-text {
    color: #334155;
}

[data-bs-theme="light"] .footer-copyright-card .footer-developer-text {
    border-color: rgba(0, 0, 0, 0.06) !important;
    color: #64748b;
}

[data-bs-theme="light"] .footer-copyright-card .footer-developer-text a {
    color: #2563eb;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .footer-floating-bar {
        max-width: 95%;
        padding: 0.4rem 0.75rem !important;
        border-radius: 30px;
    }

    .glass-dropdown.footer-floating-card {
        min-width: calc(100vw - 32px);
        max-width: calc(100vw - 32px);
    }
}
