:root {
  --bg: #0b0d12;
  --bg-soft: rgba(255,255,255,0.06);
  --panel: rgba(18, 21, 29, 0.74);
  --text: #eef2f7;
  --muted: #b8c0cf;
  --border: rgba(255,255,255,0.1);
  --shadow: 0 20px 60px rgba(0,0,0,0.35);
  --green: #00c063;
  --white: #f4f6f8;
  --red: #ff3a32;
  --radius: 24px;
}

html[data-theme="light"],
body.light {
  --bg: #f5f7fb;
  --bg-soft: rgba(255,255,255,0.65);
  --panel: rgba(255,255,255,0.75);
  --text: #111827;
  --muted: #4b5563;
  --border: rgba(17,24,39,0.08);
  --shadow: 0 18px 50px rgba(17,24,39,0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: radial-gradient(circle at top, rgba(255,255,255,0.04), transparent 30%), var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.page-top { padding-top: 140px; padding-bottom: 60px; }

.bg-orb {
  position: fixed;
  width: 340px;
  height: 340px;
  filter: blur(70px);
  border-radius: 50%;
  opacity: 0.18;
  pointer-events: none;
  z-index: -1;
}
.orb-green { background: var(--green); top: 8%; left: -60px; }
.orb-white { background: #ffffff; top: 30%; right: 10%; }
.orb-red { background: var(--red); bottom: 5%; right: -80px; }

.glass {
  background: var(--panel);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.topbar {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 20px));
  border-radius: 999px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 50;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand strong { display: block; font-size: 1rem; }
.brand span { display: block; font-size: 0.8rem; color: var(--muted); }
.logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 16px;
}

.menu {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.menu a, .theme-toggle {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: 0.25s ease;
}
.menu a:hover, .theme-toggle:hover {
  transform: translateY(-1px);
  background: var(--bg-soft);
  border-color: var(--border);
}
.pill.danger {
  background: linear-gradient(90deg, rgba(0,192,99,0.2), rgba(255,255,255,0.1), rgba(255,58,50,0.22));
  border: 1px solid var(--border);
}

.hero {
  padding-top: 145px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 26px;
  align-items: center;
  min-height: 95vh;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.96;
  margin: 16px 0;
}
.hero p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 62ch;
}
.badge {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  background: linear-gradient(90deg, rgba(0,192,99,0.22), rgba(255,255,255,0.2), rgba(255,58,50,0.22));
  border: 1px solid var(--border);
}
.tricolore-text {
  background: linear-gradient(90deg, var(--green), #e7ecef, var(--red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-card, .card {
  border-radius: var(--radius);
  padding: 24px;
}
.hero-logo {
  width: 100%;
  max-width: 360px;
  display: block;
  margin: 0 auto 12px;
}
.mini-stats {
  display: grid;
  gap: 12px;
}
.mini-stats div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
}
.mini-stats span, .muted { color: var(--muted); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 18px;
  padding: 14px 18px;
  font-weight: 700;
  border: 1px solid var(--border);
  transition: 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary {
  background: linear-gradient(90deg, rgba(0,192,99,0.95), rgba(255,255,255,0.92), rgba(255,58,50,0.96));
  color: #0b0d12;
}
.btn.secondary { background: var(--bg-soft); }

.section-grid, .donation-grid, .games-grid, .report-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding-bottom: 30px;
}
.contact-section { padding-bottom: 40px; }
.full-width { width: 100%; }
.section-heading { margin: 20px 0 22px; }
.section-heading h2, .section-heading h1 { margin: 14px 0 10px; font-size: clamp(2rem, 4vw, 3rem); }
.check-list { padding-left: 20px; color: var(--muted); }
.check-list li { margin-bottom: 10px; }
.tricolore-border { position: relative; }
.tricolore-border::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--green), #ffffff, var(--red));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.copy-box {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  padding: 14px;
  border-radius: 18px;
  flex-wrap: wrap;
}
.copy-box code { font-size: 0.95rem; word-break: break-all; }
.copy-btn {
  border: 0;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(90deg, rgba(0,192,99,0.9), rgba(255,255,255,0.92), rgba(255,58,50,0.92));
  color: #111;
}
.bank-details { margin-top: 16px; }
.bank-details summary { cursor: pointer; font-weight: 600; }
.details-grid, .contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
  margin-top: 16px;
}
.details-grid span, .contact-grid span {
  display: block;
  color: var(--muted);
  margin-bottom: 6px;
}

.stack-col { display: grid; gap: 24px; }
label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  font-weight: 600;
}
input, select, textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
}
textarea { resize: vertical; }
.result-text { color: var(--muted); min-height: 24px; }

.quiz-options {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.quiz-options button, .reaction-box {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  cursor: pointer;
  font: inherit;
}
.reaction-box.ready {
  background: linear-gradient(90deg, rgba(0,192,99,0.85), rgba(255,255,255,0.88), rgba(255,58,50,0.85));
  color: #111;
}

.footer {
  padding: 20px 0 50px;
  color: var(--muted);
}

@media (max-width: 920px) {
  .hero, .section-grid, .donation-grid, .games-grid, .report-grid, .details-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .topbar {
    border-radius: 28px;
    top: 10px;
    padding: 14px;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .hero { padding-top: 180px; }
}


.two-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
}
.checkbox-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  flex: 0 0 auto;
}
.consent-row {
  margin: 18px 0 16px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
}

@media (max-width: 920px) {
  .two-cols {
    grid-template-columns: 1fr;
  }
}


html[data-theme="light"] body {
  background: radial-gradient(circle at top, rgba(17,24,39,0.03), transparent 30%), var(--bg);
}

.site-footer {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

.menu a,
.theme-toggle,
.btn,
.copy-btn,
.card,
.gc,
.gopt,
.ii,
.mi,
.mcrd,
input,
select,
textarea {
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease, opacity .22s ease;
}

.topbar,
.card,
.hero-card {
  position: relative;
  z-index: 2;
}
