/* --- Base Styles --- */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: #121212; /* Dark background */
  color: #fff; /* White text */
  line-height: 1.6;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background-color: #1a1a1a;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

a {
  text-decoration: none;
  color: inherit;
}

/* --- Typography --- */
h1, h2 {
  text-transform: uppercase;
  font-weight: 600;
  margin: 0;
}

h1 {
  font-size: 2.5em;
  color: #fff;
}

h2 {
  color: #ffd200;
  border-bottom: 3px dashed #3d3d3d;
  padding-bottom: 5px;
  margin-top: 80px;
  margin-bottom: 40px;
}

.tagline {
  font-style: italic;
  color: #969696;
}

.section-text p {
  color: #ccc;
}

/* --- Layouts & Components --- */
header  {
  text-align: center;
  padding: 20px 0;
border-bottom: 10px solid #ffd200;
 
}

  footer {
  text-align: center;
  padding: 20px 0;
border-top: 10px solid #ffd200;
 
}

 

.logo {
  width: 80px;
  height: auto;
  margin-bottom: 10px;
}

.my-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.my-40 {
  margin: 40px 0;
}

/* --- Buttons --- */
.download-btn, .help-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 20px;
  border-radius: 40px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.download-btn {
  background-color: #ffd200;
  color: #000;
}

.download-btn:hover {
  background: #000000;
  transform: translateY(-3px);
  box-shadow: 0 0 15px #ffd200;
  color: #ffd200;
}

.download-btn i{
  font-size: 1.2em;
  margin: 0 10px 0 5px;
}

.download-btn:hover i,
.socials a:hover img,
.card:hover img {
  animation: pulse 0.6s ease-in-out infinite;
  color: #ffd200; /* برای آیکون دکمه دانلود */
}

 .yellow-p {
  text-align: center;
   color: #ffd200;
   margin-top: 0;
}

.help-btn {
  background-color: #0056b3;
  color: #000;
}

/* --- Help Icon Styling (Masking) --- */
.help-btn i {
  font-style: normal;
  display: inline-block;
  color: transparent; /* این رنگ برای پنهان کردن محتوای اصلی است */
  background-clip: text;
  -webkit-background-clip: text;
  margin-right: -15px; /* این ویژگی برای چسباندن آیکون به متن است */
}

.help-btn i::before {
  content: "❔";
  font-size: 1.2em;
  background-clip: text;
  background-color: #000000; /* رنگ پیش‌فرض آیکون */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background-color 0.3s ease; /* یک انتقال نرم برای تغییر رنگ */
  
}

/* افکت هاور روی دکمه */
.help-btn:hover {
  background: #000000;
  transform: translateY(-3px);
  box-shadow: 0 0 15px #0056b3;
  color: #0056b3;
} 

 .blue-p {
  text-align: center;
   color: #0056b3;
      margin-top: 0;
}
 
.help-btn i::before {
  content: "❔";
  font-size: 1.2em;
  background-clip: text;
  background-color: #000000;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background-color 0.3s ease;
  display: inline-block; /* اضافه کردن این خط */
}
/* تغییر رنگ پس‌زمینه آیکون در حالت هاور */
.help-btn:hover i::before {
  background-color: #0056b3; /* رنگ جدید برای آیکون در حالت هاور */
  animation: pulse 0.6s ease-in-out infinite; /* انیمیشن روی محتوای قبل از تگ <i> */
}

 

.controls {
  text-align: center;
  width: fit-content;
  margin: 15px auto;
  padding: 10px;
  overflow: hidden;
  border-radius: 40px;
  backdrop-filter: blur(5px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23000000' fill-opacity='0.4' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
}

.controls button {
  width: 50px;
  height: 50px;
  margin: 0 5px;
  background: linear-gradient(135deg, #1e1e1e, #333);
  color: #fff;
  border: 2px solid #ffd200;
  border-radius: 50%;
  cursor: pointer;
  font-weight: 900;
  transition: all 0.3s ease;
  filter: grayscale(100%);
}

.controls button:hover {
  background: linear-gradient(135deg, #333, #555);
  transform: translateY(-2px);
  color: #ffd200;
  box-shadow: 0 0 5px #ffd200;
  filter: grayscale(0);
}

.controls button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(255, 210, 0, 0.2);
}

/* --- Lists --- */
.section-text ul {
  list-style-type: none;
  padding: 0;
}

.section-text li {
  background-color: #1e1e1e;
  border-left: 5px solid #ffd200;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 5px;
  transition: transform 0.3s ease;
  min-height: 60px;
}

.section-text li:hover {
  transform: translateX(5px);
  background: #000;
  box-shadow: 0 0 10px #ffd200;
}

/* --- Scroll Gallery --- */
.scroll-container {
  width: 100%;
  height: 600px;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
}

.scroll-image {
  width: 100%;
  height: auto;
  animation: scrollUp 10s linear infinite;
}

.scroll-image.paused {
  animation-play-state: paused;
}

.scroll-container::before,
.scroll-container::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 10;
  pointer-events: none;
}

.scroll-container::before {
  top: 0;
  background: linear-gradient(to bottom, #1a1a1a, transparent);
}

.scroll-container::after {
  bottom: 0;
  background: linear-gradient(to top, #1a1a1a, transparent);
}

/* --- Extension Cards --- */
.extensions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 20px;
}

.card {
  background: #1e1e1e;
  border-radius: 10px;
  width: 240px;
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  background: #000000;
  transform: scale(1.05);
  box-shadow: 0 0 15px #ffd200;
}

.card img {
  max-width: 50px;
  height: auto;
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.card h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.card small {
  font-weight: 200;
  font-size: 16px;
  transition: color 0.3s ease;
}

.card a:hover small {
  color: #ffd200;
  font-weight: 400;
}

.card:hover h3 {
  color: #fff;
}

.try-apps {
  height: 40px;
  padding: 0 10px;
  margin-top: 15px;
}

/* --- Socials --- */
.try-apps {
    height: 40px;
    padding: 0 10px;
    margin-top: 15px;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 20px;
}

.socials.space-between{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 25px;
  margin-top: 20px;
}

.socials a {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #1f1f1f;
  padding: 10px 16px;
  border-radius: 30px;
  color: #ffffff;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s, color 0.3s;
}

.socials a:hover {
  background: #000000;
  transform: translateY(-3px);
  box-shadow: 0 0 15px #ffd200;
  color: #ffd200;
}

.socials a img {
  width: 28px;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

.image-gallery {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin: 20px 0;
}

.app-screenshot {
  width: 100%;
  max-width: 250px;
  border: 3px dashed #3a3a3a;
  padding: 15px;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-screenshot:hover {
  transform: scale(1.05);
  border: 3px solid #ffd200;
  box-shadow: 0 0 15px #ffd200;
}

/* --- Animations --- */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes scrollUp {
  0% {
    transform: translateY(2%);
  }
  100% {
    transform: translateY(-85%);
  }
}

/* --- Utilities & Responsiveness --- */
.font-size-10 { font-size: 10px; }
.font-size-12 { font-size: 12px; }
.font-size-14 { font-size: 14px; }
.font-size-16 { font-size: 16px; }
.font-size-18 { font-size: 18px; }
.font-size-20 { font-size: 20px; }

.mt-80 {margin-top: 80px;}

@media screen and (max-width: 600px) {
  .card {
    width: 90%;
  }

 
    .download-btn, .help-btn {
    display: inline-flex
;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 40px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.help-btn i {
    font-style: normal;
    display: inline-block;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    margin-right: -25px;}

    .download-btn i {
    font-size: 1.2em;
    margin: 0 0 0 5px;
}

.socials a {
  flex: 0 0 calc(50% - 55px);
    min-width: unset;
    max-width: unset;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.my-row.socials {
    gap: 10px;
    padding: 0 10px;
  }
  
  .left-item a,
  .right-item a {
    flex: 0 0 calc(50% - 5px);
    max-width: unset;
    
  }
  
  .try-apps {
    padding: 12px 8px;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .try-apps img {
    width: 20px;
    height: 20px;
  }

  .my-row {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

  .download-btn,
  .help-btn {
    padding: 10px 8px;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .blue-p,
  .yellow-p {
    font-size: 12px;
  }
 
}

