/* =========================================================
   ZERITH RSPS - MAIN WEBSITE STYLE
   File: public_html/css/style.css
   ========================================================= */


/* =========================================================
   RESET
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    background: #040910;
    color: #eaf4ff;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}


/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 72px;

    display: flex;
    align-items: center;

    padding: 0 38px;

    background:
        linear-gradient(
            180deg,
            rgba(2, 7, 14, 0.98),
            rgba(3, 10, 19, 0.94)
        );

    border-bottom: 1px solid rgba(58, 151, 235, 0.22);

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.55),
        0 1px 0 rgba(70, 160, 255, 0.08);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    z-index: 1000;
}


/* =========================================================
   NAVBAR LOGO
   ========================================================= */

.logo {
    width: 205px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 31px;
    font-weight: bold;

    letter-spacing: 3px;

    color: #e8f6ff;

    text-shadow:
        0 0 6px rgba(255, 255, 255, 0.75),
        0 0 14px #168cff,
        0 0 30px rgba(0, 119, 255, 0.55);

    transition: 0.25s;
}

.logo:hover {
    color: #ffffff;

    text-shadow:
        0 0 8px white,
        0 0 18px #219cff,
        0 0 35px rgba(0, 119, 255, 0.8);
}


/* =========================================================
   NAVIGATION LINKS
   ========================================================= */

.nav-links {
    display: flex;
    align-items: center;

    gap: 27px;

    margin-left: 25px;

    flex: 1;
}

.nav-links a {
    position: relative;

    display: flex;
    align-items: center;

    height: 72px;

    color: #aebfd0;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.1px;

    transition: 0.25s;
}

.nav-links a::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 14px;

    width: 0;
    height: 2px;

    transform: translateX(-50%);

    background: #249cff;

    box-shadow:
        0 0 7px #249cff,
        0 0 15px rgba(0, 130, 255, 0.8);

    transition: width 0.25s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ffffff;

    text-shadow:
        0 0 12px rgba(50, 160, 255, 0.75);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}


/* =========================================================
   LOGIN + REGISTER
   ========================================================= */

.nav-actions {
    display: flex;
    align-items: center;

    gap: 10px;
}

.login,
.register {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 100px;

    height: 38px;

    padding: 0 20px;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1px;

    transition: 0.25s;
}


/* LOGIN */

.login {
    background: rgba(5, 14, 27, 0.7);

    border: 1px solid rgba(73, 155, 230, 0.38);

    color: #d2e4f5;
}

.login:hover {
    color: white;

    border-color: #299dff;

    background: rgba(13, 45, 76, 0.7);

    box-shadow:
        0 0 20px rgba(0, 130, 255, 0.15);
}


/* REGISTER */

.register {
    color: white;

    background:
        linear-gradient(
            180deg,
            #219cff,
            #0766d3
        );

    border: 1px solid #55b8ff;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        0 0 18px rgba(0, 128, 255, 0.28);
}

.register:hover {
    transform: translateY(-2px);

    background:
        linear-gradient(
            180deg,
            #43afff,
            #087bed
        );

    box-shadow:
        0 5px 28px rgba(0, 128, 255, 0.45);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;
    width: 100%;
    height: 820px;
    min-height: 820px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    text-align: center;

    background-color: #040910;

    background-image: url("/images/zerith-bg.png") !important;
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
}


/* DARK EDGES */

.hero::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(1, 5, 11, 0.38) 0%,
            rgba(1, 5, 11, 0.06) 20%,
            transparent 38%,
            transparent 62%,
            rgba(1, 5, 11, 0.06) 80%,
            rgba(1, 5, 11, 0.38) 100%
        );

    pointer-events: none;

    z-index: 1;
}


/* HERO BOTTOM FADE */

.hero::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 190px;

    background:
        linear-gradient(
            180deg,
            transparent 0%,
            rgba(4, 9, 16, 0.55) 55%,
            #040910 100%
        );

    pointer-events: none;

    z-index: 1;
}


/* =========================================================
   HERO CONTENT
   ========================================================= */

.hero-content {
    position: relative;
    z-index: 5;

    width: 100%;
    max-width: 900px;

    padding: 680px 20px 30px;
}


/* Hide old duplicate hero text if still present */

.hero-badge,
.hero-content > h1,
.hero-content > h2,
.hero-content > p {
    display: none;
}


/* =========================================================
   HERO BUTTONS
   ========================================================= */

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;

    /* Push PLAY NOW below the words in the background */
    transform: translateY(45px);
}

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    min-width: 215px;
    height: 50px;

    padding: 0 27px;

    border-radius: 2px;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.1px;

    text-transform: uppercase;

    cursor: pointer;

    transition:
        transform 0.25s,
        box-shadow 0.25s,
        background 0.25s,
        border-color 0.25s;
}

.button-icon {
    font-size: 14px;
}


/* PLAY NOW */

.btn-primary {
    color: #ffffff;

    background:
        linear-gradient(
            180deg,
            #27a5ff 0%,
            #087eea 48%,
            #0759bd 100%
        );

    border: 1px solid #5fc1ff;

    text-shadow:
        0 1px 3px rgba(0, 38, 85, 0.95);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.30),
        0 0 22px rgba(0, 128, 255, 0.35),
        0 8px 25px rgba(0, 0, 0, 0.45);
}

.btn-primary:hover {
    transform: translateY(-3px);

    background:
        linear-gradient(
            180deg,
            #4db6ff,
            #168fff,
            #0870dc
        );

    box-shadow:
        0 0 32px rgba(0, 145, 255, 0.60),
        0 12px 30px rgba(0, 0, 0, 0.50);
}


/* DOWNLOAD CLIENT */

.btn-secondary {
    color: #edf7ff;

    background:
        linear-gradient(
            180deg,
            rgba(10, 24, 42, 0.93),
            rgba(3, 11, 21, 0.96)
        );

    border: 1px solid rgba(76, 168, 255, 0.55);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 8px 25px rgba(0, 0, 0, 0.40);
}

.btn-secondary:hover {
    transform: translateY(-3px);

    color: white;

    border-color: #43adff;

    background:
        linear-gradient(
            180deg,
            rgba(14, 42, 71, 0.95),
            rgba(4, 17, 31, 0.98)
        );

    box-shadow:
        0 0 26px rgba(0, 130, 255, 0.28),
        0 12px 30px rgba(0, 0, 0, 0.45);
}


/* =========================================================
   ONLINE STATUS
   ========================================================= */

.online-status {
    display: flex;

    justify-content: center;
    align-items: center;

    margin-top: 20px;

    color: #b3c7da;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 1px;

    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.9);
}

.online-status strong {
    color: #ffffff;

    margin-right: 5px;
}

.online-dot {
    display: inline-block;

    width: 8px;
    height: 8px;

    margin-right: 8px;

    border-radius: 50%;

    background: #39e77d;

    box-shadow:
        0 0 5px #39e77d,
        0 0 13px rgba(57, 231, 125, 0.85);
}


/* =========================================================
   SERVER STATISTICS
   ========================================================= */

.server-stats {
    position: relative;

    width: calc(100% - 80px);
    max-width: 1380px;

    margin: -30px auto 0;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    background:
        linear-gradient(
            180deg,
            rgba(10, 24, 40, 0.98),
            rgba(4, 12, 22, 0.99)
        );

    border: 1px solid rgba(62, 151, 230, 0.20);

    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.50),
        0 0 35px rgba(0, 112, 255, 0.05);

    z-index: 20;
}

.stat {
    position: relative;

    min-height: 105px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 14px;

    padding: 20px;

    border-right:
        1px solid rgba(70, 140, 210, 0.13);

    transition: 0.25s;
}

.stat:last-child {
    border-right: none;
}

.stat:hover {
    background:
        linear-gradient(
            180deg,
            rgba(21, 79, 133, 0.10),
            rgba(8, 31, 55, 0.10)
        );
}

.stat-icon {
    min-width: 35px;

    font-size: 24px;

    color: #2ca4ff;

    filter:
        drop-shadow(
            0 0 8px rgba(0, 130, 255, 0.65)
        );
}

.stat-label {
    display: block;

    margin-bottom: 5px;

    color: #71889d;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.1px;

    text-transform: uppercase;
}

.stat strong {
    display: block;

    color: #e5f3ff;

    font-size: 20px;

    text-shadow:
        0 0 12px rgba(0, 120, 255, 0.22);
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.section {
    position: relative;

    max-width: 1300px;

    margin: 0 auto;

    padding: 95px 35px;
}

.section-heading {
    max-width: 720px;

    margin: 0 auto 50px;

    text-align: center;
}

.section-kicker {
    display: block;

    margin-bottom: 12px;

    color: #38aaff;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 4px;

    text-transform: uppercase;
}

.section-heading h2 {
    color: #ffffff;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 42px;

    letter-spacing: 2px;

    text-shadow:
        0 4px 20px rgba(0, 0, 0, 0.60);
}

.section-heading h2 span {
    color: #299cff;

    text-shadow:
        0 0 20px rgba(0, 130, 255, 0.45);
}

.section-heading p {
    margin-top: 15px;

    color: #758ba0;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   FEATURE CARDS
   ========================================================= */

.feature-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}

.feature-card {
    position: relative;

    min-height: 215px;

    padding: 32px 25px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(14, 31, 48, 0.97),
            rgba(5, 13, 23, 0.99)
        );

    border:
        1px solid rgba(70, 150, 220, 0.18);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.02),
        0 10px 28px rgba(0, 0, 0, 0.25);

    transition: 0.30s;
}

.feature-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 2px;

    opacity: 0;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(39, 159, 255, 0.85),
            transparent
        );

    transition: 0.30s;
}

.feature-card:hover {
    transform: translateY(-6px);

    border-color:
        rgba(40, 150, 255, 0.50);

    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.45),
        0 0 28px rgba(0, 100, 255, 0.08);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    margin-bottom: 22px;

    color: #31a8ff;

    font-size: 30px;

    text-shadow:
        0 0 15px rgba(0, 130, 255, 0.60);
}

.feature-card h3 {
    margin-bottom: 12px;

    color: white;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 17px;

    letter-spacing: 1px;
}

.feature-card p {
    color: #74899c;

    font-size: 13px;

    line-height: 1.65;
}


/* =========================================================
   NEWS
   ========================================================= */

.news-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.news-card {
    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #0d1b29,
            #050c14
        );

    border:
        1px solid rgba(70, 150, 220, 0.18);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.25);

    transition: 0.30s;
}

.news-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(40, 150, 255, 0.45);

    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.38),
        0 0 22px rgba(0, 100, 255, 0.07);
}

.news-image {
    height: 180px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #299cff;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 3px;

    background:
        radial-gradient(
            circle at center,
            rgba(0, 130, 255, 0.25),
            transparent 60%
        ),
        linear-gradient(
            145deg,
            #0b1b2c,
            #07111d
        );
}

.news-content {
    padding: 25px;
}

.news-date {
    color: #36aaff;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 2px;
}

.news-content h3 {
    margin: 10px 0;

    color: white;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 20px;
}

.news-content p {
    margin-bottom: 20px;

    color: #74899c;

    font-size: 13px;

    line-height: 1.6;
}

.news-content a {
    color: #32a9ff;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1px;

    transition: 0.20s;
}

.news-content a:hover {
    color: white;
}


/* =========================================================
   CTA / DISCORD
   ========================================================= */

.cta {
    position: relative;

    padding: 110px 20px;

    overflow: hidden;

    text-align: center;

    background:
        radial-gradient(
            circle at center,
            rgba(0, 105, 225, 0.20),
            transparent 52%
        ),
        linear-gradient(
            180deg,
            #07111d,
            #040a11
        );

    border-top:
        1px solid rgba(70, 150, 220, 0.15);

    border-bottom:
        1px solid rgba(70, 150, 220, 0.15);
}

.cta::before {
    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    background:
        radial-gradient(
            circle,
            rgba(0, 130, 255, 0.10),
            transparent 65%
        );

    pointer-events: none;
}

.cta-content {
    position: relative;

    z-index: 2;
}

.cta h2 {
    margin-bottom: 15px;

    color: white;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 45px;

    letter-spacing: 2px;
}

.cta h2 span {
    color: #2ca2ff;

    text-shadow:
        0 0 20px rgba(0, 130, 255, 0.45);
}

.cta p {
    max-width: 600px;

    margin: 0 auto 30px;

    color: #8297aa;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    background:
        linear-gradient(
            180deg,
            #03080e,
            #020509
        );
}

.footer-main {
    max-width: 1300px;

    margin: auto;

    padding: 65px 35px;

    display: grid;

    grid-template-columns:
        2fr repeat(3, 1fr);

    gap: 40px;
}

.footer-logo {
    margin-bottom: 10px;

    color: #e0f1ff;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 28px;
    font-weight: bold;

    letter-spacing: 4px;

    text-shadow:
        0 0 15px rgba(0, 120, 255, 0.50);
}

.footer-brand p {
    max-width: 320px;

    color: #506476;

    font-size: 12px;

    line-height: 1.6;
}

.footer-column {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

.footer-column h4 {
    margin-bottom: 8px;

    color: white;

    font-size: 10px;

    letter-spacing: 2px;
}

.footer-column a {
    color: #5e7285;

    font-size: 12px;

    transition: 0.20s;
}

.footer-column a:hover {
    color: #38aaff;

    padding-left: 4px;
}

.footer-bottom {
    max-width: 1300px;

    margin: auto;

    padding: 20px 35px;

    display: flex;

    justify-content: space-between;

    border-top:
        1px solid rgba(70, 130, 190, 0.12);

    color: #3e5263;

    font-size: 10px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1200px) {

    .navbar {
        padding: 0 22px;
    }

    .logo {
        width: 165px;

        font-size: 27px;
    }

    .nav-links {
        gap: 17px;

        margin-left: 15px;
    }

    .nav-links a {
        font-size: 9px;
    }

    .hero {
        height: 760px;
        min-height: 760px;
    }

    .hero-content {
        padding-top: 440px;
    }

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


/* =========================================================
   SMALL TABLET
   ========================================================= */

@media (max-width: 950px) {

    .nav-links {
        display: none;
    }

    .logo {
        flex: 1;
    }

    .server-stats {
        width: calc(100% - 40px);

        grid-template-columns:
            repeat(2, 1fr);
    }

    .stat:nth-child(2) {
        border-right: none;
    }

    .stat:nth-child(1),
    .stat:nth-child(2) {
        border-bottom:
            1px solid rgba(70, 140, 210, 0.13);
    }

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

    .footer-main {
        grid-template-columns:
            repeat(2, 1fr);
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .navbar {
        height: 64px;

        padding: 0 15px;
    }

    .logo {
        width: auto;

        font-size: 22px;

        letter-spacing: 2px;
    }

    .nav-actions {
        gap: 7px;
    }

    .login,
    .register {
        min-width: auto;

        height: 34px;

        padding: 0 11px;

        font-size: 8px;
    }


    /* HERO */

    .hero {
        height: 650px;
        min-height: 650px;

        background-size: cover;

        background-position: center top;
    }

    .hero-content {
        padding:
            400px 18px 50px;
    }

    .hero-buttons {
        flex-direction: column;

        gap: 10px;
    }

    .btn {
        width: 230px;

        min-width: 0;

        height: 48px;
    }

    .online-status {
        margin-top: 16px;

        font-size: 10px;
    }


    /* STATS */

    .server-stats {
        width: calc(100% - 30px);

        margin-top: -15px;

        grid-template-columns: 1fr;
    }

    .stat {
        min-height: 82px;

        border-right: none;

        border-bottom:
            1px solid rgba(70, 140, 210, 0.13);
    }

    .stat:last-child {
        border-bottom: none;
    }


    /* SECTIONS */

    .section {
        padding: 70px 20px;
    }

    .section-heading {
        margin-bottom: 35px;
    }

    .section-heading h2 {
        font-size: 32px;
    }

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


    /* CTA */

    .cta {
        padding: 80px 20px;
    }

    .cta h2 {
        font-size: 34px;
    }


    /* FOOTER */

    .footer-main {
        grid-template-columns: 1fr;

        padding: 50px 25px;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 10px;

        padding: 20px 25px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 430px) {

    .login {
        display: none;
    }

    .hero {
        height: 600px;
        min-height: 600px;
    }

    .hero-content {
        padding-top: 370px;
    }

    .section-heading h2 {
        font-size: 28px;
    }
}

/* PLAY NOW NAVBAR */

.play-now-nav {
    min-width: 125px !important;
    margin-right: 4px;
}