:root {
    color-scheme: dark;
    --background: #000911;
    --surface: rgba(255, 255, 255, 0.026);
    --surface-strong: rgba(52, 152, 219, 0.08);
    --text: #ffffff;
    --text-soft: rgba(255, 255, 255, 0.86);
    --muted: rgba(255, 255, 255, 0.55);
    --border: rgba(52, 152, 219, 0.18);
    --border-strong: rgba(52, 152, 219, 0.35);
    --accent: #3498DB;
    --accent-soft: #7CCBFF;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: "Poppins", sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body::-webkit-scrollbar {
    display: none;
}

main {
    width: min(100%, 900px);
    margin: 0 auto;
    padding: clamp(40px, 7vw, 72px) 24px 64px;
}

header {
    padding-bottom: 1rem;
}

h1,
h2,
h3 {
    color: var(--text);
    line-height: 1.2;
    scroll-margin-top: 24px;
}

h1 {
    margin: 0 0 0.75rem;
    color: var(--text);
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    font-style: italic;
    font-weight: 800;
    transform: skewX(-6deg);
}

h2 {
    margin: 2.7rem 0 1rem;
    padding-top: 1.45rem;
    border-top: 1px solid var(--border);
    font-size: clamp(1.35rem, 3vw, 1.9rem);
    font-weight: 800;
}

h3 {
    margin: 1.7rem 0 0.6rem;
    color: var(--accent-soft);
    font-size: 1.12rem;
    font-weight: 800;
}

p,
li {
    max-width: 76ch;
}

p {
    color: var(--text-soft);
}

li {
    color: var(--text-soft);
    margin-bottom: 0.38rem;
}

strong {
    color: var(--text);
}

.meta,
.muted {
    color: var(--muted);
}

.meta {
    margin-bottom: 1.1rem;
}

a {
    color: var(--accent);
    text-underline-offset: 3px;
    transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

a:hover {
    color: var(--accent-soft);
}

.button,
.bot-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    color: var(--accent-soft);
    background: rgba(124, 203, 255, 0.12);
    border: 1px solid rgba(124, 203, 255, 0.42);
    border-radius: 8px;
    box-shadow: 0 0 28px rgba(124, 203, 255, 0.1);
    font-weight: 800;
    text-decoration: none;
}

.button {
    margin: 0.65rem 0 1.1rem;
    padding: 0.72rem 1rem;
}

.bot-link {
    margin-bottom: 0.7rem;
    padding: 0.58rem 0.9rem;
}

.button:hover,
.bot-link:hover {
    color: #ffffff;
    background: rgba(124, 203, 255, 0.18);
    border-color: rgba(124, 203, 255, 0.7);
    box-shadow: 0 0 42px rgba(124, 203, 255, 0.24);
    transform: translateY(-2px);
}

ul {
    padding-left: 1.35rem;
}

.summary,
.notice {
    background: var(--surface-strong);
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    box-shadow: 0 0 28px rgba(52, 152, 219, 0.1);
}

.summary {
    margin-top: 3rem;
    padding: clamp(1.1rem, 3vw, 1.45rem);
}

.notice {
    max-width: 76ch;
    margin: 1rem 0;
    padding: 1rem 1.1rem;
    color: var(--text-soft);
}

.summary h2 {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.summary p:last-child,
.summary ul:last-child {
    margin-bottom: 0;
}

code {
    padding: 0.12rem 0.35rem;
    color: var(--accent-soft);
    background: rgba(124, 203, 255, 0.1);
    border: 1px solid rgba(124, 203, 255, 0.28);
    border-radius: 6px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 0.92em;
}

footer {
    padding: 24px;
    text-align: center;
    height: 110px;
    background-color: rgb(0, 0, 0);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.footer-left {
    justify-self: end;
    margin-right: 200px;
}

.footer-center {
    justify-self: center;
}

.footer-right {
    justify-self: start;
    margin-left: 200px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

footer p {
    margin: 0;
    color: white;
}

.footer-subtext {
    margin-top: 4px;
    color: rgb(82, 82, 82);
    font-size: 0.65rem;
}

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

@media (max-width: 760px) {
    main {
        padding: 40px 20px 54px;
    }

    h1 {
        font-size: clamp(2rem, 12vw, 3.1rem);
    }

    h2 {
        margin-top: 2.25rem;
        font-size: 1.35rem;
    }

    .button,
    .bot-link {
        width: 100%;
        text-align: center;
    }

    footer {
        height: auto;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .footer-left,
    .footer-center,
    .footer-right {
        justify-self: center;
        margin: 0;
    }
}
