:root {
    --rp-text: #14222f;
    --rp-muted: #6b7a89;
    --rp-border: #dfe7ef;
    --rp-primary: #11a39c;
    --rp-primary-dark: #08746f;
    --rp-primary-soft: rgba(17, 163, 156, 0.14);
    --rp-accent: #6d5dfc;
    --rp-shadow: 0 28px 80px rgba(7, 20, 36, 0.22);
}

body {
    min-height: 100vh;
    margin: 0;
    background: #071424 !important;
    color: var(--rp-text);
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif !important;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 18%, rgba(17, 163, 156, 0.42), transparent 26rem),
        radial-gradient(circle at 86% 14%, rgba(109, 93, 252, 0.26), transparent 24rem),
        linear-gradient(135deg, #071424 0%, #102436 48%, #dff7f5 100%);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(135deg, rgba(0, 0, 0, 0.75), transparent 68%);
}

#tsparticles {
    opacity: 0.2;
}

.back-home {
    position: fixed;
    top: 22px;
    left: 22px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(7, 20, 36, 0.16);
    backdrop-filter: blur(18px);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.back-home:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    text-decoration: none;
    transform: translateY(-1px);
}

.help-container {
    position: relative;
    z-index: 1;
    width: min(560px, calc(100% - 32px));
    margin: 0 auto;
    top: 50%;
    transform: translateY(calc(50vh - 50%));
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--rp-shadow);
    backdrop-filter: blur(20px);
}

.help-container h2 {
    margin: 0 0 22px;
    text-align: center;
    color: var(--rp-text);
    font-size: clamp(30px, 5vw, 44px);
    font-weight: 900;
    letter-spacing: 0;
    background: linear-gradient(135deg, var(--rp-primary-dark), var(--rp-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.help-container form {
    margin: 0;
}

.help-container label {
    display: block;
    margin: 14px 0 6px;
    color: var(--rp-text);
    font-size: 14px;
    font-weight: 850;
}

.help-container input,
.help-container textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid var(--rp-border);
    border-radius: 16px;
    background: #f8fbfd;
    color: var(--rp-text);
    font-size: 15px;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.help-container textarea {
    min-height: 150px;
    resize: vertical;
}

.help-container input:focus,
.help-container textarea:focus {
    border-color: rgba(17, 163, 156, 0.76);
    background: #ffffff;
    box-shadow: 0 0 0 4px var(--rp-primary-soft);
    outline: none;
}

.help-container button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 50px;
    margin-top: 18px;
    padding: 12px 18px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--rp-primary), #23c5bb);
    color: #ffffff;
    font-size: 17px;
    font-weight: 850;
    box-shadow: 0 14px 28px rgba(17, 163, 156, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.help-container button:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(17, 163, 156, 0.32);
}

.help-container .alert {
    border-radius: 16px;
    font-size: 15px;
}

body.dark-mode .help-container,
html.dark-mode .help-container {
    background: rgba(255, 255, 255, 0.92) !important;
    border-color: rgba(255, 255, 255, 0.65);
    color: var(--rp-text);
}

body.dark-mode .help-container label,
html.dark-mode .help-container label {
    color: var(--rp-text);
}

body.dark-mode .help-container input,
body.dark-mode .help-container textarea,
html.dark-mode .help-container input,
html.dark-mode .help-container textarea {
    background: #f8fbfd !important;
    border-color: var(--rp-border);
    color: var(--rp-text);
}

@media (max-width: 768px) {
    .back-home {
        top: 12px;
        left: 12px;
        min-height: 38px;
        padding: 8px 12px;
        font-size: 13px;
    }

    .help-container {
        top: auto;
        transform: none;
        margin: 82px auto 36px;
        padding: 22px;
        border-radius: 22px;
    }
}
