@charset "UTF-8"; /*# The coding page CSS */
/**
 * =============================================================================
 * @encoding UTF-8
 * @author [Zerohold](//zerohold.sd1.su)
 * @project [Docs](https://docs.sd1.su)
 * @summary Стили демонстрации премиум-иконок
 * @created 2026-11
 * @modified 2026-11
 *
 * @file D:/node/sd1.su/docs.sd1.su/examples/icons-premium/index.css
 * @link https://docs.sd1.su/examples/icons-premium/index.php
 *
 * @remarks
 * =============================================================================
 */

/* --- БАЗОВЫЕ СТИЛИ (base styles) */

body
{
  /* Блочная модель (box model) */
  margin: 0;
  padding: 40px;

  /* Типографика (typography) */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: rgb(51, 51, 51);

  /* Визуальное оформление (visual) */
  background-color: rgb(248, 249, 250);
}

h1
{
  /* Блочная модель (box model) */
  margin-bottom: 40px;

  /* Типографика (typography) */
  font-weight: 300;
  text-align: center;
}

h2
{
  /* Блочная модель (box model) */
  margin-top: 40px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgb(221, 221, 221);

  /* Типографика (typography) */
  font-size: 1.25rem;
  color: rgb(85, 85, 85);
}

/* --- СТИЛИ БЛОКОВ (blocks) */

.page-wrapper
{
  /* Блочная модель (box model) */
  max-width: 1000px;
  margin: 0 auto;
}

.icon-grid
{
  /* Блочная модель (box model) */
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 20px;
}

.icon-card
{
  /* Блочная модель (box model) */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  border-radius: 12px;

  /* Визуальное оформление (visual) */
  background-color: rgb(255, 255, 255);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);

  /* Анимация (animation) */
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Ступенчатая задержка анимации (stagger animation) */
.icon-card:nth-child(1)
{
  animation-delay: 0.1s;
}

.icon-card:nth-child(2)
{
  animation-delay: 0.2s;
}

.icon-card:nth-child(3)
{
  animation-delay: 0.3s;
}

.icon-card:nth-child(4)
{
  animation-delay: 0.4s;
}

.icon-card:nth-child(5)
{
  animation-delay: 0.5s;
}

.icon-card:nth-child(6)
{
  animation-delay: 0.6s;
}

.icon-card:nth-child(7)
{
  animation-delay: 0.7s;
}

.icon-card:nth-child(8)
{
  animation-delay: 0.8s;
}

.icon-label
{
  /* Блочная модель (box model) */
  margin-top: 8px;

  /* Типографика (typography) */
  font-size: 0.75rem;
  text-align: center;
  color: rgb(136, 136, 136);
}

/* Микровзаимодействия (micro-interactions) */
.premium-hover
{
  /* Визуальное оформление (visual) */
  transform: translateZ(0);

  /* Взаимодействие (interaction) */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-hover:hover
{
  /* Визуальное оформление (visual) */
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  color: rgb(79, 70, 229);

  /* Взаимодействие (interaction) */
  cursor: pointer;
}

/* Размер SVG-иконок Heroicons (heroicons svg sizing) */
.heroicon
{
  /* Блочная модель (box model) */
  width: 24px;
  height: 24px;
}

.icon-size-base
{
  /* Типографика (typography) */
  font-size: 24px;
}

/* --- АНИМАЦИИ (animations) */

@keyframes fadeInUp
{
  from
  {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }

  to
  {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}