/* nibalink.com/assets/styles.css */

:root {
  --bg: #0b0f14;
  --panel: #0f1620;
  --text: #e6edf3;
  --muted: #9aa7b2;
  --line: rgba(230, 237, 243, 0.12);
  --accent: #7dd3fc;
  --warn: #fbbf24;

  --radius: 14px;
  --maxw: 860px;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}


a {
  color: var(--accent);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px 18px 56px;

  min-height: 100vh;
  display: flex;
  flex-direction: column;

  background:
    radial-gradient(1000px 700px at 20% -10%, rgba(125, 211, 252, 0.18), transparent 60%),
    radial-gradient(900px 600px at 90% 10%, rgba(251, 191, 36, 0.12), transparent 55%),
    var(--bg);
}


header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.brand h1 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: 0.3px;
}

.kicker {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-decoration: none;
}
.pill:hover { background: rgba(255, 255, 255, 0.06); text-decoration: none; }
.pill:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

main {
  margin-top: 18px;
  display: grid;
  gap: 16px;

  /* Ensure main takes available space and pushes footer down */
  flex: 1 0 auto;
}

.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.card h2 {
  margin: 0 0 10px 0;
  font-size: 1.2rem;
}

.card p {
  margin: 10px 0 0 0;
  color: var(--text);
}
.card p.muted {
  color: var(--muted);
}

.status {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.badge {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.badge.warn {
  border-color: rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.10);
  color: #ffe6b0;
}

.grid2 {
  display: grid;
  gap: 14px;
}
@media (min-width: 860px) {
  .grid2 { grid-template-columns: 1fr 1fr; }
}

/* FOOTER (FIX) */
footer {
  margin-top: 28px;
  padding-top: 16px;
  padding-bottom: 6px;
  border-top: 1px solid var(--line);

  /* Make footer behave consistently and avoid "overlap" look */
  flex: 0 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;

  /* Subtle backing so card shadows don't visually "sit on" the footer */
  background: rgba(11, 15, 20, 0.35);
  border-radius: 12px;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.95em;
  padding: 0 0.25em;
}

/* Responsive footer fix */
@media (max-width: 520px) {
  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* === Games section highlight === */

.card.card-games {
  background:
    radial-gradient(600px 240px at 10% -20%, rgba(155, 252, 125, 0.18), transparent 60%),
    radial-gradient(500px 220px at 90% 120%, rgba(251, 36, 36, 0.12), transparent 55%),
    rgba(255, 255, 255, 0.04);

  border-color: rgba(146, 252, 125, 0.35);
}

.card.card-games:hover {
  border-color: rgba(125, 211, 252, 0.55);
}

.pill.pill-game {
  background: rgba(252, 125, 167, 0.15);
  border-color: rgba(129, 252, 125, 0.6);
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.pill.pill-game:hover {
  background: rgba(125, 211, 252, 0.25);
  text-decoration: none;
}


