       :root {
            --fb-blue: #0866ff;
            --fb-bg: #f0f2f5;
            --texto-dark: #050505;
            --fb-gray-text: #65676b;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
        body { background: var(--fb-bg); color: var(--texto-dark); overflow-x: hidden; }

        /* HEADER ESTILO FACEBOOK WEB */
        header { 
            background: #fff; position: sticky; top: 0; z-index: 1000; 
            border-bottom: 1px solid #ddd; height: 56px;
            display: flex; align-items: center; justify-content: space-between; padding: 0 16px;
        }
        .logo-insta-style { font-family: 'Style Script', cursive; font-size: 26px; color: #000; text-decoration: none; }

        /* SECCIÓN PERFIL ADAPTATIVA */
        .fb-profile-section { 
            background: #fff; width: 100%; max-width: 1250px; margin: 0 auto; 
        }
        
        .fb-cover-container {
            width: 100%;
            background: #000;
            display: flex;
            justify-content: center;
            position: relative;
        }
        .fb-cover-container img {
            width: 100%;
            max-height: 460px;
            object-fit: contain;
            display: block;
        }

        .fb-info-wrapper { 
            padding: 0 32px; 
            position: relative; 
            display: flex;
            align-items: flex-end;
            margin-top: -30px;
            padding-bottom: 20px;
            border-bottom: 1px solid #e5e5e5;
            background: #fff;
            flex-wrap: wrap;
        }
        
        .fb-pfp-container {
            width: 168px; 
            height: 168px; 
            border-radius: 50%; 
            border: 4px solid #fff;
            background: #fff; 
            overflow: hidden; 
            position: relative; 
            z-index: 10;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .fb-pfp-container img { 
            width: 100%; 
            height: 100%; 
            object-fit: cover;
            border-radius: 50%;
        }

        .fb-user-details {
            flex: 1;
            margin-left: 16px;
            margin-bottom: 10px;
            min-width: 300px;
        }
        .fb-user-details h1 { font-size: 32px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
        .fb-user-details p { color: var(--fb-gray-text); font-size: 16px; font-weight: 600; margin-top: 4px; }

        .fb-action-btns {
            display: flex; gap: 8px; margin-bottom: 15px;
        }
        .btn { padding: 0 12px; height: 36px; border-radius: 6px; border: none; font-weight: 600; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; cursor: pointer; }
        .btn-blue { background: var(--fb-blue); color: #fff; }
        .btn-gray { background: #e4e6eb; color: #050505; }

        /* HISTORIAS */
        .draggable-container {
            display: flex; gap: 12px; padding: 20px 32px; overflow-x: auto;
            scroll-snap-type: x mandatory; cursor: grab; user-select: none;
            scrollbar-width: none;
        }
        .draggable-container::-webkit-scrollbar { display: none; }

        .story-card {
            min-width: 140px; width: 140px; height: 250px; 
            border-radius: 12px; position: relative; flex-shrink: 0; 
            scroll-snap-align: start; overflow: hidden;
        }
        .story-bg { width: 100%; height: 100%; object-fit: cover; position: absolute; pointer-events: none; }
        .story-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.8)); }
        .story-label { position: absolute; bottom: 12px; left: 12px; color: #fff; font-size: 13px; font-weight: 700; z-index: 5; }

        /* PLANES DE SERVICIO */
        .planes-section { background: #fff; width: 100%; max-width: 1250px; margin: 20px auto; padding-bottom: 30px; }
        .section-title { text-align: center; font-size: 14px; font-weight: 800; letter-spacing: 2px; margin: 25px 0; color: #000; }

        .plan-card {
            min-width: 300px; flex: 0 0 300px; background: #fff; border-radius: 12px;
            border: 1px solid #e0e0e0; overflow: hidden; scroll-snap-align: center;
            text-align: center; box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        }

        .plan-header { height: 50px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; color: #000; }
        .gold { background: linear-gradient(90deg, #d4af37 0%, #f9f295 50%, #d4af37 100%); }
        .silver { background: linear-gradient(90deg, #757f9a 0%, #d7dde8 50%, #757f9a 100%); }
        .bronze { background: linear-gradient(90deg, #804a00 0%, #b08d57 50%, #804a00 100%); color: #fff; }
        .flash { background: #e0e0e0; }

        .plan-price { padding: 30px 0 10px; font-size: 38px; font-weight: 800; color: #000; }
        .currency { font-size: 18px; vertical-align: super; }
        .duration { font-size: 14px; color: #65676b; font-weight: 400; margin-top: 5px; }

        .plan-features { list-style: none; padding: 20px 25px; text-align: left; }
        .plan-features li {
            font-size: 12.5px; padding: 6px 0; display: flex; align-items: center; gap: 10px;
            color: #1c1e21; font-weight: 600;
        }
        .plan-features li.excluded { color: #8d949e; font-weight: 400; }

        .plan-cta {
            width: calc(100% - 60px); margin: 15px 30px; padding: 12px;
            background: #000; color: #fff; border: none; border-radius: 6px;
            font-weight: 800; cursor: pointer; text-transform: uppercase; font-size: 13px;
        }
        .validity { font-size: 11px; color: #8d949e; padding-bottom: 20px; }

        /* TIKTOK */
        
        /* Mantenemos tu base y añadimos estados de carga */
.tiktok-section { background: #000; padding: 30px 0; width: 100%; max-width: 1250px; margin: 0 auto; }
.tiktok-header-brand { display: flex; align-items: center; justify-content: center; gap: 10px; color: #fff; font-weight: 700; font-size: 18px; margin-bottom: 20px;}
.tiktok-slider { display: flex; gap: 15px; padding: 0 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; }

/* Modificamos la card para que sea un contenedor de carga */
.tiktok-card { 
    min-width: 320px; 
    height: 570px; 
    background: #1a1a1a; 
    border-radius: 15px; 
    scroll-snap-align: center; 
    overflow: hidden; 
    position: relative; 
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Portada falsa para engañar a Google */
.tiktok-placeholder {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.tiktok-placeholder:hover { transform: scale(1.02); }

/* Icono de Play Estilo TikTok */
.play-btn-overlay {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    backdrop-filter: blur(4px);
}
        
        /* INSTAGRAM */
        .app-instagram-feed { max-width: 1250px; margin: 0 auto; padding: 20px; background-color: #f7f7f7; }
        .feed-header-main { text-align: center; margin-bottom: 25px; }
        .feed-title-text { font-family: 'Segoe UI', sans-serif; font-weight: 900; font-size: 26px; text-transform: uppercase; }
        .hashtag-teal { color: #1a948e; font-family: 'Brush Script MT', cursive; text-transform: none; font-size: 28px; margin-left: 10px; }
        .posts-scroll-container { display: flex; flex-direction: column; align-items: center; gap: 30px; width: 100%; }
        .insta-app-card { width: 100%; max-width: 500px; background: #fff; border: 1px solid #ddd; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); overflow: hidden; }
        .card-header { display: flex; align-items: center; padding: 12px; gap: 12px; }
        .user-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 1px solid #eee; }
        .user-meta { display: flex; flex-direction: column; }
        .user-name { font-weight: 700; font-size: 14px; }
        .post-location { font-size: 12px; color: #666; }
        .card-image-wrapper img { width: 100%; aspect-ratio: 1 / 1; display: block; object-fit: cover; }
        .card-content { padding: 15px; }
        .interaction-bar { display: flex; gap: 15px; font-size: 22px; margin-bottom: 10px; }
        .likes-count { font-size: 14px; margin-bottom: 8px; font-weight: 400; }
        .post-description { font-size: 14px; line-height: 1.5; color: #333; }

        /* FOOTER ROBUSTO SEO */
        .seo-footer {
            background: #fff; border-top: 1px solid #ddd; padding: 50px 20px 20px; margin-top: 40px;
        }
        .footer-container {
            max-width: 1250px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px;
        }
        .footer-col h3 { font-size: 16px; font-weight: 800; margin-bottom: 15px; text-transform: uppercase; }
        .footer-col p, .footer-col li { font-size: 13.5px; color: #65676b; line-height: 1.6; list-style: none; }
        .footer-col ul { padding: 0; }
        .footer-col li { margin-bottom: 8px; }
        .footer-socials { display: flex; gap: 15px; margin-top: 15px; }
        .footer-socials a { font-size: 22px; color: #050505; text-decoration: none; }
        .footer-bottom { border-top: 1px solid #eee; margin-top: 40px; padding-top: 20px; text-align: center; font-size: 12px; color: #999; }

        /* BOTONES FLOTANTES */
        .floating-msg-btn {
            position: fixed; bottom: 20px; right: 20px; background: #fff; padding: 10px 20px; border-radius: 50px;
            display: flex; align-items: center; gap: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.15); z-index: 1000; cursor: pointer; text-decoration: none;
        }
        .msg-badge { background: #ff3b30; color: #fff; font-size: 10px; padding: 2px 6px; border-radius: 10px; font-weight: bold; }
        .msg-text { font-weight: 600; color: #262626; }
        .msg-insta-icon { width: 24px; height: 24px; }

        @media (max-width: 700px) {
            .fb-info-wrapper { justify-content: center; text-align: center; margin-top: -80px; }
            .fb-user-details { margin-left: 0; margin-top: 10px; }
            .fb-user-details h1 { justify-content: center; }
            .fb-action-btns { width: 100%; margin-top: 15px; justify-content: center; }
        }

        /* AJUSTE PARA CENTRAR HISTORIAS Y PLANES */
.draggable-container {
    display: flex; 
    gap: 12px; 
    padding: 20px 32px; 
    overflow-x: auto;
    scroll-snap-type: x mandatory; 
    cursor: grab; 
    user-select: none;
    scrollbar-width: none;
    /* ESTO CENTRA LOS PLANES */
    justify-content: center; 
}
.draggable-container::-webkit-scrollbar { display: none; }

/* AJUSTE PARA CENTRAR VIDEOS DE TIKTOK */
.tiktok-slider { 
    display: flex; 
    gap: 15px; 
    padding: 0 20px; 
    overflow-x: auto; 
    scroll-snap-type: x mandatory; 
    scrollbar-width: none; 
    cursor: grab;
    /* ESTO CENTRA LOS VIDEOS */
    justify-content: center; 
}

/* Media query para asegurar que en móviles (donde sí desbordan) se mantenga la alineación inicial */
@media (max-width: 1024px) {
    .draggable-container, .tiktok-slider {
        justify-content: flex-start;
    }
}

.tiktok-card { 
    min-width: 320px; 
    height: 570px; 
    background: #000; 
    border-radius: 15px; 
    scroll-snap-align: center; 
    overflow: hidden; 
    position: relative; 
    border: 1px solid #333;
    flex-shrink: 0; /* Evita que se encojan en móvil */
}