/* Contact page — public message form with reCAPTCHA. DayZ green/gold palette. */
.contact-page {
    padding-top: 28px;
    padding-bottom: 8px;
}

.contact-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 32px;
    align-items: start;
    /* Fill the shared page container so the panel lines up with the header nav
       and the footer edges (see --content-width on .site-shell). */
    width: 100%;
    /* Translucent green backdrop so the whole section reads as one panel over
       the hero photo instead of the text floating on the background. */
    background: linear-gradient(160deg, rgba(18, 42, 28, .55), rgba(8, 19, 13, .62));
    border: 1px solid rgba(83, 209, 139, .16);
    border-radius: 22px;
    padding: 34px;
    box-shadow: 0 22px 55px rgba(0, 0, 0, .34);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.contact-intro {
    padding: 8px 4px;
}

.contact-intro .eyebrow {
    display: inline-block;
    color: #ffd55f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.contact-intro h1 {
    margin: 0 0 14px;
    font-size: clamp(1.9rem, 3.6vw, 2.7rem);
    line-height: 1.15;
    color: #f4f7f2;
}

.contact-intro p {
    margin: 0 0 20px;
    color: #b7c6b9;
    font-size: 1.02rem;
    line-height: 1.6;
    max-width: 46ch;
}

.contact-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.contact-points li {
    position: relative;
    padding-left: 30px;
    color: #cdd9cd;
    font-size: .96rem;
    line-height: 1.5;
}

.contact-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background:
        linear-gradient(135deg, rgba(255, 213, 95, .9), rgba(83, 209, 139, .9));
    box-shadow: 0 0 0 4px rgba(83, 209, 139, .12);
}

/* Left column: Discord CTA + response time */
.contact-discord {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
    padding: 14px 16px;
    border-radius: 14px;
    text-decoration: none;
    background: rgba(16, 33, 24, .6);
    border: 1px solid rgba(31, 50, 41, .9);
    transition: border-color .14s ease, transform .14s ease, background .14s ease;
}

.contact-discord:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 213, 95, .55);
    background: rgba(16, 33, 24, .85);
}

.contact-discord-icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dfe6ec;
    background: linear-gradient(135deg, rgba(238, 242, 246, .16), rgba(83, 209, 139, .12));
}

.contact-discord-icon svg {
    width: 24px;
    height: 24px;
}

.contact-discord-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1 1 auto;
}

.contact-discord-text strong {
    color: #f4f7f2;
    font-size: .98rem;
    font-weight: 700;
}

.contact-discord-text small {
    color: #9db3a1;
    font-size: .82rem;
}

.contact-discord-arrow {
    flex: 0 0 auto;
    color: #ffd55f;
    display: flex;
}

.contact-discord-arrow svg {
    width: 20px;
    height: 20px;
}

.contact-response {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 16px 2px 0;
    color: #8ba08e;
    font-size: .88rem;
}

.contact-response svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    color: #53d18b;
}

/* Form card */
.contact-card {
    background: linear-gradient(180deg, rgba(14, 29, 21, .82), rgba(7, 16, 12, .88));
    border: 1px solid rgba(43, 63, 51, .7);
    border-radius: 16px;
    padding: 26px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .28);
}

/* Form card header */
.contact-form-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(31, 50, 41, .8);
}

.contact-form-icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #14210b;
    background: linear-gradient(135deg, #ffd55f, #f0b93f);
}

.contact-form-icon svg {
    width: 23px;
    height: 23px;
}

.contact-form-head h2 {
    margin: 0 0 3px;
    font-size: 1.2rem;
    color: #f4f7f2;
}

.contact-form-head p {
    margin: 0;
    color: #9db3a1;
    font-size: .88rem;
    line-height: 1.4;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.contact-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-field {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.contact-field > span {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #9db3a1;
}

.contact-field > span em {
    color: #ffd55f;
    font-style: normal;
}

.contact-field > span em[hidden] {
    display: none;
}

.contact-hint {
    margin-top: 6px;
    color: #8ba08e;
    font-size: .8rem;
    line-height: 1.4;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    background: rgba(7, 18, 13, .85);
    border: 1px solid rgba(43, 63, 51, .95);
    border-radius: 11px;
    color: #f1f5ef;
    padding: 12px 13px;
    font: inherit;
    line-height: 1.5;
}

.contact-field textarea {
    resize: vertical;
    min-height: 130px;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    outline: none;
    border-color: #ffd55f;
    box-shadow: 0 0 0 3px rgba(255, 213, 95, .16);
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #6f8375;
}

/* Honeypot: hidden from humans, present for bots. */
.contact-hp {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-recaptcha {
    min-height: 78px;
}

.contact-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.contact-submit {
    appearance: none;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #ffd55f, #f0b93f);
    color: #14210b;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: .01em;
    padding: 13px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(240, 185, 63, .22);
    transition: transform .12s ease, box-shadow .12s ease;
}

.contact-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(240, 185, 63, .3);
}

.contact-privacy {
    color: #8ba08e;
    font-size: .82rem;
    line-height: 1.4;
    flex: 1 1 200px;
}

/* Alerts */
.contact-errors {
    background: rgba(255, 138, 128, .1);
    border: 1px solid rgba(255, 138, 128, .4);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 18px;
}

.contact-errors ul {
    margin: 0;
    padding-left: 18px;
    color: #ffb3ab;
    font-size: .92rem;
    line-height: 1.5;
}

/* Success */
.contact-success {
    text-align: center;
    padding: 22px 12px 8px;
}

.contact-success-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #14210b;
    background: linear-gradient(135deg, #ffd55f, #53d18b);
    box-shadow: 0 0 0 8px rgba(83, 209, 139, .12);
}

.contact-success-icon svg {
    width: 30px;
    height: 30px;
}

.contact-success h2 {
    margin: 0 0 10px;
    color: #f4f7f2;
    font-size: 1.5rem;
}

.contact-success p {
    margin: 0 auto 18px;
    color: #b7c6b9;
    max-width: 42ch;
    line-height: 1.6;
}

.contact-ticket {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto 18px;
    padding: 9px 14px;
    border-radius: 10px;
    background: var(--admin-field, rgba(7, 18, 13, .7));
    border: 1px solid rgba(83, 209, 139, .28);
}

.contact-ticket span {
    color: #9db3a1;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 700;
}

.contact-ticket code {
    color: #ffd55f;
    font-size: 1.05rem;
    font-weight: 800;
    font-family: 'SF Mono', Consolas, monospace;
}

.contact-success-link {
    display: inline-block;
    color: #ffd55f;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 213, 95, .4);
    padding-bottom: 2px;
}

@media (max-width: 860px) {
    .contact-shell {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 20px;
        border-radius: 18px;
    }

    .contact-field-row {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 20px;
    }
}
