/* ============================
   Fade‑in Glow Animation
============================ */
@keyframes fadeGlow {
    0% {
        opacity: 0;
        text-shadow: none;
    }

    60% {
        opacity: 1;
        text-shadow:
            0 0 4px rgba(88, 166, 255, 0.35),
            0 0 10px rgba(88, 166, 255, 0.20);
    }

    100% {
        opacity: 1;
        text-shadow:
            0 0 6px rgba(88, 166, 255, 0.45),
            0 0 14px rgba(88, 166, 255, 0.25);
    }
}

.fade-1 {
    animation: fadeGlow 1.8s ease-out forwards;
}

.fade-2 {
    animation: fadeGlow 1.8s ease-out forwards;
    animation-delay: 0.4s;
}

.fade-3 {
    animation: fadeGlow 1.8s ease-out forwards;
    animation-delay: 0.8s;
}

/* ============================
   Background
============================ */
body {
    background-color: #0a0e14;
    background-image: url('beamwarden_logo.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;

    color: #58a6ff;
    font-family: 'Courier New', monospace;

    /* OCR‑B vibe: softer, cleaner */
    font-weight: 400;
    font-size: 1.06rem;
    letter-spacing: 0.15px;
    line-height: 1.6;

    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 1rem;
    position: relative;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 20, 0.75);
    z-index: -1;
    pointer-events: none;
}

/* ============================
   Starfield
============================ */
.stars,
.stars2,
.stars3 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: repeat;
    background-size: 2px 2px;
    z-index: -2;
    pointer-events: none;
    opacity: 0.18;
    animation: twinkle 40s infinite ease-in-out;
}

.stars {
    background-image: radial-gradient(white 1px, transparent 1px);
}

.stars2 {
    background-image: radial-gradient(white 1px, transparent 1px);
    opacity: 0.12;
    animation-duration: 55s;
}

.stars3 {
    background-image: radial-gradient(white 1px, transparent 1px);
    opacity: 0.08;
    animation-duration: 70s;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.18;
    }

    50% {
        opacity: 0.10;
    }
}

/* ============================
   Container
============================ */
.container {
    border: 1px solid #f0883e;
    padding: 2rem;
    width: 100%;
    max-width: 800px;
    background: rgba(10, 14, 20, 0.6);
    box-shadow: 0 0 30px rgba(240, 136, 62, 0.15);
    text-align: center;
}

/* ============================
   Glow Enhancements
============================ */
h1 {
    color: #f0883e;
    letter-spacing: 6px;
    margin-bottom: 0.5rem;
    font-size: clamp(2rem, 6vw, 3.2rem);
    font-weight: 700;

    text-shadow:
        0 0 6px rgba(240, 136, 62, 0.55),
        0 0 14px rgba(240, 136, 62, 0.35),
        0 0 22px rgba(240, 136, 62, 0.25);
}

.tagline {
    color: #c9d1d9;
    font-style: italic;
    margin-bottom: 2rem;
    letter-spacing: 2px;
    font-size: clamp(1rem, 3vw, 1.3rem);
    font-weight: 500;

    text-shadow:
        0 0 4px rgba(88, 166, 255, 0.35),
        0 0 10px rgba(88, 166, 255, 0.20);
}

/* ============================
   OCR‑B‑style body text
============================ */
.status-box {
    color: #238636;
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    font-weight: 400;
    letter-spacing: 0.15px;
    line-height: 1.6;

    border-top: 1px solid #30363d;
    padding-top: 1.5rem;
    text-align: left;
}

.status-box p {
    margin-bottom: 1.25rem;
    text-shadow:
        0 0 4px rgba(35, 134, 54, 0.45),
        0 0 10px rgba(35, 134, 54, 0.25);
}

/* ============================
   Prompt Glow (ONLY the >)
============================ */
.prompt-glow {
    color: #f0883e;
    font-weight: 600;
    text-shadow:
        0 0 6px rgba(240, 136, 62, 0.35),
        0 0 14px rgba(240, 136, 62, 0.25),
        0 0 22px rgba(240, 136, 62, 0.18);
    margin-right: 0.35rem;
}

/* ============================
   Contact Button
============================ */
.contact-link {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.9rem 1.7rem;
    background: #f0883e;
    color: #0a0e14;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 1.1rem;

    transition: background 0.2s ease, box-shadow 0.25s ease, transform 0.15s ease;
}

.contact-link:hover {
    background: #ff9f5a;
    box-shadow:
        0 0 8px rgba(240, 136, 62, 0.55),
        0 0 18px rgba(240, 136, 62, 0.35);
    transform: translateY(-2px);
}

/* ============================
   Contact Page Form Elements
============================ */
.container form label {
    text-align: left;
    display: block;
    font-size: 1.05rem;
    font-weight: 600;
}

.optional {
    color: #8b949e;
    font-style: italic;
    margin-left: 4px;
    opacity: 0.85;
}

input,
textarea {
    width: 100%;
    padding: 0.9rem;
    border-radius: 4px;
    border: 1px solid #30363d;
    background: rgba(255, 255, 255, 0.05);
    color: #58a6ff;
    font-family: 'Courier New', monospace;

    font-weight: 400;
    letter-spacing: 0.15px;
    font-size: 1.05rem;
}

textarea {
    height: 150px;
    resize: vertical;
}

button {
    margin-top: 1.75rem;
    padding: 0.9rem 1.7rem;
    background: #f0883e;
    color: #0a0e14;
    border: none;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 1.1rem;

    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.25s ease, transform 0.15s ease;
}

button:hover {
    background: #ff9f5a;
    box-shadow:
        0 0 8px rgba(240, 136, 62, 0.55),
        0 0 18px rgba(240, 136, 62, 0.35);
    transform: translateY(-2px);
}

.banner {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 4px;
    display: none;
    font-size: 1rem;
    font-weight: 600;
}

.success {
    color: #238636;
    border: 1px solid rgba(35, 134, 54, 0.4);
    background: rgba(35, 134, 54, 0.15);
}

.error {
    color: #f85149;
    border: 1px solid rgba(248, 81, 73, 0.4);
    background: rgba(248, 81, 73, 0.15);
}

.back-link {
    display: inline-block;
    margin-top: 2rem;
    color: #58a6ff;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
}

.back-link:hover {
    text-shadow: 0 0 6px rgba(88, 166, 255, 0.45);
}

.ghost-center {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
}

/* ============================
   Mobile
============================ */
@media (max-width: 480px) {
    .container {
        padding: 1.5rem;
    }
}
