/* Global styles with fancy, playful aesthetic */
/* Font: Vazirmatn (Google Fonts) */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;600;800&display=swap');

:root{
  --bg:#0f1226;
  --text:#ffffff;
  --primary:#8b5cf6;
  --accent:#22d3ee;
  --card:#181a35;
  --muted:#a3a3a3;
  --radius:20px;
}

*{ box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family:'Vazirmatn', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: radial-gradient(1000px 800px at 20% -10%, rgba(139,92,246,.25), transparent 60%),
              radial-gradient(900px 700px at 120% 10%, rgba(34,211,238,.2), transparent 55%),
              var(--bg);
  color:var(--text);
  direction: rtl;
}

.container{ max-width:1100px; margin:0 auto; padding:24px; }

.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 0;
}

.brand{
  font-weight:800; font-size:24px; letter-spacing:.5px;
  text-shadow:0 6px 30px rgba(139,92,246,.35);
}

.btn{
  background:linear-gradient(120deg, var(--primary), var(--accent));
  color:#0b1024; font-weight:800; padding:10px 18px; border-radius:999px; text-decoration:none;
  box-shadow:0 10px 30px rgba(139,92,246,.35);
  transition: transform .15s ease, box-shadow .2s ease; display:inline-block;
}
.btn:hover{ transform: translateY(-2px); box-shadow:0 16px 40px rgba(34,211,238,.3); }

.card{
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding:24px; backdrop-filter: blur(8px);
  box-shadow: 0 10px 40px rgba(0,0,0,.25);
}

.grid{ display:grid; gap:18px; }
.grid-2{ grid-template-columns: 1fr; }
@media(min-width:900px){ .grid-2{ grid-template-columns: 1fr 1fr; } }

.hero{
  padding:48px 0 12px; text-align:center;
}
.hero h1{ font-size:38px; margin:8px 0 8px; }
.hero p{ color:var(--muted); font-size:15px; margin:0 auto 16px; max-width:740px; }
.hero .halo{
  width:180px; height:180px; margin: 0 auto 12px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(34,211,238,.7), rgba(139,92,246,.35), transparent 70%);
  filter: blur(10px);
}

.section{ margin:36px 0; }
.section h2{ margin:0 0 12px; font-size:22px; }
.section p{ color:#d7d7d7; line-height:1.9; }

.gallery{ display:grid; grid-template-columns: repeat(2,1fr); gap:12px; }
@media(min-width:900px){ .gallery{ grid-template-columns: repeat(4,1fr); } }
.gallery img{ width:100%; height:180px; object-fit:cover; border-radius:16px; border:1px solid rgba(255,255,255,.08); }

.post{ padding:18px; border-radius:16px; border:1px solid rgba(255,255,255,.08); }
.post h3{ margin:4px 0 8px; }
.post .meta{ color:var(--muted); font-size:12px; }

.footer{ text-align:center; color:var(--muted); padding:24px 0 48px; }
