:root {
  --green-900: #063d27;
  --green-700: #0b6b43;
  --green-500: #14935c;
  --green-50: #eef7f2;
  --gold: #c8a14f;
  --gold-soft: #f6eedb;
  --ink: #12261c;
  --muted: #5f7368;
  --line: #dfe9e3;
  --card: rgba(255, 255, 255, 0.92);
  --radius: 22px;
  --shadow: 0 20px 60px -20px rgba(6, 61, 39, 0.28);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { min-height: 100%; }

body {
  font-family: "Poppins", "Tajawal", system-ui, sans-serif;
  color: var(--ink);
  background: #f4f8f5;
  -webkit-font-smoothing: antialiased;
}

/* Background image, washed out so it stays light */
.bg {
  position: fixed; inset: 0; z-index: -1;
  background: url("/bg.jpeg") center / cover no-repeat;
}
.bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,.90) 0%, rgba(244,250,246,.86) 55%, rgba(255,255,255,.93) 100%);
  backdrop-filter: blur(3px);
}
.bg.lighter::after { background: rgba(250, 253, 251, .95); backdrop-filter: blur(6px); }

[lang="ar"], .ar { font-family: "Tajawal", "Poppins", sans-serif; }

.logo { height: 46px; width: auto; display: block; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(16, 40, 28, .04), 0 6px 20px -12px rgba(16, 40, 28, .14);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; cursor: pointer; font: inherit; font-weight: 500;
  padding: 13px 20px; border-radius: 10px; text-decoration: none;
  transition: background .15s ease, border-color .15s ease, color .15s ease, opacity .15s;
}
.btn-primary { background: var(--green-700); color: #fff; }
.btn-primary:hover { background: var(--green-900); }
.btn-primary:disabled { opacity: .4; cursor: not-allowed; background: var(--green-700); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #c5d3cb; background: #f8fbf9; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 500;
  background: #fff; color: var(--muted); border: 1px solid var(--line);
}
.pill.gold { color: #7a5c1c; border-color: #eadfc4; background: #fdfaf2; }

.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); }
.dot.live { animation: pulse 1.6s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(20,147,92,.55); }
  70% { box-shadow: 0 0 0 9px rgba(20,147,92,0); }
  100% { box-shadow: 0 0 0 0 rgba(20,147,92,0); }
}

.fade-in { animation: fadeIn .35s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
