@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Share+Tech+Mono&display=swap');

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

:root {
    --bg: #050505;
    --bg-soft: #0a0a0a;
    --panel: #080d08;
    --panel-deep: #030603;
    --green: #08CB00;
    --green-dim: #253900;
    --text: #EEEEEE;
    --muted: #9aa49a;
    --line: rgba(8, 203, 0, 0.52);
    --line-dim: rgba(8, 203, 0, 0.24);
    --glow: 0 0 18px rgba(8, 203, 0, 0.22), inset 0 0 22px rgba(8, 203, 0, 0.04);
    --max-width: 1120px;
    --section-gap: 1.5rem;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 18% 8%, rgba(8, 203, 0, 0.11), transparent 28rem),
        linear-gradient(90deg, rgba(8, 203, 0, 0.035) 1px, transparent 1px),
        linear-gradient(0deg, rgba(8, 203, 0, 0.03) 1px, transparent 1px),
        linear-gradient(180deg, var(--bg-soft), var(--bg));
    background-size: auto, 54px 54px, 54px 54px, auto;
    color: var(--text);
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    overflow-wrap: break-word;
}

p,
li {
    font-family: 'Source Code Pro', Consolas, monospace;
}

body::before,
body::after,
.crt-overlay {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 50;
}

body::before {
    background: repeating-linear-gradient(
        0deg,
        rgba(238, 238, 238, 0.025) 0,
        rgba(238, 238, 238, 0.025) 1px,
        transparent 1px,
        transparent 4px
    );
    mix-blend-mode: screen;
    opacity: 0.35;
}

body::after {
    background-image:
        radial-gradient(circle at 20% 30%, rgba(238, 238, 238, 0.035) 0 1px, transparent 1px),
        radial-gradient(circle at 70% 60%, rgba(8, 203, 0, 0.035) 0 1px, transparent 1px);
    background-size: 19px 23px, 31px 29px;
    opacity: 0.24;
}

.crt-overlay {
    box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.85);
    z-index: 49;
}

a {
    color: var(--green);
    text-underline-offset: 4px;
}

a:hover {
    text-shadow: 0 0 10px var(--green);
}

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

h1,
h2,
h3,
.site-nav,
.module-label,
.button,
.blessing {
    font-family: 'Share Tech Mono', Consolas, monospace;
}

h1,
h2,
h3 {
    line-height: 1.05;
    color: var(--text);
}

main,
.site-nav,
footer {
    width: min(calc(100% - 3rem), var(--max-width));
    margin-inline: auto;
}

.site-nav {
    position: sticky;
    top: 0.75rem;
    z-index: 20;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 1.2rem;
    align-items: center;
    margin-top: 1.5rem;
    padding: 0.75rem 1rem;
    color: var(--green);
    background: rgba(3, 6, 3, 0.92);
    border: 1px solid var(--line);
    box-shadow: var(--glow);
    backdrop-filter: blur(8px);
}

.site-nav::before,
.site-nav::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-color: var(--green);
    border-style: solid;
}

.site-nav::before {
    top: -4px;
    left: -4px;
    border-width: 1px 0 0 1px;
}

.site-nav::after {
    right: -4px;
    bottom: -4px;
    border-width: 0 1px 1px 0;
}

.site-nav span {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-nav .nav-title {
    margin-right: auto;
    color: var(--text);
}

.site-nav .nav-title::before {
    content: '*';
    margin-right: 0.45rem;
    color: var(--green);
    text-shadow: 0 0 10px var(--green);
}

main {
    display: flex;
    flex-direction: column;
    gap: var(--section-gap);
    padding-block: 2rem 3rem;
}

.hero {
    display: grid;
    grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
    gap: 0;
    align-items: stretch;
}

.hero,
.intro,
.notice,
.photo-carousel,
.support,
.comments,
.chatango,
footer {
    position: relative;
    background:
        linear-gradient(135deg, rgba(8, 203, 0, 0.05), transparent 32%),
        var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--glow);
}

.hero::before,
.intro::before,
.notice::before,
.photo-carousel::before,
.support::before,
.comments::before,
.chatango::before,
footer::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid var(--line-dim);
    pointer-events: none;
}

.hero::after,
.intro::after,
.notice::after,
.photo-carousel::after,
.support::after,
.comments::after,
.chatango::after,
footer::after {
    content: '';
    position: absolute;
    top: -1px;
    right: 1rem;
    width: 54px;
    height: 1px;
    background: var(--green);
    box-shadow: 0 0 14px var(--green);
}

.profile-frame {
    position: relative;
    padding: 0.8rem;
    background: var(--panel-deep);
    border-right: 1px solid var(--line);
}

.profile-frame::before,
.profile-frame::after {
    content: '';
    position: absolute;
    width: 32px;
    height: 32px;
    border-color: var(--green);
    border-style: solid;
    z-index: 1;
}

.profile-frame::before {
    top: 0.45rem;
    left: 0.45rem;
    border-width: 2px 0 0 2px;
}

.profile-frame::after {
    right: 0.45rem;
    bottom: 0.45rem;
    border-width: 0 2px 2px 0;
}

.hero-pfp {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    border: 1px solid var(--green);
    filter: saturate(1.18) contrast(1.08);
    box-shadow: 0 0 26px rgba(8, 203, 0, 0.32);
}

.hero-text {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 390px;
    padding: 2rem;
}

.module-label {
    display: flex;
    gap: 0.45rem;
    align-items: center;
    margin-bottom: 0.85rem;
    color: var(--green);
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.module-label span {
    width: 0.55rem;
    height: 0.55rem;
    background: var(--green);
    box-shadow: 0 0 12px var(--green);
}

.hero h1 {
    max-width: 9ch;
    margin-bottom: 1rem;
    font-size: clamp(3rem, 8vw, 6.7rem);
    text-transform: lowercase;
    text-shadow: 0 0 18px rgba(8, 203, 0, 0.58);
}

.tagline {
    max-width: 36rem;
    margin-bottom: 1.6rem;
    color: var(--text);
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    font-weight: 700;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.button,
.blessing {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.65rem 1rem;
    color: var(--green);
    background: rgba(8, 203, 0, 0.025);
    border: 1px solid var(--line);
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: inset 0 0 16px rgba(8, 203, 0, 0.05);
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.button::before {
    content: '>';
    margin-right: 0.45rem;
}

.button:hover,
.button:focus-visible {
    background: rgba(8, 203, 0, 0.12);
    box-shadow: 0 0 18px rgba(8, 203, 0, 0.36), inset 0 0 18px rgba(8, 203, 0, 0.09);
    outline: none;
    transform: translateY(-2px);
}

.blessing {
    width: min(100%, 35rem);
    justify-content: flex-start;
    color: var(--muted);
    font-size: 0.82rem;
}

.intro,
.notice,
.photo-carousel,
.support,
.comments,
.chatango,
footer {
    padding: 1.4rem;
}

.intro {
    font-size: 1.12rem;
}

.intro h2,
.notice h2,
.photo-carousel h2,
.support h2,
.comments h2,
.chatango h2 {
    margin-bottom: 0.85rem;
    padding-bottom: 0.5rem;
    color: var(--green);
    border-bottom: 1px solid var(--line-dim);
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.intro h2::before,
.notice h2::before,
.photo-carousel h2::before,
.support h2::before,
.comments h2::before,
.chatango h2::before {
    content: '[';
    color: var(--muted);
}

.intro h2::after,
.notice h2::after,
.photo-carousel h2::after,
.support h2::after,
.comments h2::after,
.chatango h2::after {
    content: ']';
    color: var(--muted);
}

.intro p,
.notice p,
.support p {
    color: var(--muted);
}

.two-column-row {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(260px, 1.08fr);
    gap: var(--section-gap);
    align-items: stretch;
}

.notice {
    min-height: 260px;
}

.notice p,
.notice ul {
    font-size: 0.96rem;
}

.notice ul {
    margin-top: 0.65rem;
    padding-left: 1.25rem;
    color: var(--text);
}

.notice li::marker {
    color: var(--green);
}

.photo-carousel {
    min-height: 230px;
    display: grid;
    place-items: center;
    text-align: center;
    background:
        repeating-linear-gradient(90deg, rgba(8, 203, 0, 0.03) 0 1px, transparent 1px 14px),
        var(--panel);
}

.photo-carousel h2,
.chatango h2 {
    margin: 0;
    border: 0;
}

.chatango h2 {
    width: 100%;
    margin-bottom: 0.85rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--line-dim);
}

.support {
    min-height: 180px;
}

.support p {
    max-width: 76ch;
    margin-bottom: 0.75rem;
    font-size: 0.98rem;
}

.chat-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
    gap: var(--section-gap);
    align-items: stretch;
}

.comments,
.chatango {
    min-height: 560px;
}

.comments iframe {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 450px;
    background: var(--panel-deep);
    border: 1px solid var(--line);
    box-shadow: inset 0 0 18px rgba(8, 203, 0, 0.08);
}

.chatango {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.chatango-widget {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 450px;
    padding: 0.6rem;
    border: 1px solid var(--line);
    background: var(--panel-deep);
    box-shadow: inset 0 0 18px rgba(8, 203, 0, 0.08);
}

footer {
    display: grid;
    gap: 0.2rem;
    place-items: center;
    min-height: 110px;
    margin-bottom: 3rem;
    color: var(--muted);
    text-align: center;
}

footer .module-label {
    margin-bottom: 0.35rem;
}

@media (max-width: 820px) {
    main,
    .site-nav,
    footer {
        width: min(calc(100% - 1.5rem), var(--max-width));
    }

    main {
        gap: 1.4rem;
        padding-block: 1.2rem 2rem;
    }

    .site-nav {
        top: 0;
        margin-top: 0.75rem;
    }

    .site-nav .nav-title {
        flex-basis: 100%;
    }

    .hero,
    .two-column-row,
    .chat-grid {
        grid-template-columns: 1fr;
    }

    .profile-frame {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .hero-pfp {
        min-height: 280px;
        max-height: 430px;
    }

    .hero-text {
        min-height: auto;
        padding: 1.35rem;
    }

    .hero h1 {
        max-width: 11ch;
    }

    .intro,
    .support {
        width: 100%;
    }

    .notice {
        transform: none;
    }

    .chatango {
        margin-top: 0;
    }
}

@media (max-width: 520px) {
    body {
        font-size: 0.95rem;
    }

    main,
    .site-nav,
    footer {
        width: min(calc(100% - 1rem), var(--max-width));
    }

    .site-nav {
        gap: 0.35rem 0.8rem;
        padding: 0.65rem;
    }

    .site-nav span,
    .module-label {
        font-size: 0.7rem;
    }

    .intro h2,
    .notice h2,
    .photo-carousel h2,
    .support h2,
    .comments h2,
    .chatango h2 {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 0.45rem;
        align-items: start;
        font-size: 0.98rem;
        line-height: 1.25;
        word-break: normal;
        overflow-wrap: anywhere;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .profile-frame,
    .hero-text,
    .intro,
    .notice,
    .photo-carousel,
    .support,
    .comments,
    .chatango,
    footer {
        padding: 1rem;
    }

    .hero-pfp {
        min-height: 220px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .button,
    .blessing {
        width: 100%;
        justify-content: center;
        font-size: 0.78rem;
    }

    .comments iframe {
        min-height: 360px;
    }

    .chatango {
        align-items: stretch;
        text-align: left;
    }

    .chatango-widget {
        justify-self: center;
        place-self: center;
    }
}
