/* ============================================================
   SceneLink Unified Footer - Premium Design
   ============================================================ */

/* Reset any existing footer styles */
.footer-unified,
.footer-unified * {
    box-sizing: border-box;
}

.footer-unified {
    background: linear-gradient(180deg, #0a0a0a 0%, #111111 40%, #0d0d0d 100%);
    color: #c0c0c0;
    padding: 0;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Decorative top border */
.footer-unified::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(212, 175, 55, 0.1) 10%, 
        rgba(212, 175, 55, 0.6) 30%, 
        #D4AF37 50%, 
        rgba(212, 175, 55, 0.6) 70%, 
        rgba(212, 175, 55, 0.1) 90%, 
        transparent
    );
}

/* Subtle ambient glow */
.footer-unified::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 120px;
    background: radial-gradient(ellipse, rgba(212, 175, 55, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

/* ---- Newsletter Section ---- */
.footer-newsletter-bar {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0.03) 100%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    padding: 32px 0;
}

.footer-newsletter-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-newsletter-text {
    flex: 1;
    min-width: 240px;
}

.footer-newsletter-text h4 {
    color: #D4AF37;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 4px 0;
    letter-spacing: 0.3px;
}

.footer-newsletter-text p {
    color: #999;
    font-size: 14px;
    margin: 0;
}

.footer-newsletter-form {
    display: flex;
    gap: 10px;
    flex: 1;
    max-width: 440px;
}

.footer-newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.footer-newsletter-form input::placeholder {
    color: #777;
}

.footer-newsletter-form input:focus {
    border-color: #D4AF37;
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
}

.footer-newsletter-form button {
    padding: 12px 24px;
    background: linear-gradient(135deg, #D4AF37, #b8941f);
    border: none;
    border-radius: 10px;
    color: #111;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.footer-newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

/* ---- Main Footer Content ---- */
.footer-main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 32px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
    gap: 40px;
}

/* Brand Column */
.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-brand-col .footer-logo-link {
    display: inline-block;
    text-decoration: none;
}

.footer-brand-col .footer-logo-img {
    height: 100px;
    width: auto;
    max-height: 100px;
    min-height: 100px;
    object-fit: contain;
    filter: brightness(1.1);
    transition: filter 0.3s ease;
    display: block;
}

.footer-brand-col .footer-logo-link:hover .footer-logo-img {
    filter: brightness(1.3) drop-shadow(0 0 10px rgba(212, 175, 55, 0.4));
}

.footer-brand-tagline {
    color: #D4AF37;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0;
}

.footer-brand-desc {
    color: #888;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
    max-width: 2100px;
}

/* Social Icons */
.footer-social-icons {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.footer-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer-social-icons a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-social-icons a:hover {
    transform: translateY(-3px);
    border-color: transparent;
    color: #fff;
}

.footer-social-icons a.social-instagram:hover {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.footer-social-icons a.social-x:hover {
    background: #000;
    border-color: #333;
}

.footer-social-icons a.social-tiktok:hover {
    background: linear-gradient(135deg, #010101, #25f4ee, #fe2c55);
}

.footer-social-icons a.social-facebook:hover {
    background: #1877F2;
}

.footer-social-icons a.social-youtube:hover {
    background: #FF0000;
}

.footer-social-icons a i,
.footer-social-icons a svg {
    font-size: 18px;
    width: 18px;
    height: 18px;
    position: relative;
    z-index: 1;
}

/* App Store Badges */
.footer-app-badges {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.footer-app-badges a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
    text-decoration: none;
    font-size: 11px;
    transition: all 0.3s ease;
}

.footer-app-badges a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
    color: #fff;
}

.footer-app-badges a i {
    font-size: 20px;
}

.footer-app-badges .badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.footer-app-badges .badge-text small {
    font-size: 9px;
    color: #888;
}

.footer-app-badges .badge-text span {
    font-weight: 600;
    font-size: 12px;
}

/* Link Columns */
.footer-link-col h5 {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin: 0 0 18px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    position: relative;
}

.footer-link-col h5::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #D4AF37;
    border-radius: 2px;
}

.footer-link-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link-col ul li a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    padding-left: 0;
}

.footer-link-col ul li a::before {
    content: '';
    width: 0;
    height: 1px;
    background: #D4AF37;
    transition: width 0.3s ease;
    position: absolute;
    bottom: -2px;
    left: 0;
}

.footer-link-col ul li a:hover {
    color: #D4AF37;
    padding-left: 4px;
}

.footer-link-col ul li a:hover::before {
    width: 100%;
}

/* ---- Bottom Bar ---- */
.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 0;
}

.footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copyright {
    color: #666;
    font-size: 13px;
    margin: 0;
}

.footer-copyright a {
    color: #D4AF37;
    text-decoration: none;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #666;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.25s ease;
}

.footer-bottom-links a:hover {
    color: #D4AF37;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .footer-main-content {
        grid-template-columns: 1.2fr 1fr 1fr;
        gap: 32px;
    }
    .footer-brand-col {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer-newsletter-inner {
        flex-direction: column;
        text-align: center;
    }
    .footer-newsletter-form {
        max-width: 100%;
        width: 100%;
    }
    .footer-main-content {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
        padding: 36px 20px 24px;
    }
    .footer-brand-col {
        grid-column: 1 / -1;
        align-items: center;
        text-align: center;
    }
    .footer-brand-desc {
        max-width: 100%;
    }
    .footer-social-icons {
        justify-content: center;
    }
    .footer-app-badges {
        justify-content: center;
    }
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-main-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .footer-link-col {
        text-align: center;
    }
    .footer-link-col h5 {
        border-bottom: none;
        padding-bottom: 0;
    }
    .footer-link-col h5::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-link-col ul li a {
        justify-content: center;
    }
    .footer-newsletter-form {
        flex-direction: column;
    }
    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}