/* =========================================================
   ZERITH RSPS — NEW HOMEPAGE
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #020304;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.page-width {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    height: 86px;
    position: relative;
    z-index: 100;

    background:
        linear-gradient(
            180deg,
            rgba(4,5,6,.99),
            rgba(1,2,3,.98)
        );

    border-bottom: 1px solid rgba(160, 28, 34, .35);
}

.header-inner {
    width: min(1180px, calc(100% - 40px));
    height: 100%;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 250px 1fr;
    align-items: center;
}

.nav {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-left {
    justify-content: flex-start;
}

.nav-right {
    justify-content: flex-end;
}

.nav a {
    height: 100%;
    display: flex;
    align-items: center;

    position: relative;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .8px;

    transition:
        color .2s ease,
        background .2s ease;
}

.nav a:hover {
    color: #ef343d;
}

.nav a.active {
    background: rgba(120, 12, 18, .10);
}

.nav a.active::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 2px;

    background: #d71d27;

    box-shadow:
        0 0 10px rgba(215,29,39,.55);
}


/* HEADER LOGO */

.header-logo {
    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;
    z-index: 5;
}

.header-logo img {
    width: 230px;
    max-height: 120px;
    object-fit: contain;

    filter:
        drop-shadow(0 8px 10px rgba(0,0,0,.95))
        drop-shadow(0 0 10px rgba(210,25,34,.20));
}


/* HEADER PLAY */

.nav a.header-play {
    height: 42px;

    padding: 0 25px;

    gap: 8px;

    border: 1px solid #e52a34;

    background:
        linear-gradient(
            180deg,
            #dc202b,
            #9d0b13
        );

    box-shadow:
        inset 0 1px rgba(255,255,255,.12),
        0 0 18px rgba(205,20,29,.18);
}

.nav a.header-play:hover {
    color: #fff;

    background:
        linear-gradient(
            180deg,
            #ef2c36,
            #b20d17
        );
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    height: 610px;

    overflow: hidden;

    background:
        #030304
        url("/images/zerith/hero-final-new.png?v=1")
        center center / cover no-repeat;
}

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.34) 0%,
            transparent 20%,
            transparent 80%,
            rgba(0,0,0,.34) 100%
        );
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.02) 0%,
            rgba(0,0,0,.03) 55%,
            rgba(1,2,3,.80) 100%
        );
}


/* HERO CONTENT */

.hero-content {
    width: 100%;
    height: 100%;

    position: relative;
    z-index: 4;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;

    padding: 0 20px 52px;

    text-align: center;
}

.hero-tagline {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 18px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 25px;
    font-weight: 700;

    letter-spacing: 6px;

    text-shadow:
        0 3px 8px #000,
        0 0 15px rgba(0,0,0,.9);
}

.hero-tagline i,
.footer-tagline i {
    width: 7px;
    height: 7px;

    display: block;

    background: #df222c;

    transform: rotate(45deg);

    box-shadow:
        0 0 10px rgba(226,30,40,.85);
}

.hero-subtitle {
    margin-top: 10px;

    color: rgba(255,255,255,.67);

    font-size: 8px;

    letter-spacing: 4px;
}


/* HERO BUTTONS */

.hero-buttons {
    margin-top: 22px;

    display: flex;
    justify-content: center;

    gap: 12px;
}

.button {
    width: 190px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    border: 1px solid rgba(255,255,255,.18);

    font-size: 11px;
    font-weight: 900;

    letter-spacing: .5px;

    transition:
        transform .2s ease,
        filter .2s ease,
        border-color .2s ease;
}

.button:hover {
    transform: translateY(-2px);
    filter: brightness(1.12);
}

.button-red {
    border-color: #f23a43;

    background:
        linear-gradient(
            180deg,
            #dc202b,
            #a20b14
        );

    box-shadow:
        0 10px 25px rgba(0,0,0,.38),
        0 0 16px rgba(200,20,29,.15);
}

.button-dark {
    background: rgba(3,4,5,.90);
}


/* =========================================================
   MIDDLE WORLD
========================================================= */

.zerith-world {
    position: relative;

    background:
        linear-gradient(
            180deg,
            rgba(2,3,4,.22) 0%,
            rgba(2,3,4,.42) 45%,
            rgba(2,3,4,.70) 100%
        ),
        url("/images/zerith/middle-final-new.png?v=1")
        center top / cover no-repeat;

    overflow: hidden;
}

.zerith-world::before {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.38),
            transparent 16%,
            transparent 84%,
            rgba(0,0,0,.38)
        );
}

.features-section,
.community-section,
.news-section {
    position: relative;
    z-index: 2;
}


/* =========================================================
   FEATURES
========================================================= */

.features-section {
    padding: 0 0 38px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);

    transform: translateY(-1px);

    border: 1px solid rgba(171, 36, 42, .58);

    background:
        linear-gradient(
            180deg,
            rgba(8,9,10,.96),
            rgba(2,3,4,.97)
        );

    box-shadow:
        0 18px 45px rgba(0,0,0,.55);
}

.feature-card {
    min-height: 135px;

    padding: 22px 12px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    transition:
        background .2s ease,
        transform .2s ease;
}

.feature-card:hover {
    background: rgba(116, 14, 20, .16);
}

.feature-card:not(:last-child) {
    border-right: 1px solid rgba(155, 31, 37, .38);
}

.feature-icon {
    min-height: 29px;

    color: #ec2b34;

    font-size: 23px;

    text-shadow:
        0 0 13px rgba(239,34,44,.40);
}

.feature-card h3 {
    margin-top: 6px;

    font-family: Georgia, serif;

    font-size: 12px;

    letter-spacing: .8px;
}

.feature-card p {
    margin-top: 8px;

    color: #aeb5ba;

    font-size: 8px;
    line-height: 1.65;
}


/* =========================================================
   COMMUNITY / DISCORD / FORUM / STORE
========================================================= */

.community-section {
    padding: 10px 0 65px;
}

.community-layout {
    display: grid;

    grid-template-columns: 1.42fr 1fr;

    gap: 20px;
}


/* DISCORD PANEL */

.discord-panel {
    min-height: 430px;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border: 1px solid rgba(177, 38, 44, .66);

    background:
        linear-gradient(
            180deg,
            rgba(8,9,11,.97),
            rgba(2,3,4,.98)
        );

    box-shadow:
        0 18px 42px rgba(0,0,0,.50);
}

.panel-heading {
    min-height: 76px;

    padding: 17px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom:
        1px solid rgba(158, 35, 40, .35);

    background:
        linear-gradient(
            90deg,
            rgba(112,13,18,.22),
            rgba(5,6,7,.20)
        );
}

.eyebrow {
    display: block;

    color: #ba555b;

    font-size: 7px;
    font-weight: 800;

    letter-spacing: 2.2px;
}

.panel-heading h2 {
    margin-top: 7px;

    font-family: Georgia, serif;

    font-size: 19px;

    letter-spacing: 2px;
}

.discord-status {
    padding: 7px 11px;

    border: 1px solid rgba(230,43,52,.50);

    background: rgba(149,17,24,.18);

    color: #ee343d;

    font-size: 7px;
    font-weight: 900;

    letter-spacing: 1.5px;
}

.discord-frame-wrap {
    height: 292px;

    background: #111214;
}

.discord-frame-wrap iframe {
    display: block;

    width: 100%;
    height: 100%;

    border: 0;
}

.discord-join {
    min-height: 60px;

    margin-top: auto;

    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background:
        linear-gradient(
            90deg,
            #a80e17,
            #d51c27
        );

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1.4px;

    transition:
        filter .2s ease;
}

.discord-join span {
    font-size: 20px;
}

.discord-join:hover {
    filter: brightness(1.15);
}


/* COMMUNITY + STORE */

.community-promos {
    display: grid;

    grid-template-rows: 1fr 1fr;

    gap: 20px;
}

.promo-card {
    min-height: 205px;

    position: relative;

    overflow: hidden;

    border: 1px solid rgba(177, 38, 44, .62);

    background-color: #050607;

    box-shadow:
        0 15px 35px rgba(0,0,0,.48);

    transition:
        transform .25s ease,
        border-color .25s ease,
        filter .25s ease;
}

.promo-card:hover {
    transform: translateY(-3px);

    border-color:
        rgba(238, 46, 55, .95);

    filter: brightness(1.06);
}

.community-card {
    background:
        url("/images/zerith/community-final-new.png?v=1")
        center center / cover no-repeat;
}

.store-card {
    background:
        url("/images/zerith/store-final-new.png?v=1")
        center center / cover no-repeat;
}

.promo-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(2,3,4,.97) 0%,
            rgba(2,3,4,.78) 46%,
            rgba(2,3,4,.20) 100%
        );
}

.promo-content {
    width: 62%;

    position: absolute;
    z-index: 2;

    left: 23px;
    top: 50%;

    transform: translateY(-50%);
}

.promo-content h3 {
    margin-top: 7px;

    font-family: Georgia, serif;

    font-size: 17px;

    letter-spacing: .8px;
}

.promo-content p {
    margin-top: 10px;

    color: #b9c0c5;

    font-size: 8px;
    line-height: 1.65;
}

.promo-link {
    margin-top: 17px;

    display: inline-flex;
    align-items: center;

    gap: 9px;

    color: #ef3039;

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 1px;
}

.promo-link b {
    font-size: 16px;
}


/* =========================================================
   NEWS
========================================================= */

.news-section {
    padding: 0 0 75px;
}

.section-heading {
    margin-bottom: 30px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;

    align-items: center;

    gap: 35px;
}

.heading-line {
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(198,30,38,.85)
        );
}

.heading-line-right {
    background:
        linear-gradient(
            90deg,
            rgba(198,30,38,.85),
            transparent
        );
}

.heading-center {
    text-align: center;
}

.heading-center span {
    color: #ad5157;

    font-size: 7px;

    letter-spacing: 3px;
}

.heading-center h2 {
    margin-top: 6px;

    font-family: Georgia, serif;

    font-size: 23px;

    letter-spacing: 4px;
}


/* NEWS GRID */

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.news-card {
    overflow: hidden;

    border: 1px solid rgba(150, 43, 48, .58);

    background:
        linear-gradient(
            180deg,
            rgba(8,9,10,.98),
            rgba(2,3,4,.99)
        );

    box-shadow:
        0 15px 36px rgba(0,0,0,.46);

    transition:
        transform .25s ease,
        border-color .25s ease;
}

.news-card:hover {
    transform: translateY(-4px);

    border-color:
        rgba(230, 42, 51, .90);
}

.news-image {
    height: 195px;

    display: block;

    position: relative;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.news-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 48%,
            rgba(2,3,4,.80) 100%
        );
}


/* NEWS IMAGES */

.news-update-image {
    background-image:
        url("/images/zerith/news-update-new.png?v=1");
}

.news-zulrah-image {
    background-image:
        url("/images/zerith/zulrah.gif?v=1");

    background-color: #080b0e;
}

.news-vorkath-image {
    background-image:
        url("/images/zerith/vortkath.gif?v=1");

    background-color: #080b0e;
}


/* NEWS LABELS */

.news-type {
    position: absolute;

    z-index: 3;

    top: 13px;
    left: 13px;

    padding: 6px 10px;

    font-size: 7px;
    font-weight: 900;

    letter-spacing: .6px;
}

.news-update {
    background: #d91d27;
}

.news-boss {
    background: #751c25;
}


/* NEWS CONTENT */

.news-content {
    min-height: 180px;

    padding: 19px;

    display: flex;
    flex-direction: column;
}

.news-date {
    color: #68747b;

    font-size: 7px;

    letter-spacing: 1.3px;
}

.news-content h3 {
    margin-top: 10px;

    font-family: Georgia, serif;

    font-size: 16px;
}

.news-content p {
    margin-top: 10px;

    color: #b4bbc0;

    font-size: 8px;
    line-height: 1.7;
}

.news-content > a {
    margin-top: auto;

    padding-top: 20px;

    color: #ef2d36;

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 1px;
}

.news-content > a span {
    margin-left: 8px;
}


/* =========================================================
   START YOUR JOURNEY
========================================================= */

.journey-section {
    position: relative;

    height: 470px;

    overflow: hidden;

    background:
        #030304
        url("/images/zerith/journey-final-new.png?v=1")
        center center / cover no-repeat;
}

.journey-overlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            ellipse at center,
            rgba(0,0,0,.12) 0%,
            rgba(0,0,0,.20) 42%,
            rgba(0,0,0,.65) 100%
        );
}

.journey-content {
    width: 100%;
    height: 100%;

    position: relative;
    z-index: 3;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 20px;

    text-align: center;

    text-shadow:
        0 3px 9px #000;
}

.journey-small {
    color: #ef323b;

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 4px;
}

.journey-content h2 {
    margin-top: 13px;

    font-family: Georgia, serif;

    font-size: 31px;

    letter-spacing: 6px;
}

.journey-content p {
    margin-top: 11px;

    color: rgba(255,255,255,.80);

    font-size: 8px;

    letter-spacing: 3px;
}

.journey-button {
    width: 220px;
    height: 54px;

    margin-top: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    border: 1px solid #f13a43;

    background:
        linear-gradient(
            180deg,
            #dc202b,
            #a30b14
        );

    font-size: 11px;
    font-weight: 900;

    box-shadow:
        0 10px 27px rgba(0,0,0,.40),
        0 0 20px rgba(194,19,28,.16);

    transition:
        transform .2s ease,
        filter .2s ease;
}

.journey-button:hover {
    transform: translateY(-2px);

    filter: brightness(1.13);
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    position: relative;

    background:
        linear-gradient(
            180deg,
            #030405 0%,
            #010203 100%
        );

    overflow: hidden;
}

.site-footer::before {
    content: "";

    position: absolute;

    left: 50%;
    top: -110px;

    width: 700px;
    height: 280px;

    transform: translateX(-50%);

    background:
        radial-gradient(
            ellipse,
            rgba(151,16,23,.13),
            transparent 70%
        );

    pointer-events: none;
}


/* FOOTER LOGO */

.footer-logo-area {
    min-height: 245px;

    position: relative;
    z-index: 2;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 32px;

    padding: 22px 20px 8px;
}

.footer-logo-area a {
    display: block;
}

.footer-logo {
    width: 500px;
    max-height: 215px;

    object-fit: contain;

    filter:
        drop-shadow(0 12px 15px rgba(0,0,0,.95))
        drop-shadow(0 0 18px rgba(197,23,31,.18));
}

.footer-line {
    width: 220px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(201,32,40,.70)
        );
}

.footer-line-right {
    background:
        linear-gradient(
            90deg,
            rgba(201,32,40,.70),
            transparent
        );
}


/* FOOTER NAV */

.footer-nav-area {
    min-height: 58px;

    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-top:
        1px solid rgba(130,31,36,.28);

    border-bottom:
        1px solid rgba(130,31,36,.28);
}

.footer-nav,
.footer-socials {
    display: flex;
    align-items: center;

    gap: 14px;
}

.footer-nav a,
.footer-socials a {
    font-size: 8px;
    font-weight: 800;

    letter-spacing: .8px;

    transition:
        color .2s ease;
}

.footer-nav a:hover,
.footer-socials a:hover {
    color: #ec2b34;
}

.footer-nav span {
    color: rgba(255,255,255,.18);
}


/* FOOTER BOTTOM */

.footer-bottom {
    min-height: 78px;

    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1fr auto 1fr;

    align-items: center;

    gap: 20px;
}

.footer-copyright p {
    color: rgba(255,255,255,.60);

    font-size: 7px;
}

.footer-copyright span {
    display: block;

    margin-top: 5px;

    color: rgba(255,255,255,.32);

    font-size: 6px;
}

.footer-tagline {
    display: flex;
    align-items: center;

    gap: 12px;

    color: rgba(255,255,255,.76);

    font-family: Georgia, serif;

    font-size: 7px;

    letter-spacing: 3px;
}

.footer-tagline i {
    width: 4px;
    height: 4px;
}

.footer-legal {
    display: flex;
    justify-content: flex-end;
    align-items: center;

    gap: 8px;

    color: rgba(255,255,255,.46);

    font-size: 6px;
}

.footer-legal a:hover {
    color: #e52a33;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .header-inner {
        grid-template-columns: 1fr 190px 1fr;
    }

    .nav {
        gap: 18px;
    }

    .header-logo img {
        width: 190px;
    }

    .hero {
        height: 550px;
    }

    .community-layout {
        grid-template-columns: 1.25fr 1fr;
    }

    .footer-line {
        width: 120px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 780px) {

    .page-width {
        width: min(94%, 620px);
    }


    /* HEADER */

    .site-header {
        height: auto;
    }

    .header-inner {
        width: 94%;

        min-height: 82px;

        display: flex;
        flex-wrap: wrap;
        justify-content: center;

        padding: 7px 0 12px;
    }

    .header-logo {
        width: 100%;

        order: 1;
    }

    .header-logo img {
        width: 175px;
    }

    .nav-left {
        order: 2;
    }

    .nav-right {
        order: 3;
    }

    .nav {
        height: 38px;

        gap: 15px;
    }

    .nav a {
        height: 38px;

        font-size: 8px;
    }

    .nav a.header-play {
        height: 34px;

        padding: 0 13px;
    }


    /* HERO */

    .hero {
        height: 490px;

        background-position: center center;
    }

    .hero-content {
        padding-bottom: 42px;
    }

    .hero-tagline {
        gap: 11px;

        font-size: 18px;

        letter-spacing: 3px;
    }

    .button {
        width: 170px;
    }


    /* FEATURES */

    .features-section {
        padding-top: 15px;
    }

    .features-grid {
        transform: none;

        grid-template-columns:
            repeat(2, 1fr);
    }

    .feature-card {
        min-height: 120px;

        border-bottom:
            1px solid rgba(154,31,37,.38);
    }

    .feature-card:not(:last-child) {
        border-right: none;
    }

    .feature-card:nth-child(odd) {
        border-right:
            1px solid rgba(154,31,37,.38);
    }

    .feature-card:last-child {
        grid-column: 1 / -1;
    }


    /* COMMUNITY */

    .community-layout {
        grid-template-columns: 1fr;
    }

    .discord-panel {
        min-height: 420px;
    }

    .community-promos {
        grid-template-columns:
            repeat(2, 1fr);

        grid-template-rows: 210px;

        gap: 15px;
    }

    .promo-card {
        min-height: 210px;
    }

    .promo-content {
        width: 72%;
    }


    /* NEWS */

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-image {
        height: 260px;
    }

    .section-heading {
        gap: 15px;
    }


    /* JOURNEY */

    .journey-section {
        height: 390px;
    }

    .journey-content h2 {
        font-size: 24px;

        letter-spacing: 4px;
    }


    /* FOOTER */

    .footer-logo-area {
        min-height: 205px;
    }

    .footer-logo {
        width: 390px;
    }

    .footer-line {
        width: 65px;
    }

    .footer-nav-area {
        flex-direction: column;

        justify-content: center;

        gap: 14px;

        padding: 14px 0;
    }

    .footer-bottom {
        grid-template-columns: 1fr;

        justify-items: center;

        text-align: center;

        padding: 18px 0;

        gap: 13px;
    }

    .footer-legal {
        justify-content: center;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 520px) {

    .nav-left,
    .nav-right {
        width: 100%;

        justify-content: center;
    }

    .nav {
        gap: 12px;
    }

    .hero {
        height: 430px;
    }

    .hero-tagline {
        gap: 8px;

        font-size: 14px;

        letter-spacing: 2px;
    }

    .hero-tagline i {
        width: 5px;
        height: 5px;
    }

    .hero-subtitle {
        letter-spacing: 2px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: center;
    }

    .button {
        width: 215px;
    }


    /* FEATURES */

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card,
    .feature-card:nth-child(odd) {
        border-right: none;
    }

    .feature-card:last-child {
        grid-column: auto;
    }


    /* DISCORD */

    .discord-frame-wrap {
        height: 310px;
    }

    .community-promos {
        grid-template-columns: 1fr;

        grid-template-rows:
            210px 210px;
    }

    .promo-content {
        width: 68%;
    }


    /* NEWS */

    .news-image {
        height: 220px;
    }

    .heading-line {
        display: none;
    }

    .section-heading {
        display: block;
    }


    /* JOURNEY */

    .journey-section {
        height: 350px;
    }

    .journey-content h2 {
        font-size: 20px;

        letter-spacing: 3px;
    }

    .journey-content p {
        line-height: 1.7;
    }


    /* FOOTER */

    .footer-logo {
        width: 300px;
    }

    .footer-line {
        width: 25px;
    }

    .footer-nav {
        gap: 8px;
    }
}
/* =========================================================
   ZERITH — MOCKUP MATCH FINAL TWEAKS
   Header + Hero + Footer
========================================================= */


/* =========================================================
   HEADER BLENDED INTO HERO
========================================================= */

.site-header {
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;

    height: 86px;

    z-index: 1000;

    background:
        linear-gradient(
            180deg,
            rgba(1,2,3,.88) 0%,
            rgba(1,2,3,.62) 65%,
            rgba(1,2,3,.18) 100%
        ) !important;

    border-bottom:
        1px solid rgba(206, 30, 39, .42) !important;

    backdrop-filter: blur(2px);
}


/* Hero starts at very top behind header */

.hero {
    height: 660px !important;

    background:
        #030304
        url("/images/zerith/hero-final-new.png?v=2")
        center top / cover no-repeat !important;
}


/* Darken only the top slightly for navigation readability */

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.18) 0px,
            rgba(0,0,0,.05) 150px,
            transparent 280px,
            rgba(0,0,0,.05) 65%,
            rgba(2,3,4,.82) 100%
        ) !important;

    pointer-events: none;
}


/* Remove heavy separate-header appearance */

.header-inner {
    position: relative;
    z-index: 2;
}


/* Header links */

.nav a {
    text-shadow:
        0 2px 5px rgba(0,0,0,.95);

    transition:
        color .2s ease,
        text-shadow .2s ease;
}

.nav a:hover {
    color: #ff3842;

    text-shadow:
        0 0 12px rgba(230,35,44,.55);
}


/* Header logo */

.header-logo img {
    width: 225px;

    filter:
        drop-shadow(0 8px 10px rgba(0,0,0,.95))
        drop-shadow(0 0 12px rgba(213,24,33,.30));
}


/* =========================================================
   HERO CONTENT POSITION
========================================================= */

.hero-content {
    padding-bottom: 65px !important;
}

.hero-tagline {
    text-shadow:
        0 3px 8px #000,
        0 0 18px rgba(0,0,0,.95);
}


/* =========================================================
   FEATURES ATTACH TO HERO
========================================================= */

.features-section {
    padding-top: 0 !important;
}

.features-grid {
    position: relative;

    margin-top: -1px;

    box-shadow:
        0 18px 45px rgba(0,0,0,.60),
        0 0 25px rgba(128,12,18,.08);
}


/* =========================================================
   JOURNEY -> FOOTER TRANSITION
========================================================= */

.journey-section {
    border-bottom:
        1px solid rgba(205,30,39,.48);
}

.journey-section::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 100px;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(2,3,4,.88)
        );
}


/* =========================================================
   NEW FOOTER — MATCH MOCKUP
========================================================= */

.site-footer {
    min-height: 330px !important;

    position: relative;

    background:
        radial-gradient(
            ellipse at 50% 20%,
            rgba(112,12,18,.15),
            transparent 42%
        ),
        linear-gradient(
            180deg,
            #030405 0%,
            #010203 100%
        ) !important;

    border-top: none !important;
}


/* Main footer logo row */

.footer-logo-area {
    min-height: 215px !important;

    padding:
        18px 20px 0 !important;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 35px;
}


/* Bigger dragon logo */

.footer-logo {
    width: 520px !important;
    max-height: 205px !important;

    object-fit: contain;

    filter:
        drop-shadow(0 13px 16px rgba(0,0,0,.95))
        drop-shadow(0 0 16px rgba(201,24,33,.24));
}


/* Red lines beside logo */

.footer-line {
    width: 190px !important;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(216,30,39,.72)
        ) !important;
}

.footer-line-right {
    background:
        linear-gradient(
            90deg,
            rgba(216,30,39,.72),
            transparent
        ) !important;
}


/* Navigation row */

.footer-nav-area {
    min-height: 58px !important;

    border-top:
        1px solid rgba(157,28,34,.28) !important;

    border-bottom:
        1px solid rgba(157,28,34,.28) !important;
}


/* Footer links */

.footer-nav a,
.footer-socials a {
    font-size: 8px;

    letter-spacing: 1px;
}


/* Small red separators */

.footer-nav span {
    color: #b81a22 !important;
}


/* Bottom row */

.footer-bottom {
    min-height: 75px !important;
}


/* =========================================================
   MAKE THE MIDDLE FEEL CONNECTED
========================================================= */

.zerith-world {
    background:
        linear-gradient(
            180deg,
            rgba(2,3,4,.10) 0%,
            rgba(2,3,4,.32) 30%,
            rgba(2,3,4,.50) 70%,
            rgba(2,3,4,.75) 100%
        ),
        url("/images/zerith/middle-final-new.png?v=2")
        center top / cover no-repeat !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 780px) {

    .site-header {
        position: relative !important;

        background:
            rgba(2,3,4,.97) !important;
    }

    .hero {
        height: 500px !important;

        background-position:
            center center !important;
    }

    .footer-logo {
        width: 380px !important;
    }

    .footer-line {
        width: 60px !important;
    }
}


@media (max-width: 520px) {

    .hero {
        height: 440px !important;
    }

    .footer-logo-area {
        min-height: 180px !important;
    }

    .footer-logo {
        width: 285px !important;
    }

    .footer-line {
        width: 20px !important;
    }
}
/* =========================================================
   ZERITH — FINAL HEADER + JOURNEY + FOOTER POLISH
========================================================= */


/* =========================
   HEADER — WIDER LIKE MOCKUP
========================= */

.header-inner {
    width: min(1500px, calc(100% - 70px)) !important;
    grid-template-columns: 1fr 250px 1fr !important;
}

.nav-left {
    justify-content: flex-start !important;
}

.nav-right {
    justify-content: flex-end !important;
}


/* Keep logo centered */

.header-logo {
    justify-self: center;
}


/* =========================
   JOURNEY
========================= */

.journey-section {
    height: 455px !important;
}

.journey-content {
    justify-content: flex-start !important;
    padding-top: 150px !important;
}

.journey-content h2 {
    margin-top: 10px;
}

.journey-content p {
    margin-top: 10px;
}


/* Smooth Journey into footer */

.journey-section::after {
    height: 65px !important;

    background:
        linear-gradient(
            180deg,
            transparent 0%,
            rgba(2,3,4,.22) 55%,
            rgba(2,3,4,.75) 100%
        ) !important;
}


/* =========================
   COMPACT FOOTER
========================= */

.site-footer {
    min-height: 0 !important;

    background:
        radial-gradient(
            ellipse at 50% 0%,
            rgba(132,13,20,.17),
            transparent 38%
        ),
        #020304 !important;
}


/* Main logo area */

.footer-logo-area {
    min-height: 0 !important;
    height: 205px !important;

    padding: 8px 35px 0 !important;

    gap: 35px !important;
}


/* Dragon logo */

.footer-logo {
    width: 430px !important;
    max-height: 185px !important;

    object-fit: contain !important;
}


/* Lines beside logo */

.footer-line {
    width: min(230px, 16vw) !important;
}


/* =========================
   FOOTER NAVIGATION
========================= */

.footer-nav-area {
    min-height: 52px !important;
    height: 52px !important;

    width: min(1500px, calc(100% - 70px)) !important;

    padding: 0 !important;

    border-top:
        1px solid rgba(170,27,34,.35) !important;

    border-bottom:
        1px solid rgba(170,27,34,.25) !important;
}

.footer-nav {
    gap: 14px !important;
}

.footer-nav a,
.footer-socials a {
    font-size: 8px !important;
    font-weight: 900 !important;

    letter-spacing: 1px !important;
}


/* =========================
   FOOTER BOTTOM
========================= */

.footer-bottom {
    min-height: 58px !important;
    height: 58px !important;

    width: min(1500px, calc(100% - 70px)) !important;

    padding: 0 !important;
}

.footer-copyright p {
    font-size: 7px !important;
}

.footer-copyright span {
    font-size: 6px !important;
}

.footer-tagline {
    font-size: 7px !important;
}

.footer-legal {
    font-size: 6px !important;
}


/* =========================
   DESKTOP FOOTER TOTAL SIZE
========================= */

@media (min-width: 781px) {

    .site-footer {
        height: 315px !important;
    }

}


/* =========================
   TABLET / MOBILE
========================= */

@media (max-width: 780px) {

    .header-inner {
        width: 94% !important;
    }

    .journey-section {
        height: 390px !important;
    }

    .journey-content {
        justify-content: center !important;
        padding-top: 20px !important;
    }

    .footer-logo-area {
        height: 180px !important;
    }

    .footer-logo {
        width: 350px !important;
    }

    .footer-nav-area {
        width: 94% !important;

        height: auto !important;
        min-height: 70px !important;

        padding: 12px 0 !important;
    }

    .footer-bottom {
        width: 94% !important;

        height: auto !important;
        min-height: 100px !important;

        padding: 15px 0 !important;
    }
}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 520px) {

    .journey-section {
        height: 350px !important;
    }

    .footer-logo-area {
        height: 155px !important;
    }

    .footer-logo {
        width: 280px !important;
    }

    .footer-line {
        width: 20px !important;
    }
}
/* =========================================================
   ZERITH — NEW FOOTER BACKGROUND
========================================================= */

.site-footer {
    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.08) 0%,
            rgba(0,0,0,.15) 55%,
            rgba(0,0,0,.35) 100%
        ),
        url("/images/zerith/footer-bg-new.png?v=1")
        center center / cover no-repeat !important;

    border-top:
        1px solid rgba(215, 30, 39, .65) !important;
}

/* =========================================================
   ZERITH — FINAL Z HEADER
========================================================= */

.site-header {
    height: 100px !important;

    background:
        linear-gradient(
            90deg,
            rgba(2,3,4,.92),
            rgba(28,3,6,.76) 50%,
            rgba(2,3,4,.92)
        ) !important;

    border-top: 1px solid rgba(230,28,38,.45) !important;
    border-bottom: 1px solid rgba(230,28,38,.65) !important;

    box-shadow:
        0 4px 25px rgba(0,0,0,.55),
        0 0 18px rgba(190,15,24,.10);
}


/* Wider header */

.header-inner {
    width: min(1650px, calc(100% - 80px)) !important;

    grid-template-columns:
        1fr 260px 1fr !important;
}


/* =========================
   CENTER Z
========================= */

.header-logo {
    height: 100px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    overflow: visible !important;
}

.header-logo img {
    width: 190px !important;
    height: 145px !important;

    max-height: none !important;

    object-fit: contain !important;

    filter:
        drop-shadow(0 0 8px rgba(255,30,40,.50))
        drop-shadow(0 0 18px rgba(210,15,25,.30))
        drop-shadow(0 8px 12px rgba(0,0,0,.90)) !important;

    transition:
        transform .25s ease,
        filter .25s ease;
}

.header-logo:hover img {
    transform: scale(1.05);

    filter:
        drop-shadow(0 0 10px rgba(255,40,50,.75))
        drop-shadow(0 0 24px rgba(220,15,25,.48))
        drop-shadow(0 8px 12px rgba(0,0,0,.90)) !important;
}


/* =========================
   NAVIGATION POSITION
========================= */

.nav {
    gap: 0 !important;
}

.nav-left {
    justify-content: flex-start !important;
}

.nav-right {
    justify-content: flex-end !important;
}


/* Normal navigation links */

.nav-left > a:not(:last-child) {
    margin-right: 42px;
}

.nav-right > a {
    margin-left: 30px;
}


/* =========================
   NAV TEXT
========================= */

.nav a {
    position: relative;

    color: #f5f5f5 !important;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 12px !important;
    font-weight: 900 !important;

    letter-spacing: 1px !important;

    text-shadow:
        0 2px 5px #000 !important;
}


/* Red vertical separators */

.nav-left > a:not(:last-child)::before {
    content: "";

    position: absolute;

    right: -22px;
    top: 50%;

    width: 1px;
    height: 23px;

    transform: translateY(-50%);

    background:
        linear-gradient(
            transparent,
            #ef202b,
            transparent
        );

    box-shadow:
        0 0 7px rgba(239,32,43,.45);
}


/* =========================
   GLOWING HOME
========================= */

.nav-left a.active {
    color: #ff4a52 !important;

    background: transparent !important;

    text-shadow:
        0 0 5px rgba(255,35,45,.90),
        0 0 13px rgba(230,20,30,.70),
        0 2px 5px #000 !important;
}


/* glowing underline */

.nav-left a.active::after {
    content: "";

    position: absolute;

    left: -12px !important;
    right: -12px !important;

    bottom: 12px !important;

    height: 2px !important;

    background:
        linear-gradient(
            90deg,
            transparent,
            #ff2631 20%,
            #ff2631 80%,
            transparent
        ) !important;

    box-shadow:
        0 0 6px #ef1e29,
        0 0 15px rgba(239,30,41,.75) !important;
}


/* Small diamond under HOME */

.nav-left a.active span {
    position: relative;
}


/* Hover glow for all links */

.nav-left a:hover,
.nav-right > a:not(.header-play):hover {
    color: #ff424b !important;

    text-shadow:
        0 0 7px rgba(255,35,45,.75),
        0 0 14px rgba(210,15,25,.45) !important;
}


/* =========================
   PLAY NOW
========================= */

.nav a.header-play {
    width: 165px !important;
    height: 48px !important;

    margin-left: 30px !important;

    border: 1px solid #ff3943 !important;

    background:
        linear-gradient(
            180deg,
            #e51f2b,
            #a70a13
        ) !important;

    box-shadow:
        inset 0 1px rgba(255,255,255,.18),
        0 0 8px rgba(239,25,36,.55),
        0 0 22px rgba(210,15,25,.30) !important;

    justify-content: center !important;
}

.nav a.header-play:hover {
    color: #fff !important;

    transform: translateY(-1px);

    box-shadow:
        inset 0 1px rgba(255,255,255,.22),
        0 0 12px rgba(255,35,45,.80),
        0 0 30px rgba(220,15,25,.45) !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 780px) {

    .site-header {
        height: auto !important;
    }

    .header-inner {
        width: 94% !important;
        grid-template-columns: 1fr !important;
    }

    .header-logo {
        height: 90px !important;
    }

    .header-logo img {
        width: 135px !important;
        height: 115px !important;
    }

    .nav-left > a:not(:last-child) {
        margin-right: 25px;
    }

    .nav-right > a {
        margin-left: 15px;
    }

    .nav a.header-play {
        width: 130px !important;
        margin-left: 15px !important;
    }
}

/* =========================================================
   ZERITH HEADER — COMPACT CENTERED NAV
   HOME FORUMS STORE VOTE | Z | DISCORD PLAY NOW
========================================================= */

@media (min-width: 1000px) {

    /* Center the entire header group */
    .header-inner {
        width: 1120px !important;
        max-width: calc(100% - 40px) !important;

        grid-template-columns: 1fr 190px 1fr !important;

        margin: 0 auto !important;
    }


    /* LEFT SIDE — move toward Z */
    .nav-left {
        justify-content: flex-end !important;
        padding-right: 18px !important;
    }

    .nav-left > a:not(:last-child) {
        margin-right: 34px !important;
    }


    /* CENTER Z */
    .header-logo {
        width: 190px !important;
        height: 100px !important;

        justify-self: center !important;
        position: relative !important;

        z-index: 10 !important;
    }

    .header-logo img {
        width: 155px !important;
        height: 125px !important;

        object-fit: contain !important;

        filter:
            drop-shadow(0 0 7px rgba(255, 35, 45, .60))
            drop-shadow(0 0 17px rgba(210, 15, 25, .35))
            drop-shadow(0 8px 12px rgba(0, 0, 0, .95)) !important;
    }


    /* RIGHT SIDE — move toward Z */
    .nav-right {
        justify-content: flex-start !important;
        padding-left: 18px !important;
    }

    .nav-right > a {
        margin-left: 0 !important;
    }

    .nav-right > a + a {
        margin-left: 28px !important;
    }


    /* PLAY NOW */
    .nav a.header-play {
        width: 160px !important;
        height: 48px !important;

        margin-left: 28px !important;

        justify-content: center !important;

        box-shadow:
            inset 0 1px rgba(255,255,255,.20),
            0 0 8px rgba(255,35,45,.65),
            0 0 22px rgba(220,15,25,.38) !important;
    }


    /* NAV TEXT */
    .nav a {
        font-size: 12px !important;
        letter-spacing: .7px !important;
    }


    /* HOME ACTIVE GLOW */
    .nav-left a.active {
        color: #ff4b53 !important;

        text-shadow:
            0 0 5px rgba(255,40,50,.95),
            0 0 13px rgba(230,20,30,.75),
            0 2px 4px #000 !important;
    }


    /* Active underline closer to HOME */
    .nav-left a.active::after {
        left: -8px !important;
        right: -8px !important;
        bottom: 14px !important;

        box-shadow:
            0 0 6px #ef1e29,
            0 0 13px rgba(239,30,41,.75) !important;
    }
}