/* ============================================================
   کلوپ گلاستر پرشین — استایل اصلی
   Persian Gloster Club — Main Stylesheet
   نسخه: 2.0  |  فونت: وزیرمتن (محلی، متغیر)
   ------------------------------------------------------------
   فهرست:
   01. متغیرها و ریست
   02. فونت محلی
   03. استایل‌های پایه
   04. هدر و منو
   05. بخش معرفی (هیرو)
   06. سرتیتر بخش‌ها
   07. درباره‌ی کلوپ
   08. توضیحات نژاد
   09. مسابقات
   10. اعضا
   11. گالری
   12. اخبار و اطلاعیه
   13. آموزش
   14. وبلاگ
   15. تماس
   16. دکمه‌ی بازگشت به بالا
   17. فوتر
   18. انیمیشن ظهور هنگام اسکرول
   19. واکنش‌گرایی (ریسپانسیو)
   ============================================================ */

/* ---------- 01. متغیرها و ریست ---------- */
:root {
  --ink: #1d2a22;            /* رنگ اصلی متن */
  --green: #1c4d38;          /* سبز اصلی کلوپ */
  --green-dark: #123527;     /* سبز تیره (هدر/فوتر) */
  --green-soft: #e7f0e9;     /* سبز روشن پس‌زمینه */
  --gold: #f2b705;           /* زرد قناری */
  --gold-soft: #fdf3d7;      /* زرد کم‌رنگ */
  --cream: #faf7ef;          /* کرم پس‌زمینه */
  --card: #ffffff;
  --muted: #5d6b60;          /* متن کم‌رنگ */
  --line: #e4e0d3;           /* خطوط جداکننده */
  --radius: 18px;
  --shadow: 0 10px 30px rgba(18, 53, 39, .10);
}

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

/* ---------- 02. فونت محلی (وزیرمتن متغیر — یک فایل برای همه‌ی وزن‌ها) ---------- */
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Variable.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap; /* نمایش سریع متن با فونت جایگزین تا لود فونت */
}

/* ---------- 03. استایل‌های پایه ---------- */
html {
  scroll-behavior: smooth;
  /* فاصله‌ی لنگرها از هدر چسبان */
  scroll-padding-top: 84px;
}

body {
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.9;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1; }

img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- 04. هدر و منو ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green-dark);
  color: #fff;
  box-shadow: 0 2px 14px rgba(0, 0, 0, .18);
  transition: box-shadow .3s;
}

header.site-header.scrolled { box-shadow: 0 6px 22px rgba(0, 0, 0, .30); }

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
}

.brand .logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffd84d, var(--gold));
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.05rem;
  box-shadow: 0 3px 10px rgba(242, 183, 5, .4);
}

.brand small {
  display: block;
  font-weight: 400;
  font-size: .68rem;
  color: #bcd3c5;
  line-height: 1.4;
}

nav.menu {
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
}

nav.menu a {
  padding: 8px 11px;
  border-radius: 10px;
  font-size: .88rem;
  color: #e8efe9;
  transition: background .25s, color .25s;
}

nav.menu a:hover {
  background: rgba(255, 255, 255, .12);
  color: var(--gold);
}

nav.menu a.active {
  color: var(--gold);
  background: rgba(242, 183, 5, .12);
}

/* دکمه‌ی همبرگری موبایل */
.menu-toggle {
  display: none;
  cursor: pointer;
  background: rgba(255, 255, 255, .12);
  border: none;
  border-radius: 10px;
  padding: 10px 12px;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  border-radius: 2px;
  background: #fff;
  transition: transform .3s, opacity .3s;
}

/* حالت ضربدر شدن آیکن */
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- 05. بخش معرفی (هیرو) ---------- */
.hero {
  background: linear-gradient(135deg, #f6f1e3 0%, var(--cream) 55%, #eef3e6 100%);
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 44px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
}

.kicker {
  display: inline-block;
  background: var(--gold-soft);
  color: #8a6d0b;
  border: 1px solid #eedf9f;
  border-radius: 999px;
  padding: 4px 16px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: 2.7rem;
  font-weight: 900;
  color: var(--green-dark);
  line-height: 1.5;
  margin-bottom: 10px;
}

.hero h1 .dot { color: var(--gold); }

.hero p.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 26px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 14px;
  font-weight: 700;
  font-size: .98rem;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: transform .2s, box-shadow .2s, background .25s;
}

.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: var(--gold);
  color: #3d2f00;
  box-shadow: 0 8px 20px rgba(242, 183, 5, .35);
}

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

.btn-line:hover { background: var(--green); color: #fff; }

.stats {
  display: flex;
  gap: 34px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.stats b {
  display: block;
  font-size: 1.6rem;
  color: var(--green);
  font-weight: 900;
}

.stats span { font-size: .85rem; color: var(--muted); }

.hero-figure { position: relative; }

.hero-figure::before {
  content: "";
  position: absolute;
  inset: -22px -22px auto auto;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, var(--gold-soft), transparent 70%);
  border-radius: 50%;
}

.hero-figure img {
  position: relative;
  border-radius: 26px;
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
}

.hero-figure figcaption {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(18, 53, 39, .82);
  backdrop-filter: blur(4px);
  color: #fff;
  padding: 8px 18px;
  border-radius: 12px;
  font-size: .85rem;
}

.hero-figure figcaption b { color: var(--gold); }

/* ---------- 06. سرتیتر بخش‌ها ---------- */
section { padding: 74px 0; }

.sec-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 46px;
}

.sec-head .kicker { margin-bottom: 10px; }

.sec-head h2 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.sec-head p { color: var(--muted); font-size: .98rem; }

.sec-head::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gold), var(--green));
  margin: 16px auto 0;
}

/* ---------- 07. درباره‌ی کلوپ ---------- */
.about { background: #fff; }

.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 44px;
  align-items: center;
}

.about-grid img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
}

.about-text h2 {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--green-dark);
  margin-bottom: 14px;
}

.about-text p {
  color: #3c4a40;
  margin-bottom: 14px;
  text-align: justify;
}

.about-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.about-points li {
  background: var(--green-soft);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--green-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-points li::before {
  content: "";
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* ---------- 08. توضیحات نژاد ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.info-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(18, 53, 39, .16);
}

.info-card .ico {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 14px;
  background: var(--green-soft);
}

.info-card:nth-child(even) .ico { background: var(--gold-soft); }

.info-card h3 {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.info-card p {
  font-size: .9rem;
  color: var(--muted);
  text-align: justify;
}

.note-strip {
  margin-top: 26px;
  background: var(--gold-soft);
  border: 1px dashed #e3c765;
  border-radius: 14px;
  padding: 16px 22px;
  font-size: .95rem;
  color: #6b5307;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.note-strip .mark {
  font-size: 1.3rem;
  line-height: 1.4;
}

/* ---------- 09. مسابقات ---------- */
.comp { background: linear-gradient(180deg, var(--cream), #f2ecdd); }

.comp-wrap {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 30px;
  align-items: start;
}

.comp-list { display: grid; gap: 16px; }

.comp-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  box-shadow: var(--shadow);
  transition: transform .25s;
}

.comp-item:hover { transform: translateX(-5px); }

.comp-date {
  min-width: 74px;
  text-align: center;
  background: var(--green);
  color: #fff;
  border-radius: 14px;
  padding: 10px 8px;
  flex-shrink: 0;
}

.comp-date b {
  display: block;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.3;
}

.comp-date span { font-size: .72rem; opacity: .85; }

.comp-item h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--green-dark);
}

.comp-item p {
  font-size: .88rem;
  color: var(--muted);
  margin-top: 4px;
}

.tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 2px 12px;
  margin-top: 8px;
  background: var(--gold-soft);
  color: #8a6d0b;
  border: 1px solid #eedf9f;
}

.tag.green {
  background: var(--green-soft);
  color: var(--green-dark);
  border-color: #cfe0d3;
}

.results {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.results h3 {
  background: var(--green-dark);
  color: #fff;
  padding: 16px 22px;
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.results table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

.results th {
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 800;
  padding: 12px 14px;
  text-align: right;
  border-bottom: 1px solid var(--line);
}

.results td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: #3c4a40;
}

.results tr:last-child td { border-bottom: none; }

.results .rank {
  font-weight: 900;
  font-size: 1.1rem;
  width: 44px;
}

.results .score {
  font-weight: 800;
  color: var(--green);
}

/* ---------- 10. اعضا ---------- */
.members { background: #fff; }

.members-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.member {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 18px;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}

.member:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.avatar {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--green), #3c7a58);
  box-shadow: 0 6px 16px rgba(28, 77, 56, .3);
}

.member:nth-child(even) .avatar {
  background: linear-gradient(135deg, #d99e00, var(--gold));
  color: #4a3800;
  box-shadow: 0 6px 16px rgba(242, 183, 5, .35);
}

.member h3 {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--green-dark);
}

.member .role {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  color: #8a6d0b;
  background: var(--gold-soft);
  border-radius: 999px;
  padding: 2px 14px;
  margin: 8px 0;
}

.member p {
  font-size: .83rem;
  color: var(--muted);
}

/* ---------- 11. گالری ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.shot {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  background: #dde5dc;
}

.shot.tall {
  aspect-ratio: 3/4;
  grid-row: span 2;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.shot:hover img { transform: scale(1.08); }

.shot figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 16px 12px;
  background: linear-gradient(0deg, rgba(18, 53, 39, .85), transparent);
  color: #fff;
  font-size: .88rem;
  font-weight: 600;
}

/* ---------- 12. اخبار و اطلاعیه ---------- */
.news { background: linear-gradient(180deg, #f2ecdd, var(--cream)); }

.news-wrap {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 30px;
  align-items: start;
}

.news-list { display: grid; gap: 14px; }

.news-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform .2s;
  box-shadow: 0 4px 14px rgba(18, 53, 39, .06);
}

.news-item:hover { transform: translateX(-4px); }

.news-date {
  background: var(--green-soft);
  color: var(--green-dark);
  border-radius: 10px;
  padding: 6px 12px;
  font-size: .78rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 3px;
}

.news-item h3 {
  font-size: .98rem;
  font-weight: 800;
  color: var(--green-dark);
}

.news-item p {
  font-size: .86rem;
  color: var(--muted);
  margin-top: 3px;
}

.announce {
  background: #fff;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.announce .announce-head {
  background: var(--gold);
  color: #4a3800;
  padding: 12px 22px;
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.announce .body { padding: 20px 22px; }

.announce .body > p {
  font-size: .92rem;
  color: #3c4a40;
  margin-bottom: 12px;
}

.announce .body li {
  font-size: .9rem;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #3c4a40;
}

.announce .body li:last-child { border-bottom: none; }
.announce .body li::before {
  content: "";
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  margin-top: .18em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c4d38' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 11 18-5v12L3 14v-3z'/%3E%3Cpath d='M11.6 16.8a3 3 0 1 1-5.8-1.6'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---------- 13. آموزش ---------- */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.edu-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s;
}

.edu-card:hover { transform: translateY(-6px); }

.edu-card img {
  height: 180px;
  width: 100%;
  object-fit: cover;
}

.edu-card .pad { padding: 20px 22px; }

.edu-card h3 {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.edu-card p {
  font-size: .88rem;
  color: var(--muted);
  text-align: justify;
}

.edu-card .more {
  display: inline-block;
  margin-top: 12px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--green);
}

.edu-card .more:hover { color: var(--gold); }

.tips {
  background: var(--green-dark);
  border-radius: var(--radius);
  color: #fff;
  padding: 30px 34px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 26px;
  align-items: center;
}

.tips h3 {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 10px;
}

.tips .tips-intro {
  font-size: .9rem;
  color: #c8d8cc;
}

.tips ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 26px;
}

.tips li {
  font-size: .9rem;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #dbe7de;
}

.tips li b { color: var(--gold); }

/* ---------- 14. وبلاگ ---------- */
.blog { background: #fff; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.post {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}

.post:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.post .bar {
  height: 6px;
  background: linear-gradient(90deg, var(--gold), var(--green));
}

.post .pad {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post .meta {
  font-size: .78rem;
  color: var(--muted);
  display: flex;
  gap: 14px;
  margin-bottom: 10px;
}

.post h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 8px;
  line-height: 1.7;
}

.post p {
  font-size: .88rem;
  color: var(--muted);
  flex: 1;
  text-align: justify;
}

.post .more {
  margin-top: 14px;
  font-size: .87rem;
  font-weight: 800;
  color: var(--green);
}

.post .more:hover { color: var(--gold); }

/* ---------- 15. تماس ---------- */
.contact { background: linear-gradient(180deg, var(--cream), #eef3e6); }

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 30px;
  align-items: start;
}

form.cform {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.frow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  font-size: .85rem;
  font-weight: 700;
  color: var(--green-dark);
  display: block;
  margin-bottom: 6px;
}

input, textarea, select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: .92rem;
  background: var(--cream);
  color: var(--ink);
  transition: border-color .2s, background .2s;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--green);
  background: #fff;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-info { display: grid; gap: 16px; }

.ci {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  gap: 14px;
  align-items: center;
  box-shadow: 0 4px 14px rgba(18, 53, 39, .06);
}

.ci .ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--green-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.ci b {
  display: block;
  font-size: .92rem;
  color: var(--green-dark);
}

.ci span {
  font-size: .88rem;
  color: var(--muted);
}

/* ---------- 16. دکمه‌ی بازگشت به بالا ---------- */
.to-top {
  position: fixed;
  bottom: 22px;
  left: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--green);
  color: #fff;
  font-size: 1.15rem;
  box-shadow: 0 8px 20px rgba(18, 53, 39, .35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s, visibility .3s, background .25s;
  z-index: 90;
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover { background: var(--gold); color: #4a3800; }

/* ---------- 17. فوتر ---------- */
footer.site-footer {
  background: var(--green-dark);
  color: #c8d8cc;
  margin-top: auto;
  padding: 40px 0 24px;
}

.foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 26px;
  flex-wrap: wrap;
}

.foot .brand { color: #fff; margin-bottom: 8px; }

.foot > div > p {
  font-size: .85rem;
  max-width: 340px;
  text-align: justify;
}

.foot nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 30px;
  font-size: .88rem;
}

.foot nav a:hover { color: var(--gold); }

.copy {
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 30px;
  padding-top: 18px;
  text-align: center;
  font-size: .84rem;
  color: #9db5a4;
}

.copy .credit {
  color: var(--gold);
  font-weight: 700;
}

/* ---------- 18. انیمیشن ظهور هنگام اسکرول ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* احترام به تنظیم کاهش حرکت کاربر */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .shot img, .info-card, .member, .edu-card, .post, .comp-item { transition: none; }
}

/* ---------- 19. واکنش‌گرایی ---------- */
@media (max-width: 1020px) {
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .members-grid { grid-template-columns: 1fr 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .shot.tall { grid-row: span 1; aspect-ratio: 4/3; }
  .edu-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid .post:last-child { grid-column: 1/-1; }
}

@media (max-width: 820px) {
  .menu-toggle { display: flex; }

  nav.menu {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    background: var(--green-dark);
    flex-direction: column;
    padding: 12px 20px 18px;
    border-top: 1px solid rgba(255, 255, 255, .12);
  }

  nav.menu.open { display: flex; }
  nav.menu a { padding: 11px 12px; }

  .hero .container {
    grid-template-columns: 1fr;
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .hero h1 { font-size: 2.1rem; }
  .about-grid, .comp-wrap, .news-wrap, .contact-wrap { grid-template-columns: 1fr; }
  .tips { grid-template-columns: 1fr; }
  .tips ul { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .cards-grid, .members-grid, .gallery-grid, .edu-grid, .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid .post:last-child { grid-column: auto; }
  .frow { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.8rem; }
  section { padding: 56px 0; }
  .about-points { grid-template-columns: 1fr; }
}

/* ============================================================
   20. اجزای نسخه‌ی ۲ — اعضا با عکس، افتخارات، فوتر جدید،
       صفحات داخلی (اعضا / مقالات / متن مقاله)
   ============================================================ */

/* ---------- کارت عضو با عکس ---------- */
.members-grid { grid-template-columns: repeat(3, 1fr); }

.member {
  padding: 0;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.mphoto {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--green-soft);
}

.mphoto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.member:hover .mphoto img { transform: scale(1.06); }

.mphoto .medal {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(18, 53, 39, .88);
  color: var(--gold);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: .78rem;
  font-weight: 800;
}

.member .mpad {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: center;
}

.member .mpad h3 { font-size: 1.05rem; }

.mcode {
  display: inline-block;
  direction: ltr;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 8px;
  padding: 1px 10px;
  margin: 6px auto 10px;
}

.member .mpad p {
  font-size: .84rem;
  color: var(--muted);
  flex: 1;
}

.mlink {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.mlink a {
  font-size: .78rem;
  font-weight: 700;
  color: var(--green-dark);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 7px 4px;
  text-align: center;
  white-space: nowrap;
  transition: background .2s, color .2s, transform .2s;
}

.mlink a:hover {
  background: var(--green);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- افتخارآفرینان مسابقات ---------- */
.honors { margin-top: 34px; }

.honors-title {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--green-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.honor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.honor {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform .25s;
}

.honor:hover { transform: translateY(-5px); }

.honor::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--gold), var(--green));
}

.honor.gold::before { background: linear-gradient(90deg, #ffd84d, #d99e00); }
.honor.silver::before { background: linear-gradient(90deg, #d7dde2, #9aa8b3); }
.honor.bronze::before { background: linear-gradient(90deg, #e2a679, #b06a35); }

.honor .hmedal {
  width: 58px;
  height: 58px;
  margin: 6px auto 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  background: var(--gold-soft);
  border: 2px solid var(--gold);
}

.honor.silver .hmedal { background: #eef1f4; border-color: #9aa8b3; }
.honor.bronze .hmedal { background: #f7e5d3; border-color: #b06a35; }

.honor img {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 10px;
  border: 3px solid var(--gold);
}

.honor.silver img { border-color: #9aa8b3; }
.honor.bronze img { border-color: #b06a35; }

.honor h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--green-dark);
}

.honor .hcode {
  direction: ltr;
  display: inline-block;
  font-size: .74rem;
  color: var(--muted);
  background: var(--cream);
  border-radius: 8px;
  padding: 1px 10px;
  margin: 6px 0 8px;
}

.honor .hbird {
  font-size: .88rem;
  color: #3c4a40;
}

.honor .hscore {
  display: inline-block;
  margin-top: 10px;
  background: var(--gold-soft);
  color: #8a6d0b;
  font-weight: 900;
  border-radius: 999px;
  padding: 3px 16px;
  font-size: .9rem;
}

.honor .hcomp {
  display: block;
  margin-top: 8px;
  font-size: .78rem;
  color: var(--muted);
}

.no-medal {
  margin-top: 18px;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 16px 22px;
  font-size: .92rem;
  color: #3c4a40;
}

.no-medal b { color: var(--green-dark); }

.no-medal small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: .8rem;
}

/* ---------- فوتر نسخه‌ی ۲ ---------- */
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr 1.1fr;
  gap: 30px;
}

.foot-about p {
  font-size: .85rem;
  margin-top: 12px;
  text-align: justify;
}

.foot-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.foot-social a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background .25s, transform .25s;
}

.foot-social a:hover {
  background: var(--gold);
  transform: translateY(-3px);
}

.foot-col h3 {
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 8px;
}

.foot-col h3::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: var(--gold);
}

.foot-col ul li { margin-bottom: 8px; }

.foot-col a, .foot-col li {
  font-size: .87rem;
  color: #c8d8cc;
}

.foot-col a:hover { color: var(--gold); }

.foot-col.foot-contact li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

/* ---------- صفحات داخلی: سربرگ صفحه ---------- */
.page-hero {
  background: linear-gradient(135deg, #f6f1e3, var(--cream) 60%, #eef3e6);
  padding: 52px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.page-hero p {
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto;
  font-size: .98rem;
}

.breadcrumb {
  font-size: .84rem;
  color: var(--muted);
  margin-bottom: 14px;
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--green); font-weight: 700; }
.breadcrumb a:hover { color: var(--gold); }

/* ---------- صفحه‌ی اعضا: جستجو و جدول ---------- */
.search-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 28px;
  max-width: 980px;
  margin: 0 auto 22px;
}

.search-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.search-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.search-actions .btn { padding: 10px 30px; }

.btn-ghost {
  border: 2px solid var(--line);
  color: var(--muted);
  background: transparent;
}

.btn-ghost:hover { border-color: var(--green); color: var(--green); }

.list-stats {
  margin: 0 auto 26px;
  max-width: 980px;
}

.stats-bar {
  background: var(--green-soft);
  border: 1px solid #cfe0d3;
  border-radius: 12px;
  padding: 12px 20px;
  font-size: .92rem;
  color: var(--green-dark);
  display: flex;
  gap: 8px 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.stats-bar b { color: var(--green); }

.table-wrap {
  max-width: 980px;
  margin: 0 auto 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow-x: auto;
}

.members-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  min-width: 720px;
}

.members-table th {
  background: var(--green-dark);
  color: #fff;
  font-weight: 800;
  padding: 13px 14px;
  text-align: center;
  white-space: nowrap;
}

.members-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  color: #3c4a40;
  white-space: nowrap;
}

.members-table tbody tr:nth-child(even) { background: var(--cream); }
.members-table tbody tr:hover { background: var(--green-soft); }

.members-table .mcode-cell {
  direction: ltr;
  font-weight: 700;
  color: var(--green);
  letter-spacing: .5px;
}

.members-table tr.top-row td {
  background: var(--gold-soft);
  font-weight: 700;
}

.table-note {
  max-width: 980px;
  margin: 0 auto;
  background: var(--gold-soft);
  border: 1px dashed #e3c765;
  border-radius: 14px;
  padding: 14px 22px;
  font-size: .9rem;
  color: #6b5307;
  text-align: justify;
}

.no-result {
  display: none;
  text-align: center;
  padding: 26px !important;
  color: var(--muted);
  font-weight: 700;
}

/* ---------- صفحه‌ی مقالات ---------- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.acard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}

.acard:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(18, 53, 39, .16);
}

.acard .thumb {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--green-soft);
}

.acard .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.acard:hover .thumb img { transform: scale(1.07); }

.acard .cat {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(18, 53, 39, .88);
  color: var(--gold);
  border-radius: 999px;
  padding: 3px 14px;
  font-size: .76rem;
  font-weight: 800;
}

.acard .pad {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.acard .meta {
  font-size: .78rem;
  color: var(--muted);
  display: flex;
  gap: 14px;
  margin-bottom: 8px;
}

.acard h2 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1.7;
  margin-bottom: 8px;
}

.acard h2 a:hover { color: var(--green); }

.acard p {
  font-size: .88rem;
  color: var(--muted);
  flex: 1;
  text-align: justify;
}

.acard .more {
  margin-top: 14px;
  font-size: .87rem;
  font-weight: 800;
  color: var(--green);
}

.acard .more:hover { color: var(--gold); }

/* تصویر کارت‌های وبلاگ در صفحه‌ی اصلی */
.post-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--green-soft);
}

.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.post:hover .post-thumb img { transform: scale(1.07); }

.pcat {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(18, 53, 39, .88);
  color: var(--gold);
  border-radius: 999px;
  padding: 3px 14px;
  font-size: .76rem;
  font-weight: 800;
}

.post h3 a:hover { color: var(--green); }

.write-cta {
  margin-top: 34px;
  background: var(--green-dark);
  color: #dbe7de;
  border-radius: var(--radius);
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.write-cta h3 { color: var(--gold); font-size: 1.1rem; font-weight: 900; }
.write-cta p { font-size: .9rem; }

/* ---------- صفحه‌ی متن مقاله ---------- */
.article-page { padding: 54px 0 74px; }

.article-box {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.article-box .aimg {
  width: 100%;
  aspect-ratio: 16/8;
  object-fit: cover;
  display: block;
}

.article-box .abody { padding: 34px 40px 40px; }

.article-box .meta {
  font-size: .84rem;
  color: var(--muted);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.article-box h1 {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--green-dark);
  line-height: 1.7;
  margin-bottom: 18px;
}

.article-box .lead {
  font-size: 1.02rem;
  color: #3c4a40;
  background: var(--green-soft);
  border-right: 4px solid var(--green);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 22px;
  text-align: justify;
}

.article-box h2 {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--green-dark);
  margin: 26px 0 10px;
}

.article-box h3 {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--green);
  margin: 18px 0 8px;
}

.article-box p {
  font-size: .97rem;
  color: #3c4a40;
  margin-bottom: 14px;
  text-align: justify;
}

.article-box ul, .article-box ol {
  margin: 0 22px 16px 0;
  font-size: .95rem;
  color: #3c4a40;
}

.article-box ul li { list-style: disc; padding: 4px 0; }
.article-box ol li { list-style: persian; padding: 4px 0; }

.article-box blockquote {
  background: var(--gold-soft);
  border-right: 4px solid var(--gold);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: .97rem;
  color: #6b5307;
  margin: 18px 0;
  font-weight: 600;
}

.article-box .atip {
  background: #fff;
  border: 1px dashed var(--gold);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: .93rem;
  color: #6b5307;
  margin: 18px 0;
}

.article-box table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  margin: 14px 0 20px;
}

.article-box th {
  background: var(--green-soft);
  color: var(--green-dark);
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: right;
}

.article-box td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  color: #3c4a40;
}

.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}

.tags span, .tags a {
  font-size: .78rem;
  font-weight: 700;
  background: var(--green-soft);
  color: var(--green-dark);
  border-radius: 999px;
  padding: 3px 14px;
}

.tags a:hover { background: var(--gold); color: #4a3800; }

.author-box {
  margin-top: 26px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.author-box img {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
}

.author-box .ainfo { flex: 1; min-width: 200px; }
.author-box b { color: var(--green-dark); display: block; font-size: .98rem; }
.author-box p { font-size: .84rem; color: var(--muted); margin: 2px 0 0; }

.author-box .mlink { margin: 0; padding: 0; border: none; grid-template-columns: auto auto auto; }
.author-box .mlink a { padding: 7px 14px; }

.related { margin-top: 30px; }

.related h3 {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--green-dark);
  margin-bottom: 14px;
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.related-grid .acard { box-shadow: none; }

/* ---------- واکنش‌گرایی اجزای جدید ---------- */
@media (max-width: 1020px) {
  .honor-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .articles-grid { grid-template-columns: 1fr 1fr; }
  .articles-grid .acard:last-child { grid-column: 1/-1; }
}

@media (max-width: 820px) {
  .members-grid { grid-template-columns: 1fr 1fr; }
  .search-grid { grid-template-columns: 1fr 1fr; }
  .honor-grid { grid-template-columns: 1fr; }
  .article-box .abody { padding: 24px 22px 30px; }
  .article-box h1 { font-size: 1.4rem; }
}

@media (max-width: 560px) {
  .members-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .articles-grid .acard:last-child { grid-column: auto; }
  .related-grid { grid-template-columns: 1fr; }
  .search-grid { grid-template-columns: 1fr; }
  .mlink a { font-size: .72rem; }
  .page-hero h1 { font-size: 1.7rem; }
}

/* ============================================================
   20. الحاقات نسخه ۲.۱ — ورود/ثبت‌نام و شبکه‌های اجتماعی
   (لینک «ورود / ثبت‌نام» در منو، لینک‌های اینستاگرام/تلگرام
   در «ارتباط با کلوپ» و دکمه‌های دنبال‌کردن)
   ============================================================ */

/* لینک ویژه‌ی ورود در منوی اصلی */
nav.menu a.menu-login {
  background: var(--gold);
  color: #3d2f00;
  font-weight: 800;
  margin-inline-start: 8px;
  box-shadow: 0 4px 12px rgba(242, 183, 5, .30);
}

nav.menu a.menu-login:hover {
  background: #ffd84d;
  color: #3d2f00;
}

/* آیتم‌های لینک‌دار «ارتباط با کلوپ» (اینستاگرام / تلگرام) */
a.ci-link { transition: transform .2s, box-shadow .2s, border-color .2s; }

a.ci-link:hover {
  transform: translateY(-2px);
  border-color: var(--green);
  box-shadow: 0 8px 20px rgba(18, 53, 39, .12);
}

a.ci-link .ci-go {
  margin-right: auto;
  font-size: .74rem;
  font-weight: 800;
  color: var(--green);
  white-space: nowrap;
  align-self: center;
}

a.ci-link:hover .ci-go { color: var(--gold); }

/* بلوک دنبال‌کردن در شبکه‌های اجتماعی */
.social-follow {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 4px 14px rgba(18, 53, 39, .06);
  display: grid;
  gap: 12px;
}

.social-follow > b { color: var(--green-dark); font-size: .92rem; }

.social-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.sbtn {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 800;
  font-size: .9rem;
  transition: transform .2s, box-shadow .2s, filter .2s;
}

.sbtn span:first-child { font-size: 1.3rem; }

.sbtn small {
  display: block;
  font-size: .74rem;
  font-weight: 500;
  opacity: .85;
  text-align: right;
}

.sbtn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(18, 53, 39, .18); }

.s-ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: #fff; }
.s-tg { background: linear-gradient(135deg, #2aabee, #229ed9); color: #fff; }

/* لینک‌های شبکه‌های اجتماعی داخل ستون «تماس با ما» فوتر */
.foot-col.foot-contact li a {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  flex: 1;
  transition: color .2s;
}

.foot-col.foot-contact li a:hover { color: var(--gold); }

@media (max-width: 560px) {
  .social-btns { grid-template-columns: 1fr; }
  a.ci-link .ci-go { display: none; }
}

/* ============================================================
   نسخه ۲.۵ — لوگوی واقعی کلوپ + آیکون‌های SVG + واترمارک
   ============================================================ */

/* آیکون‌های SVG (جایگزین کامل ایموجی‌ها) */
svg.ic {
  width: 1em;
  height: 1em;
  vertical-align: -.14em;
  flex-shrink: 0;
}
.ic-ig, .ic-tg { width: 1.12em; height: 1.12em; }

/* لوگوی واقعی PGC به‌جای لوگوی متنی */
.brand img.logo,
.adm-brand img.logo,
img.mc-logo,
img.auth-logo {
  background: none;
  padding: 0;
  object-fit: cover;
}
.brand img.logo { box-shadow: 0 3px 10px rgba(0, 0, 0, .22); }

/* ---------- واترمارک کم‌رنگ لوگو در زمینه‌ی سایت ---------- */
.hero { position: relative; z-index: 0; }
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -130px;
  inset-inline-end: -140px;
  width: 620px;
  height: 620px;
  background: url(../images/logo-watermark-dark.png) center/contain no-repeat;
  pointer-events: none;
}

.contact { position: relative; z-index: 0; overflow: hidden; }
.contact::before {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: -110px;
  inset-inline-start: -90px;
  width: 480px;
  height: 480px;
  background: url(../images/logo-watermark-dark.png) center/contain no-repeat;
  pointer-events: none;
}
