:root {
  --bg: #0f0f12;
  --text: #e9e9ee;
  --muted: #b7b7c2;
  --brand: #e7d195;
  --accent: #7cc7c8;
  --card: #1a1a20;
  --border: #252530;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  background: rgba(15, 15, 18, 0.85);
  z-index: 100;
}

.site-header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.brand {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  color: var(--brand);
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.25rem 0;
}

.nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.nav a[aria-current="page"] {
  color: var(--brand);
  border-bottom: 2px solid var(--brand);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 4rem;
}

.site-footer .wrap {
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Hero */
.hero {
  position: relative;
  margin-bottom: 3rem;
}

.hero figure {
  margin: 0;
  max-height: 65vh;
  overflow: hidden;
  position: relative;
}

.hero figure::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(15, 15, 18, 0) 0%, rgba(15, 15, 18, 0.7) 50%, var(--bg) 100%);
  pointer-events: none;
}

.hero img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-text {
  position: relative;
  margin-top: -6rem;
  padding: 2rem 1.5rem;
  z-index: 10;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--brand);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.hero .lead {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* Page Header */
.page-header {
  padding: 3rem 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.75rem;
  color: var(--brand);
}

.page-header p {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto;
}

/* Panels */
.panels {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  padding: 3rem 1.5rem;
}

.panels article {
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.panels h2 {
  margin-bottom: 0.75rem;
  color: var(--brand);
  font-size: 1.5rem;
}

/* Grid */
.grid.two {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  padding: 3rem 1.5rem;
}

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
}

.card h2 {
  margin-bottom: 0.75rem;
  color: var(--brand);
  font-size: 1.5rem;
}

.card p {
  margin-bottom: 1rem;
}

/* Prose */
.prose {
  padding: 3rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.prose h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--brand);
  font-size: 1.75rem;
}

.prose p {
  margin-bottom: 1.25rem;
}

/* Buttons */
.btn,
.btn-outline,
.btn-give {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn {
  background: var(--brand);
  color: #141414;
}

.btn:hover {
  background: #f0e0a8;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(231, 209, 149, 0.3);
}

.btn-outline {
  border: 2px solid var(--brand);
  color: var(--brand);
  background: transparent;
}

.btn-outline:hover {
  background: var(--brand);
  color: #141414;
  text-decoration: none;
  transform: translateY(-2px);
}

/* Give page specific */
.give-options {
  padding: 3rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.give-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-give {
  background: var(--accent);
  color: #141414;
  min-width: 120px;
}

.btn-give:hover {
  background: #8fd9da;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(124, 199, 200, 0.3);
}

.crypto-section {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.crypto-section h2 {
  color: var(--brand);
  margin-bottom: 1rem;
}

.crypto-section img {
  margin: 1.5rem auto;
}

.crypto-section code {
  display: block;
  margin-top: 1rem;
  padding: 0.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
  word-break: break-all;
}

/* Links */
.link {
  color: var(--accent);
  font-weight: 500;
}

.link:hover {
  color: #8fd9da;
}

/* Utility */
.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
  .site-header .wrap {
    flex-direction: column;
    gap: 1rem;
  }

  .nav {
    gap: 1rem;
    font-size: 0.9rem;
  }

  .hero-text {
    margin-top: -4rem;
    padding: 1.5rem 1rem;
  }

  .cta-row {
    flex-direction: column;
  }

  .btn,
  .btn-outline {
    width: 100%;
  }
}