@font-face {
  font-family: sama;
  src: url("fonts/IRANYekanXVF.woff") format("woff");
}

@font-face {
  font-family: khan;
  src: url("fonts/IRANYekanXVF.woff2") format("woff2");
}

* {
  box-sizing: border-box;
  font-family: "sama";
}

body {
  margin: 0;
  font-family: "sama";
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
  color: #fff;
  text-align: center;
  scroll-behavior: smooth;
  overflow-x: hidden;
  direction: rtl;
}

/*  هدر وبسایت */
.header {
  position: sticky;
  top: 0;
  background-color: #1f2937;
  padding: 15px 50px;
  font-size: 22px;
  font-weight: bold;
  color: #00ffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.menu-icon {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

.music-header {
  border-radius: 0 0 50px 50px;
  padding: 20px 50px;
}

.instagram-box {
  position: relative;
  overflow: hidden;
  padding: 10px 20px;
  text-decoration: none;
  color: #000;
  background-color: #f9c74f;
  font-size: 14px;
  border-radius: 10px;
  display: flex;
}

a.instagram-box::before {
  content: "";
  width: 30%;
  height: 200%;
  transform: rotate(45deg);
  background-color: #fff;
  filter: blur(35px);
  top: -30%;
  right: 100%;
  animation: instagramglow 2s ease infinite;
  position: absolute;
}

@keyframes instagramglow {
  0% {
    right: -100%;
  }

  100% {
    right: 120%;
  }
}

.contactme i {
  margin-left: 5px;
}

/*  (موبایل)هدر وبسایت */
nav {
  display: flex;
  gap: 35px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
}

nav a:hover {
  color: #00ffff;
}

/* بخش موسیقی و غیره */
.container {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  margin: 40px auto;
  max-width: 1100px;
  padding: 0 20px;
}

.card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 30px 20px;
  margin: 15px;
  width: 260px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: 0.4s;
  animation: floatCard 1s ease-in-out;
}

.card:hover {
  transform: translateY(-8px) scale(1.03);
  background-color: rgba(255, 255, 255, 0.12);
}

@keyframes floatCard {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card i {
  font-size: 40px;
  margin-bottom: 15px;
  color: #00ffff;
}

.card h2 {
  font-size: 18px;
  margin-bottom: 15px;
}

.card a {
  font-size: 14px;
  text-decoration: none;
  background: #00ffff;
  color: #000;
  padding: 10px 20px;
  border-radius: 8px;
  display: inline-block;
  transition: 0.3s;
}

.card a:hover {
  background: #38e6e6;
}

/* بخش هیرو سکشن */
.bioheading {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.bio {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: top;
  gap: 10px;
  margin: 70px 70px 0px 70px;
  padding: 30px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.bio * {
  position: relative;
  z-index: 1;
}

.bio h2 {
  font-size: 18px;
  color: #8f8f8f;
  margin-bottom: 10px;
  text-align: right;
}

.bio p {
  margin-top: 0px;
  width: 505px;
  font-size: 16px;
  line-height: 1.9;
  text-align: justify;
  color: #fff;
}

.bio img {
  width: 405px;
  height: 405px;
  border: 4px solid #00ffff;
  border-radius: 50%;
  box-shadow: 0 0 20px #007272;
  animation: pulseGlow 3s infinite ease-in-out;
}

.bio .img {
  background-color: #0f2027;
  border-radius: 50%;
  overflow: hidden;
  width: 470px;
  height: 470px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 20px #007272;
}

.headingone {
  font-size: 3rem;
  animation: fadeIn 1.5s ease;
  margin-bottom: 0px;
  color: #facc15;
}

.bio .buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  align-items: center;
  margin-top: 15px;
}

.bio .buttons .more {
  font-size: 16px;
  background-color: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  cursor: pointer;
}

.buttons a {
  text-decoration: none;
}

.bio .buttons .songs {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  padding: 10px 40px;
  border-radius: 50px;
  border: none;
  background-color: #facc15;
  color: #000000;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.songs::before {
  content: "";
  width: 30%;
  top: -60%;
  right: -100%;
  filter: blur(35px);
  animation: myglow 2s ease-in infinite;
  height: 220%;
  transform: rotate(45deg);
  background-color: #fff;
  position: absolute;
}

@keyframes myglow {
  0% {
    right: -100%;
  }

  100% {
    right: 120%;
  }
}

.more-btn {
  margin-top: 20px;
  padding: 10px 25px;
  font-size: 16px;
  background-color: #00ffff;
  color: #000;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}

.more-btn:hover {
  background-color: #38e6e6;
}

@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: 0 0 20px #00ffff;
  }

  50% {
    box-shadow: 0 0 40px #00ffff;
  }
}

.headingtwo {
  margin: 80px 0px -10px 0px;
  padding: 0px;
  font-size: 24px;
  color: #facc15;
}

/*  فوتر وبسایت */

.social-icons i {
  font-size: 24px;
  margin: 0 10px;
  color: #fff;
  transition: color 0.3s;
}

.social-icons i:hover {
  color: #00ffff;
}

.logo {
  text-decoration: none;
  color: inherit;
}

/*  صفحه بیوگرافی */
.biohead {
  margin-top: 80px;
  position: relative;
  overflow: hidden;
  font-size: 3rem;
  animation: fadeIn 1.5s ease;
  color: #facc15;
  animation-name: glow;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  line-height: 100px;
}

@keyframes glow {
  from {
    text-shadow: 0px 0px 5px #f0ff24, 0px 0px 5px #f0ff241e;
  }

  to {
    text-shadow: 0px 0px 20px #f0ff24, 0px 0px 20px #f0ff243a;
  }
}

.biocontainer {
  display: flex;
  justify-content: center;
  align-items: center;
}

.circle {
  width: 40px;
  height: 40px;
  background-color: #007272;
  border-radius: 50%;
  position: absolute;
  top: -20px;
  right: 20px;
}

.biobox {
  position: relative;
  width: 1000px;
  background-color: #0f2027;
  border-radius: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  padding: 40px;
  display: flex;
  flex-wrap: wrap;
}

.biobox:hover {
  box-shadow: 0 6px 20px rgba(0, 255, 255, 0.6);
}

.biobox h2 {
  font-size: 20px;
  color: #8f8f8f;
}

.biobox .biotext {
  font-size: 16px;
  line-height: 2rem;
  text-align: justify;
}

.bio-image-container {
  margin: 20px auto 0 auto;
  width: 1000px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  position: relative;
}

.bio-img {
  width: 150px;
  border-radius: 100px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: -80px;
  z-index: 1;
  position: absolute;
  left: 20px;
  animation: mynewglow 1s cubic-bezier(0.215, 0.61, 0.355, 1) infinite alternate;
}

.en-page-circle {
  left: 20px;
  top: -20px;
}

.en-page-img {
  right: 20px;
  left: initial;
}

@keyframes mynewglow {
  0% {
    scale: 1;
  }

  100% {
    scale: 1.05;
  }
}

.bio-img:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.language-switcher {
  display: flex;
  justify-content: center;
  gap: 6px;
  /* کمتر از قبل */
  margin: 15px 0;
  /* کمی کمتر از قبل */
  font-family: sama, Vazirmatn, sans-serif;
  user-select: none;
  direction: rtl;
}

.language-switcher a {
  padding: 5px 10px;
  /* کمتر از قبل */
  font-size: 1rem;
  color: #00ffff;
  text-decoration: none;
  border-radius: 20px;
  transition: color 0.3s, background-color 0.3s;
  cursor: pointer;
  user-select: none;
  margin: 0;
  /* حذف مارجین اضافی */
}

.language-switcher a:hover {
  color: #facc15;
  /* رنگ زرد طلایی */
  background-color: rgba(250, 204, 21, 0.15);
  border-color: #facc15;
  box-shadow: 0 0 20px #facc15;
}

.language-switcher a.active,
.language-switcher a.active:hover {
  color: #000;
  background-color: #facc15;
  border-color: #facc15;
  box-shadow: 0 0 25px #facc15;
  font-weight: 700;
  cursor: default;
  pointer-events: none;
}

.language-switcher a::before {
  content: attr(data-flag);
  font-size: 1.3rem;
  display: inline-block;
  vertical-align: middle;
  user-select: none;
}

/* ریسپانسیو موبایل */
@media (max-width: 480px) {
  .language-switcher {
    gap: 10px;
    flex-wrap: wrap;
  }

  .language-switcher a {
    padding: 6px 14px;
    font-size: 0.9rem;
  }

  .language-switcher a {
    margin: 5px 8px;
    padding: 6px 14px;
    font-size: 0.9rem;
  }
}

/* برای نمایش بهتر ایموجی */
.language-switcher a::before {
  content: attr(data-flag);
  margin-right: 6px;
  font-size: 1.2rem;
}


/* اسلایدر */
.slider-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 400px;
  padding: 0px 50px;
  position: relative;
}

.slider-container .slide {
  width: 230px;
  height: 400px;
  display: flex;
  align-items: center;
  position: absolute;
}

.slider-container .slide img {
  width: 100%;
  border-radius: 10px;
  user-select: none;
  pointer-events: none;
}

.testimonials {
  transition: 0.4s ease;
}

.pos_1 {
  z-index: 5;
  transform: scale(1.1);
}

.pos_2 {
  z-index: 4;
  filter: blur(4px);
  scale: 0.9;
  transform: translate(286px, -10px);
}

.pos_9 {
  z-index: 4;
  filter: blur(4px);
  scale: 0.9;
  transform: translate(-286px, -10px);
}

.pos_3 {
  z-index: 3;
  filter: blur(8px);
  scale: 0.7;
  transform: translate(673px, -30px);
}

.pos_8 {
  z-index: 3;
  filter: blur(8px);
  scale: 0.7;
  transform: translate(-673px, -30px);
}

.pos_4 {
  z-index: 2;
  filter: blur(11px);
  scale: 0.6;
  transform: translate(630px, -90px);
}

.pos_7 {
  z-index: 2;
  filter: blur(11px);
  scale: 0.6;
  transform: translate(-630px, -90px);
}

.pos_5 {
  z-index: 1;
  filter: blur(14px);
  scale: 0.5;
  transform: translate(384px, -164px);
}

.pos_6 {
  z-index: 1;
  filter: blur(14px);
  scale: 0.5;
  transform: translate(-384px, -164px);
}

/* music page */
.music-search-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  margin: 80px auto 30px auto;
  gap: 20px;
  backdrop-filter: blur(10px);
  padding: 20px;
  background-color: transparent;
  width: 38%;
  border-radius: 20px;
}

.music-heading {
  margin: 0px;
  font-size: 1.5rem;
  color: #facc15;
}

.search-box {
  display: flex;
  justify-content: center;
  padding: 0px;
  width: 467px;
}

.search-box input {
  width: 100%;
  padding: 15px;
  font-size: 16px;
  border-radius: 8px;
  border: none;
}

#searchInput:focus {
  outline: 1px solid #00ffff;
}

.music-list {
  max-width: 100%;
  margin: 0px 56px 0 50px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.music-item {
  width: 300px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 25px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.music-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.music-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 95%;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffd700;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.music-meta {
  font-size: 13px;
  color: #ccc;
  margin-bottom: 15px;
}

.music-item audio {
  width: 100%;
  height: 40px;
  margin-bottom: 15px;
  outline: none;
  border-radius: 8px;
}

.lyrics {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 10px;
  white-space: nowrap;
  color: #dcdcdc;
  font-size: 14px;
  max-height: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0px auto 20px auto;
}

.lyrics-btn-download {
  width: 50%;
  display: inline;
  margin: 10px 10px 0px 0px;
  padding: 8px 12px;
  background: #27ae60;
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
}

.btn-more {
  width: 50%;
  text-decoration: none;
  color: #000;
  background-color: #f9c74f;
  font-size: 14px;
  padding: 7px 10px;
  border-radius: 10px;
}

.player {
  background: #1f2937;
  padding: 15px 10px 20px 10px;
  border-radius: 0px 0px 50px 50px;
  text-align: center;
  font-family: Tahoma;
  color: #fff;
  position: sticky;
  top: 79px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 15px;
  width: 80%;
  justify-content: space-around;
  margin: 0 auto;
}

.player .title {
  font-size: 16px;
}

.player .controls button {
  background: #00ffff;
  color: #000;
  border: none;
  padding: 8px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
}

.player audio {
  width: 100%;
  max-width: 400px;
  margin-bottom: 0px;
}

.controls {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.footer .nav-links {
  margin: 20px 0;
}

.footer .nav-links a {
  color: #ddd;
  margin: 0 15px;
  text-decoration: none;
  font-size: 15px;
  transition: 0.3s;
}

.footer .nav-links a:hover {
  color: #f9c74f;
}

.footer .social-icons {
  margin: 20px 0;
}

.footer .social-icons a {
  color: #f0f0f0;
  margin: 0 15px 0 0;
  font-size: 20px;
  transition: 0.3s ease;
}

.footer .social-icons a:hover {
  color: #f9c74f;
  transform: scale(1.2);
}

.footer {
  width: 100%;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #e0e0e0;
  font-family: "Vazirmatn", sans-serif;
  padding: 40px 60px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  box-shadow: 0 -6px 40px rgba(0, 0, 0, 0.3);
  margin-top: 100px;
}

.footer .column {
  flex: 1 1 220px;
  margin: 10px;
}

.footer .logo {
  font-size: 26px;
  font-weight: bold;
  color: #00ffff;
  margin-bottom: 20px;
}

.footer .nav-links a,
.footer .social-icons a {
  display: inline-block;
  color: #ccc;
  margin-bottom: 8px;
  text-decoration: none;
  font-size: 15px;
  transition: 0.3s;
}

.footer .nav-links a:hover,
.footer .social-icons a:hover {
  color: #00ffff;
}

.footer .copyright {
  width: 100%;
  text-align: center;
  font-size: 13px;
  color: #777;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
}

/* navigation */

.next-btn-te {
  z-index: 6;
  position: absolute;
  bottom: 10px;
  right: 46%;
  color: #000;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 50%;
  font-size: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.prev-btn-te {
  z-index: 6;
  position: absolute;
  bottom: 10px;
  left: 46%;
  color: #000;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 50%;
  font-size: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

/* صفحه موزیک */

/* بخش اصلی صفحه */
main.track-page {
  max-width: 700px;
  background: #fff;
  margin: 2rem auto 4rem auto;
  padding: 2rem 2.5rem;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* عنوان آهنگ */
.track-music-header {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #121212;
  text-align: center;
  border-bottom: 2px solid #f9c74f;
  padding-bottom: 10px;
}

/* پلیر صوتی */
.player-single {
  text-align: center;
  margin: 1.5rem;
}

.track-page-audio {
  width: 90%;
  border-radius: 50px;
}

.btn-download {
  display: inline-block;
  margin-top: 10px;
  background-color: #f9c74f;
  color: #121212;
  padding: 15px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-download:hover {
  background-color: #ffc53d;
}

/* بخش ویدیو */
.video-box {
  margin: 2rem 0;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background: #000;
  padding: 1rem;
  text-align: center;
}

.video-box h2 {
  color: #f9c74f;
  margin-bottom: 1rem;
  font-weight: 700;
}

.video-embed iframe,
.video-embed video {
  width: 100%;
  max-height: 400px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* متا دیتا */
.meta-box {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 600;
}

/* دکمه‌های اشتراک گذاری */
.share-buttons {
  text-align: center;
  margin-bottom: 2rem;
}

.share-buttons p {
  font-weight: 700;
  margin-bottom: 10px;
  color: #121212;
}

.share-buttons a {
  margin: 0 12px;
  text-decoration: none;
  font-size: 1.3rem;
  color: #444;
  transition: color 0.3s ease;
  display: inline-block;
}

.share-buttons a:hover {
  color: #f9c74f;
}

/* متن آهنگ */
.lyrics-box {
  display: flex;
  background: #fff7d6;
  border: 1px solid #f9c74f;
  padding: 1.5rem;
  border-radius: 12px;
  font-size: 1rem;
  white-space: pre-wrap;
  line-height: 1.5;
  color: #444;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.lyrics-box pre {
  text-align: justify;
  white-space: initial;
  line-height: 2rem;
}

/* صفحه گالری تصاویر */
.image-gallery-body {
  margin: 0;
  padding: 0;
  font-family: "Tahoma", sans-serif;
  background: linear-gradient(135deg, #071029, #10243a);
  color: #fff;
  height: 100%;
  -webkit-font-smoothing: antialiased;
  user-select: none;
}

.image-gallery-page-h1 {
  margin: 50px auto 0 auto;
  font-size: 30px;
  letter-spacing: 0.6px;
  color: #eafcff;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.6);
  width: 90%;
}

hr {
  width: 85%;
  border: 1px solid #00ffff;
  mask: linear-gradient(to right, transparent, #000 40% 60%, transparent);
}

.sama-image-gallery-box {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 1100;
  flex-wrap: wrap;
  gap: 90px 30px;
  padding: 0;
}

.image-gallery-card {
  border-radius: 20px;
  width: 20%;
  height: 250px;
  padding: 20px;
  background-color: #ffffffa2;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: 0.4s;
  animation: floatCard 1s ease-in-out;
  border: 1px solid #fff;
}

.image-gallery-card:hover {
  rotate: 3deg;
}

.sama-image-gallery-box img {
  display: block;
  width: 100%;
  max-height: 304px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
  transition: 0.3s ease;
}

.sama-image-gallery-box img:hover {
  scale: 1.05;
  rotate: -3deg;
}

/* video manage page */

.video-manage-page {
  background-image: linear-gradient(to left, #000 20%, #00ffff);
}

.form-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
}

.form-container form {
  width: 400px;
  display: flex;
  flex-direction: column;
  z-index: 999999999999;
  background: #ffffff46;
  backdrop-filter: blur(60px);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border: 1px solid #fff;
  gap: 10px;
}

.form-container form input {
  padding: 0.5rem;
  margin: 0.5rem 0;
  width: 100%;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.form-container form input:focus {
  transition: .4s ease;
  outline: none;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
}

.form-container form button {
  padding: 0.6rem 1.5rem;
  background: #ffc235;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.form-container form h2 {
  margin: 0 0 20px 0;
  padding: 0;
}

.error {
  color: red;
  margin-bottom: 1rem;
}

.particles-js-canvas-el {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 0;
  inset: 0;
}

/* video page style */
.video-page-h2 {
  font-size: 2.5rem;
  margin-bottom: 80px;
}

/* ویدیوها */
.video-grid {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 80px 25px;
}

.video-page-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  background-color: #0f2027;
  position: relative;
  width: 350px;
  border-radius: 20px;
  box-shadow: 0 0 40px #1c1c1c;
  backdrop-filter: blur(30px);
}

.video-page-box {
  font-size: 14px;
}

.video-page-box video {
  border-radius: 20px;
  border: 1px solid #fff;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  margin-top: -50px;
  background-color: #ffffff03;
  backdrop-filter: blur(50px);
}

/* دکمه‌ها */
.news-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.news-buttons a {
  background: #ffc641;
  color: #000;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.news-buttons a:hover {
  background: #f9c74f;
}

.news-section {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.video-section {
  padding: 20px;
  max-width: 100%;
  margin: auto;
}


/* videos.php page */
.video-page-h1 {
  text-align: center;
  color: #f9c74f;
  margin-top: 80px;
  margin-bottom: 30px;
  font-weight: 800;
  font-size: 2.4rem;
  text-shadow: 0 0 3px #b8921a;
}

.video-gallery {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 40px auto;
}

.video-item {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 15px 20px 25px 20px;
  text-align: center;
  transition: box-shadow 0.3s ease;
  width: 350px;
}

.video-item:hover {
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.video-title {
  font-weight: 700;
  margin-bottom: 15px;
  color: #121212;
  font-size: 1.25rem;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  line-height: 1.2;
}

.video-embed iframe,
.video-embed video {
  width: 100%;
  max-height: 230px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}


/* upload page style */

.upload-h1 {
  color: #fff;
  margin: 50px auto 20px auto;
}

/* فرم آپلود */
.upload-form {
  max-width: 700px;
  background: #ffffff;
  margin: 0 auto 40px auto;
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
}

/* برچسب‌ها */
.upload-form label {
  display: block;
  font-weight: 600;
  font-size: 1.1rem;
  color: #34495e;
  margin-bottom: 10px;
  user-select: none;
}

/* ورودی‌ها و textarea */
.upload-form input[type="text"],
textarea,
input[type="file"] {
  width: 100%;
  padding: 14px 18px;
  border: 1.8px solid #bdc3c7;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  resize: vertical;
  color: #2c3e50;
  margin-bottom: 22px;
}

.upload-form input[type="text"]:focus,
textarea:focus,
input[type="file"]:focus {
  border-color: #27ae60;
  box-shadow: 0 0 8px #27ae6050;
  outline: none;
}

/* دکمه */
.upload-form button {
  background-color: #27ae60;
  color: white;
  border: none;
  padding: 14px 30px;
  font-size: 1.1rem;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
  width: 100%;
  user-select: none;
}

.upload-form button:hover {
  background-color: #219150;
}

/* پیام‌ها */
.message {
  max-width: 700px;
  margin: 15px auto 40px auto;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  word-break: break-word;
  padding: 15px 20px;
  border-radius: 10px;
}

.message.error {
  background-color: #fcebea;
  color: #e74c3c;
  border: 1.5px solid #e74c3c;
}

.message.success {
  background-color: #e8f6e8;
  color: #27ae60;
  border: 1.5px solid #27ae60;
}

/* جدول */
/* =========================
   🎶 TABLE STYLING
   ========================= */

/* هدر جدول */
thead tr {
  background: linear-gradient(135deg, #27ae60, #219150);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 14px;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

thead tr th {
  flex: 1;
  text-align: center;
  padding: 12px;
  border: none;
}

/* ردیف‌های جدول */
tbody tr {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
  padding: 14px;
  margin: 0 0 10px 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* افکت هاور */
tbody tr:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  background: #fdfdfd;
}

/* ستون‌های عمومی */
tbody tr td {
  flex: 1;
  text-align: center;
  color: #333;
  padding: 10px;
  border: none;
  font-size: 0.95rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ستون متن آهنگ */
td.upload-lyrics {
  flex: 2;
  font-size: 0.95rem;
  line-height: 1.6rem;
  text-align: justify;
  color: #111;
  padding: 12px;
  border-radius: 12px;
  background: #f9f9f9;
  border: 1px solid #e6e6e6;
  overflow-y: auto;
  max-height: 150px;
  scrollbar-width: thin;
  scrollbar-color: #27ae60 #e9e9e9;
}

/* اسکرول بار شیک برای متن */
td.upload-lyrics::-webkit-scrollbar {
  width: 6px;
}

td.upload-lyrics::-webkit-scrollbar-track {
  background: #eee;
  border-radius: 10px;
}

td.upload-lyrics::-webkit-scrollbar-thumb {
  background: #27ae60;
  border-radius: 10px;
}

/* ستون پلیر */
td.audio-cell {
  flex: 1.5;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* پلیر صوتی */
.audio-cell audio {
  width: 100%;
  max-width: 300px;
  height: 45px;
  border-radius: 30px;
  background-color: #f1f1f1;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
  outline: none;
}



/* لینک‌های عملیات */
a.button-link {
  display: inline-block;
  background-color: #27ae60;
  color: white;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 2px 5px;
  text-decoration: none;
  user-select: none;
  transition: background-color 0.3s ease;
}

a.button-link:hover {
  background-color: #219150;
}

a.button-link.delete {
  background-color: #e74c3c;
}

a.button-link.delete:hover {
  background-color: #c0392b;
}

/* فرم ویرایش */
.edit-form {
  max-width: 700px;
  margin: 30px auto 40px auto;
  background: linear-gradient(to right, #0f2027 #1f2937);
  border: 1.5px solid #ffeeba;
  padding: 25px 30px;
  border-radius: 12px;
  box-sizing: border-box;
}

.edit-form textarea {
  margin-top: 10px;
  height: 150px;
}

.edit-form .input-upload {
  margin-top: 10px;
}

.edit-form label {
  margin-bottom: -10px;
}

.edit-form h2 {
  margin-top: 10px;
  margin-bottom: 20px;
  font-weight: 700;
  color: #fff;
  font-size: 1.4rem;
}

.edit-form a {
  font-size: 0.9rem;
  color: #fff;
  text-decoration: underline;
  margin-right: 15px;
  word-break: break-word;
}

a.button-form {
  padding: 15px 25px;
  border: none;
  background-color: #ffc235;
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
}

.btn-submit {
  color: #fff;
  padding: 15px 25px;
  border: none;
  background-color: #2b5f1b;
  border-radius: 20px;
  text-decoration: none;
}

.form-song-name {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.form-song-name input {
  padding: 10px 15px;
  border: 1px solid #eee;
  border-radius: 20px;
}

.related-tracks-wrapper {
  all: revert;
  /* همه استایل‌ها به حالت مرورگر برگرده */
  display: block;
  /* مطمئن بشه block مونده */
  margin: 2rem 0;
  padding: 1rem;
}

.related-tracks h2 {
  margin-bottom: 1rem;
  color: black;
}

.track-links {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.track-card {
  display: block;
  padding: 1rem;
  background: linear-gradient(to left, #ff8800, #ffd900);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  text-decoration: none;
  color: #222;
  transition: transform 0.2s ease;
  width: 99%;
  text-overflow: ellipsis;
  text-wrap: nowrap;
  overflow: hidden;
}

.track-card:hover {
  transform: translateY(-4px);
}


/*  ریسپانسیو  */
@media (max-width: 768px) {

  main.track-page {
    margin: 2rem 1rem;
    padding: 1.2rem 1.5rem;
  }

  .music-header {
    font-size: 1.6rem;
  }

  .video-embed iframe,
  .video-embed video {
    max-height: 250px;
  }

  .cover-container img {
    max-width: 300px;
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: inline-block;
  }

  thead {
    display: none;
    /* هدر در موبایل حذف میشه */
  }

  tbody tr {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    border-radius: 14px;
    margin-bottom: 16px;
  }

  tbody tr td {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
    padding: 8px 0;
  }

  td.upload-lyrics {
    max-height: none;
    width: 100%;
  }

  nav {
    display: flex;
    flex-direction: column;
    background-color: #171f2a;
    position: fixed;
    top: 56px;
    right: -100%;
    width: 85%;
    padding: 40px 20px;
    height: 100vh;
    transition: 0.5s ease;
  }

  .bio {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
  }

  .bio img {
    width: 77%;
    height: 77%;
  }

  .bio .img {
    width: 450px;
    height: 450px;
  }

  .headingone {
    margin-top: 20px;
  }

  .bio h2 {
    display: none;
  }

  .bio .biotext {
    margin-top: 15px;
    width: initial;
    line-height: 2rem;
  }

  .container {
    flex-wrap: wrap;
    padding: 0px;
    margin: 40px 25px;
  }

  .card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 15px 0px;
  }

  nav.show {
    right: 0px;
    transition: 0.4s ease;
  }

  .menu-icon {
    display: block;
    color: #fff;
  }

  .header {
    padding: 10px 25px;
  }

  .buttons {
    flex-direction: column;
    width: 100%;
  }

  .buttons * {
    display: inline-block;
    width: 100%;
  }

  .gallery {
    margin: 60px 25px;
    padding: 0px;
  }

  .gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .gallery-grid img {
    width: 100%;
  }

  .more-btn {
    margin-top: 0;
  }

  .slider-container {
    overflow: hidden;
    padding: 40px 0px;
  }

  .headingtwo {
    margin-top: 40px;
  }

  .next-btn-te {
    bottom: 20px;
    right: 36%;
  }

  .prev-btn-te {
    bottom: 20px;
    left: 36%;
  }

  .player {
    position: fixed;
    bottom: 5px;
    top: initial;
    margin: 0px auto;
    background-color: #1f293794;
    backdrop-filter: blur(10px);
    width: 95%;
    right: 5px;
    left: 5px;
    z-index: 9999;
    /* مطمئن شو باکس دیده میشه */
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    border: 1px solid #fff;
    padding: 25px 0;
  }

  .player.active {
    transition: 0.7s ease;
    bottom: -100%;
  }

  .player .title {
    width: 70%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .player audio {
    width: 100%;
    max-width: 265px;
    margin-bottom: 0px;
    height: 45px;
  }

  .controls {
    flex-direction: row;
    gap: 10px;
  }

  .player .controls button {
    padding: 8px 48px;
    border-radius: 34px;
  }

  .social-icons a {
    margin-right: 0px !important;
  }

  .biohead {
    margin-top: 30px;
    font-size: 2rem;
  }

  .bio-image-container {
    margin: 65px auto 0 auto;
    width: initial;
  }

  .bio-img {
    width: 120px;
    margin-bottom: -65px;
    left: 45px;
  }

  .biobox {
    margin: 0px 25px;
    padding: 25px;
  }

  .music-search-container {
    width: 90%;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 15px 10px 45px 10px;
    border: none;
    background: transparent;
    gap: 25px;
    margin-top: 40px;
  }

  .search-box input {
    padding: 10px 15px;
    position: absolute;
    width: 75%;
    font-size: 14px;
  }

  .music-heading {
    width: 100%;
    font-size: 1.3rem;
    display: block;
  }

  .music-list {
    justify-content: center;
    margin: 0px;
  }

  .music-item {
    width: 330px;
  }

  .unique {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    border-radius: 0px;
    gap: 5px;
    padding: 10px 15px;
  }

  .contactme {
    display: flex;
    flex-grow: 1;
    justify-content: flex-end;
  }

  .player-footer {
    padding-bottom: 195px;
  }

  .player-page-logo {
    font-size: 1.3rem;
  }

  .bi-list {
    display: flex;
  }

  .track-music-header {
    font-size: 1.3rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding-bottom: 15px;
  }

  .meta-box {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 5px;
    font-weight: 700;
  }

  .meta-box span {
    text-align: right;
  }

  .share-buttons a {
    font-size: 1rem;
  }

  .track-footer {
    margin-top: 0px;
  }

  .track-page-audio {
    width: 100%;
    box-shadow: 0px 0px 40px rgb(0 0 0 / 24%);
  }

  .btn-download {
    width: 100%;
  }

  .player-single {
    margin: 2rem auto 1rem auto;
  }

  .sama-image-gallery-box .card:hover img {
    transform: none;
  }

  .image-gallery-page-h1 {
    margin-bottom: -20px;
  }

  .sama-image-gallery-box {
    margin: 50px 0 150px 0;
    gap: 100px;
  }

  .image-gallery-card {
    width: 85%;
    height: 300px;
  }

  .sama-image-gallery-box img {
    max-height: 350px;
  }

  .video-gallery {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .video-embed iframe,
  .video-embed video {
    max-height: 180px;
  }

  .header {
    padding: 12px 15px;
  }

  .header .logo {
    font-size: 1.5rem;
  }

  #navMenu a {
    margin-left: 12px;
    font-size: 0.95rem;
  }

  .upload-h1 {
    font-size: 1.6rem;
    margin-bottom: 20px;
  }

  .upload-form,
  .edit-form {
    padding: 20px 20px;
    border: none;
  }

  .upload-form input[type="text"],
  textarea,
  input[type="file"],
  button,
  a.button-link {
    font-size: 1rem;
    padding: 12px 15px;
  }

  .upload-form button {
    width: 100%;
  }

  table {
    font-size: 0.85rem;
    margin-bottom: 30px;
    max-width: 100%;
    overflow-x: auto;
    display: block;
  }

  thead {
    display: none;

  }

  tbody tr {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
  }

  td.audio-cell {
    width: 100%;
    padding: 10px 5px;
  }

  td.lyrics {
    max-width: 100%;
    font-size: 0.9rem;
  }

  audio {
    max-width: 100%;
    height: 35px;
  }

  a.button-link {
    font-size: 0.95rem;
    padding: 8px 14px;
  }

  .message {
    font-size: 1rem;
    padding: 12px 15px;
  }

  .upload-lyrics {
    max-height: 170px;
    width: 90%;
    margin: 10px auto;
  }

  tbody {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .news-buttons {
    justify-content: center;
  }

  .en-page-img {
    left: initial;
    right: 45px;
  }


}