/* Iranian Yekan Font */
@font-face {
  font-family: 'Yekan';
  src: url('Yekan.ttf') format('truetype');
  font-weight: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ======== مهم: اعمال فونت به همه چیز از جمله عنوان‌ها ======== */
body, h1, h2, h3, h4, p, a, button, input, textarea, .btn, .nav-links a, .stat h3, .product-card h3, .news-card h3 {
  font-family: 'Yekan', 'Tahoma', sans-serif !important;
}

body {
  background: #0a0f1e;
  color: #eef5ff;
  line-height: 1.8;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar */
nav {
  background: rgba(10, 15, 30, 0.9);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  overflow: hidden;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-links a {
  color: #eef5ff;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 30px;
  transition: 0.3s;
}

.nav-links a:hover, .nav-links a.active {
  background: rgba(255,215,0,0.2);
  color: #ffd700;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn-primary {
  background: #ffd700;
  color: #0a0f1e;
}

.btn-primary:hover {
  background: #ffed4a;
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: #eef5ff;
  border: 1px solid rgba(255,255,255,0.2);
}

/* Glass effect */
.glass {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 30px;
}

/* Hero */
.hero {
  padding: 60px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.hero-card h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: bold;
}

.gradient {
  background: linear-gradient(90deg, #ffd700, #ff6b6b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 20px;
}

.stat {
  background: rgba(255,255,255,0.05);
  padding: 15px;
  border-radius: 15px;
  text-align: center;
}

.stat h3 {
  color: #ffd700;
  font-size: 1.8rem;
}

/* Products & News Grid */
.products-preview, .news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.product-card, .news-card {
  background: rgba(255,255,255,0.05);
  border-radius: 20px;
  padding: 20px;
  transition: 0.3s;
}

.product-card:hover, .news-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.1);
}

.tag {
  display: inline-block;
  background: rgba(255,215,0,0.2);
  color: #ffd700;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  margin: 5px 5px 0 0;
}

.news-date {
  color: #ffd700;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.news-badge {
  display: inline-block;
  background: rgba(255,215,0,0.2);
  color: #ffd700;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  margin-top: 12px;
}

/* Footer */
.footer-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
}

.copyright {
  text-align: center;
  padding: 20px 0;
  color: rgba(255,255,255,0.5);
}

.text-center {
  text-align: center;
}

.section-title {
  margin-bottom: 30px;
}

.section-title h2 {
  color: #ffd700;
  margin-bottom: 10px;
  font-size: 2rem;
}

/* Music Player */
.music-player {
  background: linear-gradient(135deg, rgba(255,215,0,0.1), rgba(0,0,0,0.3));
  border-radius: 25px;
  padding: 25px;
}

.player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.control-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  font-size: 1.3rem;
  cursor: pointer;
  transition: 0.3s;
}

.control-btn:hover {
  background: #ffd700;
  color: #0a0f1e;
}

.progress-container {
  flex: 1;
  height: 5px;
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
  cursor: pointer;
  position: relative;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #ffd700, #ff6b6b);
  border-radius: 10px;
}

.volume-slider {
  width: 100px;
  height: 4px;
  cursor: pointer;
}

/* Lyrics */
.lyrics-box {
  background: rgba(0,0,0,0.4);
  border-radius: 20px;
  padding: 25px;
  margin-top: 30px;
  border-right: 4px solid #ffd700;
  max-height: 400px;
  overflow-y: auto;
}

.lyrics-box pre {
  font-family: 'Yekan', monospace;
  white-space: pre-wrap;
  font-size: 0.95rem;
  color: #cce5ff;
}

.verse-title {
  color: #ffd700;
  font-weight: bold;
  margin: 15px 0 5px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .footer-box {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .nav-inner {
    flex-direction: column;
  }
}
