/* =========================
   GLOBAL RESET
========================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
}

body {
  font-family: system-ui, sans-serif;
  background: #0b0f1a;
  overflow-x: hidden;
}

/* =========================
   IMAGES RESET
========================= */
img, svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* =========================
   DIVIDER
========================= */
.yellow-divider {
	position: relative;
  width: 100%;
  height: 2px;
  background: #FFD400; /* насыщенный жёлтый */
  margin: 0;           /* без отступов — чёткий раздел */
  z-index: 5;
}

/* =========================
   PANEL BUTTONS
========================= */
.panel-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.panel-buttons img {
  cursor: pointer;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.panel-buttons img:hover {
  transform: scale(1.04);
  filter: brightness(1.05) contrast(1.05);
}

/* =========================
   FULL WIDTH SLIDER
========================= */
.full-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

/* SLIDES */
.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slides img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slides img.active {
  opacity: 1;
}

/* DARK OVERLAY */
.full-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 15, 26, 0.65);
  z-index: 1;
}

/* =========================
   SLIDER TEXT OVERLAY
========================= */
.slider-texts {
  position: absolute;
  inset: 0;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;

  pointer-events: none;
}

/* TEXT BLOCK (NO BACKGROUND) */
.slider-text {
  position: absolute;

  max-width: 720px;
  width: calc(100% - 48px);

  text-align: center;

  /* ⛔ БЕЗ ФОНА */
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;

  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.9s ease, transform 0.9s ease;

  text-shadow:
    0 0 12px rgba(0,0,0,0.6),
    0 0 24px rgba(0,0,0,0.4);
}

.slider-text.active {
  opacity: 1;
  transform: translateY(0);
}

/* HEADINGS */
.slider-text h2 {
  font-size: 42px;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
  color: #F6F1E1;
}

/* PARAGRAPH */
.slider-text p {
  font-size: 18px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: #F6F1E1;
  opacity: 0.85;
}

/* =========================
   SLIDER TEXT ADAPTIVE
========================= */
@media (max-width: 768px) {
  .slider-text h2 {
    font-size: 28px;
  }

  .slider-text p {
    font-size: 16px;
  }
}

/* =========================
   TEXT BLOCK
========================= */
.text-block {
  padding: 64px 20px;
}

.text-block-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: justify;
}

.text-block p {
  font-size: 20px;
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: #F6F1E1;
}

/* =========================
   CATEGORY BUTTONS
========================= */
.category-buttons {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.category-buttons img {
  cursor: pointer;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.category-buttons img:hover {
  transform: scale(1.04);
  filter: brightness(1.05) contrast(1.05);
}

/* =========================
   FOOTER
========================= */
.footer {
  padding: 32px 20px 20px;
  text-align: center;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 16px;
}

.footer-socials a {
  width: 26px;
  height: 26px;
}

.footer-socials svg {
  fill: #F6F1E1;
  opacity: 0.75;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.footer-socials a:hover svg {
  opacity: 1;
  transform: translateY(-2px);
}

.footer-copy {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: #F6F1E1;
  opacity: 0.6;
}

/* =========================
   RESPONSIVE GRIDS
========================= */
@media (max-width: 1024px) {
  .panel-buttons,
  .category-buttons {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .panel-buttons,
  .category-buttons {
    grid-template-columns: 1fr;
  }
}
