@font-face {
  font-family: "iranSans";
  src: url("./Sans.ttf") format(truetype);
}
/* ریست اولیه */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "iranSans", Tahoma, Arial, sans-serif;
  background: linear-gradient(135deg, #67b26f, #4ca2cd);
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
  padding: 30px 10px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.container {
  background-color: #fff;
  border-radius: 15px;
  max-width: 400px;
  width: 100%;
  padding: 30px 25px;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.container:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
}

h1 {
  font-size: 2.2rem;
  color: #27ae60;
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: 1.2px;
}
h2 {
  font-size: 1.6rem;
  color: #2c3e50;
  margin: 20px 0 15px 0;
  font-weight: 700;
  text-align: right;
}

p {
  margin: 15px 0;
  font-size: 1.1rem;
  color: #555;
  text-align: justify;
}

ol.steps {
  list-style-position: inside;
  padding-left: 0;
  text-align: right;
  max-width: 100%;
  margin: 15px 0 25px 0;
  color: #444;
  font-size: 1.1rem;
  direction: rtl;
}

ol.steps li {
  margin: 15px 0;
  padding-right: 10px;
  text-align: justify;
  line-height: 1.4;
}

/* نکات مهم */
.note {
  background-color: #f9f9f9;
  border-right: 4px solid #27ae60;
  padding: 10px 15px;
  margin: 15px 0 20px 0;
  font-size: 1rem;
  color: #2c3e50;
  text-align: justify;
  border-radius: 6px;
}

.logo {
  width: 120px;
  max-width: 100%;
  margin: 15px auto;
  border-radius: 10px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.logo:hover {
  transform: scale(1.1);
}

/* START: استایل دکمه دانلود */
.download-btn {
  display: inline-block;
  background: linear-gradient(45deg, #27ae60, #229954);
  color: #fff;
  padding: 12px 25px;
  margin-top: 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  background: linear-gradient(45deg, #2ecc71, #27ae60);
}
/* END: استایل دکمه دانلود */

/* قالب جعبه جوایز امتیاز */
.reward-box {
  background: linear-gradient(120deg, #a8e063, #56ab2f);
  color: #fff;
  padding: 20px 25px;
  margin: 25px 0 30px 0;
  border-radius: 15px;
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 0 8px 20px rgba(86, 171, 47, 0.6);
  text-align: justify;
  direction: rtl;
  line-height: 1.4;
  letter-spacing: 0.5px;
  user-select: none;
  transition: transform 0.3s ease;
  cursor: default;
}

.reward-box:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 30px rgba(86, 171, 47, 0.9);
}

@media screen and (max-width: 480px) {
  .container {
    padding: 20px 15px;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  p,
  ol.steps li,
  .note,
  .reward-box p {
    font-size: 1rem;
  }

  .logo {
    width: 100px;
  }
}
/* START: Language Switcher Styles */
.language-switcher {
  margin-bottom: 25px;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.language-switcher button {
  padding: 8px 15px;
  border: 1px solid #ccc;
  background-color: #f0f0f0;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.language-switcher button:hover {
  background-color: #e0e0e0;
}

/* Style for the active language button */
.language-switcher button.active {
  background-color: #27ae60;
  color: #fff;
  border-color: #27ae60;
  font-weight: bold;
}
/* END: Language Switcher Styles */