/* =====================
   CONTENEDOR PRINCIPAL
   ===================== */
#game-news {
    background: #0a0a0a;
    background: #303133;
    color: #fff;
    padding: 15px;
    border-radius: 16px;
    width: 500px;

    max-width: 800px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.25);
    border: 1px solid rgba(0, 255, 255, 0.3);
    margin: auto;
}

#game-news h2,
#game-news h4 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 24px;
    color: #00eaff;
    text-shadow: 0 0 10px #00eaff;
}


/* =====================
   CONTENEDOR DE NOTICIAS
   ===================== */
#news-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

/* Scroll estilo móvil */
#news-container::-webkit-scrollbar {
    width: 6px;
}

#news-container::-webkit-scrollbar-track {
    background: #0a0a0a;
    border-radius: 10px;
}

#news-container::-webkit-scrollbar-thumb {
    background: #00eaff;
    border-radius: 10px;
    box-shadow: 0 0 10px #00eaff;
}

#news-container::-webkit-scrollbar-thumb:hover {
    background: #00c3ff;
}


/* =====================
   TARJETA DE NOTICIA
   ===================== */
.news-card {
    background: #1a1a1a;
    border-radius: 12px;
    margin-bottom: 10px;
  
    display: flex;
    gap: 10px;
    border-left: 4px solid #6c5ce7;
    padding: 10px;
 

    transition: 0.2s ease;
}

/* Hover con glow */
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.35);
}


/* =====================
   IMAGEN
   ===================== */
.news-img {
    width: 110px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}


/* =====================
   CONTENIDO DE LA NOTICIA
   ===================== */
.news-info {
    flex: 1;
}

.news-card h3 {
    font-size: 15px;
    margin: 0 0 5px;
    line-height: 1.25;
    color: #00eaff;
}

/* Fuente + fecha */
.news-card .source {
    font-size: 11px;
    color: #b3b3b3;
    margin-bottom: 5px;
}

/* Enlace */
.news-card a {
    color: #00c3ff;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
}

.news-card a:hover {
    text-decoration: underline;
}


/* =====================
   DESCRIPCIÓN (si se usa)
   ===================== */
.news-description {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 8px;
}


/* Pantallas menores a 768px (ej: celulares) */
@media (max-width: 768px) {
#game-news {
    width: 400px;

}

#news-container{
    height: 800px;
    max-height: 800px;
}
}