:root {
    --bg: #080d19;
    --panel: #101827;
    --panel2: #141e30;
    --line: #273449;
    --white: #f3f7ff;
    --muted: #96a5bd;
    --lime: #b7fc63;
    --cyan: #6de9df;
    --purple: #a89cfe;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, .brand, .year {
    font-family: 'Space Grotesk', sans-serif;
}

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

a:hover {
    color: var(--lime);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--lime);
    outline-offset: 3px;
}

::selection {
    background: var(--lime);
    color: #08121a;
}

.container {
    max-width: 1170px;
}

/* TOP BAR */

.topline {
    text-align: center;
    padding: 9px 12px;
    font-size: 0.64rem;
    letter-spacing: 0.22em;
    background: var(--lime);
    color: #121d12;
    font-weight: 800;
}

.topline span {
    padding: 0 18px;
}

/* NAVIGATION */

.nav-glass {
    background: rgba(8, 13, 25, 0.93);
    backdrop-filter: blur(22px);
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 17px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: white !important;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1;
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: 0.55rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    margin-top: 5px;
}

.brand-mark {
    height: 46px;
    width: 46px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--lime);
    color: #091017;
    box-shadow: 0 6px 24px #b7fc6321;
    font-size: 1.8rem;
    font-weight: 800;
}

.accent {
    color: var(--lime);
}

.navbar .nav-link {
    color: #c0cbd9;
    font-size: .89rem;
    font-weight: 600;
}

.navbar .nav-link:hover {
    color: var(--lime);
}

.nav-toggle {
    border: 1px solid var(--line);
    background: var(--lime);
}

.btn {
    border-radius: 10px;
    padding: 12px 22px;
    font-weight: 800;
    transition: .2s;
}

.btn-lime {
    background: var(--lime);
    color: #101811;
    border: 1px solid var(--lime);
}

.btn-lime:hover,
.btn-lime:focus {
    background: #d1ff9b;
    color: #071112;
    transform: translateY(-2px);
}

.btn-ghost {
    border: 1px solid #43516a;
    background: rgba(255,255,255,.03);
    color: var(--white);
}

.btn-ghost:hover {
    border-color: var(--lime);
    color: var(--lime);
    background: rgba(183,252,99,.07);
}

.nav-cta {
    font-size: .84rem;
    padding: 10px 18px;
}

/* HERO */

.hero-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 113px 0 35px;
    min-height: 695px;
}

.hero-grid {
    pointer-events: none;
    position: absolute;
    inset: 0;
    opacity: .27;
    background-image:
        linear-gradient(#33425944 1px, transparent 1px),
        linear-gradient(90deg, #33425944 1px, transparent 1px);
    background-size: 66px 66px;
    mask-image: linear-gradient(180deg, #000, transparent 87%);
}

.hero-orb {
    position: absolute;
    right: -15%;
    top: 0;
    width: 760px;
    height: 670px;
    background: radial-gradient(circle, #4f4ec83d, transparent 67%);
    pointer-events: none;
}

.eyebrow,
.section-tag {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--lime);
    font-weight: 800;
    font-size: .73rem;
    letter-spacing: .17em;
}

.pulse {
    height: 9px;
    width: 9px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 0 6px #b7fc631a;
}

.hero-section h1 {
    font-weight: 700;
    letter-spacing: -.064em;
    line-height: 1.11;
    font-size: clamp(3.2rem, 5.5vw, 5.95rem);
    margin: 26px 0;
}

.gradient-word {
    background: linear-gradient(110deg, var(--lime), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-outline {
    font-size: .68em;
    letter-spacing: -.045em;
    color: #f2f6ff;
}

.lead-copy {
    font-size: 1.14rem;
    color: #aebbd0;
    line-height: 1.85;
    max-width: 630px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 34px 0;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: #b4c2d4;
    font-size: .78rem;
}

/* TERMINAL */

.terminal {
    background: linear-gradient(145deg, #192438, #0c1322);
    border: 1px solid #3a4966;
    border-radius: 19px;
    overflow: hidden;
    box-shadow: 0 30px 80px #0009;
    transform: rotate(1deg);
}

.terminal-top,
.terminal-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px 20px;
    background: #141e30;
    color: #9bb0c8;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .1em;
    border-bottom: 1px solid #34415a;
}

.traffic {
    display: flex;
    gap: 6px;
}

.traffic i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #fc7e7e;
}

.traffic i:nth-child(2) {
    background: #f8c763;
}

.traffic i:nth-child(3) {
    background: #95e5a3;
}

.signal,
.term-green {
    color: var(--lime);
}

.term-violet {
    color: var(--purple);
}

.terminal-body {
    padding: 24px 25px;
    font: normal .87rem/1.7 ui-monospace, Consolas, monospace;
    min-height: 320px;
}

.terminal-body p {
    margin: 8px 0;
    color: #9cabc4;
}

.terminal-body strong {
    color: #e8f6ff;
    font-weight: 500;
}

.terminal-kicker {
    color: #7890ad;
    margin-bottom: 18px;
}

.chat-bubble {
    padding: 11px 13px;
    border-radius: 8px;
    border: 1px solid #354359;
    background: #202e44;
    margin: 10px 0;
    color: #eef3ff;
}

.chat-bubble span {
    color: var(--cyan);
}

.terminal-input {
    margin-top: 22px;
    padding: 11px;
    border: 1px solid #3b4b66;
    border-radius: 8px;
    color: #7187a2;
    font-size: .77rem;
}

.cursor {
    display: inline-block;
    width: 7px;
    height: 13px;
    margin-left: 5px;
    background: var(--lime);
    vertical-align: middle;
    animation: blink 1s steps(1) infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.terminal-bottom {
    border-bottom: 0;
    border-top: 1px solid #34415a;
    font-size: .6rem;
    color: #83c99f;
}

.stat-strip {
    padding-top: 85px;
    max-width: 640px;
}

.stat-strip .col-4 {
    border-right: 1px solid #28334a;
}

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

.stat-strip strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    color: var(--white);
}

.stat-strip span {
    font-size: .72rem;
    color: var(--muted);
    text-transform: uppercase;
}

/* CONTENT SECTIONS */

.section-pad {
    padding: 110px 0;
}

.section-alt {
    background: #0d1422;
}

.section-tag {
    margin-bottom: 19px;
}

.section-pad h2 {
    font-size: clamp(2.5rem, 4.6vw, 4.4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.055em;
    margin: 0 0 22px;
}

.section-intro {
    font-size: 1.55rem;
    line-height: 1.5;
    font-weight: 500;
}

.muted-copy {
    color: var(--muted);
    line-height: 1.85;
    font-size: 1rem;
}

.muted-copy strong {
    color: var(--white);
}

.mission-quote {
    border-left: 3px solid var(--lime);
    color: var(--lime);
    padding: 13px 22px;
    margin-top: 28px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.17rem;
}

/* HISTORY CARDS */

.info-card,
.room-card,
.contact-panel,
.generator-box {
    border: 1px solid var(--line);
    background: var(--panel);
    border-radius: 18px;
}

.timeline-card {
    height: 100%;
    padding: 28px;
    transition: .25s;
}

.timeline-card:hover,
.room-card:hover {
    border-color: #8cc98480;
    transform: translateY(-4px);
}

.year {
    color: var(--lime);
    display: block;
    font-weight: 800;
    font-size: 1.55rem;
    margin-bottom: 36px;
}

.timeline-card h3 {
    font-size: 1.3rem;
}

.timeline-card p {
    margin: 13px 0 0;
    color: var(--muted);
    line-height: 1.7;
    font-size: .9rem;
}

.subheading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 65px 0 20px;
}

.subheading-row h3 {
    font-size: 1.65rem;
}

.subheading-row span {
    font-size: .68rem;
    letter-spacing: .16em;
    color: var(--muted);
}

.network-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 12px;
}

.network-grid article {
    border: 1px solid #273449;
    border-radius: 14px;
    padding: 22px;
    background: #151e2c;
}

.network-grid strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.06rem;
    color: #e9f0fb;
    margin-bottom: 8px;
}

.network-grid p {
    color: var(--muted);
    font-size: .84rem;
    line-height: 1.6;
    margin: 0;
}

.history-note {
    color: var(--muted);
    font-size: .82rem;
    margin: 23px 0 0;
}

.history-note a {
    color: var(--lime);
}

/* CHANNEL FILTERS */

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-btn {
    border: 1px solid #35435a;
    border-radius: 999px;
    padding: 10px 15px;
    color: #b7c7d9;
    background: transparent;
    font-size: .82rem;
    font-weight: 800;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--lime);
    border-color: var(--lime);
    color: #0b1711;
}

/* CHANNEL CARDS */

.room-card {
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: .24s;
}

.room-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 27px;
}

.room-icon {
    display: grid;
    place-items: center;
    width: 41px;
    height: 41px;
    background: #b7fc631b;
    border: 1px solid #b7fc6338;
    color: var(--lime);
    font-size: 1.3rem;
    font-weight: 800;
    border-radius: 11px;
}

.room-category {
    font-size: .68rem;
    color: #afc0d2;
    border: 1px solid #3c4860;
    border-radius: 40px;
    padding: 5px 10px;
}

.room-card h3 {
    font-size: 1.65rem;
    margin: 0 0 8px;
}

.room-card strong {
    font-size: .88rem;
    color: #d9e4f2;
}

.room-card p {
    font-size: .89rem;
    line-height: 1.7;
    color: var(--muted);
    margin: 12px 0 24px;
    flex-grow: 1;
}

.room-card a {
    color: var(--lime);
    font-weight: 800;
    font-size: .86rem;
}

.room-wrap[hidden] {
    display: none !important;
}

.room-count {
    text-align: center;
    color: #93a8bb;
    font-size: .8rem;
    margin: 25px 0 0;
}

/* CHANNEL GENERATOR */

.creator-panel {
    border: 1px solid #314661;
    border-radius: 26px;
    background: radial-gradient(
        circle at top left,
        #1b3342,
        #0f1828 65%
    );
    padding: 55px;
}

.hint-box {
    border-left: 2px solid var(--lime);
    padding: 10px 17px;
    font-size: .81rem;
    color: #b4c4d5;
    line-height: 1.7;
    margin-top: 28px;
}

.generator-box {
    padding: 28px;
    background: #0a1220;
}

.generator-box label,
.url-result > span {
    color: #9fb0c5;
    letter-spacing: .12em;
    font-size: .7rem;
    font-weight: 800;
    display: block;
    margin-bottom: 10px;
}

.generator-input {
    display: flex;
    border: 1px solid #425069;
    background: #152034;
    border-radius: 12px;
    align-items: center;
    overflow: hidden;
}

.generator-input > span {
    color: var(--lime);
    font-size: 1.3rem;
    font-weight: 800;
    padding-left: 15px;
}

.generator-input input {
    border: 0;
    background: transparent;
    color: var(--white);
    padding: 16px 10px;
    outline: 0;
    min-width: 0;
    flex: 1;
}

.generator-input button {
    border: 0;
    background: var(--lime);
    color: #0b1711;
    font-size: .83rem;
    font-weight: 800;
    padding: 17px 15px;
    white-space: nowrap;
}

.generator-box small {
    display: block;
    color: var(--muted);
    font-size: .74rem;
    margin-top: 13px;
    line-height: 1.6;
}

.url-result {
    border-top: 1px solid #344058;
    padding-top: 25px;
    margin-top: 29px;
}

.url-result output {
    color: var(--cyan);
    font: 500 .95rem ui-monospace, Consolas, monospace;
    overflow-wrap: anywhere;
    display: block;
}

.generator-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 21px;
}

.generator-message {
    font-size: .83rem;
    color: var(--lime);
    min-height: 1em;
    margin: 11px 0 0;
}

.callout-section {
    background: radial-gradient(
        ellipse at center,
        #233b31 0%,
        #080d19 70%
    );
}

.callout-copy {
    max-width: 500px;
}

/* CONTACT */

.contact-details {
    margin-top: 38px;
    border-top: 1px solid var(--line);
    padding-top: 24px;
}

.contact-details span {
    display: block;
    color: var(--lime);
    font-size: .72rem;
    letter-spacing: .12em;
    margin-bottom: 10px;
}

.contact-details strong {
    font-family: 'Space Grotesk', sans-serif;
}

.contact-panel {
    padding: 35px;
}

.contact-panel label {
    display: block;
    color: #dce5f2;
    font-size: .85rem;
    font-weight: 700;
    margin-bottom: 9px;
}

.form-control {
    background: #0b1422;
    border: 1px solid #35435b;
    color: white;
    border-radius: 9px;
    padding: 14px;
}

.form-control:focus {
    background: #0b1422;
    color: white;
    border-color: var(--lime);
    box-shadow: 0 0 0 .15rem #b7fc6322;
}

.form-control::placeholder {
    color: #687d95;
}

.honeypot {
    position: absolute;
    left: -9999px;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* FOOTER */

.footer {
    background: #070b14;
    border-top: 1px solid #293448;
    padding-top: 45px;
}

.footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 40px;
}

.footer-main p {
    max-width: 220px;
    color: var(--muted);
    font-size: .84rem;
}

.footer-main > a:last-child {
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .1em;
    color: var(--lime);
}

.footer-bottom {
    border-top: 1px solid #202b3d;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: .71rem;
    color: #7f91a8;
}

/* TABLET */

@media (max-width: 991.98px) {

    .navbar-collapse {
        padding: 18px 0;
    }

    .navbar .nav-link {
        padding: 11px 0;
    }

    .nav-cta {
        margin-top: 10px;
    }

    .hero-section {
        padding: 76px 0 35px;
    }

    .terminal {
        transform: none;
    }

    .stat-strip {
        padding-top: 55px;
    }

    .section-pad {
        padding: 80px 0;
    }

    .creator-panel {
        padding: 35px;
    }

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

    .footer-main {
        flex-wrap: wrap;
    }
}

/* MOBILE */

@media (max-width: 575.98px) {

    .topline {
        font-size: .51rem;
        letter-spacing: .06em;
    }

    .topline span {
        padding: 0 4px;
    }

    .hero-section {
        padding-top: 60px;
    }

    .hero-section h1 {
        font-size: clamp(2.8rem, 11vw, 4.15rem);
    }

    .lead-copy {
        font-size: 1rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .terminal-body {
        padding: 19px;
        font-size: .72rem;
    }

    .terminal-top {
        padding: 12px;
        font-size: .55rem;
    }

    .terminal-bottom {
        font-size: .48rem;
    }

    .stat-strip strong {
        font-size: 1.5rem;
    }

    .stat-strip span {
        font-size: .6rem;
    }

    .section-pad {
        padding: 68px 0;
    }

    .section-intro {
        font-size: 1.2rem;
    }

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

    .subheading-row {
        display: block;
    }

    .creator-panel {
        padding: 23px 17px;
    }

    .generator-box {
        padding: 20px 16px;
    }

    .generator-input button {
        padding: 17px 9px;
        font-size: .75rem;
    }

    .contact-panel {
        padding: 23px 18px;
    }

    .footer-main {
        display: block;
    }

    .footer-main p {
        margin: 20px 0;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}
