* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background:
        radial-gradient(
            circle at 20% 0%,
            #162637 0,
            #09111a 32%,
            #05090e 75%
        );

    color: #e7edf4;

    font-family:
        Inter,
        "Segoe UI",
        Arial,
        sans-serif;

    min-height: 100vh;
}


/* HEADER */

.topbar {
    height: 76px;

    display: flex;
    align-items: center;

    padding: 0 5%;

    border-bottom:
        1px solid rgba(160, 205, 230, .13);

    background:
        rgba(5, 10, 16, .88);

    backdrop-filter: blur(12px);

    position: sticky;
    top: 0;

    z-index: 10;
}


.brand {
    display: flex;
    flex-direction: column;

    margin-right: 60px;
}

.brand-main {
    letter-spacing: 4px;
    font-size: 20px;
    font-weight: 800;

    color: #ddecf6;
}

.brand-sub {
    color: #65b9d8;

    letter-spacing: 6px;

    font-size: 9px;
}


nav {
    display: flex;
    gap: 34px;

    flex: 1;
}


nav a {
    text-decoration: none;

    color: #8c9ca9;

    font-size: 14px;

    transition: .2s;
}


nav a:hover,
nav a.active {
    color: #e8f5fb;
}


nav a.active {
    border-bottom:
        2px solid #54b4d6;

    padding-bottom: 8px;
}


.account {
    border:
        1px solid rgba(91, 187, 220, .3);

    padding:
        9px 17px;

    border-radius: 8px;

    color: #84cee8;

    font-size: 13px;
}


/* MAIN */

main {
    max-width: 1400px;

    margin: auto;

    padding:
        0 5% 80px;
}


/* HERO */

.hero {
    min-height: 370px;

    display: flex;
    align-items: center;

    border-bottom:
        1px solid rgba(150, 200, 220, .12);
}


.hero h1 {
    font-size:
        clamp(45px, 6vw, 80px);

    line-height: .95;

    margin:
        18px 0 24px;

    font-weight: 300;
}


.hero strong {
    color: #8ad3ec;

    font-weight: 800;
}


.hero p {
    color: #91a2ae;

    max-width: 650px;

    line-height: 1.7;

    font-size: 17px;
}


.eyebrow {
    font-size: 11px;

    letter-spacing: 4px;

    color: #54b4d6;
}


/* GRID */

.content-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 2fr)
        minmax(300px, 1fr);

    gap: 60px;

    padding-top: 55px;
}


.section-title {
    display: flex;

    align-items: center;

    gap: 20px;

    margin-bottom: 25px;
}


.section-title span {
    font-size: 11px;

    letter-spacing: 3px;

    color: #65b9d8;

    white-space: nowrap;
}


.line {
    height: 1px;

    background:
        rgba(140, 200, 220, .15);

    width: 100%;
}


/* NEWS */

.news-card {
    padding:
        25px 28px;

    margin-bottom: 16px;

    background:
        rgba(14, 24, 34, .63);

    border:
        1px solid rgba(130, 190, 215, .12);

    border-radius: 9px;

    transition: .2s;
}


.news-card:hover {
    border-color:
        rgba(80, 180, 215, .35);

    transform:
        translateY(-2px);
}


.news-date {
    font-size: 11px;

    color: #577080;

    margin-bottom: 8px;
}


.news-card h2 {
    margin:
        0 0 10px;

    font-size: 20px;
}


.news-card p {
    color: #899aa6;

    line-height: 1.6;

    margin: 0;
}


/* STATUS */

.status-panel {
    padding: 8px 20px;

    background:
        rgba(14, 24, 34, .63);

    border:
        1px solid rgba(130, 190, 215, .12);

    border-radius: 9px;
}


.server-row {
    display: flex;

    align-items: center;

    justify-content:
        space-between;

    padding:
        18px 0;

    border-bottom:
        1px solid rgba(150, 190, 210, .08);
}


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


.server-info {
    display: flex;

    flex-direction: column;

    gap: 4px;
}


.server-info span {
    font-size: 12px;

    color: #647987;
}


.status {
    font-size: 12px;
}


.online {
    color: #65d397;
}


/* QUICK */

.quick-card {
    margin-top: 25px;

    padding: 30px;

    border-radius: 9px;

    border:
        1px solid rgba(70, 160, 195, .18);

    background:
        linear-gradient(
            145deg,
            rgba(20, 51, 68, .7),
            rgba(9, 18, 27, .8)
        );
}


.quick-label {
    font-size: 10px;

    letter-spacing: 3px;

    color: #57b6d5;
}


.quick-card h3 {
    font-size: 22px;

    margin:
        12px 0 10px;
}


.quick-card p {
    color: #80939f;

    line-height: 1.6;
}


.quick-card a {
    color: #71c6e3;

    text-decoration: none;

    font-size: 13px;
}


/* FOOTER */

footer {
    text-align: center;

    padding: 30px;

    color: #435560;

    border-top:
        1px solid rgba(150, 190, 210, .08);

    font-size: 12px;
}


/* MOBILE */

@media (max-width: 900px) {

    nav {
        display: none;
    }

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

    .hero {
        min-height: 300px;
    }

}


/* =========================================================
   SAARBUNKER DASHBOARD EXTENSIONS
   ========================================================= */

a.brand {
    text-decoration: none;
}

.account a {
    color: #84cee8;
    text-decoration: none;
}

.account a:hover {
    color: #d9f4ff;
}

.portal-button {
    display: inline-block;
    margin-top: 18px;
    padding: 11px 16px;
    border: 1px solid rgba(91, 187, 220, .3);
    border-radius: 7px;
    color: #84cee8;
    text-decoration: none;
    font-size: 13px;
    transition: .2s;
}

.portal-button:hover {
    background: rgba(80, 180, 215, .1);
    border-color: rgba(91, 187, 220, .55);
}

.full-button {
    width: 100%;
    text-align: center;
}

.page-head {
    padding: 80px 0 50px;
    border-bottom: 1px solid rgba(150, 200, 220, .12);
}

.page-head h1 {
    margin: 12px 0;
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 700;
    color: #ddecf6;
}

.page-head p {
    color: #91a2ae;
    max-width: 700px;
    line-height: 1.7;
}

.news-page {
    max-width: 950px;
    padding-top: 50px;
}

.teamspeak-title {
    margin-top: 35px;
}

.teamspeak-card,
.connection-card {
    padding: 25px;
    background: rgba(14, 24, 34, .72);
    border: 1px solid rgba(130, 190, 215, .14);
    border-radius: 9px;
}

.ts-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
}

.ts-head h3 {
    margin: 8px 0 0;
    font-size: 20px;
}

.pending {
    color: #d8ae61;
}

.ts-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 22px 0;
}

.ts-summary div {
    padding: 14px;
    background: rgba(5, 12, 18, .55);
    border: 1px solid rgba(130, 190, 215, .08);
    border-radius: 7px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ts-summary span {
    color: #647987;
    font-size: 11px;
}

.ts-summary strong {
    color: #ddecf6;
    font-size: 14px;
}

.ts-viewer {
    padding: 16px;
    margin-bottom: 5px;
    background: rgba(4, 9, 14, .65);
    border: 1px solid rgba(130, 190, 215, .09);
    border-radius: 7px;
}

.ts-channel {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9bd8ed;
    font-size: 13px;
}

.ts-placeholder {
    margin: 14px 0 5px 24px;
    color: #607583;
    font-size: 12px;
    line-height: 1.6;
}

.teamspeak-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 50px;
    padding-top: 50px;
}

.teamspeak-card.large {
    min-height: 440px;
}

.ts-viewer-large {
    min-height: 245px;
}

.connection-card h3 {
    margin: 10px 0 25px;
}

.connection-row {
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid rgba(150, 190, 210, .08);
}

.connection-row span {
    color: #647987;
    font-size: 12px;
}

.connection-row strong {
    color: #ddecf6;
    font-size: 13px;
    text-align: right;
}

.security-note {
    color: #647987;
    font-size: 11px;
    line-height: 1.6;
    margin: 20px 0 0;
}

@media (max-width: 900px) {
    .teamspeak-page-grid {
        grid-template-columns: 1fr;
    }

    .ts-summary {
        grid-template-columns: 1fr;
    }

    .account {
        margin-left: auto;
    }
}
