/* ---------------------------------
   stokesnet.xyz - contact page
   (shares tokens/fonts with login.css / register.css)
------------------------------------ */

@font-face {
    font-family: 'BlackOpsOne';
    src: url('https://assets.stokesnet.xyz/fonts/BlackOpsOne.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Rajdhani';
    src: url('https://assets.stokesnet.xyz/fonts/Rajdhani.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input, textarea { -webkit-user-select: text; -ms-user-select: text; user-select: text; }

html, body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 40px 16px;
    width: 100%;
    background: var(--dark-mode-background-color);
    color: var(--dark-mode-text-color);
}

#particles-js {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-mode-background-color);
}

.contact-box {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    width: 560px;
    max-width: 100%;
    padding: 36px 34px 30px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.015);
    box-shadow: 0px 0px 25px 0px rgba(255, 255, 255, 0.05);
}

.contact-header {
    text-align: center;
    margin: 0 0 30px 0;
}
.contact-header header {
    color: var(--dark-mode-text-color);
    font-size: 40px;
    font-family: 'BlackOpsOne', -apple-system, sans-serif;
}

/* Honeypot field - present in the DOM (so simple bots that fill every
   input still trip it) but invisible and unreachable to real visitors:
   off-screen, zero size, not tab-focusable, and skipped by screen readers. */
.contact-hp {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.field-row {
    display: flex;
    gap: 14px;
}
.field-row .input-box { flex: 1; min-width: 0; }

.input-box { margin-bottom: 18px; }

.input-box label,
.field-label {
    display: block;
    font-family: 'Rajdhani', -apple-system, sans-serif;
    font-size: 15px;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.input-field {
    width: 100%;
    height: 54px;
    font-size: 17px;
    padding: 0 20px;
    border-radius: 14px;
    border: none;
    box-shadow: 0px 0px 15px 0px rgba(255, 255, 255, 0.08);
    background-color: var(--dark-mode-input-background-color);
    color: var(--dark-mode-input-text-color);
    font-family: 'Rajdhani', -apple-system, sans-serif;
    outline: none;
    transition: all 0.3s ease;
}
.input-field:focus {
    box-shadow: 0px 0px 15px 0px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.input-field:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.textarea-field {
    height: auto;
    min-height: 150px;
    padding: 16px 20px;
    line-height: 1.5;
    resize: vertical;
}

.input-submit { position: relative; margin-top: 8px; }

.submit-btn {
    width: 100%;
    height: 58px;
    background-color: var(--dark-mode-button-background-color);
    box-shadow: 0px 0px 15px 1px rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    color: var(--dark-mode-text-color);
    transition: all .4s ease-in-out;
    font-family: 'Rajdhani', -apple-system, sans-serif;
    font-size: 24px;
    text-transform: uppercase;
}
.submit-btn:hover {
    box-shadow: 0px 0px 20px 5px rgba(255, 255, 255, 0.2);
    border-radius: 35px;
}
.submit-btn:disabled { opacity: .6; cursor: not-allowed; }

.login-link {
    text-align: center;
    font-family: 'Rajdhani', -apple-system, sans-serif;
    font-size: 18px;
    margin-top: 16px;
}
.login-link a, .contact-box a {
    text-decoration: none;
    color: var(--dark-mode-text-color);
    transition: all .3s ease-in-out;
}
.login-link a:hover { color: var(--dark-mode-text-hover-color); }

.hint {
    font-family: 'Rajdhani', -apple-system, sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    margin: -12px 0 16px 4px;
}

@media (max-width: 560px) {
    .field-row { flex-direction: column; gap: 0; }
    .contact-box { padding: 28px 20px 24px; }
    .contact-header header { font-size: 32px; }
}
