/* =========================================================
   Global-Irc.Eu
   Dark Retro Terminal / IRC Network Theme
   ========================================================= */

:root {
    --bg: #050907;
    --bg-soft: #08110d;
    --panel: #09130f;
    --panel-light: #0c1813;

    --border: #173d2b;
    --border-bright: #1e6b48;

    --green: #00ff88;
    --green-soft: #35d98a;
    --green-dark: #0b8f58;

    --text: #d7f7e6;
    --muted: #7ea894;

    --shadow: rgba(0, 255, 136, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 50% -10%,
            rgba(0, 255, 136, 0.08),
            transparent 35%
        ),
        linear-gradient(
            180deg,
            #040705 0%,
            #07100c 55%,
            #040705 100%
        );

    color: var(--text);

    font-family:
        "Courier New",
        Courier,
        monospace;

    line-height: 1.6;
}

a {
    color: var(--green);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

.terminal-line {
    color: var(--green);
    font-size: 13px;
    margin-bottom: 8px;
    opacity: 0.9;
}

.terminal-line::before {
    content: "> ";
    color: var(--green-dark);
}


/* =========================================================
   HEADER / BANNER
   ========================================================= */

.banner {
    position: relative;
    overflow: hidden;

    min-height: 205px;

    display: flex;
    align-items: center;

    padding: 34px 40px;

    border: 1px solid var(--border-bright);
    border-radius: 8px;

    background:
        linear-gradient(
            90deg,
            rgba(0, 255, 136, 0.05),
            transparent 55%
        ),
        #050b08;

    box-shadow:
        0 0 35px var(--shadow),
        inset 0 0 45px rgba(0, 255, 136, 0.025);
}

.banner::before,
.banner::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    height: 1px;

    background: rgba(0, 255, 136, 0.10);
}

.banner::before {
    top: 35%;
}

.banner::after {
    top: 70%;
}

.scanlines {
    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        repeating-linear-gradient(
            to bottom,
            transparent 0,
            transparent 3px,
            rgba(0, 255, 136, 0.018) 4px
        );
}

.logo-wrap {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;

    gap: 26px;
}


/* =========================================================
   CSS GLOBE
   ========================================================= */

.globe {
    width: 112px;
    height: 112px;

    flex: 0 0 112px;

    border: 2px solid var(--green);
    border-radius: 50%;

    position: relative;

    box-shadow:
        0 0 22px rgba(0, 255, 136, 0.18);
}

.globe::before,
.globe::after {
    content: "";

    position: absolute;

    inset: 12px 28px;

    border: 1px solid var(--green-dark);

    border-radius: 50%;
}

.globe::after {
    inset: 28px 12px;

    border-left: 0;
    border-right: 0;

    border-radius: 50%;
}

.globe span {
    position: absolute;

    left: 10px;
    right: 10px;

    top: 50%;

    height: 1px;

    background: var(--green-dark);
}


/* =========================================================
   BRAND
   ========================================================= */

.brand h1 {
    margin: 0;

    color: #eafff3;

    font-size: clamp(32px, 5vw, 58px);

    line-height: 1;

    letter-spacing: -2px;

    text-shadow:
        0 0 18px rgba(0, 255, 136, 0.18);
}

.brand h1 span {
    color: var(--green);
}

.tagline {
    margin: 14px 0 0;

    color: var(--green-soft);

    font-size: 14px;

    letter-spacing: 3px;

    text-transform: uppercase;
}

.server-line {
    margin-top: 16px;

    color: var(--muted);

    font-size: 13px;
}

.server-line strong {
    color: var(--green);
}


/* =========================================================
   MAIN LAYOUT
   ========================================================= */

.layout {
    display: grid;

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

    gap: 18px;

    margin-top: 18px;
}

.panel {
    border: 1px solid var(--border);

    border-radius: 7px;

    background:
        rgba(7, 16, 12, 0.94);

    box-shadow:
        0 0 25px rgba(0, 0, 0, 0.22);
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.sidebar {
    padding: 16px;

    align-self: start;
}

.menu-title {
    color: var(--green);

    font-size: 13px;

    margin:
        2px
        4px
        12px;

    padding-bottom: 9px;

    border-bottom:
        1px dashed
        var(--border);
}

.menu a {
    display: block;

    padding:
        10px
        11px;

    margin: 3px 0;

    color: var(--muted);

    border:
        1px solid
        transparent;

    border-radius: 4px;
}

.menu a::before {
    content: "[+] ";

    color: var(--green-dark);
}

.menu a:hover,
.menu a.active {
    color: var(--green);

    text-decoration: none;

    border-color:
        var(--border-bright);

    background:
        rgba(0, 255, 136, 0.055);
}

.menu a.active::before {
    content: "[*] ";

    color: var(--green);
}


/* =========================================================
   NETWORK STATUS
   ========================================================= */

.status {
    margin-top: 22px;

    padding: 12px;

    border:
        1px solid
        var(--border);

    border-radius: 4px;

    background: #050b08;

    font-size: 12px;
}

.status-title {
    color: var(--green);

    margin-bottom: 7px;
}

.online {
    color: var(--green);
}


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

.content {
    min-width: 0;

    padding: 25px;
}

.content-header {
    padding-bottom: 17px;

    margin-bottom: 20px;

    border-bottom:
        1px dashed
        var(--border);
}

.content-header .path {
    color: var(--muted);

    font-size: 12px;

    margin-bottom: 6px;
}

.content h2 {
    margin: 0;

    color: var(--green);

    font-size: 25px;
}

.content h2::before {
    content: "# ";

    color: var(--green-dark);
}

.content h3 {
    color: var(--green-soft);

    font-size: 16px;

    margin-top: 28px;
}

.content p {
    color: #b7d6c4;

    margin: 12px 0;
}

.content ul {
    color: #b7d6c4;
}

.content li {
    margin: 7px 0;
}


/* =========================================================
   INFO BOXES
   ========================================================= */

.box-grid {
    display: grid;

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

    gap: 12px;

    margin-top: 20px;
}

.info-box {
    padding: 15px;

    border:
        1px solid
        var(--border);

    border-radius: 5px;

    background: #060d09;
}

.info-box strong {
    display: block;

    color: var(--green);

    margin-bottom: 5px;
}


/* =========================================================
   SERVER TABLE
   ========================================================= */

.server-table {
    width: 100%;

    border-collapse: collapse;

    margin-top: 18px;

    font-size: 14px;
}

.server-table th,
.server-table td {
    text-align: left;

    padding:
        11px
        10px;

    border-bottom:
        1px solid
        var(--border);
}

.server-table th {
    color: var(--green);

    background:
        rgba(0, 255, 136, 0.035);
}

.server-table td {
    color: #b7d6c4;
}


/* =========================================================
   NOTICE / COMMAND
   ========================================================= */

.notice {
    margin-top: 20px;

    padding: 14px;

    border-left:
        3px solid
        var(--green);

    background:
        rgba(0, 255, 136, 0.035);

    color: #b7d6c4;
}

.command {
    display: inline-block;

    padding:
        2px
        6px;

    border:
        1px solid
        var(--border);

    border-radius: 3px;

    color: var(--green);

    background: #030705;
}


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

footer {
    margin-top: 18px;

    padding:
        18px
        20px;

    border-top:
        1px solid
        var(--border);

    color: var(--muted);

    text-align: center;

    font-size: 12px;
}

footer strong {
    color: var(--green-soft);
}


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

@media (max-width: 760px) {

    .site {
        width:
            min(
                100% - 18px,
                1180px
            );

        margin: 9px auto;
    }

    .banner {
        padding: 28px 22px;

        min-height: auto;
    }

    .logo-wrap {
        gap: 17px;
    }

    .globe {
        width: 72px;
        height: 72px;

        flex-basis: 72px;
    }

    .globe::before {
        inset: 8px 18px;
    }

    .globe::after {
        inset: 18px 8px;
    }

    .brand h1 {
        font-size: 31px;

        letter-spacing: -1px;
    }

    .tagline {
        font-size: 10px;

        letter-spacing: 1.5px;
    }

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

    .sidebar {
        padding: 12px;
    }

    .menu a {
        display: inline-block;

        width:
            calc(50% - 5px);

        margin: 2px;
    }

    .status {
        display: none;
    }

    .content {
        padding: 20px;
    }

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

    .server-table {
        font-size: 12px;
    }

    .server-table th,
    .server-table td {
        padding: 8px 6px;
    }
}
