@font-face {
  font-family: 'Ordibehesht';
  src: url('../fonts/Ordibehesht.TTF') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SahelBold';
  src: url('../fonts/Sahel-Bold-FD.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}


body {
  background: url('../images/bgweb1.png') no-repeat center center fixed;
  background-size: cover;
  font-family: 'Ordibehesht', "Tahoma", sans-serif;
  direction: rtl;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden !important;
}
.fancy-navbar {
  position: fixed;
  top: 20px;
  right: 0; left: 0;
  margin: 0 auto;
  width: 97vw;
  max-width: 1050px;
  min-height: 50px;
  z-index: 999;
  backdrop-filter: blur(10px) saturate(130%) brightness(1.18);
  background: rgba(35, 29, 78, 0.72);
  border-radius: 20px;
  box-shadow: 0 8px 28px 0 #11043022, 0 1.5px 24px #1d155966;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.3em 1em 0.3em .8em;
  border: 1.2px solid #edcb44a3;
  transition: background .32s, box-shadow .22s;
}
.fancy-navbar:hover, .fancy-navbar:focus-within { background: rgba(30,22,65,0.95);}
.navbar-brand {
  color: #edcb44 !important;
  font-weight: bold;
  font-size: 1.50rem;
  letter-spacing: .04em;
  text-shadow: 0 1px 10px #2e186a40;
  display: flex;
  align-items: center;
  gap:7px;
  padding: 0.39em .84em;
  border-radius: 13px;
  background: rgba(255,255,255,0.11);
  margin-right: .3em;
  transition: background .2s;
}
.fancy-navbar ul {
  display: flex;
  gap: 1em;
  list-style: none;
  margin: 0;
  padding: 0;
}
.fancy-navbar li {display: flex;}
.fancy-navbar .nav-link {
  color: #ece6ff;
  font-weight: 500;
  padding: .5em 1em;
  border-radius: 1.3em;
  transition: background .21s, color .21s;
  text-decoration: none;
  position: relative;
}
.fancy-navbar .nav-link.active,
.fancy-navbar .nav-link:hover, 
.fancy-navbar .nav-link:focus {
  color: #312050;
  background: linear-gradient(92deg,#f5e696b7 51%, #edcb44e3 98%);
  box-shadow: 0 3px 12px #edcb4450;
  font-weight: bold;
}
@media (max-width: 900px) {
  .fancy-navbar { max-width: 100vw; font-size: .98rem; padding-right: 0.5em; }
  .fancy-navbar ul { gap: .79em; }
}
@media (max-width: 600px) {
  .fancy-navbar {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    min-height: 44px;
    padding: 0.5em 0.3em;
    border-radius: 14px;
    top: 8px;
    width: 98vw;
  }
  .navbar-brand {
    font-size: 30rem;
    border-radius: 8px;
    padding: .23em .56em;
    margin-right: 0;
    margin-bottom: .2em;
    justify-content: center;
  }
  .fancy-navbar ul {
    gap: 0.3em;
    flex-wrap: wrap;
    justify-content: center;
  }
  .fancy-navbar .nav-link {
    padding: .33em .54em;
    font-size: .97rem;
  }
}

.choose-container {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 2.1rem;
  margin: 120px auto 0 auto;
  flex-wrap: wrap;
  position: relative;
  transition: gap .2s;
  z-index: 6;
}
.card-block { display: flex; flex-direction: column; align-items: center; min-width: 140px;}
.card-select {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 5px 21px 0 #22005516;
  cursor: pointer;
  background: #fff;
  width: 252px;
  height: 286px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: width .2s, height .2s;
}
.media-card-img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; border-radius: 22px; user-select: none; pointer-events: none;
}
.card-desc {
  color: #33077a; background: #edcb44e3;
  border-radius: 13px;
  margin-top: -18px;
  font-size: 1.02rem; font-weight: bold;
  box-shadow: 0 4px 14px #edcb4446;
  padding: 0.40em 0.7em; width: 86%; text-align: center;
  z-index: 12; position: relative; opacity: 0;
  font-size: 1.3rem;
}
.card-block.show .card-desc {
  animation: fadeInDesc .8s .18s both cubic-bezier(.47,1.39,.88,.94);
  opacity:1;
}
@keyframes fadeInDesc { from {opacity: 0; transform: translateY(14px);} to { opacity: 1; transform: translateY(0);}}
.card-select.show { opacity: 1; }
.card-select.music.show { animation: slideInFromLeft .9s cubic-bezier(.47,1.39,.88,.94) both;}
.card-select.video.show { animation: slideInFromRight .9s cubic-bezier(.47,1.39,.88,.94) both;}
.card-select:hover, .card-select:focus {
  box-shadow: 0 10px 26px 0 #edcb4451; transform: scale(1.04) translateY(-6px); z-index: 4;
}
@keyframes slideInFromLeft { from { opacity:0; transform:translateX(-220px) scale(.89);} to   { opacity:1; transform:translateX(0);} }
@keyframes slideInFromRight { from {opacity:0; transform:translateX(220px) scale(.89);} to  { opacity:1; transform:translateX(0);}}
/* ——— سایزهای کوچکتر ——— */
@media (max-width:1000px) {
  .card-select { width: 36vw; height: 38vw; max-width: 200px; max-height: 190px; min-width: 110px; min-height: 104px; }
  .choose-container { gap: 1.2rem; margin-top: 75px; }
}
@media (max-width:700px) {
  .choose-container { flex-direction: column; gap: 1rem; align-items: center; margin-top: 19vw; }
  .card-select { width: 92vw; max-width: 99vw; min-width: 80px; height: 31vw; max-height: 110px; min-height: 61px; }
  .card-desc { font-size: 0.95rem; margin-top: -8px; padding: .26em .3em;}
  .card-block { min-width: 70px; }
}
@media (max-width:450px) { 
  .card-select { width: 97vw; height: 20vw; min-height: 45px; }
  .choose-container {margin-top: 17vw;}
}
@media (max-width:420px) {
  .card-select { min-width: 66vw; min-height: 41px; height: 13.8vw; }
  .card-desc { font-size: .84rem;}
}

/* معرفی */
.intro-section {
  background: rgba(255,255,255,0.13);
  margin: 1.8rem auto 2rem auto;
  padding: 1.1rem .9rem 1rem .9rem;
  border-radius: 18px;
  max-width: 710px;
  box-shadow: 0 3px 21px #0002;
  text-align: center; color: #fff;
  z-index: 3; position: relative;
  
  
}
.intro-section h1 {
  font-size: 2.1rem; color: #edcb44; margin-bottom: .7rem; font-weight: bold; letter-spacing: .01em;
}
.intro-section p {
  font-size: 1.30rem; color: #f5f5ff; margin-bottom: .2rem; line-height: 2.05;
}
@media (max-width: 600px) {
  .intro-section { font-size: 1.2rem; padding: 0.7rem .4rem 0.65rem .4rem; }
  .intro-section h1 { font-size: 1.2rem;}
  .intro-section p { font-size: 1.2rem;}
}

/* فوتر */
footer.footer-site {
  margin-top: 2.1rem;
  padding: 1rem 0 0.5rem 0;
  background: rgba(20,20,70,0.14);
  text-align: center;
  color: #EEE;
  font-size: 1.35rem;
}
.footer-social {margin-bottom: .5rem;}
.footer-social a {
  display: inline-block; margin: 0 .22em; color: #edcb44;
  font-size: 1.14em; transition: color .17s;
}

.myket-btn, .direct-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: none;
  border-radius: 14px;
  font-weight: bold;
  font-size: 1.01rem;
  padding: .36em 1em .36em 1em;
  margin: 0 0.19em;
  text-decoration: none;
  transition: background .18s, transform .18s, box-shadow .18s;
  position: relative;
  overflow: hidden;
  direction: rtl;
}
.myket-btn {
  background: linear-gradient(91deg,#13addb 55%, #00d595 95%);
  color: #fff;
  box-shadow: 0 3px 16px #07bcbf34;
}
.myket-btn:hover, .myket-btn:focus {
  background: linear-gradient(95deg, #03c8d8 65%, #00e2bc 98%);
  color: #312050;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 5px 20px #00ecc453;
}
.myket-icon {
  width: 31px;
  height: 31px;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 2px 7px #13addb1c;
  margin-left: 5px;
}
.direct-btn {
  background: linear-gradient(91deg,#27bc46 55%, #38ee75 95%);
  color: #fff;
  box-shadow: 0 3px 13px #079f2e26;
}
.direct-btn:hover, .direct-btn:focus {
  background: linear-gradient(99deg, #17e24a 65%, #4fff83 98%);
  color: #252;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 5px 17px #25f17338;
}
.direct-icon {
  width: 27px;
  height: 27px;
  margin-left: 4px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 6px #35ee3720;
}
/* ========== استایل دکمه ورود ========== */
.btn-login-nav {
  background: linear-gradient(90deg,#9c27b0 68%,#fbc02d 100%);
  color: #fff !important;
  font-weight: bold;
  padding: 7px 18px;
  border-radius: 30px;
  box-shadow: 0 1px 6px rgba(144,113,255,0.13);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.38em;
  transition: background 0.2s, color 0.15s;
  border: none;
  font-size: 1em;
  margin-left: 9px;
}
.btn-login-nav:hover {
  background: linear-gradient(90deg,#fbc02d 44%, #9c27b0 110%);
  color: #49248f !important;
}

/* ========== استایل پروفایل کاربر ========== */
.profile-info-nav {
  display: flex;
  align-items: center;
  padding: 3px 12px 3px 10px;
  border-radius: 100px;
  background: #2d174e;
  box-shadow: 0 1px 8px -2px rgba(109,34,171,0.13);
  margin-left: 7px;
  gap: .42em;
  min-width: 108px;
}
.profile-img-nav {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fbc02d;
  background:#fff;
}
.username-text-nav {
  color:#ffc300;
  font-weight: 600;
  font-size:1em;
  padding-left:7px;
  direction: rtl;
}
.btn-logout-nav {
  background: none;
  border: none;
  color: #ff618a;
  font-weight: 700;
  font-size: 1.02em;
  margin-right: 5px;
  margin-top: -3px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
  transition: background 0.13s;
}
.btn-logout-nav:hover {
  background: rgba(255,97,138,0.12);
}



.footer-social a:hover { color:#fff; }