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

/* ============================================
   WCN ENTERTAINMENT — entertainment.css
   World Central News © 2024
   ============================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ---- VARIABLES ---- */
:root {
    --bisque: #ffe4c4;
    --bisque-dim: rgba(255, 228, 196, 0.55);
    --bisque-faint: rgba(255, 228, 196, 0.12);
    --black: #000;
    --dark1: #020202;
    --dark2: #060606;
    --dark3: #0a0a0a;
    --font-title: 'Lilita One', cursive;
    --font-body: 'Urbanist', sans-serif;
}

.secion-entertainment-body {
    background: var(--black);
    font-family: var(--font-body);
    color: var(--bisque);
}

/* ============================================
   HEADER
   ============================================ */
.ent-header {
    width: 100%;
    min-height: 520px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    overflow: hidden;
}

.ent-header-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1470229722913-7c0e2dbbafd3?w=1400&q=80&fm=webp&fit=crop&crop=center');
    background-size: cover;
    background-position: center top;
    filter: brightness(0.22) saturate(1.6) hue-rotate(-10deg);
    animation: headerZoom 22s ease-in-out infinite alternate;
}

@keyframes headerZoom {
    0%   { transform: scale(1.02); }
    100% { transform: scale(1.09); }
}

.ent-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(80,0,60,0.7) 0%, rgba(0,0,0,0.5) 45%, rgba(0,20,70,0.65) 100%);
}

.ent-header-overlay2 {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.92) 100%);
}

/* Grid de fondo */
.ent-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,228,196,0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,228,196,0.12) 1px, transparent 1px);
    background-size: 55px 55px;
    pointer-events: none;
}

/* Rayos de luz */
.ent-rays {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.ent-ray {
    position: absolute;
    top: -20%;
    width: 6px;
    height: 140%;
    background: linear-gradient(180deg, transparent 0%, rgba(255,228,196,0.55) 30%, rgba(255,228,196,0.7) 50%, rgba(255,228,196,0.55) 70%, transparent 100%);
    filter: blur(3px);
    border-radius: 6px;
}

.ent-ray-inner {
    position: absolute;
    top: -20%;
    width: 2px;
    height: 140%;
    background: linear-gradient(180deg, transparent 0%, rgba(255,255,220,0.9) 30%, rgba(255,255,255,1) 50%, rgba(255,255,220,0.9) 70%, transparent 100%);
    border-radius: 2px;
}

.ent-ray1 { left: 38%; transform: rotate(-20deg); transform-origin: 50% 0%; animation: ray1 7s ease-in-out infinite; }
.ent-ray2 { left: 60%; transform: rotate(20deg);  transform-origin: 50% 0%; animation: ray2 7s ease-in-out infinite; }
.ent-ray-inner1 { left: calc(38% + 2px); transform: rotate(-20deg); transform-origin: 50% 0%; animation: ray1 7s ease-in-out infinite; }
.ent-ray-inner2 { left: calc(60% + 2px); transform: rotate(20deg);  transform-origin: 50% 0%; animation: ray2 7s ease-in-out infinite; }

@keyframes ray1 {
    0%,100% { transform: rotate(-20deg); opacity: 0.6; }
    50%      { transform: rotate(-12deg); opacity: 1; }
}
@keyframes ray2 {
    0%,100% { transform: rotate(20deg); opacity: 0.6; }
    50%      { transform: rotate(12deg); opacity: 1; }
}

/* Contenido del header */
.ent-tag {
    position: relative;
    z-index: 3;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .45em;
    text-transform: uppercase;
    color: #000;
    background: var(--bisque);
    padding: 5px 22px;
    border-radius: 1px;
    margin-bottom: 24px;
    box-shadow: 0 0 25px rgba(255,228,196,0.55), 0 0 60px rgba(255,228,196,0.2);
    animation: fadeUp .6s ease both;
}

.ent-title {
    position: relative;
    z-index: 3;
    font-family: var(--font-title);
    font-size: clamp(3.2rem, 9vw, 6.2rem);
    color: var(--bisque);
    text-align: center;
    line-height: 1;
    letter-spacing: .015em;
    animation: fadeUp .6s .1s ease both;
    text-shadow: 0 0 40px rgba(255,228,196,0.7), 0 0 90px rgba(255,140,200,0.45), 0 0 160px rgba(160,60,255,0.25), 0 2px 0 rgba(0,0,0,0.8);
}

.ent-title em {
    font-style: normal;
    color: #fff;
    text-shadow: 0 0 30px rgba(255,255,255,0.9), 0 0 70px rgba(200,150,255,0.6);
}

.ent-divider {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 20px 0;
    animation: fadeUp .6s .2s ease both;
}

.ent-div-line {
    width: 70px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,228,196,0.5));
    box-shadow: 0 0 6px rgba(255,228,196,0.3);
}

.ent-div-line.right {
    background: linear-gradient(90deg, rgba(255,228,196,0.5), transparent);
}

.ent-div-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--bisque);
    box-shadow: 0 0 10px var(--bisque), 0 0 25px rgba(255,228,196,0.7);
    animation: dotPulse 2.5s ease-in-out infinite;
}

@keyframes dotPulse {
    0%,100% { transform: scale(1); }
    50%      { transform: scale(1.5); box-shadow: 0 0 15px var(--bisque), 0 0 40px rgba(255,228,196,0.9); }
}

.ent-sub {
    position: relative;
    z-index: 3;
    font-size: .88rem;
    color: var(--bisque-dim);
    text-align: center;
    font-weight: 300;
    letter-spacing: .12em;
    max-width: 520px;
    line-height: 1.7;
    animation: fadeUp .6s .25s ease both;
}

.ent-cta {
    position: relative;
    z-index: 3;
    margin-top: 30px;
    display: inline-block;
    padding: 13px 42px;
    color: var(--bisque);
    font-family: var(--font-body);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1.5px solid rgba(255,228,196,0.7);
    border-radius: 1px;
    transition: all .35s;
    animation: fadeUp .6s .32s ease both;
    box-shadow: 0 0 25px rgba(255,228,196,0.15), inset 0 0 25px rgba(255,228,196,0.04);
}

.ent-cta:hover {
    background: var(--bisque);
    color: #000;
    box-shadow: 0 0 50px rgba(255,228,196,0.5);
}

/* ============================================
   LINEA NEON SEPARADORA
   ============================================ */
.ent-neon-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--bisque) 20%, rgba(200,120,255,0.9) 50%, var(--bisque) 80%, transparent 100%);
    animation: neonPulse 3.5s ease-in-out infinite;
}

@keyframes neonPulse {
    0%,100% { box-shadow: 0 0 12px rgba(255,228,196,0.6), 0 0 35px rgba(255,228,196,0.3); }
    50%      { box-shadow: 0 0 22px var(--bisque), 0 0 60px rgba(255,228,196,0.5), 0 0 100px rgba(200,100,255,0.3); }
}

/* ============================================
   ROW LABELS (etiqueta de categoria)
   ============================================ */
.ent-row-label {
    width: 100%;
    background: var(--dark2);
    border-bottom: 1px solid rgba(255,228,196,0.06);
    border-top: 1px solid rgba(255,228,196,0.03);
    padding: 10px 22px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ent-row-label::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 1px;
    background: var(--bisque);
    box-shadow: 0 0 8px rgba(255,228,196,0.8);
}

.ent-row-label span {
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: rgba(255,228,196,0.4);
}

/* ============================================
   GRID DE CARDS
   ============================================ */
.ent-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
}

.ent-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    display: block;
    text-decoration: none;
    border: none;
}

.ent-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.4) saturate(0.7);
    transition: transform .65s cubic-bezier(.23,1,.32,1), filter .65s ease;
}

.ent-card:hover img {
    transform: scale(1.08);
    filter: brightness(0.62) saturate(1.1);
}

.ent-card-neon {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--bisque), rgba(200,120,255,0.85), var(--bisque), transparent);
    box-shadow: 0 0 10px rgba(255,228,196,0.8);
    opacity: 0;
    transition: opacity .35s;
}

.ent-card:hover .ent-card-neon { opacity: 1; }

.ent-card-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 22px 18px 18px;
    background: linear-gradient(0deg, rgba(0,0,0,0.97) 0%, rgba(0,0,0,0.65) 55%, transparent 100%);
    transform: translateY(5px);
    transition: transform .4s ease;
}

.ent-card:hover .ent-card-info { transform: translateY(0); }

.ent-card-cat {
    font-size: .57rem;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--bisque);
    opacity: .65;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.ent-card-cat::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 1px;
    background: var(--bisque);
    box-shadow: 0 0 5px rgba(255,228,196,0.7);
}

.ent-card h3 {
    font-family: var(--font-title);
    font-size: .96rem;
    color: var(--bisque);
    line-height: 1.2;
    margin-bottom: 6px;
    text-shadow: 0 0 20px rgba(255,228,196,0.25);
}

.ent-card p {
    font-size: .7rem;
    color: rgba(255,228,196,0.48);
    line-height: 1.45;
    margin-bottom: 9px;
}

.ent-read-more {
    display: inline-block;
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--bisque);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,228,196,0.28);
    padding-bottom: 1px;
    transition: border-color .3s, text-shadow .3s;
}

.ent-read-more:hover {
    border-color: var(--bisque);
    text-shadow: 0 0 10px rgba(255,228,196,0.7);
}

/* ============================================
   FOOTER BAR
   ============================================ */
.ent-footer-bar {
    width: 100%;
    background: var(--dark1);
    border-top: 1px solid rgba(255,228,196,0.06);
    padding: 18px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.ent-footer-bar span {
    font-size: .6rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255,228,196,0.2);
}

.ent-footer-bar a {
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--bisque);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,228,196,0.22);
    padding-bottom: 2px;
    transition: text-shadow .3s;
}

.ent-footer-bar a:hover {
    text-shadow: 0 0 10px rgba(255,228,196,0.6);
}

/* ============================================
   ANIMACIONES
   ============================================ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .ent-grid { grid-template-columns: 1fr; }
    .ent-card { aspect-ratio: 16 / 9; }
    .ent-header { min-height: 400px; padding: 60px 20px; }
    .ent-title { font-size: clamp(2.5rem, 10vw, 4rem); }
}
