﻿/* ============================================
   SWEET TASKS - LUXURY CYBERPUNK GLASSMORPHISM FOOTER
   Theme Harmonized & Fully Responsive System
   ============================================ */

.footer {
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.98) 0%, rgba(11, 15, 28, 0.99) 45%, rgba(8, 12, 22, 1) 100%);
    border-top: 1px solid var(--border-cyber-subtle, rgba(37, 99, 235, 0.28));
    padding: 3.5rem 0 1.25rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    z-index: 10;
    box-sizing: border-box;
    width: 100%;
}

/* Ambient Top Light Glow */
.footer-ambient-glow {
    position: absolute;
    top: -50px;
    left: 20%;
    right: 20%;
    height: 120px;
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.28) 0%, rgba(6, 182, 212, 0.12) 45%, transparent 75%);
    filter: blur(35px);
    pointer-events: none;
    z-index: 0;
}

/* Main Grid Layout */
.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
    min-width: 0;
    box-sizing: border-box;
}

.footer-section {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* â”€â”€ 1. Brand Section â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.1rem;
    text-decoration: none;
    margin-bottom: 1rem;
    user-select: none;
    max-width: 100%;
}

.footer-brand .brand-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    margin-right: -2px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
}

.footer-brand .brand-icon .brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(37, 99, 235, 0.35));
}

.footer-brand .brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.08rem;
    line-height: 1;
}

.footer-brand .brand-name {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--text-white, #ffffff);
    background: var(--gradient-text-metallic, linear-gradient(135deg, #ffffff 15%, #f8fafc 50%, #93c5fd 100%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.02em;
    filter: drop-shadow(0 2px 8px rgba(37, 99, 235, 0.3));
}

.footer-brand .brand-tagline {
    font-size: 0.58rem;
    font-weight: 700;
    color: var(--text-cyan, #38bdf8);
    letter-spacing: 0.10em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 1px;
}

.footer-brand .brand-tagline::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 6px #10b981;
}

.footer-description {
    font-size: 0.80rem;
    color: var(--text-muted, #9ca3af);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    max-width: 320px;
    word-break: break-word;
}

.footer-trust-pills {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-secondary, #d1d5db);
    backdrop-filter: blur(10px);
}

.text-gold { color: #f5a524 !important; }
.text-cyan { color: #38bdf8 !important; }
.text-purple { color: #60a5fa !important; }
.text-emerald { color: #10b981 !important; }
.text-white { color: #ffffff !important; }

/* â”€â”€ 2. Link Columns â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.footer-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.03em;
    margin-bottom: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.footer-title::after {
    content: '';
    display: block;
    width: 18px;
    height: 2px;
    background: linear-gradient(180deg, #2563eb, #06b6d4);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(6, 182, 212, 0.5);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    font-size: 0.78rem;
    color: var(--text-muted, #9ca3af);
    text-decoration: none;
    transition: all 0.25s var(--ease-smooth, ease);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    position: relative;
}

.link-arrow {
    font-size: 0.55rem;
    color: #2563eb;
    transition: transform 0.25s ease, color 0.25s ease;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-links a:hover .link-arrow {
    color: #38bdf8;
    transform: translateX(2px);
}

.footer-badge.pro {
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    color: #ffffff;
    font-size: 0.55rem;
    font-weight: 900;
    padding: 2px 5px;
    border-radius: 4px;
    letter-spacing: 0.04em;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
    margin-left: 4px;
}

.admin-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 4px 10px !important;
    border-radius: 8px !important;
    background: rgba(37, 99, 235, 0.12) !important;
    border: 1px solid rgba(37, 99, 235, 0.28) !important;
    color: #93c5fd !important;
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    margin-top: 2px;
}

.admin-link .admin-ico {
    font-size: 0.72rem;
    color: #38bdf8;
    transition: color 0.2s ease;
}

.admin-link:hover {
    background: rgba(37, 99, 235, 0.22) !important;
    border-color: rgba(37, 99, 235, 0.55) !important;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.35) !important;
    transform: translateX(3px) !important;
}

.admin-link:hover .admin-ico {
    color: #38bdf8;
}

/* â”€â”€ 3. Community & Social Links â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.footer-social-text {
    font-size: 0.78rem;
    color: var(--text-muted, #9ca3af);
    line-height: 1.5;
    margin-bottom: 1rem;
    max-width: 260px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.footer-bottom-copy a {
    color: #38bdf8;
    text-decoration: none;
    font-weight: 600;
}

.social-link i {
    font-size: 0.88rem;
    transition: transform 0.25s ease;
    color: #ffffff;
}

.social-link:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.35) 0%, rgba(6, 182, 212, 0.25) 100%);
    border-color: rgba(37, 99, 235, 0.55);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35), 0 0 10px rgba(6, 182, 212, 0.25);
}

.social-link:hover i {
    transform: scale(1.1);
}

/* System Status Pill */
.footer-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.22);
    border-radius: 20px;
    font-size: 0.70rem;
    font-weight: 700;
    color: #34d399;
    margin-top: 1.15rem;
    width: fit-content;
}

.status-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: statusPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes statusPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.45;
        transform: scale(1.25);
    }
}

/* â”€â”€ 4. Footer Bottom Bar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 1.5rem;
    margin-top: 0.5rem;
    position: relative;
    z-index: 1;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.copyright-text {
    font-size: 0.74rem;
    color: var(--text-muted, #9ca3af);
    margin: 0;
    line-height: 1.5;
}

.footer-security-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.sec-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.66rem;
    color: var(--text-muted, #9ca3af);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 600;
}

.sec-badge i {
    font-size: 0.68rem;
    color: #2563eb;
}

/* ============================================
   RESPONSIVE FOOTER SYSTEM (ALL BREAKPOINTS)
   ============================================ */

/* â”€â”€â”€ 1. Tablet Landscape (<= 1024px) â”€â”€â”€ */
@media (max-width: 1024px) {
    .footer {
        padding: 3rem 0 1.25rem;
        margin-top: 3rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem 1.5rem;
    }

    .footer-description {
        max-width: 100%;
    }
}

/* â”€â”€â”€ 2. Tablet Portrait (<= 768px) â”€â”€â”€ */
@media (max-width: 768px) {
    .footer {
        padding: 2.5rem 0 1.25rem;
        margin-top: 2.5rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.75rem 1.25rem;
        margin-bottom: 2rem;
    }

    .footer-brand .brand-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }

    .footer-brand .brand-name {
        font-size: 1.20rem;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* â”€â”€â”€ 3. Mobile Devices (<= 680px) â”€â”€â”€ */
@media (max-width: 680px) {
    .footer {
        padding: 2rem 0 1rem;
        margin-top: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .footer-brand .brand-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }

    .footer-brand .brand-name {
        font-size: 1.15rem;
    }

    .footer-title {
        font-size: 0.84rem;
        margin-bottom: 0.85rem;
    }

    .footer-description {
        font-size: 0.74rem;
        margin-bottom: 0.85rem;
    }

    .trust-pill {
        font-size: 0.64rem;
        padding: 2px 7px;
    }

    .footer-links {
        gap: 0.55rem;
    }

    .footer-links a {
        font-size: 0.74rem;
    }

    .footer-social-text {
        font-size: 0.74rem;
        margin-bottom: 0.75rem;
    }

    .social-link {
        width: 32px;
        height: 32px;
        font-size: 0.80rem;
        border-radius: 8px;
    }

    .footer-status-pill {
        font-size: 0.66rem;
        padding: 5px 10px;
        margin-top: 0.85rem;
    }

    .copyright-text {
        font-size: 0.68rem;
    }

    .sec-badge {
        font-size: 0.62rem;
        padding: 2px 6px;
    }
}

/* â”€â”€â”€ 4. Ultra-Small Mobile (<= 380px) â”€â”€â”€ */
@media (max-width: 380px) {
    .footer {
        padding: 1.5rem 0 0.85rem;
        margin-top: 1.5rem;
    }

    .footer-brand .brand-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .footer-brand .brand-name {
        font-size: 1.05rem;
    }

    .footer-title {
        font-size: 0.80rem;
    }

    .footer-description {
        font-size: 0.70rem;
    }

    .social-link {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }

    .copyright-text {
        font-size: 0.64rem;
    }

    .sec-badge {
        font-size: 0.58rem;
    }
}

