:root{
  --bg:#0b171b;
  --glass:rgba(16,28,33,.72);
  --glass-strong:rgba(16,28,33,.85);
  --stroke:rgba(255,255,255,.06);
  --text:#cfe6ea;
  --muted:#9fb7bc;
  --accent:#3fd3ff;
  --pill:#12242a;
  --pill-on:#1f9fc0;
  --success:#37da7a;
}

/* ========== Base ========== */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0; color:var(--text);
  font:16px/1.5 ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Inter,Arial;
  background:var(--bg);
  overflow-x:hidden;
}

/* ========== Backdrop ========== */
.bg-wrap{position:fixed; inset:0; z-index:-2}
.bg{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg,rgba(12,32,36,.6) 0%,rgba(10,18,20,.9) 90%),
    url("/img/otwdayz-bg.jpg") center top / cover no-repeat fixed;
  filter:blur(.2px); transform:translateZ(0);
}
.bg-vignette{
  position:absolute; inset:0;
  background:radial-gradient(ellipse at center,rgba(0,0,0,0) 40%,rgba(0,0,0,.55) 100%);
  pointer-events:none;
}

/* ========== Layout shells ========== */
.shell{width:min(1200px,92vw); margin:clamp(36px,6vh,60px) auto 96px}

/* Donate shell: lock width so cards match perfectly */
.donate-shell{
  width:100%;
  max-width:720px;
  margin:clamp(36px,6vh,60px) auto 96px;
}

/* ========== Hero Logo ========== */
.hero-logo{
  display:flex; justify-content:center;
  margin:40px auto 20px;
}
.hero-logo img{
  height:160px; width:auto;
  filter:drop-shadow(0 8px 28px rgba(0,0,0,.6));
}

/* ========== Cards ========== */
.card{
  background:var(--glass); border:1px solid var(--stroke);
  backdrop-filter:blur(10px) saturate(120%); -webkit-backdrop-filter:blur(10px) saturate(120%);
  border-radius:16px; padding:22px;
  box-shadow:0 10px 40px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.04);
}
.card h1,.card h2{margin:0 0 8px; letter-spacing:.3px}
.card p{margin:0; color:var(--muted)}
.muted{color:var(--muted); margin:0 0 10px; font-weight:600}

/* ========== Servers section ========== */
.servers-wrap{margin-top:20px}
.servers-header{
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:12px;
}
.tabs{display:flex; gap:8px}
.tab{
  appearance:none; border:1px solid var(--stroke); cursor:pointer;
  background:var(--pill); color:var(--muted);
  padding:6px 12px; border-radius:999px; font-weight:600; font-size:14px; transition:.18s;
}
.tab:hover{color:var(--text)}
.tab.active{background:var(--pill-on); color:#001417; border-color:transparent}

.features{display:flex; align-items:flex-start; justify-content:space-between; gap:16px}
.features ul{margin:0; padding-left:18px; color:var(--muted)}
.features-right{display:flex; align-items:center; gap:10px}

/* ========== Buttons ========== */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:9px 14px; border-radius:10px; text-decoration:none;
  font-weight:700; font-size:14px; border:1px solid var(--stroke);
  background:#0f1f24; color:var(--text);
  transition:transform .08s, background .18s, box-shadow .18s;
}
.btn:hover{transform:translateY(-1px); background:#122a31; box-shadow:0 8px 20px rgba(0,0,0,.25)}
.btn:active{transform:translateY(0) scale(.98)}
.btn-primary{background:#0e6d86; border-color:transparent}
.btn-primary:hover{background:#1186a4}

/* ========== Server tiles grid ========== */
.grid{
  margin-top:14px;
  display:grid;
  grid-template-columns:repeat(2, minmax(320px, 1fr));
  gap:14px;
}
@media (max-width:920px){.grid{grid-template-columns:1fr}}

.tile{
  background:var(--glass-strong); border:1px solid var(--stroke);
  border-radius:14px; padding:16px;
  box-shadow:0 10px 38px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.04);
}
.tile-top{display:flex; align-items:center; justify-content:space-between; gap:12px}
.title{margin:0 0 4px; font-size:15px; font-weight:700; letter-spacing:.2px}
.meta{margin:0; color:var(--muted); font-size:13px}
.actions{display:flex; align-items:center; gap:10px; margin-top:14px}
.dot{width:9px; height:9px; border-radius:50%; background:var(--success); box-shadow:0 0 8px var(--success)}
.count{color:var(--muted); font-weight:800; font-size:12px; letter-spacing:.5px}

/* ========== Utility ========== */
.hidden{display:none}

/* ========== Donate page ========== */
/* Make BOTH donate cards the same width as the shell */
.donate-shell .card,
.donate-shell .amount-card{
  width:100%;
  max-width:720px;
  margin:20px auto;
}

/* Header card content */
.donate-hero{text-align:center; padding:28px 22px}
.donate-title{margin:6px 0; font-size:28px; font-weight:700; letter-spacing:.3px}
.donate-sub{color:var(--muted); margin:6px auto 16px; max-width:620px}

/* Inner donation options card */
.amount-card{
  padding:22px;
  background:var(--glass-strong);
  border:1px solid var(--stroke);
  border-radius:14px;
  box-shadow:0 10px 38px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.04);
  text-align:center;
}

/* amount pills row */
.select-row{
  display:flex; flex-wrap:wrap; gap:12px; justify-content:center;
  margin:8px 0 14px;
}
.pill{
  appearance:none; cursor:pointer;
  background:var(--pill); color:var(--text);
  border:1px solid var(--stroke);
  border-radius:12px; padding:12px 22px;
  font-weight:800; letter-spacing:.2px;
  transition:transform .08s, background .18s, box-shadow .18s, color .18s;
}
.pill:hover{transform:translateY(-1px); background:#152b32}
.pill.active{background:var(--pill-on); color:#001417; border-color:transparent}

/* Inline custom amount pill (same height vibe as others) */
.pill-input{
  display:flex; align-items:center; gap:10px;
  padding:10px 14px; border-radius:12px; border:1px solid var(--stroke);
  background:var(--pill); color:var(--text);
}
.pill-input input{
  width:96px; max-width:100%;
  appearance:textfield;
  background:#0f1f24; color:var(--text);
  border:1px solid var(--stroke); border-radius:8px;
  padding:10px 10px; font-weight:700; text-align:center;
}
.pill-input.active{background:var(--pill-on); color:#001417; border-color:transparent}
.pill-input.active input{background:#001e26; border-color:transparent; color:#9fe8ff}
.pill-input input::-webkit-outer-spin-button,
.pill-input input::-webkit-inner-spin-button{-webkit-appearance:none; margin:0}

/* Big donate button */
.donate-cta{
  display:block; width:100%;
  padding:14px 18px; font-size:16px; font-weight:800; border-radius:10px;
  text-align:center;
}

/* ========== Footer ========== */
.site-footer{width:100%; padding:34px 0 46px; text-align:center; color:var(--muted); font-size:14px}
.site-footer a{color:var(--text); text-decoration:none; border-bottom:1px solid rgba(255,255,255,.14)}
.site-footer a:hover{border-bottom-color:rgba(255,255,255,.36)}
