:root {
  --bg: #000000;
  --bg-2: #0a0a0a;
  --line: #3a2d12;
  --text: #f4e6c0;
  --muted: #b49a62;
  --accent: #e0b84a;
  --gold-1: #fff3c4;
  --gold-2: #f0d078;
  --gold-3: #c9a227;
  --gold-4: #7a5a12;
  --gold-5: #3a2a08;
}

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

html, body {
  background: #000;
  color: var(--text);
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  min-height: 100%;
}

body {
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(201, 162, 39, 0.18), transparent 55%),
    radial-gradient(700px 380px at 110% 0%, rgba(240, 208, 120, 0.1), transparent 50%),
    linear-gradient(180deg, #050505 0%, #000 40%, #090701 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(224, 184, 74, 0.07) 0.6px, transparent 0.8px);
  background-size: 3px 3px;
  opacity: 0.35;
  z-index: 0;
}

.site-header, .page, .site-footer { position: relative; z-index: 1; }

html[dir="rtl"], html[dir="rtl"] body {
  font-family: "IBM Plex Sans Arabic", "IBM Plex Sans", sans-serif;
}

.gold-fill,
.logo,
h1,
.kicker,
.btn-support,
.btn-paypal {
  background-image: linear-gradient(
    165deg,
    #fff8dc 0%,
    #ffe9a0 14%,
    #e8c14a 32%,
    #8a6414 48%,
    #f3d36a 62%,
    #b8891c 78%,
    #fff1b0 100%
  );
  background-size: 140% 140%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 0 #3a2a08) drop-shadow(0 8px 16px rgba(201, 162, 39, 0.25));
  animation: gold-shift 9s ease-in-out infinite;
}

@keyframes gold-shift {
  0%, 100% { background-position: 0% 40%; }
  50% { background-position: 100% 60%; }
}

a { color: inherit; text-decoration: none; }

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid rgba(201, 162, 39, 0.35);
  background: linear-gradient(180deg, rgba(0,0,0,0.92), rgba(10,8,0,0.82));
  box-shadow: 0 12px 40px rgba(0,0,0,0.65), inset 0 -1px 0 rgba(255, 223, 140, 0.12);
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 24px;
}

.logo {
  font-family: "IBM Plex Mono", "SF Mono", monospace;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 1.12rem;
}

.logo span { opacity: 0.92; }

.nav-toggle {
  display: none;
  background: linear-gradient(180deg, #2a210c, #000);
  border: 1px solid #c9a227;
  color: #f0d078;
  padding: 8px 10px;
  cursor: pointer;
  box-shadow: inset 0 1px 0 #ffe9a0, 0 6px 16px rgba(201,162,39,0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links > li > a,
.drop-btn {
  display: block;
  padding: 10px 12px;
  color: #cbb57a;
  font-size: 0.92rem;
  background: none;
  border: 0;
}

.nav-links > li > a:hover,
.nav-links > li > a.is-active,
.drop-btn:hover {
  color: #fff1b0;
}

.dropdown { position: relative; }
.drop-btn { cursor: pointer; font: inherit; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% - 2px);
  inset-inline-end: 0;
  min-width: 260px;
  background: linear-gradient(180deg, #120e06, #000);
  border: 1px solid #c9a227;
  box-shadow: 0 18px 40px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255, 233, 160, 0.25);
  padding: 8px;
  list-style: none;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.dropdown.open .dropdown-menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.dropdown-menu a {
  display: block;
  padding: 9px 10px;
  color: #cbb57a;
  font-size: 0.88rem;
}

.dropdown-menu a:hover,
.dropdown-menu a.is-active {
  color: #fff3c4;
  background: linear-gradient(90deg, rgba(201,162,39,0.16), transparent);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  color: #8a7340;
  font-size: 0.82rem;
  font-family: "IBM Plex Mono", monospace;
}

.lang-switch a.is-active {
  color: #f0d078;
}

.btn-support {
  margin-inline-start: 6px;
  border: 1px solid #c9a227 !important;
  box-shadow: inset 0 1px 0 rgba(255,243,196,0.35), 0 8px 18px rgba(201,162,39,0.18);
  background-image: none !important;
  color: #120e06 !important;
  filter: none;
  background: linear-gradient(180deg, #ffe9a0 0%, #e0b84a 42%, #8a6414 100%) !important;
  -webkit-background-clip: border-box;
  background-clip: border-box;
}

.btn-support.is-active,
.btn-support:hover {
  filter: brightness(1.08);
}

.btn-paypal {
  display: inline-block;
  background: linear-gradient(180deg, #fff3c4 0%, #f0d078 18%, #c9a227 48%, #7a5a12 100%);
  color: #120e06;
  padding: 13px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid #ffe9a0;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.45),
    inset 0 -3px 0 rgba(60,40,0,0.35),
    0 10px 24px rgba(201,162,39,0.28);
  filter: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
}

.btn-paypal:hover { filter: brightness(1.08); }

.amount-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.amt {
  background: linear-gradient(180deg, #1a1408, #000);
  border: 1px solid #7a5a12;
  color: #f0d078;
  padding: 8px 12px;
  cursor: pointer;
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255,233,160,0.2);
}
.amt.is-on {
  border-color: #f0d078;
  color: #fff8dc;
  box-shadow: 0 0 16px rgba(224,184,74,0.25);
}

.site-banner {
  border-bottom: 1px solid rgba(201, 162, 39, 0.28);
  background: linear-gradient(180deg, #120e06, #000);
  color: #f0d078;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 11px 0;
  font-family: "IBM Plex Mono", "IBM Plex Sans Arabic", monospace;
}

.page { padding: 56px 0 90px; }

.kicker {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.15;
  max-width: 18ch;
}

.lead {
  color: #c4a35a;
  max-width: 42rem;
  text-shadow: 0 1px 0 #000;
}

.site-footer {
  border-top: 1px solid rgba(201, 162, 39, 0.28);
  color: #8a7340;
  font-size: 0.82rem;
  padding: 28px 0 40px;
}

.sub-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
  max-width: 420px;
}

.sub-form input {
  flex: 1 1 220px;
  background: #000;
  border: 1px solid #7a5a12;
  color: #fff3c4;
  padding: 11px 12px;
  font: inherit;
}

.sub-form button {
  background: linear-gradient(180deg, #fff3c4 0%, #e0b84a 45%, #8a6414 100%);
  color: #120e06;
  border: 1px solid #ffe9a0;
  padding: 11px 16px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.sub-form-foot { margin: 0 0 16px; }

@media (max-width: 800px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 74px;
    background: #000;
    border-bottom: 1px solid #c9a227;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
  }
  .nav-links.open { display: flex; }
  .dropdown-menu {
    position: static;
    display: none;
    grid-template-columns: 1fr;
    border: 0;
    padding: 0 0 8px 12px;
    background: transparent;
    box-shadow: none;
  }
  .dropdown.open .dropdown-menu { display: grid; }
  h1 { max-width: none; }
}
