/* RESET */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* CATPPUCCIN MOCHA */
:root {
    --base: #1e1e2e;
    --mantle: #181825;
    --crust: #11111b;

    --surface0: #313244;
    --surface1: #45475a;
    --surface2: #585b70;

    --text: #cdd6f4;
    --subtext: #a6adc8;

    --mauve: #cba6f7;
    --lavender: #b4befe;
    --pink: #f38ba8;
    --rosewater: #f5e0dc;

    --border: #6c7086;
}

/* BASE */
body {
    margin: 0;
    font-family: "Segoe UI", system-ui, sans-serif;
    background: linear-gradient(160deg, var(--mantle), var(--base));
    color: var(--text);
    line-height: 1.6;
}

/* NAV */
nav {
    display: flex;
    justify-content: center;
    gap: 14px;

    padding: 14px;

    background: rgba(24, 24, 37, 0.8);
    backdrop-filter: blur(10px);

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

nav a {
    text-decoration: none;
    color: var(--subtext);
    font-size: 14px;
    font-weight: 500;

    padding: 6px 12px;
    border-radius: 10px;

    transition: all 0.2s ease;
}

nav a:hover {
    background: var(--surface0);
    color: var(--pink);
}

/* MAIN */
main {
    max-width: 680px;
    margin: 60px auto;
    padding: 30px;

    background: var(--mantle);
    border-radius: 18px;

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

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(203, 166, 247, 0.08);
}

/* TITLE */
h1 {
    margin-top: 0;
    font-size: 30px;
    color: var(--mauve);
}

/* TEXT */
p {
    color: var(--subtext);
}

ol {
    padding-left: 20px;
}

.small {
    font-size: 12px;
    color: var(--pink);
}

/* LINKS */
a {
    color: var(--lavender);
    text-decoration: none;
    border-bottom: 1px dashed transparent;
}

a:hover {
    color: var(--pink);
    border-color: var(--pink);
}

/* FORM */
form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

form p {
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--rosewater);
}

/* INPUTS */
input[type="url"],
textarea {
    width: 100%;
    padding: 12px;

    border-radius: 10px;
    border: 1px solid var(--surface1);

    background: var(--crust);
    color: var(--text);

    font-size: 14px;

    transition: all 0.2s ease;
}

textarea {
    min-height: 120px;
}

/* FOCUS */
input:focus,
textarea:focus {
    outline: none;
    border-color: var(--mauve);
    box-shadow: 0 0 0 2px rgba(203, 166, 247, 0.3);
}

/* RADIO */
input[type="radio"] {
    accent-color: var(--pink);
}

label {
    margin-right: 14px;
    color: var(--subtext);
}

/* BUTTON */
button {
    padding: 12px;

    border: none;
    border-radius: 10px;

    background: linear-gradient(135deg, var(--mauve), var(--pink));
    color: var(--base);

    font-weight: 600;

    cursor: pointer;

    transition: all 0.2s ease;
}

button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(243, 139, 168, 0.25);
}

/* CODE BLOCK */
code {
    display: block;
    margin: 16px 0;
    padding: 14px;

    background: var(--crust);
    border: 1px solid var(--surface0);
    border-radius: 12px;

    font-family: monospace;
    font-size: 13px;

    color: var(--rosewater);

    overflow-x: auto;
}

/* EXAMPLE PANEL */
.example {
    display: flex;
    gap: 10px;
    align-items: center;

    margin: 14px 0;
    padding: 10px 14px;

    background: var(--surface0);
    border-radius: 12px;
    border: 1px solid var(--surface1);
}

.example a {
    padding: 4px 8px;
    border-radius: 6px;
    background: var(--mantle);
    transition: 0.2s;
}

.example a:hover {
    background: var(--pink);
    color: var(--base);
}

/* IFRAME */
iframe {
    border-radius: 10px;
    background: var(--crust);
    border: 1px solid var(--surface1);
}

/* SCROLLBAR (bonus) */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--base);
}

::-webkit-scrollbar-thumb {
    background: var(--surface2);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--mauve);
}

/* CLEANUP */
.invisible {
    display: none;
}

.discord{
    background-color: #5865F2;
    border-radius: 10px;
}