/* ═══════════════════════════
   INNER BANNER
═══════════════════════════ */
.inner-banner {
  background: linear-gradient(135deg, #1B3A5C, #2E5678 60%, #4A90A4);
  padding: 34px 36px;
  margin: 24px 32px;
  border-radius: 20px;
  box-shadow: 0 16px 34px rgba(27,58,92,0.22);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 20px;
}

.inner-banner::after {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
}

.inner-banner-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: white;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.inner-banner-text p {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════
   ASOSIY KONTENT
═══════════════════════════ */
.inner-main {
  padding: 0 32px 32px;
}

/* ═══════════════════════════
   FILTER
═══════════════════════════ */
.filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.filter-chip {
  padding: 8px 18px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.filter-chip.active {
  background: linear-gradient(135deg, #1B3A5C, #4A90A4);
  color: white;
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(27,58,92,0.25);
}

/* ═══════════════════════════
   NATIJALAR
═══════════════════════════ */
.results-info {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ═══════════════════════════
   CONTENT GRID
═══════════════════════════ */
.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.content-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.content-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(27,58,92,0.14);
  border-color: transparent;
}

.content-card-img {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 46px;
  position: relative;
}

.content-card:nth-child(3n+1) .content-card-img { background: linear-gradient(135deg, #1B3A5C, #2E5678); }
.content-card:nth-child(3n+2) .content-card-img { background: linear-gradient(135deg, #4A90A4, #6FAEC0); }
.content-card:nth-child(3n)   .content-card-img { background: linear-gradient(135deg, #C4722B, #DB9552); }

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

.content-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.content-tag {
  display: inline-block;
  background: var(--soft-highlight);
  color: var(--accent);
  font-size: 10.5px;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.content-card-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.content-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 6px;
}

.price-tag {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
}

.price-tag.free {
  background: #EFF7EE;
  color: #2D7A3A;
}

.price-tag.paid {
  background: #FDF3E7;
  color: #B45309;
}

/* ═══════════════════════════
   TUGMALAR
═══════════════════════════ */
.download-btn {
  width: 100%;
  padding: 11px;
  border: none;
  border-radius: 10px;
  background: var(--brand-navy);
  color: white;
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  margin-top: 4px;
  box-shadow: 0 6px 14px rgba(27,58,92,0.2);
}

.download-btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(27,58,92,0.28);
}

.download-btn.paid-btn {
  background: #C4722B;
  box-shadow: 0 6px 14px rgba(196,114,43,0.22);
}

.download-btn.paid-btn:hover {
  background: #A65D1F;
  box-shadow: 0 10px 20px rgba(196,114,43,0.3);
}

.fav-btn {
  transition: transform .2s ease;
}

.fav-btn:hover {
  transform: scale(1.15);
}

/* ═══════════════════════════
   RESPONSIVE
═══════════════════════════ */
@media (max-width: 768px) {
  .inner-banner {
    margin: 16px;
    padding: 24px;
  }

  .inner-main {
    padding: 0 16px 24px;
  }

  .content-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
}


/* ═══════════════════════════
   DO'KON — RATING
═══════════════════════════ */
.shop-rating {
  font-size: 13px;
  color: var(--text-muted);
}

.shop-rating span {
  font-size: 12px;
  color: var(--text-muted);
}


/* ═══════════════════════════
   HAQIMIZDA SAHIFASI
═══════════════════════════ */
.about-section {
  margin-bottom: 48px;
}

.about-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 14px;
}

.about-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #1B3A5C, #4A90A4);
}

.about-text {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 700px;
}

/* STATISTIKA */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 48px;
}

.stat-card {
  background: linear-gradient(135deg, #1B3A5C, #2E5678);
  border-radius: 18px;
  padding: 28px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(27,58,92,0.22);
  transition: transform .25s ease, box-shadow .25s ease;
}

.stat-card::after {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 38px rgba(27,58,92,0.3);
}

.stat-card:nth-child(2) {
  background: linear-gradient(135deg, #4A90A4, #6FAEC0);
  box-shadow: 0 14px 30px rgba(74,144,164,0.22);
}

.stat-card:nth-child(3) {
  background: linear-gradient(135deg, #C4722B, #DB9552);
  box-shadow: 0 14px 30px rgba(196,114,43,0.22);
}

.stat-card:nth-child(4) {
  background: linear-gradient(135deg, #1B3A5C, #4A90A4);
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: white;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  margin-top: 8px;
  position: relative;
  z-index: 1;
}

/* QADRIYATLAR */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.value-card {
  background: var(--surface);
  border: none;
  border-radius: 16px;
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 10px 24px rgba(27,58,92,0.07);
  transition: transform .25s ease, box-shadow .25s ease;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(27,58,92,0.12);
}

.value-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 6px;
  box-shadow: 0 8px 16px rgba(27,58,92,0.18);
}

.value-card:nth-child(4n+1) .value-icon { background: linear-gradient(135deg, #1B3A5C, #2E5678); }
.value-card:nth-child(4n+2) .value-icon { background: linear-gradient(135deg, #4A90A4, #6FAEC0); }
.value-card:nth-child(4n+3) .value-icon { background: linear-gradient(135deg, #C4722B, #DB9552); }
.value-card:nth-child(4n)   .value-icon { background: linear-gradient(135deg, #2D7A3A, #4CAF58); }

.value-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--primary);
}

.value-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ALOQA */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.contact-card {
  background: var(--surface);
  border: none;
  border-radius: 16px;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 10px 24px rgba(27,58,92,0.07);
  transition: transform .25s ease, box-shadow .25s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(27,58,92,0.12);
}

.contact-card span {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1B3A5C, #4A90A4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 8px 16px rgba(27,58,92,0.18);
}

.contact-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--primary);
  margin-top: 4px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}



/* ═══════════════════════════
   AKKAUNT SAHIFASI
═══════════════════════════ */
.auth-tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 28px;
}

.auth-tab {
  flex: 1;
  padding: 12px;
  border: none;
  background: none;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
}

.auth-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.auth-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}

.auth-form.hidden {
  display: none;
}

.auth-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.form-group input {
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border 0.2s;
}

.form-group input:focus {
  border-color: var(--accent);
}

.form-remember {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.form-remember a {
  color: var(--accent);
  text-decoration: none;
}

.auth-btn {
  width: 100%;
  padding: 12px;
  background: var(--brand-navy);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.auth-btn:hover {
  background: var(--accent);
}

.auth-switch {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
}

.auth-switch a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}



/* ═══════════════════════════
   SHAXSIY KABINET
═══════════════════════════ */
.kabinet-wrap {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  padding: 24px 0;
}

/* SIDEBAR */
.kabinet-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.profile-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--brand-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
  margin-bottom: 4px;
}

.profile-name {
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
}

.profile-email {
  font-size: 12px;
  color: var(--text-muted);
}

.profile-badge {
  background: var(--soft-highlight);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  margin-top: 4px;
}

.upgrade-btn {
  width: 100%;
  padding: 10px;
  background: linear-gradient(135deg, #B45309, #F59E0B);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  cursor: pointer;
  margin-top: 8px;
  transition: opacity 0.2s;
}

.upgrade-btn:hover {
  opacity: 0.9;
}

.kabinet-menu {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.kabinet-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: all 0.2s;
}

.kabinet-link:last-child {
  border-bottom: none;
}

.kabinet-link:hover {
  background: var(--bg);
  color: var(--primary);
}

.kabinet-link.active {
  color: var(--primary);
  background: var(--soft-highlight);
  font-weight: 500;
}

.kabinet-link.logout {
  color: #DC2626;
}

.kabinet-link.logout:hover {
  background: #FEF2F2;
}

/* KONTENT */
.kabinet-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.kabinet-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.kab-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.kab-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--primary);
  font-weight: 700;
}

.kab-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.kabinet-section-title {
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.kabinet-empty {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.empty-icon {
  font-size: 48px;
  margin-bottom: 8px;
}

.empty-title {
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
}

.empty-text {
  font-size: 13px;
  color: var(--text-muted);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .kabinet-wrap {
    grid-template-columns: 1fr;
  }

  .kabinet-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}



/* ═══════════════════════════
   GOOGLE TUGMASI
═══════════════════════════ */
.google-btn {
  width: 100%;
  padding: 11px;
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}

.google-btn:hover {
  border-color: var(--accent);
  background: var(--bg);
}

.auth-divider {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin: 12px 0;
  position: relative;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 42%;
  height: 1px;
  background: var(--border);
}

.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

/* XABAR */
.auth-message {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
}

.auth-message.success {
  background: #EFF7EE;
  color: #2D7A3A;
  border: 1px solid #B7DFB4;
}

.auth-message.error {
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FECACA;
}



.contact-value a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.contact-value a:hover {
  color: var(--accent);
}

/* ═══════════════════════════
   SARLAVHA HAVOLASI — ko'rinadigan belgi
═══════════════════════════ */
.card-title-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.title-link-arrow {
  font-size: 12px;
  color: var(--accent);
  opacity: 0.55;
  margin-left: 3px;
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: inline-block;
}
.card-title-link:hover .content-card-title {
  color: var(--accent);
}
.card-title-link:hover .title-link-arrow {
  opacity: 1;
  transform: translateX(3px);
}
.content-card-body div[style*="line-height:1.6"] {
  display: -webkit-box !important;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
}