/* ============================================================
   LoKa — network menu

   MENU ONLY. Every destination below is href="#" on purpose:
   the sections behind them do not exist yet, and a link that
   goes to the wrong page is worse than one that plainly goes
   nowhere. Wire them up as each section is built.

   LoKa runs its own palette — mint on near-black — rather than
   the shop's blue, so moving into it reads as entering a
   different property of the network.
   ============================================================ */

.loka-shell {
    --loka-ink:        #041c19;
    --loka-ink-soft:   #0a2a25;
    --loka-line:       #14413a;
    --loka-mint:       #5eead4;
    --loka-mint-deep:  #2dd4bf;
    --loka-text:       #f0fdfa;
    --loka-muted:      #7f9c96;
    --loka-tabs-bg:    #e9efed;

    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ============================================================
   1. The bar
   ============================================================ */

.loka-bar {
    background: var(--loka-ink);
    border-bottom: 1px solid var(--loka-line);
}

.loka-bar-inner {
    display: flex;
    align-items: stretch;
    gap: 18px;
    min-height: 78px;
}

/* ---------- brand ---------- */

.loka-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 0 0 auto;
    padding-right: 18px;
    border-right: 1px solid var(--loka-line);
    text-decoration: none !important;
}

.loka-brand-txt { display: flex; flex-direction: column; line-height: 1.1; }

.loka-wordmark {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--loka-text);
}

.loka-wordmark span { color: var(--loka-mint); }

.loka-byline {
    font-size: 10.5px;
    font-weight: 600;
    color: var(--loka-muted);
    margin-top: 2px;
}

.loka-kicker {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--loka-muted);
}

/* ---------- search ---------- */

.loka-search {
    position: relative;
    display: flex;
    align-items: center;
    align-self: center;
    flex: 0 1 420px;
    min-width: 180px;
}

.loka-search i {
    position: absolute;
    left: 16px;
    font-size: 13px;
    color: #64807b;
    pointer-events: none;
}

.loka-search input {
    width: 100%;
    height: 46px;
    padding: 0 18px 0 40px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    font-size: 13.5px;
    outline: none;
    transition: box-shadow 160ms ease;
}

.loka-search input::placeholder { color: #94a3b8; }

.loka-search input:focus {
    box-shadow: 0 0 0 3px rgba(94, 234, 212, .35);
}

/* ---------- sections ---------- */

.loka-nav {
    display: flex;
    align-items: stretch;
    flex: 1 1 auto;
    min-width: 0;
    /* Nine sections do not fit a laptop. They scroll rather than wrap, so the
       bar stays one row tall at every width. */
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #26584f transparent;
}

.loka-nav::-webkit-scrollbar { height: 6px; }
.loka-nav::-webkit-scrollbar-track { background: transparent; }
.loka-nav::-webkit-scrollbar-thumb { background: #26584f; border-radius: 999px; }

.loka-nav-item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    flex: 0 0 auto;
    padding: 12px 15px;
    text-decoration: none !important;
    transition: background 150ms ease;
}

.loka-nav-item + .loka-nav-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 22%;
    bottom: 22%;
    width: 1px;
    background: var(--loka-line);
}

.loka-nav-item:hover { background: rgba(94, 234, 212, .07); }

.loka-nav-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--loka-text);
    white-space: nowrap;
}

/* Two lines at most: "Stories · stores · events · live" is a description, not a
   label, and it must not widen its column to fit on one line. */
.loka-nav-sub {
    font-size: 11px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--loka-muted);
    max-width: 15ch;
}

.loka-nav-item.active { background: var(--loka-ink-soft); }
.loka-nav-item.active .loka-nav-title { color: var(--loka-mint); }
.loka-nav-item.active .loka-nav-sub { color: #a7d5cd; }

/* The lit edge sits under the label, not over it, so it reads as a tab. */
.loka-nav-item.active::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(90deg, var(--loka-mint), var(--loka-mint-deep));
}

/* ---------- actions ---------- */

.loka-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    align-self: center;
}

.loka-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none !important;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.loka-btn-create {
    background: linear-gradient(135deg, #6ee7d7, #2dd4bf);
    color: #04201c;
}

.loka-btn-create:hover { background: linear-gradient(135deg, #8af0e2, #45dcc9); color: #04201c; }

.loka-btn-ghost {
    background: transparent;
    border-color: #1f5f56;
    color: var(--loka-text);
}

.loka-btn-ghost:hover { background: rgba(94, 234, 212, .10); border-color: var(--loka-mint-deep); color: var(--loka-text); }

.loka-avatar {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #2a3f52;
    color: #e2e8f0;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .02em;
    text-decoration: none !important;
    flex: 0 0 auto;
}

.loka-avatar:hover { background: #35506a; color: #fff; }

/* ============================================================
   2. Filter tabs
   ============================================================ */

.loka-tabs {
    background: var(--loka-tabs-bg);
    border-bottom: 1px solid #d7e0dd;
}

.loka-tabs-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.loka-tabs-inner::-webkit-scrollbar { display: none; }

.loka-tab {
    flex: 0 0 auto;
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    color: #4a5f5a;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 140ms ease, color 140ms ease;
}

.loka-tab:hover { background: #dde6e3; color: #21302c; }

.loka-tab.active {
    background: #a7f3e4;
    color: #04302a;
    font-weight: 700;
}

/* ============================================================
   3. Responsive
   ============================================================ */

@media (max-width: 1199.98px) {
    .loka-search { flex-basis: 300px; }
    .loka-nav-item { padding: 11px 12px; }
}

@media (max-width: 991.98px) {
    .loka-bar-inner { flex-wrap: wrap; gap: 12px; padding: 12px 0; }
    .loka-brand { border-right: 0; padding-right: 0; }
    .loka-search { order: 3; flex: 1 1 100%; }
    .loka-nav { order: 4; flex: 1 1 100%; }
    .loka-actions { margin-left: auto; }
    .loka-nav-sub { max-width: none; }
}

@media (max-width: 575.98px) {
    .loka-kicker { display: none; }
    .loka-btn span { display: none; }
    .loka-btn { padding: 0 14px; }
    .loka-tabs-inner { justify-content: flex-start; }
}

/* ============================================================
   4. Preview stage

   Holds the menu-only page up until real sections exist. Delete
   this block and the .loka-stage markup once LoKa Home is built.
   ============================================================ */

.loka-stage {
    background:
        radial-gradient(900px 400px at 18% 0%, rgba(45, 212, 191, .13), transparent 62%),
        #041c19;
    padding: 84px 0 104px;
    color: #f0fdfa;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.loka-stage-kicker {
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #5eead4;
}

.loka-stage-title {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.1;
}

.loka-stage-copy {
    margin: 0;
    max-width: 54ch;
    font-size: 15px;
    line-height: 1.6;
    color: #9fbdb7;
}

/* ============================================================
   5. LoKa page sections

   UI ONLY. Nothing below is wired to data — these are the
   surfaces the network page is made of, styled so the layout
   can be judged before the feature work starts.

   Built on the LoKa palette declared in .loka-shell, so every
   section inherits the mint-on-near-black identity rather than
   restating it.
   ============================================================ */

.loka-stage { padding: 0 0 90px; }

.loka-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- section furniture ---------- */

.lk-sec { padding: 54px 0 0; }

.lk-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.lk-kicker {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--loka-mint);
    margin-bottom: 7px;
}

.lk-title {
    margin: 0;
    font-size: clamp(20px, 2.4vw, 27px);
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--loka-text);
    line-height: 1.2;
}

.lk-sub {
    margin: 6px 0 0;
    font-size: 13.5px;
    color: var(--loka-muted);
    max-width: 58ch;
    line-height: 1.55;
}

.lk-link {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--loka-mint);
    text-decoration: none !important;
    white-space: nowrap;
}

.lk-link:hover { color: #9df5e6; }

/* ---------- grids ---------- */

.lk-grid { display: grid; gap: 14px; }
.lk-g2 { grid-template-columns: repeat(2, 1fr); }
.lk-g3 { grid-template-columns: repeat(3, 1fr); }
.lk-g4 { grid-template-columns: repeat(4, 1fr); }
.lk-g6 { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 991.98px) {
    .lk-g4, .lk-g6 { grid-template-columns: repeat(3, 1fr); }
    .lk-g3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639.98px) {
    .lk-g2, .lk-g3, .lk-g4, .lk-g6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 419.98px) {
    .lk-g2, .lk-g3, .lk-g4, .lk-g6 { grid-template-columns: 1fr; }
}

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

.lk-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--loka-line);
    border-radius: 14px;
    background: var(--loka-ink-soft);
    text-decoration: none !important;
    transition: border-color 160ms ease, transform 160ms ease;
}

.lk-card:hover { border-color: #24685d; transform: translateY(-2px); }

.lk-card-t {
    font-size: 14px;
    font-weight: 700;
    color: var(--loka-text);
    line-height: 1.3;
}

.lk-card-d {
    font-size: 12.5px;
    color: var(--loka-muted);
    line-height: 1.5;
}

.lk-meta {
    font-size: 11.5px;
    color: #6f8c86;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.lk-ico {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: rgba(94, 234, 212, .12);
    color: var(--loka-mint);
    font-size: 15px;
}

/* ---------- pills / badges ---------- */

.lk-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    background: rgba(94, 234, 212, .14);
    color: var(--loka-mint);
}

.lk-pill.is-live { background: rgba(244, 63, 94, .16); color: #fda4af; }
.lk-pill.is-ad   { background: rgba(148, 163, 184, .14); color: #b6c6c2; }

.lk-dot-live {
    width: 6px; height: 6px; border-radius: 50%;
    background: #f43f5e;
    box-shadow: 0 0 7px #f43f5e;
}

.lk-verified { color: var(--loka-mint); font-size: 11px; }

/* ---------- avatar ---------- */

.lk-av {
    display: grid;
    place-items: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1d4f47, #2a6b60);
    color: var(--loka-mint);
    font-size: 14px;
    font-weight: 800;
    flex: 0 0 auto;
}

.lk-av.is-sm { width: 32px; height: 32px; font-size: 12px; }

/* ---------- network map (01–07) ---------- */

.lk-node {
    position: relative;
    padding: 15px 14px;
    border: 1px solid var(--loka-line);
    border-radius: 14px;
    background: var(--loka-ink-soft);
    text-decoration: none !important;
}

.lk-node-no {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .14em;
    color: #5c7d77;
}

.lk-node-n { font-size: 14.5px; font-weight: 800; color: var(--loka-text); margin-top: 5px; }
.lk-node-l { font-size: 12px; color: var(--loka-muted); margin-top: 3px; }

/* "You are here" is the whole point of the map; it gets the lit edge. */
.lk-node.is-here {
    border-color: var(--loka-mint-deep);
    background: linear-gradient(180deg, rgba(45, 212, 191, .16), rgba(45, 212, 191, .05));
}

.lk-here-tag {
    position: absolute;
    top: -9px; right: 12px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--loka-mint-deep);
    color: #04201c;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: .08em;
}

/* ---------- media tile ---------- */

.lk-tile {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--loka-line);
    background: linear-gradient(135deg, #0d3029, #123f36);
    display: grid;
    place-items: center;
    color: #2f6b60;
    font-size: 22px;
}

.lk-tile-tag { position: absolute; top: 10px; left: 10px; }

/* ---------- feed ---------- */

.lk-post {
    display: flex;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--loka-line);
    border-radius: 14px;
    background: var(--loka-ink-soft);
}

.lk-post-b { font-size: 13.5px; color: #cfe6e1; line-height: 1.55; margin: 6px 0 10px; }

.lk-post-acts { display: flex; gap: 16px; font-size: 12px; color: #6f8c86; }

/* ---------- ticker ---------- */

.lk-ticker {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.lk-ticker::-webkit-scrollbar { display: none; }

.lk-tick {
    flex: 0 0 auto;
    padding: 10px 14px;
    border: 1px solid var(--loka-line);
    border-radius: 999px;
    background: var(--loka-ink-soft);
    font-size: 12px;
    color: #b9d4ce;
    white-space: nowrap;
}

.lk-tick b { color: var(--loka-text); font-weight: 700; }

/* ---------- spotlight ---------- */

.lk-spot {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 22px;
    align-items: center;
    padding: 24px;
    border: 1px solid var(--loka-line);
    border-radius: 18px;
    background:
        radial-gradient(700px 300px at 100% 0%, rgba(45, 212, 191, .12), transparent 60%),
        var(--loka-ink-soft);
}

@media (max-width: 767.98px) { .lk-spot { grid-template-columns: 1fr; } }

.lk-quote {
    margin: 14px 0 0;
    padding-left: 14px;
    border-left: 3px solid var(--loka-mint-deep);
    font-size: 15px;
    font-style: italic;
    color: #d8efea;
    line-height: 1.55;
}

/* ---------- CTA band ---------- */

.lk-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    padding: 22px 24px;
    border: 1px solid var(--loka-line);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(45, 212, 191, .14), rgba(45, 212, 191, .04));
}

/* ---------- buttons ---------- */

.lk-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none !important;
    white-space: nowrap;
}

.lk-btn-mint  { background: linear-gradient(135deg, #6ee7d7, #2dd4bf); color: #04201c; }
.lk-btn-mint:hover { background: linear-gradient(135deg, #8af0e2, #45dcc9); color: #04201c; }
.lk-btn-ghost { border-color: #1f5f56; color: var(--loka-text); }
.lk-btn-ghost:hover { background: rgba(94, 234, 212, .10); color: var(--loka-text); }
.lk-btn-sm { height: 32px; padding: 0 13px; font-size: 12px; }

/* ---------- placeholder tab ---------- */

.lk-empty {
    max-width: 620px;
    margin: 70px auto;
    padding: 40px 28px;
    text-align: center;
    border: 1px dashed #1f5f56;
    border-radius: 18px;
    background: var(--loka-ink-soft);
}

.lk-empty i { font-size: 28px; color: var(--loka-mint); opacity: .7; }
.lk-empty h2 { margin: 14px 0 6px; font-size: 20px; font-weight: 800; color: var(--loka-text); }
.lk-empty p  { margin: 0; font-size: 13.5px; color: var(--loka-muted); line-height: 1.6; }
