/* ===== HERO NEON CITY ===== */
.main_hero {
    position: relative;
    min-height: 72vh;
    display: grid;
    align-items: end;
    border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.main_hero__bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, .85) 0 30%, rgba(0, 0, 0, .35) 60%, rgba(0, 0, 0, .9) 100%),
        linear-gradient(180deg, rgba(255, 229, 0, .12), rgba(255, 229, 0, .02)),
        url('../img/ismael-lira-final-horizontal.jpg');
    background-size: cover;
    background-position: center;
    filter: saturate(0.9) contrast(1.05) brightness(.85)
}

.main_hero__wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: clamp(18px, 5vw, 48px)
}

/* search */
.search {
    max-width: 680px;
    margin: 0 auto 36px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 229, 0, .05);
    border: 1px solid rgba(255, 229, 0, .45);
    border-radius: 12px;
    padding: 10px 12px
}

.search svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    opacity: .9
}

.search input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--paper);
    font-size: 15px
}

.glitch-hero {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    mix-blend-mode: lighten;
}

.scan-img-wrap,
.cover {
    position: relative;
}

/* Scanlines animadas tipo glitch para NIGHT CITY CHRONICLES */
.scan--night {
    opacity: 0.14 !important;
    background: repeating-linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0 3px, rgba(0, 0, 0, 0) 3px 7px) !important;
    animation: scan-glitch 0.35s steps(2, end) infinite alternate;
    z-index: 2;
}

.glitch-hero {
    position: relative;
    z-index: 1;
}

.glitch-hero>img,
.glitch-hero>.scan--night {
    position: relative;
    z-index: 2;
}

.glitch-hero>div {
    z-index: 3;
}

@keyframes scan-glitch {
    0% {
        background-position-y: 0;
    }

    20% {
        background-position-y: 2px;
    }

    40% {
        background-position-y: 4px;
    }

    60% {
        background-position-y: 1px;
    }

    80% {
        background-position-y: 3px;
    }

    100% {
        background-position-y: 0;
    }
}


.scan-img-wrap {
    position: relative;
    display: inline-block;
}

.scan-img-wrap img {
    display: block;
    position: relative;
    z-index: 1;
}

.scan-img-wrap .scan {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* HERO */
.hero {
    position: relative;
    border-bottom: 2px solid var(--yellow)
}

.hero__in {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 28px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 18px 48px
}

.eyebrow {
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--yellow)
}

h1 {
    font-size: clamp(36px, 6vw, 66px);
    line-height: 1.02;
    margin: .1em 0;
    font-weight: 1000
}

.subtitle {
    color: var(--muted)
}

.cta {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap
}


.btn--ghost {
    background: transparent;
    color: var(--paper)
}

.btn--ghost:hover {
    background: #111
}

.cover {
    position: relative;
    aspect-ratio: 16/10;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, .12)
}

.cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.cover .left {
    clip-path: polygon(0 0, 64% 0, 36% 100%, 0 100%)
}

.cover .right {
    clip-path: polygon(64% 0, 100% 0, 100% 100%, 36% 100%)
}

.scan {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .12;
    background: repeating-linear-gradient(180deg, rgba(0, 0, 0, .7) 0 2px, rgba(0, 0, 0, 0) 2px 4px)
}

.frame {
    position: absolute;
    inset: 0;
    pointer-events: none;
    outline: 2px solid var(--yellow);
    outline-offset: -10px;
    border-radius: 14px
}

/* STRIP / MARQUEE */
.strip {
    border-block: 1px solid rgba(255, 255, 255, .08);
    background: #0e0f13
}

.strip__in {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.track {
    display: inline-flex;
    gap: 48px;
    white-space: nowrap;
    padding: 10px 0;
    color: var(--yellow);
    font-weight: 900;
    letter-spacing: .12em;
    min-width: 200%;
    animation: marq 22s linear infinite;
}

@keyframes marq {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* UNIVERSOS (dos banners anchos) */
.universos {
    background: #0b0c10;
    padding: 32px 0;
    border-top: 2px solid var(--yellow);
}

.hx {
    font-size: clamp(28px, 4.6vw, 44px);
    margin: 0 0 14px
}

.u-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px
}

.ubanner {
    position: relative;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 14px;
    overflow: hidden
}

.ubanner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05)
}

.ubody {
    position: absolute;
    inset: auto 0 0 0;
    background: linear-gradient(180deg, transparent 0, #000 85%);
    padding: 16px
}

.utitle {
    font-weight: 1000;
    font-size: 22px
}

.usub {
    opacity: .9
}

.ucta {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 2px solid var(--yellow);
    background: var(--yellow);
    color: #111;
    font-weight: 900
}

.ucta--orbit {
    border-color: var(--orbit);
    background: var(--orbit)
}

/* EN PROGRESO (grid neutral) */
.working {
    background: #0e0f13;
    padding: 32px 0;
    border-top: 2px solid var(--yellow)
}

.feed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.post {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02))
}

.post__media {
    position: relative;
    aspect-ratio: 16/10
}

.post__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.post__body {
    padding: 12px 14px
}

/* TECH INTRO */
.tech {
    background: #0b0c10;
    padding: 32px 0;
    border-top: 2px solid var(--yellow)
}

.tech__grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 22px;
    align-items: center
}

.panel {
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 14px;
    padding: 18px;
    background: #0e0f13
}

.panel h3 {
    margin: 0 0 8px
}

.go {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 2px solid var(--yellow);
    background: transparent
}

.go:hover {
    background: #111
}

/* NIGHT CITY CHRONICLES (belt links) */
.belt {
    background: #0b0c10;
    padding: 28px 0;
    border-top: 2px solid var(--yellow);
}

.belt__in {
    max-width: 1200px;
    margin: 0 auto
}

.belt__hero {
    position: relative;
    border: 1px solid var(--yellow);
    border-radius: 12px;
    overflow: hidden;
    line-height: 0;
}

.belt__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(.2) contrast(1.1)
}

.belt__links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2px;
    background: var(--yellow)
}

.belt__links a {
    display: block;
    text-align: center;
    font-weight: 900;
    color: #ffe600;
    padding: 10px 8px;
    background: #0e0f13
}

.belt__links a:hover {
    background: #151720
}

@media (max-width:1080px) {
    .u-grid {
        grid-template-columns: 1fr
    }
}

@media (max-width:960px) {
    .hero__in {
        grid-template-columns: 1fr
    }

    .feed {
        grid-template-columns: 1fr
    }

    .tech__grid {
        grid-template-columns: 1fr
    }
}
