

/* ================= FONTS ================= */
@font-face {
    font-family: 'yekan';
    src: url('fonts/BYekan-webfont.eot');
    src: url('fonts/BYekan-webfont.eot?#iefix') format('embedded-opentype'),
        url('fonts/BYekan-webfont.woff2') format('woff2'),
        url('fonts/BYekan-webfont.woff') format('woff'),
        url('fonts/BYekan-webfont.ttf') format('truetype'),
        url('fonts/BYekan-webfont.svg#BYekanregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'titr';
    src: url('fonts/BTitrBold.eot');
    src: url('fonts/BTitrBold.eot?#iefix') format('embedded-opentype'),        
        url('fonts/BTitrBold.woff') format('woff'),
        url('fonts/BTitrBold.ttf') format('truetype');        
    font-weight: normal;
    font-style: normal;
}

#tooltip {
  position: absolute;
  background: rgba(17,24,39,0.85);
  color: white;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
/* ================= MAIN ================= */
:root {
  --bg-dark: #0f172a;
  --bg-soft: #111827;
  --primary: #6366f1;
  --secondary: #06b6d4;
  --text-light: #e5e7eb;
  --text-muted: #9ca3af;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "yekan","Vazirmatn", sans-serif;
  background: radial-gradient(circle at 20% 20%, #1e293b, var(--bg-dark) 60%);
  color: var(--text-light);
  line-height: 1.8;
}

h1, h2, h3, h4, h5 {
    font-family: 'titr', sans-serif; /* عنوان‌ها */
    font-weight: normal;
}
/* ================= HERO ================= */
.hero {
  position: relative;
  height: 100vh;
  background-image: url("../images/sky.png"); /* عکس را اینجا بگذار */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* لایه تیره برای خوانایی */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to bottom,
      rgba(15,23,42,0.85),
      rgba(15,23,42,0.65)
  );
  backdrop-filter: blur(2px);
}

/* نور برند */
.hero::after {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(99,102,241,0.35), transparent 70%);
  top: -200px;
  right: -200px;
  filter: blur(120px);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 72px;
  font-weight: 900;
  letter-spacing: -1px;
  background: linear-gradient(90deg, #ffffff, #c7d2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 20px;
  color: #cbd5e1;
  max-width: 600px;
  margin: auto;
}

/* ================= SECTIONS ================= */

.section {
  max-width: 1100px;
  margin: 120px auto;
  padding: 0 10px;
}

.section h2 {
  font-size: 30px;
  margin-bottom: 30px;
  position: relative;
  display: inline;
}

.section h2::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -10px;
  /* width: 60px; */
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

/* ================= GLASS CARD ================= */

.glass {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(25px);
  padding: 10px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.glass:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(99,102,241,0.2);
}

/* ================= PARTICIPANTS ================= */

.participants {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.participants li {
  padding: 10px 18px;
  margin: 10px;
  
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s ease;
  font-size: 17px;
}

.participants li:hover {
  background: rgba(99,102,241,0.1);
  border-color: rgba(99,102,241,0.4);
  transform: translateX(-6px);
}

/* ================= WORD CLOUD CONTAINER ================= */

#wordcloud {
  width: 100%;
  height: 520px;
  border-radius: 28px;
  margin-top: 40px;
  background: radial-gradient(circle at center, #1e293b, #0f172a);
  box-shadow: inset 0 0 120px rgba(99,102,241,0.15);
  overflow: hidden;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
  .hero h1 {
    font-size: 40px;
  }

  .hero p {
    font-size: 16px;
  }

  .section {
    margin: 80px auto;
  }
}