body {
  font-family: "Yekan", sans-serif;
  background: #121212;
  color: #eee;
  margin: 0;
  padding: 0;
  text-align: center;
  height: 100%;
}
.hed {
  font-family: "Yrkan", sans-serif;
  font-size: 50px;
}
@font-face {
	font-family:'Yekan';
	src:	url('../font/Yekan-Font/Yekan.eot'); /* IE9 Compat Modes */
	src:	url('../font/Yekan-Font/Yekan.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
			url('../font/Yekan-Font/Yekan.woff2') format('woff2'), /* Modern Browsers */
			url('../font/Yekan-Font/Yekan.woff') format('woff'), /* Modern Browsers */
			url('../font/Yekan-Font/Yekan.otf') format('opentype'), /* Open Type Font */	
			url('../font/Yekan-Font/Yekan.ttf') format('truetype'); /* Safari, Android, iOS */
	font-weight: normal;
	font-style: normal;
	text-rendering: optimizeLegibility;
	font-display: auto;
}

.wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}
/* هدر */
header {
  background: #1a1a1a;
  color: #fff;
  padding: 15px 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,.6);
  position: relative;
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header h1 {
  margin: 0;
  font-size: 22px;
  font-weight: bold;
  color: #fff;
}

/* منو */
.menu {
  display: flex;
  gap: 20px;
  align-items: center;
}

.menu a {
  color: #eee;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.menu a:hover {
  color: #4a90e2;
}

/* آیکن ادمین */
.admin-icon i {
  font-size: 18px;
  color: #eee;
  transition: 0.3s;
}
.admin-icon:hover i {
  color: #e67e22;
}

/* بخش جستجو و فیلتر */
.search-filter {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-filter input,
.search-filter select {
  padding: 8px;
  border: none;
  border-radius: 5px;
  outline: none;
  background: #2a2a2a;
  color: #eee;
}

.search-filter button {
  padding: 8px 12px;
  border: none;
  border-radius: 5px;
  background: #4a90e2;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}

.search-filter button:hover {
  background: #357ab8;
}

/* دکمه همبرگری */
.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #fff;
}

/* ریسپانسیو */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .menu {
    display: none;
    flex-direction: column;
    background: #1a1a1a;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 20px;
    gap: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,.6);
  }

  .menu.show {
    display: flex;
    animation: slideDown 0.3s ease;
  }

  .search-filter {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .search-filter input,
  .search-filter select,
  .search-filter button {
    width: 100%;
  }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* کارت‌های کامپوننت */
.components {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 40px auto;
  gap: 20px;
}

.card {
  background: #1f1f1f;
  border-radius: 10px;
  width: 280px;
  height: 400px;              /* ارتفاع ثابت کارت */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,.6);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

/* پیش‌نمایش وسط کارت */
.card .live-preview {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 10px 0;
  overflow: hidden;
   user-select: none;
}

/* دکمه پایین کارت */
.card .btn,
.card a,
.btn-card {
  margin-top: auto;
  padding: 8px 15px;
  background: #4a90e2;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}

.card .btn:hover,
.card a:hover,
.btn-card:hover {
  background: #357ab8;
}

/* دکمه اکسپلور */
.explore-btn {
  display: inline-block;
  margin: 30px auto;
  padding: 12px 25px;
  background: #e67e22;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: 0.3s;
}

.explore-btn:hover {
  background: #d35400;
}

/* فوتر */
footer {
  background: #1f1f1f;
  padding: 20px;
  margin-top: 40px;
  font-size: 14px;
  color: #aaa;
}

h1, h3, h4 , h5, h6, p {
 font-family: "Yrkan", sans-serif;
}
.hed {
  font-size: 50px;
  margin-bottom: 60px;
}