:root{
  --bg:#0b0f14;
  --panel:#0f1621;
  --text:#e6edf3;
  --muted:#9aa7b2;
  --line:rgba(255,255,255,.08);
  --accent:#39d98a;
  --warn:#ffcc66;
  --r:16px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

*{ box-sizing:border-box; }
html,body{ 
    height:100%; 
    margin: 0;
    background: #070a0e;
}

body{
  min-height: 100vh;
  margin:0;
  color:var(--text);
  font-family:var(--sans);
  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(57,217,138,.10), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(255,204,102,.08), transparent 55%),
    linear-gradient(180deg, var(--bg), #070a0e);
}

a{ color: inherit; }
.muted{ color: var(--muted); }

/* layout container */
.wrap{
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

/* header */
.header{
  padding: 28px 0 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  border-bottom: 1px solid var(--line);
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
}

.brand-logo{
  width:44px;
  height:44px;
  border-radius:12px;
  object-fit:cover;
  border:1px solid rgba(255,255,255,.10);
  box-shadow: 0 0 0 4px rgba(57,217,138,.06);
}

h1{
  margin:0;
  font-family:var(--mono);
  font-size:20px;
  letter-spacing:.2px;
}

h2{
  margin:0 0 8px;
  font-family:var(--mono);
  font-size:16px;
  letter-spacing:.2px;
}

/* cards */
.card{
  margin: 12px 0;
  padding: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}

.card p{ margin: 0; line-height: 1.55; }
.card p + p{ margin-top: 10px; }

/* About chips */
.chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}

/* ---------- About chips ---------- */
.chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}
.chip{
  font-family: var(--mono);
  font-size:12px;
  color: var(--muted);
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  padding:6px 10px;
  border-radius:999px;
}

/* ---------- New Player Flow ---------- */
.steps{
  list-style:none;
  padding:0;
  margin: 10px 0 0;
  display:grid;
  gap:10px;
}
.steps li{
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  border-radius: 14px;
  padding: 12px 12px;
}
.step-head{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:6px;
}
.step-num{
  width:26px;
  height:26px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-family: var(--mono);
  font-size:13px;
  color: rgba(57,217,138,.95);
  border:1px solid rgba(57,217,138,.35);
  background: rgba(57,217,138,.08);
}
.step-title{
  font-family: var(--mono);
  font-size:14px;
  color: var(--text);
}

/* ---------- Two column layout ---------- */
.two-col{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 12px 0;
}

/* ---------- Link stack cards (left side) ---------- */
.link-stack{
  display:grid;
  gap:12px;
  margin-top:12px;
}
.link-card{
  display:block;
  padding:14px;
  border-radius:14px;
  border:1px solid var(--line);
  background: linear-gradient(180deg, var(--panel), rgba(0,0,0,.12));
  color: var(--text);
  text-decoration:none;
}
.link-card:hover{ filter: brightness(1.06); }
.link-card-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
.link-card h3{
  margin: 6px 0 0;
  font-family: var(--mono);
  font-size:15px;
}
.link-card p{
  margin: 8px 0 0;
  color: var(--muted);
  font-size:13px;
  line-height:1.45;
}
/* --- Stronger CTA for link cards --- */
.link-cta{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:12px;
  padding:8px 10px;
  border-radius: 12px;
  font-family: var(--mono);
  font-size: 13px;
  text-decoration:none;

  border: 1px solid rgba(57,217,138,.35);
  background: rgba(57,217,138,.12);
  color: rgba(57,217,138,.95);
}

.link-card:hover .link-cta{
  filter: brightness(1.10);
}

/* Warn variant */
.link-card.warn .link-cta{
  border-color: rgba(255,204,102,.35);
  background: rgba(255,204,102,.12);
  color: rgba(255,204,102,.95);
}


/* ---------- Ko-fi panel (right side) ---------- */
/* --- Support header spacing --- */
.kofi-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom: 8px; /* tighter */
}

.kofi-head .btn{
  margin-top: 2px; /* aligns better with title */
}

/* --- Reduce padding in the Support card only (optional but nice) --- */
.card.support-card{
  padding: 16px; /* slightly tighter than 18px */
}

/* --- Ko-fi container tighter + slightly nicer framing --- */
.kofi{
  margin-top:10px;         /* tighter than 12 */
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  background: rgba(0,0,0,.22);
}

/* Make iframe height less excessive, but still safe */
.kofi iframe{
  width:100%;
  height: 580px;           /* down from 720 */
  border:0;
  display:block;
}

/* Mobile still needs more */
@media (max-width: 900px){
  .kofi iframe{ height: 900px; }
}

.footer{ border-top: none; }
