@import url('/components/theme/skyrock.css');

/* Public top bar (welcome) — rebuilt in the SkyRock admin style. Markup unchanged. */

* { margin: 0; padding: 0; }

header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(-145deg, #1c1c1c, #2a2a2a, #141414, #333333, #1c1c1c);
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-icon a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.14em;
    font-size: 1.2rem;
}

.header-options {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-options-a {
    cursor: pointer;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    padding: 0.5rem 0.95rem;
    border-radius: var(--r-sm);
    border: 1px solid transparent;
    transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}
.header-options-a:hover { color: var(--white); background: rgba(255, 255, 255, 0.06); }

.register {
    border: 1px solid var(--gold);
    color: var(--white);
    text-decoration: none;
}
.register:hover { background: rgba(217, 192, 138, 0.14); }

/* ---------- Mobile (phones) ----------
   Below 40rem the brand + nav can't share one row: .header-options has no wrap,
   so the links spill off the right edge / cram against the brand. Stack the bar
   into two centered rows — brand on top, a centered wrapping nav below. Desktop
   (>40rem) is untouched. */
@media (max-width: 40rem) {
    header {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 10px 16px;
    }
    .header-icon { text-align: center; }
    .header-options {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }
    .header-options-a { padding: 0.4rem 0.7rem; font-size: 0.88rem; }
}
