html,
body {
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: rgb(0, 0, 0);


}


body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.header {

  position: fixed;
  margin: 0 auto;
  width: 100%;
  min-height: 18vh;
  background-color: rgb(0, 0, 0);
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;

}



.nav_name {
  display: flex;
  flex-direction: row;
  /* Чтобы элементы внутри шли друг под другом */
  align-items: center;
  /* Центрирует содержимое внутри nav_name */

  margin-right: auto;
  /* Дает возможность другим элементам остаться справа */

}

.name_photographer {
  display: flex;
  flex-direction: column;
  /* Чтобы name и photographer были в колонке */
  align-items: center;
  /* Центрирует содержимое внутри name-photographer */
  z-index: 2;
}

.name {
  padding-top: 5px;
  font-family: 'SofiaPro', sans-serif;
  font-style: normal;
  font-weight: 100;
  position: relative;
  font-size: 3rem;
  color: white;
  transition: .3s;
  letter-spacing: 0.2rem;

}

.name_link {
  text-decoration: none;
  color: #ffffff;
  text-align: center;
}

.name:hover {
  scale: 1.01;
}

.photographer {
  font-family: "Dancing Script", cursive;
  font-weight: 100;
  font-style: normal;

  font-size: 3rem;
  /* Относительный размер, адаптируемый к экранам */

  color: white;
  letter-spacing: 1px;
  /* Меньше расстояние для адаптации */

  /* Меньший отступ от имени */
}


nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  margin: 0 11vh 0 0;

}

@media (max-width: 1600px) {
  nav {
    margin: 0;
  }
}


nav ul {

  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}





.nav_item {
  padding: 0.5rem 2rem;
  transition: transform 0.3s ease;
}

.nav_item:hover {
  transform: scale(1.1);
}



.nav_item a {
  color: white;
  text-decoration: none;
  font-size: 20px;
  position: relative;
  cursor: pointer;
}

.nav_item {
  position: relative;
}

.nav_item:not(.nav_item_drop_down) a::after {
  content: "";
  display: block;
  height: 2px;
  background: white;
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  transition: width 0.7s ease;
}

.nav_item:not(.nav_item_drop_down).active a::after {
  content: "";
  display: block;
  height: 2px;
  background: white;
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  transition: background-color 0.7s ease;
}



.nav_item:not(.nav_item_drop_down):hover a::after {
  width: 100%;
  /* Ширина подчеркивания при наведении */
}


.nav_item_info {
  padding: 0.5rem 2rem;
  transition: transform 0.3s ease;
}

.nav_item_info a {
  color: white;
  text-decoration: none;
  font-size: 20px;
  position: relative;
}

.info_nav {
  align-items: center;
  justify-content: center;
  margin-left: 15vh;
}

.nav_item_info:hover {
  transform: scale(1.1);
}

.nav_item_info:not(.nav_item_drop_down) a::after {
  content: "";
  display: block;
  height: 2px;
  background: white;
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  transition: width 0.7s ease;
}

.nav_item_info:not(.nav_item_drop_down).active a::after {
  content: "";
  display: block;
  height: 2px;
  background: white;
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  transition: background-color 0.7s ease;
}

.nav_item_info:not(.nav_item_drop_down):hover a::after {
  width: 100%;
  /* Ширина подчеркивания при наведении */
}

a.no-action {
  cursor: pointer;

}

a.no-action:active {
  pointer-events: none;
}


ul {
  list-style: none;
  display: flex;
}

:root {
  --site-header-offset: 210px;
  --mobile-nav-breakpoint: 1200px;
  --scrollbar-size: 8px;
  --scrollbar-thumb: rgba(255, 255, 255, 0.22);
  --scrollbar-thumb-hover: rgba(255, 255, 255, 0.38);
  --scrollbar-track: transparent;
}

html {
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

*::-webkit-scrollbar {
  width: var(--scrollbar-size);
  height: var(--scrollbar-size);
}

*::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}

*::-webkit-scrollbar-thumb {
  background-color: var(--scrollbar-thumb);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: content-box;
}

@media (hover: hover) and (pointer: fine) {
  *::-webkit-scrollbar-thumb:hover {
    background-color: var(--scrollbar-thumb-hover);
  }
}

main {
  margin-top: var(--site-header-offset);
  padding-top: 12px;
}

.main_background {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.main-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* По умолчанию 2 колонки */
  gap: 30px;
  margin: 0 auto;
  padding: 10px;
  align-items: center;
  /* Центрирование по высоте */
}

.main-container>div {
  display: flex;
  justify-content: center;
  /* Центрирование по горизонтали */
  align-items: center;
  /* Центрирование по вертикали */
  height: 100%;
}

.main-container img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
}

@media (hover: hover) and (pointer: fine) {
  .main-container img:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  }

  .main-container a:focus-visible img {
    transform: scale(1.02);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    outline: 2px solid rgba(255, 255, 255, 0.35);
    outline-offset: 3px;
  }
}

.home_cta {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 24px 20px 40px;
}

.home_cta_link {
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  position: relative;
  cursor: pointer;
  transition: color 0.2s ease-out;
}

.home_cta_link::after {
  content: "";
  display: block;
  height: 2px;
  background: white;
  width: 0;
  transition: width 0.3s ease-out;
}

.inst_logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin: 30px;
  transition: transform 0.3s ease;


}

.inst_logo_contact{

  width: 30px;
  height: 30px;
  object-fit: contain;
  margin: 30px;
  transition: transform 0.3s ease;
}

.facebook_logo {

  width: 30px;
  height: 30px;
  object-fit: contain;
  margin: 30px;
  transition: transform 0.3s ease;

}

.mail_logo {

  width: 30px;
  height: 30px;
  object-fit: contain;
  margin: 30px;
  transition: transform 0.3s ease;
}

.content {
  background-color: rgb(0, 0, 0);
  flex: 1;
}



.photo__gallery {
  background: 0;

}

.inst_logo:hover {
  transform: scale(1.1);
}

.facebook_logo:hover {
  transform: scale(1.1);
}

.mail_logo:hover {
  transform: scale(1.1);
}

.footer {
  background-color: rgb(0, 0, 0);
  color: white;
  text-align: center;
  padding: 10px 0;
  font-size: 12px;
  z-index: 100;
}

.mini_nav {
  padding: 0px;
  margin: 20px 0px;
  display: flex;
  justify-content: center;
}

.social_logos {
  padding: 0px;
  margin: 0px 0px;
  display: flex;
  justify-content: center;
}

.mini_nav .nav_item {
  font-size: 14px;
  padding: 0px;
  margin: 0px 10px;
}

.drop_down {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgb(0, 0, 0);
  padding: 5px 0;
  display: none;
  border-radius: 5px;
  overflow: hidden;
  z-index: 10;
}

.drop_down ul {
  list-style-type: none;
  padding: 0;
  margin: 0;

}


.drop_down li a {
  display: block;
  text-align: center;
  padding: 10px;
  color: white;
  text-decoration: none;

}

.drop_down li a.active::after {
  content: "";
  display: block;
  height: 2px;
  background: white;
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 100%;
  transition: background-color 0.7s ease;
}

.drop_down li a::after {
  content: "";
  display: block;
  height: 2px;
  background: white;
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 0;
  transition: width 0.7s ease;
}

.drop_down li:hover a::after {
  width: 100%;
  /* Ширина подчеркивания при наведении */
}

/* Стили для элементов выпадающего списка при наведении */
.drop_down li:hover {
  transform: scale(1.05);
}

/* Основной стиль для элемента с выпадающим списком */
.nav_item_drop_down {
  position: relative;
  /* Позволяет точно позиционировать псевдоэлемент :after */
  z-index: 1;
}

/* Псевдоэлемент :after добавляет галочку справа */
.nav_item_drop_down:after {
  content: "";
  display: block;
  background: url('./img/tick_mark.png') 0 0 no-repeat;
  background-size: cover;
  position: absolute;
  height: 18px;
  width: 18px;
  right: 8px;
  top: 12px;
  transition: transform 0.3s ease;
  /* Анимация переворота галочки */
}

/* Отображение выпадающего списка при наведении или клавиатурной активации */
.nav_item_drop_down:hover>.drop_down,
.nav_item_drop_down.dropdown-open>.drop_down {
  display: block;
}

/* Переворот галочки при наведении или открытом меню */
.nav_item_drop_down:hover:after,
.nav_item_drop_down.dropdown-open:after {
  transform: scaleY(-1);
  /* Переворот галочки по горизонтали */
}



.flex_container {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;

}

.flex_item {
  flex: 1 1 auto;
}

.flex_item a {
  display: block;
  cursor: pointer;
  overflow: hidden;
  border-radius: 4px;
  position: relative;
  background: #050505;
}

.flex_item a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0);
  transition: background 0.3s ease-out;
  pointer-events: none;
}

.flex_item img {
  display: block;
  height: 18vw;
  width: 100%;
  object-fit: contain;
  opacity: 0.94;
  transition: transform 0.35s ease-out, opacity 0.3s ease-out, filter 0.3s ease-out;
}

@media (hover: hover) and (pointer: fine) {
  .flex_item a:hover img {
    transform: scale(1.03);
    opacity: 1;
    filter: brightness(1.04);
  }

  .flex_item a:hover::after {
    background: rgba(255, 255, 255, 0.05);
  }
}

.flex_item a:focus-visible {
  outline: none;
  box-shadow: none;
}

.flex_item a:focus-visible::after {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.75);
}

.flex_item a:focus-visible img {
  transform: scale(1.02);
  opacity: 1;
}

.flex_item a:active img {
  opacity: 0.85;
}

.about_container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  /* Центровка по горизонтали */
  align-items: center;
  /* Центровка по вертикали */
  margin: 0 auto;
  /* Центровка самого контейнера */
  max-width: 1200px;
  /* Ограничение ширины контейнера */
  padding: 20px;

}

.about_image {
  width: 50%;
  height: auto;
  border-radius: 10px;
  margin: 20px;
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
}

@media (hover: hover) and (pointer: fine) {
  .about_image:hover {
    transform: scale(1.01);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.35);
  }
}

.about_text {
  flex: 1;
  margin: 20px;
  /* Отступ вокруг текста */
  max-width: 75vh;
  text-align: center;
}

.about_text h1 {

  font-weight: bold;
  margin-bottom: 20px;
  color: white;
  font-size: 40px;

}


.about_text p {
  margin-bottom: 15px;
  color: white;
  font-size: 26px;
  line-height: 1.625;
  text-align: justify;
}

.about_link_emoteshop {
  color: gray;
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: color 0.2s ease-out;
}

.about_link_emoteshop::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  background: lightgrey;
  width: 0;
  transition: width 0.3s ease-out;
}

@media (hover: hover) and (pointer: fine) {
  .about_link_emoteshop:hover {
    color: lightgrey;
  }

  .about_link_emoteshop:hover::after {
    width: 100%;
  }
}


.contact_container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  /* Центрирование по горизонтали */
  /*align-items: center;*/
  /* Центрирование по вертикали */
  flex-wrap: wrap;
  margin: 0 auto;
  /* Устанавливает автоматические отступы для центрирования */
  min-height: 70vh;
  /* Высота для центрирования по вертикали */
  padding: 20px;
}

.contactform_container {

  flex: 1;
  max-width: 400px;
  margin-top: 20px;
  align-self: center;

}

.contact_text {

  flex: 1;
  padding-right: 20px;
  text-align: left;
  /* Выравниваем текст по центру */
  max-width: 50vh;
  font-size: 25px;
  align-self: center
}

.contact_text,
.contactform_container {
  max-width: 500px;
  /* Ограничиваем ширину блоков */
  margin: 10px;
  /* Добавляем небольшой внешний отступ */
}

.h2_contact_question {
  margin-bottom: 20px;
  font-size: 28px;
  color: white;
}

.contact_link {
  color: gray;
}

.contact_link:hover {
  color: lightgrey;
}


.h2_form {
  text-align: center;
  color: #ffffff;
}

form {
  display: flex;
  flex-direction: column;
  align-items: left;
  max-width: 500px;
  margin: 0 auto;
}

label {
  margin-bottom: 5px;
  margin-left: 10px;
  font-weight: bold;
  color: white;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
textarea {
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #818181;
  border-radius: 5px;
  font-size: 16px;
  width: 100%;
  max-width: 500px;
  box-sizing: border-box;
  background-color: #2f2f2f;
  color: #fff;
  transition: border-color 0.2s ease-out, box-shadow 0.2s ease-out;
}

input::placeholder,
textarea::placeholder {
  color: #aaa;
}

button {
  padding: 10px;
  border: none;
  border-radius: 20px;
  background-color: #fff;
  color: #000;
  font-size: 16px;
  cursor: pointer;
  font-weight: bold;
  margin-top: 15px;
  max-width: 150px;
  align-items: center;
}

button:hover:not(.header_burger):not(.close_button) {
  background-color: #c0c0c0;
}

.privacy_text_container {
  color: white;
  text-align: center;
}

.privacy_text_container h1,
.privacy_text_container h2,
.privacy_text_container h3,
.privacy_text_container p,
.privacy_text_container a {
  color: white;
  text-align: center;
}

.privacy_text {

  color: white;
  text-align: center;

}

.pdf_container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.pdf_frame {
  max-width: 100%;
  max-height: 100%;
}

.store_gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(100px, 1fr));
  gap: 50px;
  padding: 20px;
  justify-items: center;

}

.store_gallery_item {
  text-align: center;
}

.store_image {
  width: 100%;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.store_text {
  margin-top: 10px;
  font-size: 16px;
  color: #dadada;
}

.store_price {
  font-weight: bold;
  font-size: 14px;
  color: #666;
}

.store_details_container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 0 50px;

}

.store_image_details {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-left: 20vh;
  transition: transform 0.25s ease-out;
}

@media (hover: hover) and (pointer: fine) {
  .store_details_container a:hover .store_image_details,
  .store_details_container a:focus-visible .store_image_details {
    transform: scale(1.01);
  }
}

.store_details_container a {
  width: 50%;
}

.store_description_details {
  flex: 1;
  margin-left: 30vh;
  max-width: 40vh;
  color: rgb(255, 255, 255);
  text-align: left;
  justify-content: center;
  margin-bottom: 30px;
}

.store_ruleset_details {
  color: rgb(160, 160, 160);
  max-width: 70vh;
  margin-top: 10vh;
  margin-left: 25vh;
  font-size: 13px;
}

.shop_back_button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  color: rgb(255, 255, 255);
  background-color: transparent;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  max-width: none;
  margin: 12px 0 24px max(20px, 5vw);
  transition: color 0.2s ease-out, background-color 0.2s ease-out, border-color 0.2s ease-out, transform 0.2s ease-out;
}

@media (hover: hover) and (pointer: fine) {
  .shop_back_button:hover {
    color: #000;
    background-color: #fff;
    border-color: #fff;
    transform: translateX(-2px);
  }
}

.shop_back_button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.store_button {
  padding: 10px;
  border: none;
  border-radius: 20px;
  background-color: white;
  color: black;
  font-size: 16px;
  cursor: pointer;
  max-width: 15vh;
  font-weight: bold;
}

.container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
}

.info_package {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border: 1px solid transparent;
  width: 100%;
  max-width: 300px;
  margin: 10px;
  text-align: center;
  padding: 20px;
  flex-grow: 1;
  transition: border-color 0.2s ease-out, box-shadow 0.2s ease-out;
}

@media (hover: hover) and (pointer: fine) {
  .info_package:hover {
    border-color: #ddd;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  }
}

.info_img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.info_h3 {
  margin-top: 20px;
  font-size: 24px;
  text-transform: uppercase;
  color: #000;
}

.info_package p {
  font-size: 22px;
  color: #333;
  flex: 1;
}


.info_package ul {
  text-align: left;
  margin-top: 20px;
  padding-left: 20px;
  flex-grow: 1;
}


.info_package ul li {
  margin-bottom: 10px;
}

.info_price {
  font-size: 20px;
  margin: 15px 0;
}

.info_package .button {
  margin-top: auto;
  background-color: #000;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 5px;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.info_package .button:hover {
  background-color: #444;
}


.gift_package {
  background-color: #000000;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  text-align: center;
  padding: 20px;
}

.gift_package ul p {
  margin: 0 auto;
  padding: 10px;
}

.gift_img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.gift_h3 {
  margin-top: 20px;
  font-size: 24px;
  text-transform: uppercase;
  color: white;
}

.gift_package p {
  font-size: 18px;
  color: #dddddd;
}

.gift_package ul {
  text-align: left;
  margin-top: 20px;
  padding-left: 20px;
}

.gift_package ul li {
  margin-bottom: 10px;
}

.gift_package .button {
  background-color: #ffffff;
  color: #000000;
  padding: 15px 30px;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 5px;
}

.gift_package .button:hover {
  background-color: #444;
}

.emotes_shop-title {
  font-size: 36px;
  color: white;
  margin: 10px;
}

.emotes_shop-text {
  font-size: 18px;
  color: #cccccc;
  margin: 10px;
  max-width: 45%;
}

.emotes_shop_image-gallery {
  display: flex;
  justify-content: center;

}

.emotes_shop_gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 50px;
  margin: 20px 0;
}

.content-wrapper {
  text-align: center;
  max-width: 800px;

}

img {
  max-width: 100%;
  height: auto;


}

h1 {
  font-size: 24px;
  margin: 20px 0;
  font-weight: 700;
  color: white;

}

p {
  font-size: 18px;
  line-height: 1.5;
  margin: 20px 0;
  color: white;



}

.btn {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 30px;
  background-color: #ffffff;
  color: #000;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #cccccc;
}

.coaching_container {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;

}

.emotes_shop_gallery a {
  display: block;
  cursor: pointer;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.emotes_shop_gallery a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0);
  transition: background 0.3s ease-out;
  pointer-events: none;
}

.emotes_shop_gallery img {
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
  opacity: 0.94;
  transition: transform 0.35s ease-out, opacity 0.3s ease-out, filter 0.3s ease-out;
}

@media (hover: hover) and (pointer: fine) {
  .emotes_shop_gallery a:hover img {
    transform: scale(1.03);
    opacity: 1;
    filter: brightness(1.04);
  }

  .emotes_shop_gallery a:hover::after {
    background: rgba(255, 255, 255, 0.05);
  }
}

.emotes_shop_gallery a:focus-visible {
  outline: none;
  box-shadow: none;
}

.emotes_shop_gallery a:focus-visible::after {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.75);
}

.emotes_shop_gallery a:focus-visible img {
  transform: scale(1.02);
  opacity: 1;
}

.faith_content {
  max-width: 100%;
  margin: 10px 50px;

}

#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);

  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;

}

.photobooks_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-items: center;
}

.video_wrapper {
  width: 100%;
}

.photobooks_grid .video_wrapper {
  align-self: start;
}

.video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #111;
}

iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.photobooks_image {
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
}

.photobooks_main_container {
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.photobooks-title {
  font-size: 36px;
  color: white;
  margin: 10px;
}

.photobooks-text {
  font-size: 18px;
  color: #cccccc;
  margin: 10px;
  max-width: 60%;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 1360px) {
  .store_details_container a {
    width: 70%;
  }

  .store_image_details {
    margin-left: 10vh;
  }

  .store_description_details {
    margin-left: 15vh;
    /* Уменьшаем отступ слева */
    max-width: 35vh;
  }

  .store_details_container a {
    width: 60%;
  }

  .store_ruleset_details {
    margin-left: 15vh;
    max-width: 60vh;
  }

  .shop_back_button {
    margin-left: 20px;
  }

  .store_button {
    padding: 10px;
  }


}






@font-face {
  font-family: 'SofiaPro';
  src: url('./fonts/Sofia\ Pro\ Light\ Az.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

.header_burger {
  display: none;
  /* Скрыть бургер-меню по умолчанию */
  cursor: pointer;
  position: relative;
  z-index: 1001;
}

.header_burger span {
  display: block;
  width: 35px;
  height: 2.5px;
  background-color: rgb(255, 255, 255);
  margin: 7.5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

/* Стиль для бургер-меню активного состояния */
.header_burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(9px, 9px);
}

.header_burger.active span:nth-child(2) {
  opacity: 0;
}

.header_burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.drop_down_list {
  display: none;
}


.send-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.send_link {
  text-align: center;
  color: #fff;
  justify-content: center;
  align-items: center;
  font-size: 25px;

}

.send_title {
  text-align: center;
  color: #fff;
  align-items: center;
  justify-content: center;
  font-size: 30px;

}

/* Медиа-запрос для бургер-меню */
@media (max-width: 1200px) {
  :root {
    --site-header-offset: 132px;
  }


  .header_burger {
    display: block;
    z-index: 1003;
  }

  /* Стили для overlay */
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 20;
  }

  .overlay.active {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.1s ease;
  }

  /* Стили для nav_list */
  .nav_list {
    display: none;
    background-color: rgb(0, 0, 0);
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 1002;
    width: 0%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    /* Скрыто за правой границей экрана */
  }

  .nav_list_opened {
    display: flex;
    flex-direction: column;
  }

  .nav_list.active {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    pointer-events: auto;
    transition: opacity 1s ease;
    opacity: 1;
    transform: translateX(0);
  }

  .nav_list.nav_list--submenu-open .nav_list_flex_wrapper {
    display: none;
  }

  /* Стили для навигационных элементов */
  .nav_item {
    position: relative;
    /* Позволяет позиционировать псевдоэлементы относительно nav_item */

    text-align: center;
  }

  /* Убираем абсолютное позиционирование из навигационных ссылок */
  .nav_item a {
    font-size: 40px;
    position: relative;
  }

  .nav_item_drop_down:after {
    content: "";
    display: none;
  }

  /* Стили для тик-марка */
  /* Стили для тик-марка */
  .nav_list.active .drop_down_link:after {
    content: "";
    display: block;
    background: url(./img/tick_mark.png) no-repeat;
    background-size: cover;
    position: absolute;
    height: 30px;
    width: 30px;
    right: -35px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    /* Выравнивание по центру текста */
    transition: transform 0.3s ease;
  }


  .mini_nav .nav_item a {
    font-size: 28px;
  }

  .footer.hidden {
    display: none;
  }

  html.no-scroll,
  body.no-scroll {
    overflow: hidden;
    height: 100%;
  }

  /* Desktop-Dropdown in der mobilen Hauptnavigation ausblenden */
  .nav_list_flex_wrapper .drop_down,
  .nav_item_drop_down:hover > .drop_down,
  .nav_item_drop_down.dropdown-open > .drop_down {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .nav_list_flex_wrapper br {
    display: none;
  }

  /*   drop_down */

  .drop_down {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow-y: auto;
    transition: transform 0.3s ease;
    transform: translateX(100%);
    z-index: 1003;
    justify-content: center;
    /* Убедитесь, что он выше nav_list */
  }

  .drop_down.active {
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    height: 200px;
    top: 0;
  }

  .drop_down .back_button {
    position: absolute;
    top: -10px;
    left: 30px;
    cursor: pointer;
    font-size: 30px;
    color: #fff;
    padding: 10px;
  }



  .nav_list.active {
    transform: translateX(0);
  }

  .nav_list.slide_out {
    transform: translateX(-100%);
  }

  .nav_list_flex_wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    flex: 1;
    justify-content: center;
    align-items: center;
    padding-top: var(--site-header-offset);
    box-sizing: border-box;
  }

  .drop_down_mobile {
    position: absolute;
    inset: 0;
    z-index: 10;
    width: 100%;
    background-color: #000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s ease-out, visibility 0.35s ease-out;
  }

  .drop_down_mobile.active {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-submenu-header {
    flex-shrink: 0;
    padding: max(12px, env(safe-area-inset-top, 0px)) 20px 8px;
  }

  .close_button {
    position: relative;
    align-self: flex-start;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 10px 16px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    background: transparent;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.2s ease-out, opacity 0.2s ease-out;
  }

  .close_button::before {
    content: "";
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    border-left: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease-out;
  }

  .close_button::after {
    content: none;
    display: none;
  }

  @media (hover: hover) and (pointer: fine) {
    .close_button:hover,
    .close_button:focus-visible {
      background: transparent;
      background-color: transparent;
      color: #fff;
      opacity: 0.72;
    }

    .close_button:hover::before,
    .close_button:focus-visible::before {
      transform: rotate(45deg) translateX(-1px);
    }
  }

  .drop_down_list {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex: 1;
    width: 100%;
    margin: 0;
    padding: 8px 20px max(32px, env(safe-area-inset-bottom, 0px));
    gap: 4px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    list-style: none;
    box-sizing: border-box;
  }

  .drop_down_list li {
    width: 100%;
    text-align: center;
  }


  .drop_down_list a {
    text-decoration: none;
    color: white;
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    padding: 8px 4px;
    position: relative;
    min-height: 44px;
    display: inline-block;
    line-height: 1.2;
    transition: opacity 0.2s ease-out, color 0.2s ease-out;
  }

  .drop_down_list li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 4px;
    height: 1px;
    width: 0;
    background: rgba(255, 255, 255, 0.85);
    transition: width 0.25s ease-out;
  }

  .drop_down_list li a.active {
    color: #fff;
  }

  .drop_down_list li a.active::after {
    width: 100%;
  }

  @media (hover: hover) and (pointer: fine) {
    .drop_down_list li a:hover {
      opacity: 0.78;
    }

    .drop_down_list li a:hover::after {
      width: 100%;
    }

    .drop_down_list li a.active:hover {
      opacity: 1;
    }
  }

  .drop_down_list a:active {
    opacity: 0.85;
  }

  .nav_item_drop_down {

    /* Позволяет точно позиционировать псевдоэлемент :after */
    z-index: auto;
  }

  .emotes_shop_gallery {
    grid-template-rows: repeat(auto-fit, minmax(200px, 1fr));
    grid-template-columns: auto;
  }

  .emotes_shop_gallery img,
  .emotes_shop_gallery a img {
    height: 40vw;
  }

  .emotes_shop-text {
    max-width: 60%;
  }


}


@media (max-width: 1200px) {
  .header {
    min-height: 16vh;
    display: flex;
    justify-content: space-between;

    align-items: center;

  }

  nav .inst_logo {
    display: none;
  }


  nav ul {
    display: none;
  }

  .nav_item_ul {
    display: flex;
    justify-content: center;
    align-items: center;

  }

  .info_nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  }

  .inst_logo {
    display: none;
  }

  .mini_nav {
    margin: 0 0 20px 0;
    padding: 0;
  }

  .mini_nav .nav_item {
    font-size: 12px;

  }

  .info_nav {
    display: flex;
    flex-direction: column;
  }

  .name_photographer {}

  .photographer {
    top: 3rem;
    font-size: 2.5rem;
  }

  .name {
    font-size: 2rem;

  }

  .emotes_shop_gallery img,
  .emotes_shop_gallery a img {
    height: 400px;

    max-width: 100%;
  }

  .emotes_shop_main-title {
    font-size: 2rem;
    text-align: center;
  }

  .emotes_shop_main-text {
    max-width: 90%;
    text-align: center;

  }

  .mini_nav {
    flex-direction: column;
    align-items: center;
  }

  .mini_nav .nav_item {
    margin: 10px 0;
  }

  .faith_content {
    margin: 20px 5%;
  }

  .about_container {
    flex-direction: column;
  }


  .about_image,
  .about_text {
    margin: 10px auto;
    max-width: 100%;
  }

  .about_image {
    width: 100%;
    height: auto;
  }

  .contact_container {
    flex-direction: column;
  }

  .contact_text {
    text-align: center;
    padding-right: 0;
  }

  .contactform_container {
    max-width: 100%;
    margin: 0;
  }

  .store_gallery {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    /* Уменьшаем минимальную ширину элементов */
    gap: 30px;
    /* Уменьшаем разрыв между элементами */
  }

  .store_details_container {
    margin: 0 30px;
    /* Уменьшаем отступы */
    justify-content: center;
  }

  .store_image_details {
    margin-left: 0vh;
  }

  .store_description_details {
    margin-left: 0;
    /* Уменьшаем отступ слева */
    max-width: 35vh;
    text-align: center;
    align-self: center;
    justify-content: center;

  }

  .store_description_details h1 {
    font-size: 40px;
  }

  .store_description_details p {
    font-size: 30px;
  }

  .store_details_container a {
    width: 100%;
  }

  .store_ruleset_details {
    margin-left: 20px;
    max-width: none;
    align-self: center;

  }

  .shop_back_button {
    margin-left: 20px;
  }

  .store_button {
    padding: 20px;
    width: 100%;
  }
}

@media (max-width: 768px) {
  :root {
    --site-header-offset: 148px;
  }

  .main-container {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    gap: 10px;
  }

  .main-container img:nth-child(1) {
    grid-area: 1 / 1 / 2 / 2;
    /* Измените местами, если нужно */
  }

  .main-container img:nth-child(2) {
    grid-area: 1 / 2 / 2 / 3;
  }

  .main-container img:nth-child(4) {
    grid-area: 2 / 1 / 3 / 2;
  }

  .main-container img:nth-child(3) {
    grid-area: 2/ 2 / 3 / 3;

  }

  .about_text p {
    margin: 10px auto;
    max-width: 100%;
    font-size: 24px;
  }

  .about_image {
    width: 100%;
    height: auto;
  }

  .h2_contact_question {
    font-size: 24px;
  }

  .contact_text,
  .contactform_container {
    margin: 10px 0;
  }

  input,
  textarea {
    font-size: 14px;
  }

  button {
    max-width: 100%;
    font-size: 14px;
  }

  .store_gallery {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    /* Уменьшаем минимальную ширину еще больше */
    gap: 20px;
    /* Еще меньше разрыв между элементами */
  }

  .store_text {
    font-size: 14px;
    /* Уменьшаем шрифт для текста */
  }

  .store_price {
    font-size: 12px;
    /* Уменьшаем шрифт цены */
  }

  .store_details_container {
    flex-direction: column;
    /* Переход на колонку */
    margin: 0 20px;
    /* Еще больше сужаем отступы */

  }

  .store_description_details {
    margin-left: 0;
    /* Убираем отступы слева */
    max-width: 100%;
    /* Увеличиваем ширину для полного использования пространства */
    text-align: center;
  }

  .store_description_details h1 {
    font-size: 25px;
  }

  .store_description_details p {
    font-size: 20px;
  }

  .store_ruleset_details {
    margin-left: 20px;
    max-width: 90%;
    /* Полная ширина */
    margin-top: 5vh;
    font-size: 12px;
  }

  .store_image_details {
    align-items: center;
    margin-left: 0;
  }

  .store_details_container a {
    width: 100%;

  }

  .info_package {
    max-width: 100%;
  }

  .photobooks_grid {
    grid-template-columns: repeat(2, 1fr);
    /* Switch to two columns on smaller screens */
  }

  .photobooks_main_container {
    padding: 15px;
  }

  .photobooks-title {
    text-align: center;
  }

  .photobooks-text {
    text-align: center;
    margin: 0 auto;
  }

  .flex_item img {
    height: auto;
  }

  .flex_container {
    padding: 0 15px;
  }

  .emotes_shop-text {
    max-width: 100%;
    text-align: center;
  }

  .emotes_shop-title {
    text-align: center;
  }

  .emotes_shop_gallery {
    gap: 20px;
  }

  .emotes_shop_gallery img,
  .emotes_shop_gallery a img {
    height: 250px;
  }
}


@media (max-width: 480px) {
  .h2_contact_question {
    font-size: 20px;
  }

  nav {
    margin: 0 5vh 0 0;
  }

  .name_photographer {

    align-items: start;
  }

  .photobooks_grid {
    grid-template-columns: 1fr;
    /* Switch to one column on very small screens */
  }

  .contact_text {
    font-size: 16px;
  }

  input,
  textarea {
    padding: 8px;
    font-size: 14px;
  }

  button {
    padding: 8px;
    font-size: 14px;
  }


}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10000;
  padding: 8px 16px;
  background: #fff;
  color: #000;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  box-shadow: none;
}

.header_burger {
  border: none;
  background: transparent;
  padding: 0;
}

.close_button {
  border: none;
  background: transparent;
}

.header_burger:hover,
.header_burger:focus-visible,
.close_button:hover,
.close_button:focus-visible {
  background: transparent;
  background-color: transparent;
}

.header_social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.nav_item .drop_down_link {
  color: white;
  font-size: 20px;
  text-decoration: none;
  position: relative;
  cursor: pointer;
}

.overlay[hidden] {
  display: none !important;
}

.loader {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-message {
  margin: 0 10px 16px;
  font-size: 14px;
  line-height: 1.5;
  width: 100%;
  box-sizing: border-box;
}

.form-message--success {
  color: #cccccc;
  text-align: left;
}

.form-message--error {
  color: #dadada;
  text-align: left;
}

.form-message ul {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.form-message li {
  display: block;
  width: 100%;
}

.form-message li + li {
  margin-top: 6px;
}

.privacy-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 10px 10px 16px;
  width: calc(100% - 20px);
  max-width: 100%;
  font-weight: normal;
  font-size: 14px;
  line-height: 1.5;
  color: #ffffff;
  box-sizing: border-box;
  text-align: left;
}

.privacy-consent-text {
  flex: 1;
  min-width: 0;
}

.privacy-consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

.privacy-consent a {
  color: gray;
  text-decoration: underline;
}

.privacy-consent a:hover {
  color: lightgrey;
}

/* Homepage hero */
.home_hero {
  max-width: 900px;
  margin: 0 auto 24px;
  padding: 24px 16px 0;
  text-align: center;
}

.home_hero_title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  margin: 0 0 12px;
  color: #fff;
}

.home_hero_text {
  font-size: 1rem;
  line-height: 1.6;
  color: #cccccc;
  margin: 0;
}

.label-optional {
  font-weight: normal;
  color: #999;
}

/* Cookie consent */
.cookie-consent {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.65);
}

.cookie-consent[hidden],
.age-gate[hidden] {
  display: none !important;
}

.cookie-consent__panel {
  width: min(640px, 100%);
  background: #111;
  color: #fff;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.cookie-consent__panel h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.cookie-consent__panel p {
  color: #ccc;
  line-height: 1.5;
  margin: 0 0 12px;
}

.cookie-consent__panel a {
  color: #fff;
  text-decoration: underline;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.cookie-btn {
  cursor: pointer;
  border: 1px solid #555;
  background: transparent;
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 14px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.cookie-btn:hover {
  background: #222;
  border-color: #888;
}

.cookie-btn--primary {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.cookie-btn--primary:hover {
  background: #ddd;
}

.cookie-option {
  margin: 12px 0;
}

.cookie-option label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  color: #ddd;
  line-height: 1.5;
}

body.cookie-banner-open,
body.age-gate-open {
  overflow: hidden;
}

/* Age gate */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.85);
}

.age-gate__panel {
  width: min(480px, 100%);
  background: #111;
  color: #fff;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 32px;
  text-align: center;
}

.age-gate__panel h2 {
  margin: 0 0 16px;
}

.age-gate__panel p {
  color: #ccc;
  line-height: 1.6;
  margin: 0 0 24px;
}

.age-gate__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.age-gate__btn {
  display: inline-block;
  cursor: pointer;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 15px;
  text-decoration: none;
  border: none;
  transition: opacity 0.2s ease;
}

.age-gate__btn--confirm {
  background: #fff;
  color: #000;
}

.age-gate__btn--leave {
  background: transparent;
  color: #ccc;
  border: 1px solid #555;
}

.age-gate-inline {
  padding: 48px 16px;
  text-align: center;
  color: #ccc;
}

/* Accessibility statement */
.a11y-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 20px 80px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.a11y-page__header {
  text-align: center;
  margin-bottom: 0;
}

.a11y-page__eyebrow {
  margin: 0 0 12px;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
}

.a11y-page h1 {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 400;
  line-height: 1.2;
}

.a11y-page__lead {
  margin: 0 auto 24px;
  max-width: 36rem;
  color: #ccc;
  line-height: 1.625;
  font-size: 1.0625rem;
}

.a11y-page__lead a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.a11y-page__lead a:hover {
  opacity: 0.85;
}

.a11y-status {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 18px;
  border: 1px solid #333;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.a11y-status__badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.a11y-status__text {
  color: #bbb;
  font-size: 0.9375rem;
  line-height: 1.5;
  text-align: left;
}

.a11y-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  .a11y-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.a11y-card {
  padding: 24px;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.a11y-card--muted {
  background: rgba(255, 255, 255, 0.015);
}

.a11y-card h2 {
  margin: 0 0 16px;
  font-size: 1.125rem;
  font-weight: 500;
  color: #fff;
}

.a11y-card p {
  margin: 0;
  color: #ccc;
  line-height: 1.625;
}

.a11y-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: block;
}

.a11y-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 10px;
  color: #ccc;
  line-height: 1.625;
}

.a11y-list li:last-child {
  margin-bottom: 0;
}

.a11y-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

.a11y-card--muted .a11y-list li::before {
  background: #666;
}

.a11y-list code {
  font-size: 0.875em;
  color: #eee;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.a11y-contact__details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  font-style: normal;
  color: #ccc;
  line-height: 1.625;
}

.a11y-contact__details a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.a11y-contact__details a:hover {
  opacity: 0.85;
}

.a11y-page__meta {
  margin-top: 12px;
  padding-top: 24px;
  border-top: 1px solid #2a2a2a;
  text-align: center;
}

.a11y-page__meta p {
  margin: 0;
  color: #888;
  font-size: 0.875rem;
}

/* FAQ */
.faq-page,
.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 20px 80px;
  color: #fff;
}

.privacy_text_container.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 20px 80px;
  text-align: left;
}

.privacy_text_container.legal-page h1 {
  text-align: center;
  color: #fff;
  margin-bottom: 32px;
}

.privacy_text_container.legal-page h2,
.privacy_text_container.legal-page h3,
.privacy_text_container.legal-page h4,
.privacy_text_container.legal-page p,
.privacy_text_container.legal-page .privacy_text {
  text-align: left;
  color: #ccc;
  line-height: 1.625;
}

.privacy_text_container.legal-page a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease-out;
}

@media (hover: hover) and (pointer: fine) {
  .privacy_text_container.legal-page a:hover {
    opacity: 0.85;
  }
}

.faq-page h1,
.legal-page h1 {
  margin-bottom: 16px;
}

.faq-intro,
.legal-page p,
.legal-page li {
  color: #ccc;
  line-height: 1.6;
}

.faq-list {
  margin: 24px 0;
}

.faq-item {
  border-bottom: 1px solid #333;
  padding: 12px 0;
  transition: border-color 0.2s ease-out;
}

.faq-item[open] {
  border-color: #555;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 500;
  color: #fff;
  list-style: none;
  transition: color 0.2s ease-out;
  min-height: 44px;
  display: flex;
  align-items: center;
}

@media (hover: hover) and (pointer: fine) {
  .faq-item summary:hover {
    color: #ddd;
  }
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 12px 0 0;
  color: #ccc;
}

.faq-cta a {
  color: #fff;
}

/* Store hover overlay */
.store_gallery_item > a {
  position: relative;
  display: block;
  cursor: pointer;
  overflow: hidden;
}

.store_hover_overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.store_gallery_item > a:focus-visible .store_hover_overlay {
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  .store_gallery_item > a:hover .store_hover_overlay {
    opacity: 1;
  }
}

.store_hover_title {
  color: #fff;
  font-size: 1.1rem;
}

.store_hover_price {
  color: #ccc;
  margin-top: 4px;
}

.store-order-link {
  text-decoration: none;
}

/* YouTube facade */
.youtube-facade {
  position: absolute;
  inset: 0;
  background-color: #111;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.youtube-facade::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.55) 100%);
}

.youtube-facade__button {
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: pointer;
  background: transparent;
  border: none;
  color: #fff;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background-color 0.2s ease;
}

.youtube-facade__button:hover,
.youtube-facade__button:focus-visible {
  background: rgba(0, 0, 0, 0.2);
}

.youtube-facade__play {
  width: 64px;
  height: 64px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.youtube-facade__play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
}

.youtube-facade__button:hover .youtube-facade__play,
.youtube-facade__button:focus-visible .youtube-facade__play {
  transform: scale(1.06);
  background: rgba(0, 0, 0, 0.6);
}

.youtube-facade__label {
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

#loading-overlay {
  transition: opacity 0.3s ease;
}

/* Homepage entrance animations */
.home-hero-enter,
.home-grid-enter,
.home-cta-enter {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.home-grid-enter {
  transition-duration: 0.35s;
}

.home-hero-enter.is-visible,
.home-grid-enter.is-visible,
.home-cta-enter.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.error-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 20px 80px;
  text-align: center;
}

.error-page .send_title {
  margin-bottom: 24px;
  animation: uxFadeIn 0.5s ease-out both;
}

.error-page__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 32px;
}

@keyframes uxFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (hover: hover) and (pointer: fine) {
  .a11y-card {
    transition: border-color 0.2s ease-out;
  }

  .a11y-card:hover {
    border-color: #444;
  }

  .home_cta_link:hover {
    color: #dadada;
  }

  .home_cta_link:hover::after {
    width: 100%;
  }
}

.home_cta_link:active {
  opacity: 0.85;
}

@media (prefers-reduced-motion: reduce) {
  .loader {
    animation: none;
  }

  .home-hero-enter,
  .home-grid-enter,
  .home-cta-enter,
  .error-page .send_title {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .flex_item img,
  .emotes_shop_gallery img,
  .about_image,
  .main-container img,
  .store_image_details {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}