/* =====================================================
   FIRE FINDER ROLE PLAY — NEWS PAGE
===================================================== */

:root {
    --news-bg: #070707;
    --news-card: rgba(255, 255, 255, .05);
    --news-card-strong: rgba(255, 255, 255, .075);
    --news-border: rgba(255, 255, 255, .10);
    --news-text: #fff;
    --news-muted: rgba(255, 255, 255, .60);
    --news-accent: #ff7400;
    --news-accent-light: #ffb03a;
    --news-red: #ff4935;
    --news-blue: #55a8ff;
    --news-green: #3ee483;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.news-page {
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 78% 12%, rgba(255, 94, 0, .10), transparent 30%),
        var(--news-bg);
    color: var(--news-text);
    font-family: "Inter", Arial, sans-serif;
}

.news-page a {
    color: inherit;
    text-decoration: none;
}

.news-page button,
.news-page input {
    font: inherit;
}

.news-page .container {
    width: min(1200px, 91%);
    margin: 0 auto;
}

.news-noise {
    position: fixed;
    inset: 0;
    z-index: 90;
    opacity: .023;
    pointer-events: none;
    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

.news-glow {
    position: fixed;
    z-index: -1;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}

.news-glow-one {
    top: 20%;
    left: -350px;
    background: rgba(255, 75, 0, .10);
}

.news-glow-two {
    right: -360px;
    bottom: 8%;
    background: rgba(255, 155, 0, .08);
}

/* Header */

.news-header {
    position: fixed;
    z-index: 80;
    top: 0;
    left: 0;
    width: 100%;
    padding: 22px 0;
    transition: .3s ease;
}

.news-header.scrolled {
    padding: 12px 0;
    background: rgba(5, 5, 6, .78);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    backdrop-filter: blur(22px);
}

.news-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.news-brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
}

.brand-mark {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(255, 140, 0, .5);
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(255, 126, 0, .25), rgba(255, 45, 0, .06));
    box-shadow: 0 12px 35px rgba(255, 85, 0, .17);
    color: var(--news-accent-light);
    font-size: 19px;
    font-style: italic;
    font-weight: 900;
    letter-spacing: -2px;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-copy strong {
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 1.3px;
}

.brand-copy small {
    margin-top: 6px;
    color: var(--news-accent);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 4.1px;
}

.news-nav {
    display: flex;
    align-items: center;
    gap: 31px;
}

.news-nav a {
    position: relative;
    color: rgba(255, 255, 255, .66);
    font-size: 13px;
    font-weight: 600;
    transition: .25s ease;
}

.news-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -9px;
    left: 0;
    height: 2px;
    border-radius: 5px;
    background: var(--news-accent);
    transform: scaleX(0);
    transition: transform .25s ease;
}

.news-nav a:hover,
.news-nav a.active {
    color: #fff;
}

.news-nav a:hover::after,
.news-nav a.active::after {
    transform: scaleX(1);
}

.header-discord {
    padding: 12px 21px;
    border: 1px solid var(--news-border);
    border-radius: 99px;
    background: rgba(255, 255, 255, .055);
    font-size: 13px;
    font-weight: 700;
    transition: .25s ease;
}

.header-discord:hover {
    border-color: rgba(255, 125, 0, .5);
    background: rgba(255, 116, 0, .12);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 12px;
    border: 1px solid var(--news-border);
    border-radius: 13px;
    background: var(--news-card);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 4px 0;
    border-radius: 3px;
    background: #fff;
}

/* Hero */

.news-hero {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    padding: 165px 0 105px;
}

.news-hero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 150px;
    background: linear-gradient(transparent, var(--news-bg));
}

.news-hero-background {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(5, 5, 6, .98), rgba(5, 5, 6, .78) 48%, rgba(5, 5, 6, .58)),
        radial-gradient(circle at 76% 38%, rgba(255, 95, 0, .24), transparent 25%),
        linear-gradient(135deg, #08090b, #17100b 55%, #060606);
}

.news-grid-lines {
    position: absolute;
    right: -7%;
    bottom: -10%;
    width: 62%;
    height: 70%;
    opacity: .17;
    transform: perspective(800px) rotateX(67deg);
    transform-origin: bottom;
    background-image:
        linear-gradient(rgba(255, 119, 0, .35) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 119, 0, .35) 1px, transparent 1px);
    background-size: 52px 52px;
}

.news-fire {
    position: absolute;
    top: 19%;
    right: 11%;
    width: 420px;
    height: 420px;
    border-radius: 47% 53% 59% 41% / 60% 41% 59% 40%;
    background:
        radial-gradient(circle at 50% 65%, rgba(255, 214, 90, .46), transparent 18%),
        radial-gradient(circle at 50% 55%, rgba(255, 83, 0, .39), transparent 45%);
    filter: blur(40px);
    animation: newsFire 5.5s ease-in-out infinite;
}

@keyframes newsFire {
    0%, 100% { opacity: .42; transform: scale(.95) rotate(-3deg); }
    50% { opacity: .72; transform: scale(1.07) rotate(4deg); }
}

.news-hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(380px, .9fr);
    gap: 75px;
    align-items: center;
}

.news-hero-content {
    max-width: 700px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 27px;
    color: var(--news-accent-light);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 4px;
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--news-accent);
    box-shadow: 0 0 0 7px rgba(255, 116, 0, .12), 0 0 22px rgba(255, 116, 0, .8);
}

.news-hero h1 {
    margin: 0;
    font-size: clamp(58px, 7vw, 102px);
    font-weight: 900;
    letter-spacing: -6px;
    line-height: .93;
    text-transform: uppercase;
}

.news-hero h1 span {
    display: block;
    color: transparent;
    background: linear-gradient(90deg, #ff551c, #ffbd43);
    -webkit-background-clip: text;
    background-clip: text;
}

.news-hero-content > p {
    max-width: 640px;
    margin: 34px 0 0;
    color: var(--news-muted);
    font-size: 17px;
    line-height: 1.75;
}

.news-hero-meta {
    display: flex;
    gap: 42px;
    margin-top: 52px;
}

.news-hero-meta div {
    display: flex;
    flex-direction: column;
}

.news-hero-meta strong {
    font-size: 24px;
    font-weight: 900;
}

.news-hero-meta span {
    margin-top: 5px;
    color: rgba(255, 255, 255, .40);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Featured news */

.featured-news {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 30px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .035));
    box-shadow: 0 35px 90px rgba(0, 0, 0, .46);
    backdrop-filter: blur(25px);
}

.featured-news::before {
    content: "";
    position: absolute;
    top: -130px;
    right: -115px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255, 100, 0, .17);
    filter: blur(48px);
}

.featured-top {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.featured-top span {
    color: var(--news-accent-light);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
}

.featured-top time {
    color: rgba(255, 255, 255, .35);
    font-size: 9px;
}

.featured-badge {
    display: inline-flex;
    margin-top: 35px;
    padding: 8px 11px;
    border: 1px solid rgba(255, 130, 0, .28);
    border-radius: 9px;
    background: rgba(255, 116, 0, .09);
    color: var(--news-accent-light);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.featured-news h2 {
    position: relative;
    margin: 18px 0 15px;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -1.3px;
    line-height: 1.1;
}

.featured-news p {
    position: relative;
    margin: 0;
    color: var(--news-muted);
    font-size: 13px;
    line-height: 1.7;
}

.featured-news ul {
    position: relative;
    display: grid;
    gap: 10px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.featured-news li {
    position: relative;
    padding-left: 18px;
    color: rgba(255, 255, 255, .72);
    font-size: 11px;
}

.featured-news li::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--news-accent);
    box-shadow: 0 0 12px rgba(255, 116, 0, .8);
}

/* Controls */

.news-controls-section {
    padding: 10px 0 45px;
}

.news-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 18px;
    border: 1px solid var(--news-border);
    border-radius: 22px;
    background: rgba(255, 255, 255, .035);
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.filter-button {
    padding: 10px 15px;
    border: 1px solid transparent;
    border-radius: 99px;
    background: transparent;
    color: rgba(255, 255, 255, .50);
    cursor: pointer;
    font-size: 10px;
    font-weight: 800;
    transition: .25s ease;
}

.filter-button:hover,
.filter-button.active {
    border-color: rgba(255, 127, 0, .30);
    background: rgba(255, 116, 0, .10);
    color: var(--news-accent-light);
}

.search-box {
    display: flex;
    width: min(340px, 100%);
    align-items: center;
    gap: 11px;
    padding: 11px 15px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    background: rgba(0, 0, 0, .18);
}

.search-box span {
    color: rgba(255, 255, 255, .25);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.search-box input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font-size: 11px;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, .24);
}

/* News list */

.news-list-section {
    padding: 45px 0 120px;
}

.news-list {
    display: grid;
    gap: 22px;
}

.news-entry {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 22px;
    transition: opacity .25s ease, transform .25s ease;
}

.news-entry.hidden {
    display: none;
}

.news-entry-date {
    display: flex;
    justify-content: center;
}

.news-entry-date time {
    position: sticky;
    top: 110px;
    display: flex;
    width: 72px;
    height: 92px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 1px solid var(--news-border);
    border-radius: 20px;
    background: rgba(255, 255, 255, .04);
}

.news-entry-date span {
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
}

.news-entry-date strong {
    margin-top: 5px;
    color: var(--news-accent);
    font-size: 10px;
    letter-spacing: 1.5px;
}

.news-entry-date small {
    margin-top: 4px;
    color: rgba(255, 255, 255, .28);
    font-size: 8px;
}

.news-entry-card {
    position: relative;
    overflow: hidden;
    padding: 31px 34px;
    border: 1px solid var(--news-border);
    border-radius: 26px;
    background: var(--news-card);
    transition: .3s ease;
}

.news-entry-card::after {
    content: "";
    position: absolute;
    right: -100px;
    bottom: -120px;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: rgba(255, 98, 0, .08);
    filter: blur(45px);
    transition: .3s ease;
}

.news-entry-card:hover {
    border-color: rgba(255, 125, 0, .28);
    background: var(--news-card-strong);
    transform: translateY(-4px);
}

.news-entry-card:hover::after {
    background: rgba(255, 98, 0, .14);
}

.news-entry-head {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 25px;
}

.news-type {
    display: inline-flex;
    padding: 7px 10px;
    border: 1px solid;
    border-radius: 9px;
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 1.2px;
}

.update-type {
    border-color: rgba(255, 126, 0, .28);
    background: rgba(255, 116, 0, .09);
    color: var(--news-accent-light);
}

.event-type {
    border-color: rgba(85, 168, 255, .28);
    background: rgba(85, 168, 255, .09);
    color: #8ac4ff;
}

.technical-type {
    border-color: rgba(255, 73, 53, .28);
    background: rgba(255, 73, 53, .09);
    color: #ff8476;
}

.faction-type {
    border-color: rgba(62, 228, 131, .28);
    background: rgba(62, 228, 131, .09);
    color: #73efaa;
}

.news-entry h2 {
    margin: 13px 0 0;
    font-size: 27px;
    font-weight: 900;
    letter-spacing: -1.1px;
    line-height: 1.15;
}

.news-version {
    flex: 0 0 auto;
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 9px;
    color: rgba(255, 255, 255, .34);
    font-size: 9px;
    font-weight: 800;
}

.news-entry-card > p {
    position: relative;
    z-index: 2;
    margin: 21px 0 0;
    color: var(--news-muted);
    font-size: 13px;
    line-height: 1.78;
}

.news-details {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 23px;
}

.news-details span {
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, .075);
    border-radius: 9px;
    background: rgba(255, 255, 255, .025);
    color: rgba(255, 255, 255, .46);
    font-size: 9px;
    font-weight: 700;
}

.empty-state {
    padding: 90px 20px;
    text-align: center;
}

.empty-state span {
    color: var(--news-accent);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 3px;
}

.empty-state h3 {
    margin: 15px 0 10px;
    font-size: 30px;
}

.empty-state p {
    margin: 0;
    color: var(--news-muted);
    font-size: 13px;
}

/* Footer */

.news-footer {
    padding: 80px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, .075);
    background: #040405;
}

.news-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.4fr 1fr;
    gap: 50px;
}

.footer-brand-block p {
    max-width: 380px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, .42);
    font-size: 12px;
    line-height: 1.7;
}

.footer-column {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
}

.footer-column h3 {
    margin: 0 0 8px;
    font-size: 13px;
}

.footer-column a {
    color: rgba(255, 255, 255, .42);
    font-size: 11px;
    transition: .25s ease;
}

.footer-column a:hover {
    color: var(--news-accent-light);
    transform: translateX(4px);
}

.news-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 55px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .26);
    font-size: 10px;
}

/* Responsive */

@media (max-width: 1000px) {
    .news-hero-layout {
        grid-template-columns: 1fr .8fr;
        gap: 38px;
    }

    .news-footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

    .footer-brand-block {
        grid-column: 1 / -1;
    }
}

@media (max-width: 820px) {
    .header-discord,
    .news-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .news-nav.open {
        position: absolute;
        top: 74px;
        right: 4.5%;
        display: flex;
        width: min(320px, 91%);
        align-items: stretch;
        flex-direction: column;
        gap: 4px;
        padding: 15px;
        border: 1px solid var(--news-border);
        border-radius: 18px;
        background: rgba(8, 8, 9, .97);
        box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
    }

    .news-nav.open a {
        padding: 12px;
        border-radius: 10px;
    }

    .news-hero {
        padding-top: 150px;
    }

    .news-hero-layout {
        grid-template-columns: 1fr;
    }

    .news-hero-content {
        text-align: center;
    }

    .eyebrow {
        justify-content: center;
    }

    .news-hero-content > p {
        margin-right: auto;
        margin-left: auto;
    }

    .news-hero-meta {
        justify-content: center;
    }

    .featured-news {
        width: min(560px, 100%);
        margin: 20px auto 0;
    }

    .news-controls {
        align-items: stretch;
        flex-direction: column;
    }

    .search-box {
        width: 100%;
    }
}

@media (max-width: 620px) {
    .news-page .container {
        width: 92%;
    }

    .news-header {
        padding: 14px 0;
    }

    .brand-mark {
        width: 43px;
        height: 43px;
    }

    .brand-copy strong {
        font-size: 13px;
    }

    .news-hero {
        min-height: auto;
        padding: 135px 0 90px;
    }

    .news-hero h1 {
        font-size: 48px;
        letter-spacing: -3.6px;
    }

    .news-hero-meta {
        gap: 20px;
        justify-content: space-between;
    }

    .news-hero-meta strong {
        font-size: 20px;
    }

    .news-hero-meta span {
        font-size: 8px;
    }

    .featured-news {
        padding: 22px;
    }

    .featured-news h2 {
        font-size: 25px;
    }

    .filter-group {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .filter-button {
        width: 100%;
    }

    .news-list-section {
        padding-bottom: 80px;
    }

    .news-entry {
        grid-template-columns: 1fr;
    }

    .news-entry-date {
        justify-content: flex-start;
    }

    .news-entry-date time {
        position: static;
        width: auto;
        height: auto;
        align-items: center;
        flex-direction: row;
        gap: 7px;
        padding: 9px 13px;
        border-radius: 12px;
    }

    .news-entry-date span {
        font-size: 17px;
    }

    .news-entry-date strong {
        margin-top: 0;
    }

    .news-entry-date small {
        margin-top: 0;
    }

    .news-entry-card {
        padding: 24px;
    }

    .news-entry-head {
        flex-direction: column;
        gap: 12px;
    }

    .news-entry h2 {
        font-size: 24px;
    }

    .news-footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand-block {
        grid-column: auto;
    }

    .news-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
