/* ========================================
   The Last Chick - Shop Stage 1
   Brand Colors: Black + Gold
======================================== */

:root {
  --bg-deep: #050505;
  --bg-card: #0d0d0d;
  --bg-elevated: #141414;
  --gold-primary: #f39c12;
  --gold-light: #f1c40f;
  --gold-dark: #d35400;
  --gold-glow: rgba(243, 156, 18, 0.35);
  --text-main: #ffffff;
  --text-muted: #a0a0a0;
  --text-dim: #666666;
  --border-gold: rgba(243, 156, 18, 0.4);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.25s ease;
  --font: 'Vazirmatn', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font);
  line-height: 1.7;
  direction: rtl;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #000;
  box-shadow: 0 0 20px var(--gold-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--gold-glow);
}

.btn-outline {
  background: transparent;
  color: var(--gold-primary);
  border: 1px solid var(--border-gold);
}

.btn-outline:hover {
  background: rgba(243, 156, 18, 0.1);
  border-color: var(--gold-primary);
}

/* ========== Header ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--gold-primary);
  letter-spacing: 1px;
  text-shadow: 0 0 12px var(--gold-glow);
}

.logo-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 3px;
}

.nav {
  display: flex;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--gold-primary);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-btn {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  font-size: 0.8rem;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
}

.lang-btn:hover {
  border-color: var(--border-gold);
  color: var(--gold-primary);
}

.cart-btn {
  position: relative;
  color: var(--text-main);
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.cart-btn:hover {
  color: var(--gold-primary);
}

.cart-count {
  position: absolute;
  top: -8px;
  left: -10px;
  background: var(--gold-primary);
  color: #000;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-main);
  transition: var(--transition);
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: radial-gradient(ellipse at 30% 20%, rgba(243, 156, 18, 0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(211, 84, 0, 0.06) 0%, transparent 40%),
              var(--bg-deep);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, var(--bg-deep));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 4rem 0;
}

.hero-tagline {
  color: var(--gold-primary);
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.hero-title span {
  color: var(--gold-primary);
  text-shadow: 0 0 30px var(--gold-glow);
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ========== Sections ========== */
.section {
  padding: 5rem 0;
}

.section-dark {
  background: var(--bg-card);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-badge {
  display: inline-block;
  color: var(--gold-primary);
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

.section-footer {
  text-align: center;
  margin-top: 3rem;
}

/* ========== Products Grid ========== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--border-gold);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--gold-glow);
  transform: translateY(-4px);
}

.product-image {
  aspect-ratio: 1;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

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

.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold-primary);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.product-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category {
  font-size: 0.75rem;
  color: var(--gold-primary);
  margin-bottom: 0.35rem;
  letter-spacing: 0.5px;
}

.product-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.product-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.product-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
}

.product-reward {
  font-size: 0.8rem;
  color: var(--gold-primary);
  background: rgba(243, 156, 18, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.product-actions {
  display: flex;
  gap: 0.5rem;
}

.product-actions .btn {
  flex: 1;
  padding: 0.7rem;
  font-size: 0.85rem;
}

.product-skeleton {
  background: var(--bg-card);
  border-radius: var(--radius);
  height: 380px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.7; }
}

/* ========== Kindness Section ========== */
.kindness-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.kindness-content p {
  color: var(--text-muted);
  margin: 1rem 0 1.75rem;
}

.kindness-options {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.kindness-card {
  flex: 1;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  transition: var(--transition);
}

.kindness-card:hover {
  border-color: var(--border-gold);
}

.kindness-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.kindness-card h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.kindness-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.kindness-visual {
  position: relative;
  height: 320px;
  background: radial-gradient(circle at center, rgba(243, 156, 18, 0.15), transparent 70%);
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}

.kindness-glow {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-primary), transparent 70%);
  opacity: 0.4;
  filter: blur(20px);
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.3); opacity: 0.5; }
}

/* ========== Rewards ========== */
.rewards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.reward-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.reward-card:hover {
  border-color: var(--border-gold);
  box-shadow: 0 0 25px var(--gold-glow);
}

.reward-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-primary);
  text-shadow: 0 0 15px var(--gold-glow);
}

.reward-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.reward-card p {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.rewards-note {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 0.95rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

/* ========== About ========== */
.about-content {
  max-width: 650px;
  text-align: center;
  margin: 0 auto;
}

.about-content p {
  color: var(--text-muted);
  margin: 1.25rem 0 2rem;
  font-size: 1.05rem;
}

/* ========== Footer ========== */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

.footer-links h4 {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: var(--gold-primary);
}

.footer-links a {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-bottom a {
  color: var(--gold-primary);
}

/* ========== Responsive ========== */
@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .kindness-grid {
    grid-template-columns: 1fr;
  }

  .kindness-visual {
    height: 200px;
    order: -1;
  }

  .rewards-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .hero-content {
    padding: 3rem 0;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .kindness-options {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.5rem 0;
  }
}

/* Mobile Nav Open State */
.nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 70px;
  right: 0;
  left: 0;
  background: var(--bg-card);
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  gap: 1rem;
}
