            body,
            h1,
            h2,
            h3,
            h4,
            h5 {
                font-family: "Raleway", sans-serif;
            }

            body {
                background-color: #f5f7fa;
            }

           
            /* CARDS */
            .w3-card,
            .w3-card-4 {
                border-radius: 16px !important;
            }

            /* MODALES */
            .w3-modal-content {
                border-radius: 18px;
            }

            /* BOTONES */
            .w3-button {
                border-radius: 10px;
                transition: 0.2s ease;
            }

            .w3-button:hover {
                transform: translateY(-2px);
            }

            /* PUBLICAR CARD */
            .publicar-card {
                transition: 0.25s ease;
            }

            .publicar-card:hover {
                box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
            }

            /* SIDEBAR */
            .w3-sidebar {
                box-shadow: 4px 0 15px rgba(0, 0, 0, 0.08);
            }

            /* CHAT */
            #mensajesPerfil {
                scroll-behavior: smooth;
            }

            /* RESPONSIVE */
            @media (max-width: 600px) {
                .hero-buttons ul {
                    flex-direction: column;
                    gap: 15px;
                }

                .hero-btn {
                    width: 100%;
                    justify-content: center;
                }
            }

            .slider-container {
                overflow-x: auto;
                padding: 10px 0;
            }

            .slider {
                display: flex;
                gap: 15px;
                list-style: none;
                padding: 0 10px;
                margin: 0;
                scroll-snap-type: x mandatory;
            }

            .slider::-webkit-scrollbar {
                height: 6px;
            }

            .slider::-webkit-scrollbar-thumb {
                background: #ccc;
                border-radius: 10px;
            }

            .usuario-item {
                min-width: 110px;
                flex: 0 0 auto;
                scroll-snap-align: start;
                transition: transform 0.2s ease, box-shadow 0.2s ease;
            }

            .usuario-item:hover {
                transform: translateY(-4px);
            }

            .usuario-avatar img,
            .usuario-avatar div {
                width: 40px !important;
                height: 60px !important;
                border-radius: 50%;
                border: 3px solid #4CAF50;
            }

            .usuario-info strong {
                display: block;
                margin-top: 6px;
                font-size: 13px;
            }

            .usuario-info p {
                font-size: 11px;
                color: #4CAF50;
            }


            /* COLUMNA LATERAL */
            .sidebar-col {
                position: sticky;
                top: 80px;
            }

            /* TARJETAS */
            .card-anuncios,
            .card-slider {
                border-radius: 12px;
                transition: 0.2s ease;
            }

            .card-anuncios:hover,
            .card-slider:hover {
                box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
            }

            /* LISTA ANUNCIOS */
            .anuncios-list {
                padding: 0;
            }

            .anuncio-item {
                display: flex;
                gap: 12px;
                align-items: flex-start;
                border-bottom: 1px solid #f0f0f0;
                transition: 0.2s;
            }

            .anuncio-item:last-child {
                border-bottom: none;
            }

            .anuncio-item:hover {
                background: #fafafa;
            }

            /* ICONO */
            .icono-anuncio {
                font-size: 18px;
                margin-top: 4px;
            }

            /* TEXTO */
            .titulo {
                font-weight: 600;
                color: #2c3e50;
            }

            .desc {
                font-size: 13px;
                color: #7f8c8d;
            }

            /* PROGRESS BAR */
            .progress-bar {
                width: 100%;
                height: 6px;
                background: #ecf0f1;
                border-radius: 10px;
                margin-top: 6px;
                overflow: hidden;
            }

            .progress {
                height: 100%;
                background: linear-gradient(90deg, #2ecc71, #27ae60);
                border-radius: 10px;
            }

            /* BOTÓN MINI */
            .btn-mini {
                margin-top: 8px;
                padding: 4px 10px;
                border: none;
                border-radius: 20px;
                background: #3498db;
                color: white;
                font-size: 12px;
                cursor: pointer;
                transition: 0.2s;
            }

            .btn-mini:hover {
                background: #2980b9;
            }

            /* SLIDER CONTENEDOR */
            .slider-container {
                overflow-x: auto;
                padding: 10px 0;
            }

            /* SCROLL BONITO */
            .slider-container::-webkit-scrollbar {
                height: 6px;
            }

            .slider-container::-webkit-scrollbar-thumb {
                background: #ddd;
                border-radius: 10px;
            }

            /* SLIDER LISTA */
            .slider {
                display: flex;
                gap: 10px;
                padding: 0;
                margin: 0;
            }

            /* ITEMS SLIDER (usuarios) */
            .slider li {
                list-style: none;
                min-width: 60px;
                text-align: center;
                cursor: pointer;
                transition: 0.2s;
            }

            .slider li:hover {
                transform: scale(1.05);
            }

            /* AVATAR SLIDER */
            .slider img {
                width: 50px;
                height: 50px;
                border-radius: 50%;
                object-fit: cover;
                border: 2px solid #eee;
            }

            /* NOMBRE */
            .slider span {
                display: block;
                font-size: 11px;
                margin-top: 4px;
                color: #2c3e50;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }

            /* MOBILE */
            @media (max-width: 768px) {
                .sidebar-col {
                    position: relative;
                    top: 0;
                }

                .card-anuncios,
                .card-slider {
                    margin-bottom: 15px;
                }
            }

            .anuncio-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.anuncio-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.card-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.icon-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-list li {
    margin-bottom: 10px;
}

.menu-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    background: #f5f7fa;
    transition: all 0.2s ease;
}

.menu-btn i {
    color: #2196F3;
}

.menu-btn:hover {
    background: #e3f2fd;
    transform: translateX(4px);
}
.hero-image {
  /* Gradiente sutil y dirección angular para más dinamismo */
  background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.4) 100%), url("tu-imagen.jpg");
  
  height: 220px; /* Más angosto, tipo banner de red social */
  background-position: center 20%; /* Ajustado para que no se corte la parte importante */
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;

  display: flex;
  align-items: center;
  justify-content: flex-start; /* Alineado a la izquierda para UX de muro */
  padding: 0 5%;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hero-content {
  /* Efecto de cristal para mejorar legibilidad sin un bloque negro sólido */
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 20px 30px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.hero-title {
  margin: 0;
  font-size: 1.8rem;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  margin: 5px 0 0 0;
  font-size: 1rem;
  color: #e2e8f0;
  font-weight: 300;
}