/* ============================================================
   CONTACT PAGE STYLES
   ============================================================ */

/* ---- Header ---- */

.contact-header {
    position: relative;
    overflow: hidden;
    background: rgb(32, 35, 44);
    border-bottom: 1px solid var(--bs-border-color);
}

.contact-header__network {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.contact-header__network canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.contact-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(190, 176, 49, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.contact-header .container {
    position: relative;
    z-index: 1;
    animation: contact-fade-in 0.6s ease both;
}

.contact-header h1 {
    background: linear-gradient(140deg, #ffffff 0%, rgba(var(--bs-primary-rgb), 0.85) 60%, #ffffff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ---- Form card ---- */

.contact-form-card {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 0.75rem !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.contact-form__textarea {
    resize: vertical;
    min-height: 160px;
}

.contact-form__submit {
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.contact-form__submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(var(--bs-primary-rgb), 0.35);
}

/* ---- Anti-bot honeypot ---- */

.contact-form__honeypot {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 0;
    height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* ---- Info cards ---- */

.contact-discord,
.contact-note {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 0.75rem !important;
}

.contact-discord__icon,
.contact-note__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(var(--bs-primary-rgb), 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--bs-primary);
    flex-shrink: 0;
}

/* ---- Animations ---- */

@keyframes contact-fade-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
