/* ================================
   CashReward — Global Stylesheet
   ================================ */

/* --- CSS Reset (licht) --- */
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; }

/* --- Thema kleuren --- */
:root{
  --bg: #0b1220;
  --bg-2: #0c1526;
  --panel: #0f172a;
  --border: rgba(255,255,255,.08);
  --muted: #94a3b8;
  --text: #e6edf7;
  --brand: #38bdf8;              /* cyaan */
  --brand-2: #2563eb;            /* blauw accent */
  --brand-dim: rgba(56,189,248,.15);
  --shadow: 0 12px 30px rgba(0,0,0,.35);
}

/* --- Basis typografie & achtergrond --- */
body{
  font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(90% 60% at 10% -10%, rgba(56,189,248,.08), transparent 60%),
    radial-gradient(70% 50% at 110% 10%, rgba(37,99,235,.10), transparent 60%),
    var(--bg);
}

/* --- Containers --- */
.container{
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 16px 64px;
}

/* =======================
   Header + Navigatie
   ======================= */
.site-header{
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.header-inner{
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.brand{
  margin: 0;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: .2px;
}

/* Pill-style tabs */
.nav-tabs{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-left: auto;          /* duw tabs naar rechts naast het logo */
  width: 100%;
}
.nav-tabs a{
  display: inline-block;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: background .2s, border-color .2s, color .2s, transform .08s;
}
.nav-tabs a:hover{
  background: var(--brand-dim);
  border-color: rgba(56,189,248,.45);
}
.nav-tabs a:active{ transform: translateY(1px); }
.nav-tabs a.active{
  background: rgba(37,99,235,.22);
  border-color: rgba(37,99,235,.65);
  color: #fff;
  box-shadow: 0 6px 18px rgba(37,99,235,.25);
}

/* decoratieve underline balk onder de tabs (zoals je screenshot) */
.tab-underline{
  width: 240px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), transparent);
  opacity: .75;
  margin-top: 6px;
}

/* =======================
   Cards / Panelen
   ======================= */
.card{
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  margin-top: 18px;
  box-shadow: var(--shadow);
}
.card h2, .card h3{
  margin: 0 0 10px;
}
.card p{ margin: 0 0 10px; color: var(--text); }
.card p.muted{ color: var(--muted); }

/* =======================
   Hero banner (compact)
   ======================= */
.hero-card{ padding: 12px; }
.hero-card img{
  width: 100%;
  height: 320px;          /* bepaal hoogte banner (200–320 werkt mooi) */
  object-fit: cover;      /* snijdt netjes bij, geen vervorming */
  display: block;
  border-radius: 12px;
}

/* =======================
   Media-kaarten (thumb + tekst)
   ======================= */
.media{
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  align-items: center;
}
.media img{
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  background: #0a0f1d;
}
.media h3{ margin: 0 0 4px; }
.media p{ margin: 0; color: var(--muted); }

/* =======================
   Lijsten / links / knoppen
   ======================= */
a{ color: #b7d7ff; text-decoration: none; }
a:hover{ text-decoration: underline; }

ul,ol{ margin: 0 0 10px 22px; }

/* Kleine helper-badges */
.badge{
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(56,189,248,.15);
  color: var(--text);
  border: 1px solid rgba(56,189,248,.35);
  font-size: 13px;
}

/* =======================
   Formulieren (basis)
   ======================= */
input, textarea, select, button{
  font: inherit;
  color: var(--text);
}
input[type="text"], input[type="email"], textarea, select{
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #0a1020;
  color: var(--text);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus{
  border-color: rgba(56,189,248,.6);
  box-shadow: 0 0 0 3px rgba(56,189,248,.15);
}
button, .btn{
  display: inline-block;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(37,99,235,.55);
  background: linear-gradient(180deg, rgba(37,99,235,.9), rgba(37,99,235,.75));
  color: #fff;
  cursor: pointer;
  transition: transform .08s, filter .2s, box-shadow .2s;
}
button:hover, .btn:hover{ filter: brightness(1.05); box-shadow: 0 10px 22px rgba(37,99,235,.25); }
button:active, .btn:active{ transform: translateY(1px); }

/* =======================
   Utility classes
   ======================= */
.mt-0{ margin-top: 0!important; }
.mt-1{ margin-top: 6px!important; }
.mt-2{ margin-top: 12px!important; }
.mt-3{ margin-top: 18px!important; }
.mt-4{ margin-top: 24px!important; }

.text-muted{ color: var(--muted)!important; }
.center{ text-align: center; }

/* =======================
   Responsief
   ======================= */
@media (max-width: 980px){
  .brand{ font-size: 30px; }
  .nav-tabs{ gap: 10px; }
}
@media (max-width: 760px){
  .brand{ font-size: 26px; }
  .nav-tabs a{ padding: 9px 12px; border-radius: 12px; }
  .tab-underline{ width: 180px; }
  .hero-card img{ height: 200px; }
  .media{ grid-template-columns: 90px 1fr; }
  .media img{ height: 70px; }
}
@media (max-width: 420px){
  .hero-card img{ height: 180px; }
}