/* ==========================================================================
   stage_01 -- shared look.
   Carries over the original site's palette: black ground, AbcPrint headings,
   brown buttons that go orange with a yellow border on hover, 5px radius.
   ========================================================================== */

@font-face {
    font-family: "AbcPrint";
    /* stage_01's own copy -- nothing here reaches outside this folder, so the
       whole tree can be moved to the web root later without edits. */
    src: url("../fonts/ABCPRINT.TTF");
    font-display: swap;
}

:root {
    --ink:          #ffffff;
    --ink-dim:      #b9b9b9;
    --ground:       #000000;
    --panel:        #141414;
    --panel-2:      #1e1e1e;
    --line:         #333333;

    --brown:        #996633;
    --orange:       #ff9900;
    --yellow:       #ffff00;
    --green:        #336600;
    --green-lt:     #669900;
    --green-bar:    #4d5d13;   /* the header green from the root site (abcHeader7) */
    --red:          #800000;
    --red-lt:       #990000;
    --blue:         #0e8cc2;
    --purple:       #cb94dc;

    --radius:       5px;
    --bar-h:        58px;
}

* { box-sizing: border-box; }

/*  The browser hides [hidden] with `display: none` from its OWN stylesheet,
 *  which ANY author rule outranks. So the moment a class sets a display --
 *  .cover is flex, .btn is inline-block -- the hidden attribute silently
 *  stops working and the element is on screen permanently.
 *
 *  This is what put "No rotation yet" on top of a perfectly good board.
 *  One rule, stated loudly enough to win, fixes it everywhere.
 */
[hidden] { display: none !important; }

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    background: var(--ground);
    color: var(--ink);
    font-family: Helvetica, Arial, sans-serif;
    font-size: 15px;
}

h1, h2, h3, .abcfont {
    font-family: "AbcPrint", Helvetica, Arial, sans-serif;
    font-weight: normal;
    letter-spacing: 0.5px;
}

a { color: var(--orange); }

/* --- Buttons ------------------------------------------------------------ */

.btn {
    display: inline-block;
    padding: 9px 16px;
    background: var(--brown);
    color: #ffffff;
    font-family: "AbcPrint", Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 16px;
    border: 2px solid #000000;
    border-radius: var(--radius);
    cursor: pointer;
    text-decoration: none;
    user-select: none;
    transition: background 120ms linear, border-color 120ms linear;
}
.btn:hover,
.btn:focus-visible {
    background: var(--orange);
    border-color: var(--yellow);
    outline: none;
}
.btn:disabled,
.btn.is-disabled {
    background: #3a3a3a;
    border-color: #000000;
    color: #777777;
    cursor: not-allowed;
}

.btn-go     { background: var(--green); }
.btn-go:hover     { background: var(--green-lt); border-color: var(--yellow); }
.btn-danger { background: var(--red); }
.btn-danger:hover { background: var(--red-lt); border-color: var(--yellow); }
.btn-quiet  { background: #2a2a2a; }
.btn-quiet:hover  { background: #3d3d3d; border-color: var(--yellow); }

.btn-lg { padding: 16px 34px; font-size: 26px; border-radius: 8px; }
.btn-sm { padding: 5px 10px;  font-size: 13px; }

/* --- Text effects lifted from the original ------------------------------ */

.stroke {
    text-shadow:
        -10px -10px 20px #559c00,  10px -10px 20px #559c00,
        -10px  10px 20px #559c00,  10px  10px 20px #559c00;
}
.stroke2 {
    text-shadow:
        -2px -2px 0 #000000,  2px -2px 0 #000000,
        -2px  2px 0 #000000,  2px  2px 0 #000000;
}

/* --- Gate pages (index / log_in / bump) --------------------------------- */

.gate {
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        radial-gradient(circle at 50% 0%, #24200c 0%, #000000 62%);
}
.gate-card {
    width: 100%;
    max-width: 460px;
    background: var(--panel);
    border: 2px solid var(--line);
    border-radius: 12px;
    padding: 34px 30px;
    box-shadow: 0 0 60px rgba(255, 153, 0, 0.12);
}
.gate-card.wide { max-width: 620px; }

.gate-title {
    margin: 0 0 6px;
    font-size: 42px;
    color: var(--yellow);
    text-align: center;
}
.gate-sub {
    margin: 0 0 26px;
    text-align: center;
    color: var(--ink-dim);
    font-size: 14px;
}

.field { margin-bottom: 16px; }
.field label {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
    color: var(--ink-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="password"] {
    width: 100%;
    padding: 11px 12px;
    background: #0a0a0a;
    border: 2px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    font-size: 16px;
}
.field input:focus {
    outline: none;
    border-color: var(--orange);
}

.notice {
    padding: 11px 13px;
    border-radius: var(--radius);
    margin-bottom: 18px;
    font-size: 14px;
    border: 1px solid transparent;
}
.notice-bad  { background: #2b0d0d; border-color: #7a1f1f; color: #ffb3b3; }
.notice-good { background: #0e2110; border-color: #2f6b34; color: #b6f0bb; }
.notice-info { background: #101d26; border-color: #27556e; color: #a9dbf2; }

.status-chip {
    display: inline-block;
    padding: 5px 13px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.chip-active { background: #1d3b16; color: #9de07f; border: 1px solid #3f7a2f; }
.chip-trial  { background: #3b3416; color: #f0dc7f; border: 1px solid #7a6c2f; }
.chip-stop   { background: #3b1616; color: #f09797; border: 1px solid #7a2f2f; }

/* Label / value rows -- the account page. */
.kv { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 15px; }
.kv th, .kv td { padding: 9px 4px; border-bottom: 1px solid #2c2c2c; text-align: left; vertical-align: top; }
.kv th { width: 38%; font-weight: normal; color: var(--ink-dim); }

.center { text-align: center; }
.muted  { color: var(--ink-dim); font-size: 13px; }
.stack > * + * { margin-top: 14px; }
