.footer {
    background: linear-gradient(
        120deg,
        #ffb6c1 0%,    /* hồng nhạt */
        #60a5fa 30%,   /* xanh dương nhạt */
        #c4b5fd 65%,   /* tím nhạt */
        #fb923c 100%   /* cam ấm */
    );
    background-size: 400% 400%;
    animation: gradientShift 18s ease infinite;

    color: #fff;
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding-top: 60px;
    padding-bottom: 40px;

    /* ánh sáng mềm */
    box-shadow: 0 0 50px rgba(255,255,255,0.18) inset;
}


/* container */
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* ============================
   VŨ TRỤ NEBULA ORBS
============================ */
.footer-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* bóng sáng 1 */
.footer-overlay::before,
.footer-overlay::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    animation: floatOrb 14s ease-in-out infinite;
}

/* orb sáng hồng tím */
.footer-overlay::before {
    width: 300px; height: 300px;
    background: rgba(255, 120, 200, 0.45);
    top: -60px; left: -40px;
    animation-delay: 0s;
}

/* orb xanh – cam */
.footer-overlay::after {
    width: 380px; height: 380px;
    background: rgba(50, 150, 255, 0.35);
    bottom: -80px; right: -50px;
    animation-delay: 4s;
}

/* ============================
   SÓNG ÁNH SÁNG VŨ TRỤ (NEW)
============================ */
.footer::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0;
    width: 200%;
    height: 180px;
    background: radial-gradient(
        ellipse at bottom center,
        rgba(255,255,255,0.35),
        rgba(255,255,255,0) 70%
    );
    filter: blur(50px);
    animation: cosmicWave 10s ease-in-out infinite;
    z-index: 0;
}

/* ============================
   ANIMATION
============================ */

/* chuyển màu mượt hơn */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* orbs bay nhẹ nhàng */
@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.15); }
    100% { transform: translate(0, 0) scale(1); }
}

/* sóng ánh sáng chuyển động */
@keyframes cosmicWave {
    0% { transform: translateX(0); opacity: 0.45; }
    50% { transform: translateX(-25%); opacity: 0.8; }
    100% { transform: translateX(0); opacity: 0.45; }
}


/* ============================
   CARD GLASS EFFECT
============================ */
.footer-card {
    background: rgba(10,10,35,0.36);
    border-radius: 20px;
    padding: 22px 24px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.25);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    z-index: 2;
}

.footer-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255,255,255,0.16), transparent 60%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.footer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.55);
    border-color: rgba(255,255,255,0.55);
}

.footer-card:hover::after { opacity: 1; }

/* ============================
   TEXT & LINKS
============================ */
.footer .company-name {
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.footer p, .footer h5, .footer .footer-links a, .footer .footer-links i {
    color: #fff;
}

.footer .footer-title {
    font-weight: 600;
    letter-spacing: 0.08em;
    font-size: 0.9rem;
    text-transform: uppercase;
    opacity: 0.9;
}

.footer .footer-links a {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.25s, transform 0.18s;
}

.footer a:hover { color: #ffd966; transform: translateX(3px); }

/* ============================
   SOCIAL ICONS
============================ */
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.5);
    font-size: 1rem;
    transition: transform 0.25s, background 0.25s, color 0.25s, border-color 0.25s;
    position: relative;
    text-decoration: none;
    z-index: 2;
}

.footer-social .social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: white;
    transition: transform 0.3s, box-shadow 0.3s;
}

.footer-social .social-btn i {
    font-size: 18px;
}

/* Nền theo thương hiệu */
.footer-social .facebook {
    background: #1877f2; /* màu chính thức Facebook */
}
.footer-social .youtube {
    background: #ff0000; /* màu chính thức YouTube */
}
.footer-social .tiktok {
    background: #000000; /* gradient giống TikTok */
}

/* Hiệu ứng hover */
.footer-social .social-btn:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}


/* ============================
   CTA VIP
============================ */
.footer-cta-text { color: #fff; font-size: 0.95rem; opacity: 0.95; }
.footer-cta-wrapper { position: relative; display: inline-flex; align-items: center; gap: 1rem; }
.cta-arrow-left { color: #fff; font-size: 1.4rem; animation: arrowLeftPulse 1.2s infinite; opacity: 0.8; }

@keyframes arrowLeftPulse {
    0% { transform: translateX(0); opacity: 0.2; }
    50% { transform: translateX(6px); opacity: 1; }
    100% { transform: translateX(0); opacity: 0.4; }
}

.footer-cta-btn {
    background: linear-gradient(120deg, #ffffff, #ffe88b);
    color: #7b2df6;
    border-radius: 999px;
    padding: 0.75rem 1.9rem;
    font-weight: 650;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 14px 35px rgba(0,0,0,0.45);
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.footer-cta-btn:hover { transform: translateY(-2px) scale(1.01); box-shadow: 0 20px 45px rgba(0,0,0,0.6); filter: brightness(1.03); }

.footer-cta-btn::before {
    content:"";
    position:absolute; top:-100%; left:-30%;
    width:40%; height:300%;
    background: linear-gradient(120deg, rgba(255,255,255,0.8), transparent);
    transform: translateX(-100%);
    opacity:0;
}

.footer-cta-btn:hover::before { animation: btnShine 0.8s forwards; }
@keyframes btnShine { 0%{transform:translateX(-100%);opacity:0}50%{opacity:1}100%{transform:translateX(250%);opacity:0} }

.cta-arrow-wrapper { display: inline-flex; align-items: center; }
.cta-arrow { font-size: 1.1rem; animation: arrowBlink 1s infinite; }
@keyframes arrowBlink { 0%{opacity:0.3;transform:translateX(0)}50%{opacity:1;transform:translateX(5px)}100%{opacity:0.3;transform:translateX(9px)} }

/* ============================
   FOOTER BOTTOM
============================ */
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.25); margin-top:1rem; padding-top:1rem; }
.footer-bottom-text { font-size: 0.85rem; color: rgba(255,255,255,0.9); }
.footer-bottom i.fa-heart { color: #ffb3c6; }

/* ============================
   RESPONSIVE
============================ */
@media (max-width: 992px) {
    .footer { padding-top:40px; padding-bottom:30px; }
    .footer-inner { max-width:100%; }
    .footer-card { margin-bottom:8px; }
}

@media (max-width: 768px) {
    .footer-card { padding:18px; }
    .footer-cta-text { font-size:0.9rem; padding:0 10px; }
    .footer-cta-btn { width:100%; justify-content:center; }
    .cta-arrow-left { display:none; }
    .footer-bottom-text { font-size:0.8rem; }
} 
/* BẬT CLICK CHO CÁC THÀNH PHẦN */
.footer-links a,
.footer-card,
.footer-cta,
.footer-social a,
.footer-cta-btn {
    position: relative;
    z-index: 5;
    pointer-events: auto;
}

/* NGĂN HIỆU ỨNG NỀN CẢN CLICK */
.footer-overlay,
.footer::after {
    pointer-events: none !important;
    z-index: 0 !important;
}
