:root {
  --ink: #3a2418;
  --paper: #fff8e8;
  --gold: #e2b15a;
  --red: #c0392b;
  --sky: #7ec8e3;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Vazirmatn, Tahoma, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 0, #fff6c8 0 12%, transparent 36%),
    linear-gradient(#7ec8e3 0 28%, #b8e0a8 28% 42%, #f4e4c1 42%);
  min-height: 100vh;
  line-height: 1.85;
}
a { color: #8b2e1f; text-decoration: none; }
a:hover { text-decoration: underline; }

.sky { position: relative; height: 0; }
.sun {
  position: absolute;
  left: 50%;
  top: 14px;
  width: 54px;
  height: 54px;
  margin-left: -27px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff8d6, #f4c14a 70%);
  box-shadow: 0 0 28px 8px rgba(244, 193, 74, 0.45);
}

.wrap { width: min(900px, calc(100% - 1.5rem)); margin: 0 auto; padding: 1.2rem 0 2.5rem; }
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 2.4rem 0 0.8rem;
  flex-wrap: wrap;
}
.mark { color: #8b2e1f; font-size: 1.2rem; font-weight: 800; }
nav { display: flex; gap: 0.9rem; flex-wrap: wrap; }
nav a { font-weight: 700; color: var(--ink); }

.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1.4rem;
  align-items: center;
  background: var(--paper);
  border: 2px solid #c9a227;
  border-radius: 18px;
  padding: 1.4rem 1.3rem;
}
.kicker { margin: 0; color: #8b2e1f; font-weight: 700; }
h1 { margin: 0.2rem 0 0.5rem; font-size: clamp(1.45rem, 4vw, 2.1rem); }
.lead { margin: 0 0 1rem; }
.btn {
  display: inline-flex;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  border: 0;
  border-radius: 10px;
  padding: 0.55rem 1.1rem;
}
.btn:hover { filter: brightness(1.08); text-decoration: none; color: #fff; }

.crown-wrap { display: grid; place-items: center; min-height: 160px; }
.crown { width: 140px; height: auto; }

.panel {
  background: var(--paper);
  border: 1px solid #e0c98a;
  border-radius: 16px;
  padding: 1.2rem 1.15rem;
  margin-top: 1rem;
}
h2 { margin: 0 0 0.7rem; color: #8b2e1f; font-size: 1.25rem; }
.panel p { margin: 0 0 0.7rem; }
.panel p:last-child { margin-bottom: 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.card {
  border: 1px solid #e0c98a;
  border-radius: 12px;
  padding: 0.7rem;
  background: #fffdf6;
  color: inherit;
  display: block;
}
.card:hover { text-decoration: none; border-color: var(--gold); }
.card img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}
.card h3 { margin: 0.45rem 0 0; font-size: 1rem; color: var(--ink); }

.kids {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.7rem;
}
.kid {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e0c98a;
  background: #fff;
}
.kid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}
.muted { margin: 0; color: #6b5344; text-align: center; }

footer { margin-top: 1.4rem; text-align: center; color: #5a4638; }
.socials {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 0.6rem;
}
.circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(145deg, #c0c0c0, #808080);
  border: 2px solid #777;
  box-shadow: inset 0 3px 5px rgba(255,255,255,0.5), 0 6px 10px rgba(0,0,0,0.25);
}
.circle svg { width: 24px; height: 24px; }
.circle:hover { color: #fff; text-decoration: none; }
.support {
  background: linear-gradient(145deg, #4caf50, #2e7d32);
  color: #fff;
  font-weight: 800;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
}
.support:hover { color: #fff; text-decoration: none; }

@media (max-width: 700px) {
  .hero, .grid { grid-template-columns: 1fr; }
}
