/* Стили для главной страницы (index.html) */

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  backdrop-filter: blur(6px);
  background: linear-gradient(180deg, rgba(8, 7, 12, 0.8), rgba(8, 7, 12, 0.4));
  padding: 12px 24px;
  transition: all 0.28s ease;
}

header.scrolled {
  background: linear-gradient(180deg, rgba(8, 7, 12, 0.9), rgba(8, 7, 12, 0.6));
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Mobile header adjustments */
@media (max-width: 640px) {
  header {
    background: linear-gradient(180deg, rgba(8, 7, 12, 0.9), rgba(8, 7, 12, 0.7));
    padding: 8px 16px;
    backdrop-filter: blur(8px);
  }

  header.scrolled {
    background: linear-gradient(180deg, rgba(8, 7, 12, 0.95), rgba(8, 7, 12, 0.8));
  }
}

/* Hero section */
section:first-of-type {
  padding-top: 80px;
}

.hero-grid {
  grid-template-columns: 1fr 520px;
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr 360px;
  }
}

@media (max-width: 880px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  /* Не меняем порядок - кристалл остается справа */
}

/* Star rating */
.star {
  color: var(--accent2);
}
