:root {
    --bg-color: #0d0d0d;
    --card-bg: #1a1a1a;
    --accent-color: bisque;
    --neon-orange: #ff8c00; /* Naranja neón para el efecto */
    --text-dim: #999;
}

.trends-wrapper {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 50px;
    overflow: hidden;
    width: 100%;
}

.marquee-row {
    width: 100%;
    display: flex;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    gap: 25px;
    padding: 15px 0;
    width: max-content;
    will-change: transform; /* Ayuda a que la animación sea más fluida */
}

/* ANIMACIONES CORREGIDAS PARA EVITAR SALTOS */
.scroll-left {
    animation: scrollLeft 60s linear infinite;
}

.scroll-right {
    animation: scrollRight 60s linear infinite;
}

@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* En la derecha, el truco es que empiece en -50% y vaya a 0 */
@keyframes scrollRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.trend-card {
    width: 20vw;
    min-width: 280px;
    background: var(--card-bg);
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    transition: all 0.4s ease; /* Transición para el efecto neón */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* EFECTO NEÓN AL APOYAR EL MOUSE */
.trend-card:hover {
    background: rgb(133, 128, 124); /* Un tono café muy oscuro */
    /* box-shadow: 0 0 20px rgba(71, 74, 252, 0.4), 0 0 40px rgba(71, 74, 252, 0.4); */
    transform: translateY(-5px);
}

.negative-frame {
    position: relative;
    background: #000;
    padding: 20px 10px;
    border-bottom: 2px solid #333;
}

.negative-frame::before, .negative-frame::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    height: 10px;
    background-image: radial-gradient(circle, #222 40%, transparent 45%);
    background-size: 25px 10px;
    background-repeat: repeat-x;
}

.negative-frame::before { top: 5px; }
.negative-frame::after { bottom: 5px; }

.negative-frame img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
 
    transition: filter 0.4s ease;
}

.text-content {
    padding: 20px;
}

.text-content h3 {
    font-size: 1.2rem;
    margin: 0 0 10px 0;
    color: var(--accent-color);
    font-family: 'Lilita One', cursive;
}

.text-content p {
    font-size: 0.9rem;
    color: var(--text-dim);
    margin: 0;
    line-height: 1.5;
}

.trend-card:hover .negative-frame img {
    filter: grayscale(0%);
}

@media (max-width: 768px) {
    .trend-card {
        width: 70vw;
        min-width: 250px;
    }
}






/* html aparte  */

@import url('https://fonts.googleapis.com/css2?family=Lilita+One&family=Urbanist:wght@300;400;700&display=swap');

:root {
    --bg-dark: #070707;
    --card-bg: #111111;
    --bisque-color: #ffe4c4;
    --neon-orange: rgba(255, 140, 0, 0.6);
    --text-gray: #b0b0b0;
}



/* Contenedor de cada artículo - Full Screen */
.trend-article {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 10%;
    border-bottom: 2px solid bisque;
    transition: background 0.5s ease;
    position: relative;
}

/* Efecto Neón al pasar por la sección */
.trend-article { background-color: #000;
 
}

.article-container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1400px;
    width: 100%;
}

/* Alternar orden para que no sea monótono (uno imagen izq, otro der) */
.trend-article:nth-child(even) .article-container {
    flex-direction: row-reverse;
}

/* Estilo Negativo Gigante */
.negative-hero {
    flex: 1;
    background: #000;
    padding: 40px 15px;
    position: relative;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.negative-hero::before, .negative-hero::after {
    content: "";
    position: absolute;
    left: 0; right: 0; height: 15px;
    background-image: radial-gradient(circle, #222 35%, transparent 40%);
    background-size: 35px 15px;
    background-repeat: repeat-x;
}
.negative-hero::before { top: 12px; }
.negative-hero::after { bottom: 12px; }

.negative-hero img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
 
    transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.trend-article:hover .negative-hero img {
    filter: grayscale(0%);
    box-shadow: 0 0 30px bisque;
}

/* Contenido de Texto */
.article-text {
    flex: 1;
}

.article-text h2 {
    font-family: 'Lilita One', cursive;
    font-size: 4rem;
    color: var(--bisque-color);
    margin-bottom: 25px;
    text-transform: capitalize;
    line-height: 1;
}

.article-text p {
    font-size: 1.2rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 30px;
}

.back-btn {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid var(--bisque-color);
    color: var(--bisque-color);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
}

.back-btn:hover {
    background: var(--bisque-color);
    color: black;
    box-shadow: 0 0 20px var(--neon-orange);
}

/* Responsive */
@media (max-width: 992px) {
    .article-container { flex-direction: column !important; text-align: center; }
    .negative-hero img { height: 300px; }
    .article-text h2 { font-size: 2.5rem; }
}
