/* ============================
   SOCIALS & FOOTER REVAMP
============================ */

/* Socials Section Layout */
.socials-section {
    padding: 80px 20px;
    background-color: var(--bg-gray);
    position: relative;
    overflow: hidden;
}

.socials-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.socials-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.socials-header p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Glassmorphic Pills */
.social-pills {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.social-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.social-pill.tiktok {
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
}

.social-pill.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
}

.social-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    filter: brightness(1.1);
}

.social-pill i {
    font-size: 1.2rem;
}

.section-label {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    margin-bottom: 30px;
    opacity: 0.8;
}

/* Grids */
.tiktok-grid-wrapper,
.instagram-grid-wrapper {
    max-width: 100%;
    margin: 0 auto 60px auto;
    padding: 0 10px;
}

.tiktok-grid,
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* Widget Containers */
.tiktok-widget-container,
.instagram-widget-container {
    aspect-ratio: 9/16;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.tiktok-widget-container:hover,
.instagram-widget-container:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.social-card-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.social-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.tiktok-widget-container:hover .social-card-overlay,
.instagram-widget-container:hover .social-card-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.play-hint {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.3s ease;
}

.tiktok-widget-container:hover .play-hint,
.instagram-widget-container:hover .play-hint {
    transform: scale(1);
    opacity: 1;
}

.play-hint i {
    color: #fff;
    font-size: 1.5rem;
}

/* Socials Footer */
.socials-footer {
    text-align: center;
    margin-top: 60px;
}

.socials-footer .btn-outline {
    display: inline-block;
    padding: 14px 40px;
    border: 2px solid var(--text-dark);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    background: transparent;
}

.socials-footer .btn-outline:hover {
    background: var(--text-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* ============================
   PREMIUM DARK FOOTER
============================ */

.site-footer {
    background-color: #0F172A;
    /* Deep slate blue/black */
    color: #94A3B8;
    padding: 100px 20px 40px;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 60px auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
}

.footer-section h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    margin-top: 10px;
    border-radius: 2px;
}

@media (max-width: 900px) {
    .footer-section h3::after {
        margin: 10px auto 0;
    }
}

.footer-section p {
    line-height: 1.8;
    font-size: 1.05rem;
    max-width: 300px;
}

@media (max-width: 900px) {
    .footer-section p {
        margin: 0 auto;
    }
}

.footer-section a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 1.05rem;
    padding: 8px 0;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

@media (max-width: 900px) {
    .footer-section a {
        justify-content: center;
    }
}

.footer-section a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-section a i {
    margin-right: 12px;
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.footer-section a:hover i {
    transform: scale(1.2);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #64748B;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
}

.footer-bottom a {
    color: #64748B;
    text-decoration: none;
    transition: color 0.2s;
    margin-left: 20px;
}

.footer-bottom a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Fix Constraints */
.socials-container {
    max-width: 100% !important;
    padding: 60px 0 !important;
}

/* Ensure grids handle full width */
/* Grids */
.tiktok-grid-wrapper,
.instagram-grid-wrapper {
    max-width: 100% !important;
    margin: 0 auto 60px auto;
    padding: 0 10px;
}

.tiktok-grid,
.instagram-grid {
    display: flex;
    overflow-x: auto;
    gap: 24px;
    padding-bottom: 20px;
    /* Space for scrollbar or shadow */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
}

/* Hide scrollbar for Chrome/Safari/Opera */
.tiktok-grid::-webkit-scrollbar,
.instagram-grid::-webkit-scrollbar {
    display: none;
}

/* Widget Containers */
.tiktok-widget-container,
.instagram-widget-container {
    flex: 0 0 auto;
    width: 280px;
    aspect-ratio: 9/16;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    scroll-snap-align: start;
}