* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Tahoma', sans-serif; }

body {
  background: #0a0a0a;
  color: #fff;
  line-height: 1.8;
}

/* هدر */
header {
  background: linear-gradient(90deg, #000 0%, #1a0000 100%);
  border-bottom: 3px solid #e11d2e;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  flex-wrap: wrap;
  gap: 15px;
}
.logo { font-size: 24px; font-weight: bold; color: #fff; }
.logo span { color: #e11d2e; }

nav { display: flex; flex-wrap: wrap; gap: 20px; }
nav a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  transition: 0.3s;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
}
nav a:hover, nav a.active {
  color: #e11d2e;
  border-bottom-color: #e11d2e;
}

/* هیرو */
.hero {
  background: 
    linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.9)),
    radial-gradient(circle at 50% 50%, #3a0000 0%, #000 100%);
  padding: 100px 20px;
  text-align: center;
  border-bottom: 3px solid #e11d2e;
}
.hero h1 {
  font-size: 52px;
  margin-bottom: 15px;
  text-shadow: 0 0 25px rgba(225,29,46,0.7);
}
.hero h1 span { color: #e11d2e; }
.hero p {
  font-size: 18px;
  color: #bbb;
  max-width: 700px;
  margin: 0 auto 30px;
}
.hero.small { padding: 60px 20px; }
.hero.small h1 { font-size: 38px; }

/* دکمه‌ها */
.btn {
  display: inline-block;
  background: #e11d2e;
  color: #fff;
  padding: 13px 35px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  border: 2px solid #e11d2e;
  cursor: pointer;
  font-size: 15px;
}
.btn:hover {
  background: transparent;
  color: #e11d2e;
  box-shadow: 0 0 20px rgba(225,29,46,0.6);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  margin-right: 10px;
}
.btn-outline:hover {
  border-color: #e11d2e;
  color: #e11d2e;
}

/* بخش‌ها */
.section {
  padding: 70px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  font-size: 32px;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 70px;
  height: 4px;
  background: #e11d2e;
  margin: 12px auto 0;
  border-radius: 2px;
}

/* کارت خبر */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}
.news-card {
  background: #141414;
  border: 1px solid #222;
  border-top: 4px solid #e11d2e;
  border-radius: 8px;
  padding: 25px;
  transition: 0.3s;
}
.news-card:hover {
  transform: translateY(-6px);
  border-color: #e11d2e;
  box-shadow: 0 10px 30px rgba(225,29,46,0.3);
}
.news-card .tag {
  display: inline-block;
  background: #e11d2e;
  color: #fff;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 12px;
}
.news-card h3 { font-size: 19px; margin-bottom: 10px; color: #fff; }
.news-card p { color: #999; font-size: 14px; }
.news-card .date { color: #666; font-size: 12px; margin-top: 12px; display: block; }

/* کارت عضو */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}
.member-card {
  background: #141414;
  border: 1px solid #222;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  transition: 0.3s;
}
.member-card:hover {
  border-color: #e11d2e;
  box-shadow: 0 0 25px rgba(225,29,46,0.3);
}
.member-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e11d2e, #7a0a17);
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: bold;
  border: 3px solid #e11d2e;
}
.member-card h3 { font-size: 18px; margin-bottom: 6px; }
.member-card .rank {
  color: #e11d2e;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 8px;
}
.member-card .bio { color: #888; font-size: 13px; }

/* قوانین */
.rules-list {
  max-width: 900px;
  margin: 0 auto;
  list-style: none;
}
.rules-list li {
  background: #141414;
  border-right: 4px solid #e11d2e;
  border-radius: 6px;
  padding: 20px 25px;
  margin-bottom: 15px;
  transition: 0.3s;
}
.rules-list li:hover {
  background: #1c0000;
  transform: translateX(-5px);
}
.rules-list li strong {
  color: #e11d2e;
  display: block;
  margin-bottom: 5px;
  font-size: 16px;
}
.rules-list li span { color: #aaa; font-size: 14px; }

/* فرم */
.form-box {
  max-width: 600px;
  margin: 0 auto;
  background: #141414;
  border: 1px solid #222;
  border-top: 4px solid #e11d2e;
  border-radius: 8px;
  padding: 40px;
}
.form-box label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: #ccc;
}
.form-box input,
.form-box select,
.form-box textarea {
  width: 100%;
  padding: 12px 15px;
  background: #0a0a0a;
  border: 1px solid #333;
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  margin-bottom: 20px;
  font-family: inherit;
  transition: 0.3s;
}
.form-box input:focus,
.form-box select:focus,
.form-box textarea:focus {
  outline: none;
  border-color: #e11d2e;
  box-shadow: 0 0 10px rgba(225,29,46,0.3);
}
.form-box textarea { resize: vertical; min-height: 100px; }
.form-box .btn { width: 100%; }

/* فوتر */
footer {
  background: #000;
  border-top: 3px solid #e11d2e;
  padding: 30px;
  text-align: center;
  color: #777;
  font-size: 14px;
  margin-top: 50px;
}
footer span { color: #e11d2e; }

/* موبایل */
@media (max-width: 768px) {
  header { padding: 15px 20px; justify-content: center; text-align: center; }
  nav { justify-content: center; }
  .hero h1 { font-size: 34px; }
  .hero.small h1 { font-size: 26px; }
  .section { padding: 50px 20px; }
  .form-box { padding: 25px; }
}