@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
    --bg: #06070a;
    --panel: #101116;
    --gold: #d6aa55;
    --gold-light: #f0d18b;
    --text: #ece8df;
    --muted: #8c8c91;
    --line: rgba(214,170,85,.18);
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 50% -10%, rgba(156,91,28,.24), transparent 32%),
        radial-gradient(circle at 75% 30%, rgba(91,20,25,.12), transparent 30%),
        linear-gradient(180deg,#0a0b0f 0%,#050609 100%);
    color: var(--text);
    font-family: Inter, Arial, sans-serif;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255,255,255,.012) 1px,transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.012) 1px,transparent 1px);
    background-size: 45px 45px;
}

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

.container {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
}

/* NAVIGATION */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(4,5,8,.82);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}

.navbar {
    height: 78px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: Cinzel, Georgia, serif;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--gold);
}

.logo small {
    display: block;
    margin-top: 2px;
    color: #666;
    font: 8px Inter,Arial,sans-serif;
    letter-spacing: 5px;
}

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav a {
    color: #aaa;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .7px;
    transition: .25s;
}

nav a:hover {
    color: var(--gold-light);
}

.nav-play {
    padding: 11px 18px;
    border: 1px solid rgba(214,170,85,.45);
    color: var(--gold) !important;
}

/* HERO */

.hero {
    min-height: 760px;
    padding-top: 78px;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 900px;
    height: 900px;
    top: -350px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    background:
        radial-gradient(circle,
        rgba(224,165,72,.21) 0%,
        rgba(123,69,25,.08) 38%,
        transparent 68%);
}

.hero::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    top: 120px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    border: 1px solid rgba(214,170,85,.05);
}

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 900px;
    padding: 30px;
    text-align: center;
}

.eyebrow {
    margin-bottom: 30px;
    color: #bd9150;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 8px;
}

.hero h1 {
    font-family: Cinzel, Georgia, serif;
    font-size: clamp(58px,9vw,108px);
    line-height: .88;
    letter-spacing: 4px;

    background: linear-gradient(
        180deg,
        #fff2c7 5%,
        #ddb15b 48%,
        #79501e 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    filter:
        drop-shadow(0 7px 15px #000)
        drop-shadow(0 0 22px rgba(210,153,62,.14));
}

.hero h1 span {
    display: block;
    margin-top: 25px;
    font-size: .27em;
    letter-spacing: 15px;
}

.hero-subtitle {
    max-width: 660px;
    margin: 33px auto 0;
    color: #939398;
    line-height: 1.85;
    font-size: 14px;
}

.hero-buttons {
    margin-top: 38px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    min-width: 180px;
    padding: 15px 25px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    transition: .25s;
}

.btn-gold {
    color: #171009;
    background: linear-gradient(135deg,#e6bd68,#9c692c);
    box-shadow: 0 12px 35px rgba(177,121,45,.18);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 45px rgba(214,170,85,.28);
}

.btn-dark {
    color: #dbc795;
    border: 1px solid rgba(214,170,85,.34);
    background: rgba(255,255,255,.018);
}

.btn-dark:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
    background: rgba(214,170,85,.06);
}

/* STATUS */

.status-wrap {
    position: relative;
    z-index: 20;
    margin-top: -60px;
}

.status {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    background: rgba(13,14,18,.95);
    border: 1px solid var(--line);
    box-shadow: 0 25px 70px rgba(0,0,0,.5);
}

.stat {
    padding: 27px 15px;
    text-align: center;
    border-right: 1px solid var(--line);
}

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

.stat-label {
    color: #68696e;
    font-size: 9px;
    letter-spacing: 2px;
}

.stat-value {
    margin-top: 9px;
    color: var(--gold);
    font: 600 17px Cinzel,Georgia,serif;
}

.green {
    color: #72c984;
}

/* SECTIONS */

.section {
    padding: 115px 0;
}

.section-heading {
    margin-bottom: 52px;
    text-align: center;
}

.section-heading small {
    color: var(--gold);
    font-size: 9px;
    letter-spacing: 5px;
}

.section-heading h2 {
    margin-top: 13px;
    color: #eee7da;
    font: 600 36px Cinzel,Georgia,serif;
}

.section-heading p {
    max-width: 600px;
    margin: 16px auto 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

/* CARDS */

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

.card {
    min-height: 235px;
    padding: 34px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(145deg,
        rgba(255,255,255,.035),
        rgba(255,255,255,.008));
    border: 1px solid rgba(255,255,255,.06);
    transition: .3s;
}

.card::before {
    content: "";
    position: absolute;
    height: 2px;
    top: 0;
    left: 0;
    right: 100%;
    background: linear-gradient(90deg,var(--gold),transparent);
    transition: .3s;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(214,170,85,.28);
}

.card:hover::before {
    right: 0;
}

.card-number {
    color: rgba(214,170,85,.22);
    font: 34px Cinzel,Georgia,serif;
}

.card h3 {
    margin: 21px 0 12px;
    color: #dfc58a;
    font: 600 18px Cinzel,Georgia,serif;
}

.card p {
    color: #7e7f84;
    font-size: 13px;
    line-height: 1.75;
}

/* SERVER INFO */

.info-section {
    background: rgba(0,0,0,.19);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    border-left: 1px solid var(--line);
    border-top: 1px solid var(--line);
}

.info-item {
    padding: 28px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.info-key {
    color: #68696e;
    font-size: 9px;
    letter-spacing: 1.7px;
}

.info-value {
    margin-top: 9px;
    color: #d9b774;
    font: 500 15px Cinzel,Georgia,serif;
}

/* CTA */

.cta {
    padding: 130px 20px;
    text-align: center;
}

.cta h2 {
    color: #ead39e;
    font: 600 clamp(35px,5vw,56px) Cinzel,Georgia,serif;
}

.cta p {
    margin: 17px 0 32px;
    color: #818287;
}

/* FOOTER */

footer {
    padding: 42px 20px;
    text-align: center;
    color: #55565a;
    font-size: 11px;
    line-height: 1.9;
    border-top: 1px solid var(--line);
}

footer b {
    color: #a98a51;
    font: 600 15px Cinzel,Georgia,serif;
}

/* MOBILE */

@media(max-width:800px) {

    nav a:not(.nav-play) {
        display: none;
    }

    .status {
        grid-template-columns: 1fr 1fr;
    }

    .cards,
    .info-grid {
        grid-template-columns: 1fr;
    }

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

@media(max-width:520px) {

    .logo {
        font-size: 17px;
    }

    .hero h1 {
        font-size: 52px;
    }

    .hero h1 span {
        letter-spacing: 8px;
    }

    .status {
        grid-template-columns: 1fr;
    }
}

/* NOCTHARIS HERO ARTWORK */
.home-hero {
    background:
        linear-gradient(
            90deg,
            rgba(3,4,7,.32) 0%,
            rgba(3,4,7,.10) 28%,
            rgba(3,4,7,.10) 72%,
            rgba(3,4,7,.34) 100%
        ),
        linear-gradient(
            180deg,
            rgba(3,4,7,.05) 0%,
            rgba(3,4,7,.08) 65%,
            #06070a 100%
        ),
        url("/assets/images/noctharis-hero.webp") center center / cover no-repeat !important;
}

/* LIVE REALM STATUS */
.home-status {
    grid-template-columns: repeat(5, 1fr) !important;
}

@media(max-width:900px) {
    .home-status {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media(max-width:520px) {
    .home-status {
        grid-template-columns: 1fr !important;
    }
}

/* INDIVIDUAL LIVE SERVER STATUS */

.panel-title-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.panel-live {
    font-family: Inter, Arial, sans-serif;
    font-size: 9px;
    letter-spacing: 1.3px;
    color: #777980;
}

.panel-live b {
    color: #62d47a;
    font-size: 12px;
}

.game-server-list {
    padding: 12px 20px 4px;
    border-bottom: 1px solid rgba(215,168,79,.12);
}

.game-server-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,.04);
    font-size: 11px;
}

.game-server-row:last-child {
    border-bottom: 0;
}

.game-server-row span {
    color: #929399;
}

.game-server-row strong {
    font-size: 10px;
    letter-spacing: .8px;
}

.server-online {
    color: #62d47a;
}

.server-offline {
    color: #db6262;
}

#server-1-players,
#server-2-players,
#server-3-players {
    margin-top: 7px;
    color: #777;
    font-size: 9px;
    letter-spacing: 1px;
}
