/* =========================================================
   ASHUNT REGISTER — portal layout (matches index header)
========================================================= */

:root {
    --ar-bg: #07090d;
    --ar-panel: rgba(12, 14, 18, 0.92);
    --ar-gold: #dca72f;
    --ar-gold-soft: #efc657;
    --ar-text: #eef2f7;
    --ar-muted: rgba(238, 242, 247, 0.58);
    --ar-line: rgba(220, 167, 47, 0.22);
    --ar-danger: #ff6976;
    --ar-ok: #54de82;
}

body.ashunt-register-body {
    min-height: 100vh;
    color: var(--ar-text);
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(220, 167, 47, 0.12), transparent 55%),
        linear-gradient(180deg, #0b0e14 0%, var(--ar-bg) 45%, #05070a 100%);
}

.ashunt-register-page {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 160px 0 56px;
}

@media (max-width: 991px) {
    .ashunt-register-page {
        padding-top: 72px;
    }
}

.ashunt-register-shell {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 620px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--ar-line);
    background: rgba(10, 12, 16, 0.88);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.ashunt-register-shell.is-centered {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
    min-height: 0;
}

.ashunt-register-visual {
    position: relative;
    min-height: 620px;
    isolation: isolate;
    background:
        radial-gradient(circle at 30% 28%, rgba(163, 100, 24, 0.16), transparent 36%),
        linear-gradient(145deg, #15100c 0%, #0c0c0c 50%, #07090c 100%);
    border-right: 1px solid rgba(220, 167, 47, 0.18);
}

.ashunt-register-visual__backdrop {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url('../images/register.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    filter: brightness(1.08) contrast(1.05) saturate(1.15);
}

.ashunt-register-visual__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(5, 6, 8, 0.08) 0%, rgba(5, 6, 8, 0.2) 55%, rgba(5, 6, 8, 0.55) 100%),
        linear-gradient(180deg, rgba(5, 6, 8, 0.12) 0%, transparent 50%, rgba(5, 6, 8, 0.55) 100%);
}

.ashunt-register-visual__caption {
    position: absolute;
    right: 28px;
    bottom: 28px;
    left: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ashunt-register-visual__caption span {
    color: var(--ar-gold-soft);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.ashunt-register-visual__caption small {
    color: rgba(238, 242, 247, 0.45);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.ashunt-register-main {
    position: relative;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at 90% 10%, rgba(220, 167, 47, 0.08), transparent 28%),
        linear-gradient(180deg, #0f131a 0%, #0a0d12 100%);
}

.ashunt-register-content {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    padding: 42px 40px 48px;
}

.ashunt-register-shell.is-centered .ashunt-register-content {
    padding: 40px 36px 44px;
}

.ashunt-register-shell.is-centered .ashunt-register-heading {
    text-align: center;
}

.ashunt-register-form-wrap {
    width: min(100%, 430px);
}

.ashunt-register-shell.is-centered .ashunt-register-form-wrap {
    width: 100%;
}

.ashunt-register-heading {
    margin-bottom: 28px;
}

.ashunt-register-heading__kicker {
    display: block;
    margin-bottom: 10px;
    color: var(--ar-gold);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.ashunt-register-heading h1 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    font-weight: 800;
    line-height: 1.05;
}

.ashunt-register-heading p {
    margin: 0;
    color: var(--ar-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.ashunt-register-alert {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 0.86rem;
    line-height: 1.45;
}

.ashunt-register-alert.is-error {
    border: 1px solid rgba(255, 105, 118, 0.35);
    background: rgba(255, 105, 118, 0.1);
    color: #ffb4bb;
}

.ashunt-register-alert.is-ok {
    border: 1px solid rgba(84, 222, 130, 0.35);
    background: rgba(84, 222, 130, 0.1);
    color: #b8f5cc;
}

.ashunt-register-alert a {
    color: var(--ar-gold-soft);
    font-weight: 700;
    margin-left: 6px;
}

.ashunt-register-field {
    margin-bottom: 16px;
}

.ashunt-register-field label {
    display: block;
    margin-bottom: 8px;
    color: rgba(238, 242, 247, 0.72);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ashunt-register-control {
    position: relative;
    display: flex;
    align-items: center;
    border-radius: 14px;
    border: 1px solid rgba(220, 167, 47, 0.22);
    background: rgba(6, 8, 12, 0.88);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.ashunt-register-control:focus-within {
    border-color: rgba(239, 198, 87, 0.55);
    box-shadow: 0 0 0 3px rgba(220, 167, 47, 0.12);
}

.ashunt-register-control__icon {
    display: grid;
    place-items: center;
    width: 46px;
    color: var(--ar-gold);
    flex: 0 0 46px;
}

.ashunt-register-control input {
    flex: 1;
    min-width: 0;
    height: 50px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font-size: 0.95rem;
    padding: 0 12px 0 0;
}

.ashunt-register-control input::placeholder {
    color: rgba(238, 242, 247, 0.35);
}

.ashunt-register-password-toggle {
    width: 44px;
    height: 44px;
    margin-right: 4px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: rgba(238, 242, 247, 0.55);
    cursor: pointer;
}

.ashunt-register-password-toggle:hover {
    color: var(--ar-gold-soft);
}

.ashunt-register-terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 8px 0 20px;
}

.ashunt-register-terms > input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ashunt-register-terms label {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    color: rgba(238, 242, 247, 0.7);
    font-size: 0.86rem;
    line-height: 1.45;
}

.ashunt-register-checkbox {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    margin-top: 1px;
    border-radius: 6px;
    border: 1px solid rgba(220, 167, 47, 0.4);
    background: rgba(8, 10, 14, 0.9);
    color: transparent;
    font-size: 0.7rem;
}

.ashunt-register-terms > input:checked + label .ashunt-register-checkbox {
    background: linear-gradient(180deg, #efc657, #c89020);
    border-color: #efc657;
    color: #1a1205;
}

.ashunt-register-terms a {
    color: var(--ar-gold-soft);
    text-decoration: none;
    font-weight: 700;
}

.ashunt-register-terms a:hover {
    text-decoration: underline;
}

.ashunt-recaptcha-field,
.ashunt-recaptcha-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
}

.ashunt-recaptcha-field {
    margin: 6px 0 4px;
}

.ashunt-recaptcha-wrap .g-recaptcha {
    transform-origin: center center;
}

.ashunt-register-submit {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(180deg, #efc657, #c89020);
    color: #1a1205;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(200, 144, 32, 0.28);
    transition: filter 0.18s ease, transform 0.18s ease;
}

.ashunt-register-submit:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.ashunt-register-form-footer {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--ar-muted);
    font-size: 0.88rem;
}

.ashunt-register-form-footer a {
    color: var(--ar-gold-soft);
    font-weight: 800;
    text-decoration: none;
}

.ashunt-register-form-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .ashunt-register-shell {
        grid-template-columns: 1fr;
    }

    .ashunt-register-visual {
        min-height: 220px;
        border-right: 0;
        border-bottom: 1px solid rgba(220, 167, 47, 0.18);
    }

    .ashunt-register-content {
        padding: 28px 22px 36px;
    }
}

@media (max-width: 560px) {
    .ashunt-register-page {
        width: calc(100% - 20px);
        padding-bottom: 36px;
    }

    .ashunt-register-heading h1 {
        font-size: 1.7rem;
    }
}
