/* === Основные стили === */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

body {
  margin: 0;
  font-family: "Poppins", "Inter", sans-serif;
  color: #222;
  background: #fafafa;
  overflow-x: hidden;
  line-height: 1.6;
}

/* === HEADER === */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 1000;
  padding: 20px 0;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* === ЛОГО === */
.logo-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
}

.logo-block img {
  height: 50px;
  width: auto;
  border-radius: 8px;
}

.logo-text {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-shadow: 0 0 5px rgba(0,0,0,0.6);
}

/* === НАВИГАЦИЯ === */
nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  align-items: center;
}

nav ul li {
  position: relative;
}

/* базовый вид ссылок меню */
nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.25s ease;
  transform-origin: center;
}

/* hover эффект — голубой и увеличение */
nav ul li a:hover {
  color: #6ed4ff;
  transform: scale(1.25);
  text-shadow: 0 0 10px rgba(0, 190, 255, 0.6);
}

/* активный пункт меню */
nav ul li a.active {
  color: #3cb8ff;
  font-weight: 600;
  transform: scale(1.35);
  text-shadow: 0 0 12px rgba(0, 200, 255, 0.75);
}

/* === КНОПКА "СПИСОК" в меню === */
.menu-button {
  background: linear-gradient(135deg, #33b0ff, #0088cc);
  color: #fff;
  font-weight: 600;
  padding: 0.55rem 1.2rem;
  border-radius: 40px;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  transition: all 0.25s ease;
  box-shadow: 0 4px 10px rgba(0, 136, 204, 0.4);
}

.menu-button:hover {
  background: linear-gradient(135deg, #4dc7ff, #0099dd);
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 136, 204, 0.55);
}

/* === HERO WRAPPER === */
.hero-wrapper {
  position: relative;
  background-image: url("assets/img/linebg.jpg");
  background-size: cover;
  background-position: center top;
  color: #fff;
  display: flex;
  flex-direction: column;
}

.hero-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 0;
}

.hero-wrapper > * {
  position: relative;
  z-index: 1;
}

/* === HERO СЕКЦИЯ === */
#hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8rem 2rem 4rem;
  box-sizing: border-box;
}

#hero .left,
#hero .right {
  flex: 1;
  max-width: 50%;
}

#hero .right {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* === ВИДЕО === */
.hero-video {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  margin: 0 auto;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

/* === КНОПКА ПОД ВИДЕО === */
.contact-button {
  display: inline-block;
  margin-top: 1.5rem;
  text-align: center;
  background: linear-gradient(135deg, #33b0ff, #0088cc);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9rem 2.5rem;
  border-radius: 50px;
  box-shadow: 0 6px 15px rgba(0, 136, 204, 0.45);
  transition: all 0.25s ease;
  max-width: 280px;
}

.contact-button:hover {
  background: linear-gradient(135deg, #4dc7ff, #0099dd);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,136,204,0.6);
}

/* === ВИДЕО-СЕКЦИЯ === */
#videos {
  background: #121212;
  color: #fff;
  padding: 1rem 2rem;
  text-align: center;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 2rem auto 0;
}

.video-grid iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 10px;
}

/* === ABOUT === */
#about {
  padding: 2rem 2rem;
  text-align: center;
  margin: 0 auto;
}

/* === FOOTER === */
footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color: #777;
  background: #000000;
}

/* === АДАПТИВНОСТЬ === */
@media (max-width: 1024px) {
  #hero {
    flex-direction: column;
    text-align: center;
    padding: 1rem 1.5rem 3rem;
  }

  #hero .left,
  #hero .right {
    max-width: 100%;
  }

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

@media (max-width: 768px) {
  header {
    padding: 1rem;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .hero-video {
    max-width: 100%;
  }

  .contact-button {
    width: 100%;
    font-size: 1.1rem;
  }

  .menu-button {
    font-size: 0.9rem;
    padding: 0.45rem 1rem;
  }
}

@media (max-width: 480px) {
  .contact-button {
    max-width: 220px;
    font-size: 1rem;
    padding: 0.7rem 1.8rem;
  }
}

@media (min-width: 1600px) {
  .hero-video {
    max-width: 800px;
  }
}

/* === HEADER === */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 1000;
  padding: 20px 0;
}

/* Контейнер шапки */
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 90%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px; /* 🔥 значительный промежуток между логотипом и правым блоком */
}

/* Левая часть — логотип */
.logo-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
}

.logo-block img {
  height: 50px;
  width: auto;
  border-radius: 8px;
}

.logo-text {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-shadow: 0 0 5px rgba(0,0,0,0.6);
}

/* Правая часть: меню и кнопка */
nav {
  flex: 1;
  display: flex;
  justify-content: center;  /* 🔹 центрируем меню по горизонтали */
  align-items: center;
}

/* === НАВИГАЦИЯ === */
nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  align-items: center;
}

/* ссылки меню */
nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.25s ease;
  transform-origin: center;
}

/* hover эффект — голубой и увеличение */
nav ul li a:hover {
  color: #6ed4ff;
  transform: scale(1.25);
  text-shadow: 0 0 10px rgba(0, 190, 255, 0.6);
}

/* активный пункт меню */
nav ul li a.active {
  color: #3cb8ff;
  font-weight: 600;
  transform: scale(1.35);
  text-shadow: 0 0 12px rgba(0, 200, 255, 0.75);
}

/* === КНОПКА "СПИСОК" === */
.menu-button {
  background: linear-gradient(135deg, #33b0ff, #0088cc);
  color: #fff;
  font-weight: 600;
  padding: 0.55rem 1.2rem;
  border-radius: 40px;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  transition: all 0.25s ease;
  box-shadow: 0 4px 10px rgba(0, 136, 204, 0.4);
  margin-left: 50px; /* 🔥 создаёт визуальный отрыв справа от центра */
}

.menu-button:hover {
  background: linear-gradient(135deg, #4dc7ff, #0099dd);
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 136, 204, 0.55);
}

/* Адаптив */
@media (max-width: 1024px) {
  .header-container {
    flex-direction: column;
    gap: 20px;
  }

  nav {
    justify-content: center;
  }

  .menu-button {
    margin-left: 0;
    margin-top: 10px;
  }
}

/* === Секция “О себе” === */
.about-wrapper {
  background-color: #121212; /* тот же фон, что в archive.html */
  color: #e8f8ff;
  padding: 6rem 0;
}

.about-wrapper .content {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  box-sizing: border-box;
}

.about-wrapper h2 {
  font-family: "Poppins", sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  text-align: center;
}

.about-inner {
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  box-sizing: border-box;
}

.about-photo img {
  width: 100%;
  max-width: 450px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

.about-text p {
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.6rem;
}

@media (max-width: 1024px) {
  .about-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-photo,
  .about-text {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .about-wrapper {
    padding: 4rem 0;
  }
  .about-wrapper h2 {
    font-size: 2.2rem;
  }
  .about-text p {
    font-size: 1rem;
  }
}


/* === CONTACT HERO SECTION === */
.contact-hero {
  background: #0b0d10;       /* фон секции */
  color: #fff;
  padding: 6rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  box-sizing: border-box;
}

/* Левая колонка с кнопками */
.social-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: flex-start;
}

.social-buttons a {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  padding: 0.9rem 1rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.25s ease;
  width:220px;
  text-align: center;
}

/* YouTube */
.btn-youtube {
  background: #ff0000;
}
.btn-youtube:hover {
  background: #ff3333;
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.5);
}

/* Telegram */
.btn-telegram {
  background: linear-gradient(135deg, #33b0ff, #0088cc);
}
.btn-telegram:hover {
  background: linear-gradient(135deg, #4dc7ff, #0099dd);
  box-shadow: 0 6px 20px rgba(0, 136, 204, 0.5);
}

/* Gmail */
.btn-email {
  background: linear-gradient(135deg, #ea4335, #d93025);
}
.btn-email:hover {
  background: linear-gradient(135deg, #ff5c4d, #e3412f);
  box-shadow: 0 6px 20px rgba(234, 67, 53, 0.5);
}

/* Видео справа */
.contact-hero .hero-video {
  max-width: 640px;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

/* Видео само */
.contact-hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

/* === Адаптивность === */
@media (max-width: 1024px) {
  .contact-hero {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }

  .social-buttons {
    align-items: center;
  }
}

/* === Кнопки пожертвований (мягкие цвета + узоры) === */

/* Общие стили кнопок */
.donate-buttons a {
  display: inline-block;
  width: 220px;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
  background-blend-mode: overlay;
  background-size: 200% 200%;
  background-position: center;
}

/* Patreon — мягкий коралловый с лёгким диагональным паттерном */
.btn-patreon {
  background: linear-gradient(135deg, #e04c52, #b93b40);
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.05) 0,
    rgba(255, 255, 255, 0.05) 2px,
    transparent 2px,
    transparent 6px
  );
}
.btn-patreon:hover {
  background: linear-gradient(135deg, #f65c63, #c9464b);
  box-shadow: 0 6px 20px rgba(230, 80, 85, 0.45);
}

/* Buy Me a Coffee — мягкий золотисто-жёлтый с точечным узором */
.btn-coffee {
  background: linear-gradient(135deg, #f2cf3a, #d6b82e);
  color: #000;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.15) 1px,
    transparent 1px
  );
  background-size: 10px 10px;
}
.btn-coffee:hover {
  background: linear-gradient(135deg, #ffe24a, #e5c734);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* Ko-fi — голубовато-красный с тонкими горизонтальными полосками */
.btn-kofi {
  background: linear-gradient(135deg, #2db8e3, #1d9dc6);
  background-image: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.08) 0,
    rgba(255, 255, 255, 0.08) 1px,
    transparent 1px,
    transparent 5px
  );
}
.btn-kofi:hover {
  background: linear-gradient(135deg, #46c8f0, #27a9d4);
  box-shadow: 0 6px 20px rgba(45, 184, 227, 0.45);
}

.btn-youtube-support {
  background-color: #7a3cff;   /* плотный фиолетовый */
  color: #fff;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(122, 60, 255, 0.35);
  font-weight: 600;
  transition: transform 0.2s ease;
}

.btn-youtube-support:hover {
  transform: translateY(-2px);
}

.person {
  padding: 1rem 0.5rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center; /* ✅ центрируем всё содержимое */
  text-align: center;
  gap: 0.4rem;
  transition: background 0.3s ease;
}

.person:hover {
  background: rgba(255, 255, 255, 0.03);
}

/* Имя */
.person .name {
  font-weight: 600;
  color: #ffffff;
  font-size: 1rem;
}

/* Дата рождения */
.person .dob {
  font-size: 0.95rem;
  color: #bfefff;
}

/* Бейдж госпитализирован */
.badge-hospitalized {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 80, 80, 0.15);
  color: #ff6e6e;
  border: 1px solid rgba(255, 80, 80, 0.35);
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 6px;
  text-transform: lowercase;
  letter-spacing: 0.03em;
  transition: all 0.2s ease;
}

.badge-hospitalized::before {
  content: "🏥"; /* можно заменить на ♥ или ⚕ */
  font-size: 0.9rem;
}

.badge-hospitalized:hover {
  background: rgba(255, 80, 80, 0.25);
  border-color: rgba(255, 80, 80, 0.5);
}

.badge-exchange {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(90, 180, 255, 0.15);
  color: #7ec9ff;
  border: 1px solid rgba(90, 180, 255, 0.35);
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 6px;
  text-transform: lowercase;
  letter-spacing: 0.03em;
  transition: all 0.2s ease;
}

.badge-exchange::before {
  content: "🔁"; /* иконка обмена */
  font-size: 0.9rem;
}

.badge-exchange:hover {
  background: rgba(90, 180, 255, 0.25);
  border-color: rgba(90, 180, 255, 0.5);
}

.menu-button {
    background: linear-gradient(135deg, #f2ff34, #ff6a00);
    color: #fff;
    font-weight: 700; /* стало чуть жирнее */
    padding: 0.55rem 1.2rem;
    border-radius: 40px;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 136, 204, 0.3); /* уменьшил свечение */
    text-decoration: none; /* Убрал подчеркивание */
    display: inline-block;
}

/* Ховер-эффект: приятная смена оттенка + лёгкий подъем */
.menu-button:hover {
    background: linear-gradient(135deg, #ff0000, #58008f); /* чуть светлее */
    transform: translateY(-2px); /* приподнимается */
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.5); /* легкий hover-эффект */
}

/* Для клика (active-состояние): короткое нажатие */
.menu-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 136, 204, 0.3);
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #fff;
  user-select: none;
  z-index: 1001;
}

/* Контейнер навигации */
.header-container {
  position: relative;
}

@media (max-width: 768px) {
  .menu-button {
    display: none;
  }
}

.split {
  min-height:650px;
  height:80vh;
  max-height:700px;
  display:flex;
}

@media (max-width: 450px) {
  /* Затемнение верхнего меню и первой секции */
  header,
  .hero-wrapper,
  #hero {
    background-color: rgba(0, 0, 0, 0.9) !important; /* заметное затемнение */
  }

  /* Видео в первой секции — меньше отступ сверху */
  #hero .hero-video {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  /* Кнопка под видео — ближе к ролику */
  #hero .contact-button {
    margin-top: 0.8rem !important;
  }

  /* Вторая секция (YouTube блок) — компактнее */
  #videos {
    padding-top: 1.5rem !important;
    padding-bottom: 2rem !important;
  }

  /* Видеосетка — чуть плотнее */
  #videos .video-grid iframe {
    margin-bottom: 1rem !important;
  }

  .split {
  min-height:1px;
  height:30vh;
  }

}

@media (max-width: 1024px) {

  .split {
  min-height:1px;
  height:30vh;
  
}

.about-inner {
  display: flex;
  justify-content: center;
  text-align: center;
}

.about-text {
  max-width: 800px;
}

.summer-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(250px, 1fr)); /* два столбца, как у реального списка */
  gap: 0.5rem 2rem; /* меньше отступов */
  justify-content: center;
  align-items: start;
  margin: 0 auto;
  max-width: 800px;

.person {
  display: block;
  padding: 0.3rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  text-align: left;
}

.person .name {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.person .dob {
  font-size: 0.9rem;
  color: #bfefff;
}

.badge-hospitalized,
.badge-exchange {
  margin-left: 0.4rem;
}

.hero-video video {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  object-fit: cover;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
}