@font-face {
  font-family: 'Roboto Slab';
  src:
    url('/local/templates/crimegames/fonts/RobotoSlab.woff2') format('woff2-variations'),
    url('/local/templates/crimegames/fonts/RobotoSlab.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src:
    url('/local/templates/crimegames/fonts/Inter.woff2') format('woff2-variations'),
    url('/local/templates/crimegames/fonts/Inter.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  /* Основные цвета проекта */
  --color-dark: #1b1a1a;
  --color-brown: #2f2323;
  --color-gold: #b3916c;
  --color-red: #b9050b;
  --color-beige: #e8ddcb;
  --color-white: #ffffff;
  --color-light: #f6f6f6;

  /* Шрифты */
  --font-main: 'Roboto Slab', serif;
  --font-inter: 'Inter', sans-serif;
  /* Параметры сетки */
  --container-width: 1280px;
  --container-padding: 55px;
  --section-padding: 60px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-dark);
  color: var(--color-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 16px;
  font-weight: 400;
  position: relative;
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  cursor: pointer;
  transition:
    color 0.3s ease-in-out,
    background-color 0.3s ease-in-out;
}

a:hover {
  color: var(--color-red);
  text-decoration: none;
}

p,
span,
a,
ul,
li {
  color: inherit;
  font-weight: inherit;
  font-size: inherit;
  line-height: 1;
}
img,
picture,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

h2 {
  font-weight: 400;
  font-size: 36px;
  line-height: 1;
  text-align: center;
}

.red-text {
  color: var(--color-red);
}
.white-text {
  color: var(--color-white);
}
main.main-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-dark);
}
header .header_top-wr {
  display: flex;
  align-items: center;
  padding: 12px 0;
  justify-content: space-between;
}
.header_bottom_wrapper {
  position: relative;
  background-color: var(--color-brown);
}
.header_bottom {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
  overflow: hidden;
}
.header_bottom.header_bottom_inner {
  flex-direction: row;
  justify-content: start;
  padding: 15px 0;
}

.header_bottom .logo {
  max-width: 270px;
  height: auto;
  display: block;
  z-index: 1;
}
.header_bottom.header_bottom_inner .logo {
  max-width: 170px;
}
.header_bottom .line {
  height: 80px;
  width: 100%;
  background-image: url(/include/images/line.webp), url(/include/images/line.webp);
  background-repeat: no-repeat, no-repeat;
  background-size:
    auto 80px,
    auto 80px;
  background-position:
    99% top,
    0 0;
  transform: rotate(-3.37deg);
  transform-origin: right top;
  position: relative;
  margin-top: -5px;
}
.header_bottom .line_wrapper {
  width: 100%;
  position: relative;
  height: 150px;
  margin-top: -25px;
}
.header_bottom.header_bottom_inner .line_wrapper {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: fit-content;
  height: auto;
  margin-top: 0;
}

.header_bottom.header_bottom_inner .pagetitle-wr .pagetitle {
  width: fit-content;
  padding: 15px 35px;
  position: relative;
}

.header_bottom.header_bottom_inner .pagetitle-wr .pagetitle:before {
  content: '';
  background: url(/include/images/title-paper.webp) no-repeat center;
  background-size: 100% 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.header_bottom.header_bottom_inner .pagetitle-wr .pagetitle h1 {
  font-size: 32px;
  font-weight: 400;
  text-align: center;
  z-index: 1;
  position: relative;
  color: var(--color-dark);
  margin: 0;
}

.header_bottom .line-text {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  font-family: var(--font-inter);
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  color: #000;
}
.header_bottom .line-text h1 {
  font-size: 32px;
}
.burger-btn {
  display: none;
  width: 26px;
  height: 16px;
  position: relative;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
  padding: 0;
}

.burger-btn span {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
  left: 0;
  transition: all 0.3s ease-in-out;
}

.burger-btn span:nth-child(1) {
  top: 0;
}
.burger-btn span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
.burger-btn span:nth-child(3) {
  bottom: 0;
}

.burger-btn.is-active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.burger-btn.is-active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px) translateY(-50%);
}
.burger-btn.is-active span:nth-child(3) {
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

.top-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}
footer {
  padding: var(--section-padding) 0;
  color: var(--color-light);
  font-weight: 300;
  font-size: 13px;
}

footer .rp {
  display: flex;
  gap: 10px;
  align-items: center;
}
footer .footer {
  display: flex;
  gap: 25px;
  justify-content: space-between;
  flex-wrap: wrap;
}
footer .footer-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer .footer-item.social {
  flex-direction: row;
}
footer .footer-item.social .social-icon{
  width: 30px;
  height: 30px;
  background-color: var(--color-gold);
  border-radius: 2px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: .3s all ease;
}
footer .footer-item.social .social-icon svg{
  width: 20px;
  height: 20px;
fill: var(--color-white);
  display: block;

}
footer .footer-item.social .social-icon:hover {
  opacity: .8;
}

main section {
  padding: var(--section-padding) 0;
}
/* блок купить у нас */
section#buy {
  padding: 0;
}
#buy .buy-wr {
  background-color: #262626;
  padding: var(--section-padding);
  display: flex;
  flex-direction: column;
  gap: 45px;
}
#buy .text-wr {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
  font-weight: 300;
  gap: 15px;
}
#buy .text-wr .text-item {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 300px;
  padding-left: 35px;
}
#buy .item-title {
  text-transform: uppercase;
  position: relative;
  font-weight: 700;
}
#buy .item-title:before {
  content: '✔';
  position: absolute;
  top: 0;
  left: -35px;
  width: 24px;
  height: 24px;
  background-color: var(--color-red);
  color: #262626;
  border-radius: 50%;
  font-size: 16px;
  text-align: center;
}
#buy .text-wr .text-item p {
  line-height: 1.4;
}
#buy .img-wr {
  display: flex;
  justify-content: center;
}
#buy .img-wr img {
  max-width: 420px;
  width: 100%;
  height: auto;
}
.popup-window-overlay {
  background-color: rgba(27, 26, 26, 0.85);
  backdrop-filter: blur(4px);
  position: fixed;
  width: 100vw;
  height: 100vh;
  z-index: 2400;
}

.popup-window[id^='CatalogSectionBasket_'],
.popup-window[id^='CatalogElementBasket_'] {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 400px;
  background-color: var(--color-brown, #2f2323);
  border: 1px solid var(--color-gold);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  padding: 0;
  z-index: 2450;
  box-sizing: border-box;
  font-family: var(--font-main);
}

.popup-window[id^='CatalogSectionBasket_'] .popup-window-titlebar,
.popup-window[id^='CatalogElementBasket_'] .popup-window-titlebar {
  min-height: auto;
  padding: 20px 20px 14px 0;
  border-bottom: 1px solid rgba(232, 221, 203, 0.15) !important;
  display: block !important;
  text-align: center;
}

.popup-window[id^='CatalogSectionBasket_'] .popup-window-titlebar-text,
.popup-window[id^='CatalogElementBasket_'] .popup-window-titlebar-text {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-white, #ffffff);
  padding: 0;
  letter-spacing: normal;
}

.popup-window[id^='CatalogSectionBasket_'] .popup-window-content,
.popup-window[id^='CatalogElementBasket_'] .popup-window-content {
  background-color: transparent !important;
  padding: 20px !important;
}

.popup-window[id^='CatalogSectionBasket_'] .popup-window-content img,
.popup-window[id^='CatalogElementBasket_'] .popup-window-content img {
  display: block;
  margin: 0 auto 15px auto;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.popup-window[id^='CatalogSectionBasket_'] .popup-window-content p,
.popup-window[id^='CatalogElementBasket_'] .popup-window-content p {
  font-size: 16px;
  color: #fff;
  margin: 0;
  line-height: 1.4;
  font-weight: 500;
}

.popup-window[id^='CatalogSectionBasket_'] .popup-window-buttons,
.popup-window[id^='CatalogElementBasket_'] .popup-window-buttons {
  padding: 0 !important;
  gap: 5px;
  flex-direction: column;
}



.popup-window[id^='CatalogSectionBasket_'] .popup-window-buttons .btn-buy,
.popup-window[id^='CatalogSectionBasket_'] .popup-window-buttons .btn,
.popup-window[id^='CatalogElementBasket_'] .popup-window-buttons .btn-buy,
.popup-window[id^='CatalogElementBasket_'] .popup-window-buttons .btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  background: var(--color-gold);
  color: var(--color-dark);
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px;
  border: none !important;
  box-shadow: none;
  margin: 0 !important;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}
.popup-window[id^='CatalogSectionBasket_'] .popup-window-buttons .btn-buy.btn-basket,
.popup-window[id^='CatalogElementBasket_'] .popup-window-buttons .btn-buy.btn-basket{
background-color: var(--color-red);
color: var(--color-white);
}
.popup-window[id^='CatalogSectionBasket_'] .popup-window-buttons .btn-buy.btn-continue,
.popup-window[id^='CatalogElementBasket_'] .popup-window-buttons .btn-buy.btn-continue{
background-color: var(--color-gold);
color: var(--color-white);
}
.popup-window[id^='CatalogSectionBasket_'] .popup-window-buttons .btn-buy:hover,
.popup-window[id^='CatalogSectionBasket_'] .popup-window-buttons .btn:hover,
.popup-window[id^='CatalogElementBasket_'] .popup-window-buttons .btn-buy:hover,
.popup-window[id^='CatalogElementBasket_'] .popup-window-buttons .btn:hover {
  background: var(--color-beige);
  color: var(--color-dark);
  box-shadow: inset 0 0 15px 5px rgba(255, 255, 255, 0.3);
  transform: none !important;
}
.popup-window[id^='CatalogSectionBasket_'] .popup-window-buttons .btn-buy.btn-continue:hover,
.popup-window[id^='CatalogElementBasket_'] .popup-window-buttons .btn-buy.btn-continue:hover{
background-color: var(--color-beige);
color: var(--color-dark);
}


.popup-window[id^='CatalogSectionBasket_'] .popup-window-close-icon,
.popup-window[id^='CatalogElementBasket_'] .popup-window-close-icon {
  top: 15px !important;
  right: 15px !important;
  width: 28px !important;
  height: 28px !important;
  opacity: 0.7;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.popup-window[id^='CatalogSectionBasket_'] .popup-window-close-icon:hover,
.popup-window[id^='CatalogElementBasket_'] .popup-window-close-icon:hover {
  opacity: 1;
  transform: scale(1.1);
}

.popup-window[id^='CatalogSectionBasket_'] .popup-window-close-icon .ui-icon-set,
.popup-window[id^='CatalogElementBasket_'] .popup-window-close-icon .ui-icon-set {
  --ui-icon-set__icon-color: var(--color-white, #fff);
}

/* Базовый контейнер кнопки закрытия */
.popup-window-close-icon {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  width: 28px !important;
  height: 28px !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0.7;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  z-index: 10;
}

.popup-window-close-icon:hover {
  opacity: 1;
  transform: scale(1.1);
}

.popup-window-close-icon .ui-icon-set {
  display: none !important;
}

.popup-window-close-icon::before,
.popup-window-close-icon::after {
  content: '' !important;
  position: absolute !important;
  width: 16px !important;
  height: 2px !important;
  background-color: var(--color-white, #ffffff) !important;
  border-radius: 1px !important;
  transform-origin: center !important;
}

.popup-window-close-icon::before {
  transform: rotate(45deg) !important;
}

.popup-window-close-icon::after {
  transform: rotate(-45deg) !important;
}

.popup-window-close-icon:hover::before,
.popup-window-close-icon:hover::after {
  background-color: var(--color-red, #b9050b) !important;
}
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  align-items: center;
  justify-content: center;
}
.modal-content {
  background-color: #eee8de;
  color: var(--color-dark);
  padding: 25px;
  width: calc(100% - (2 * var(--container-padding)));
  max-width: 600px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  animation: fadeIn 0.25s ease;
  align-items: center;
  gap: 25px;
}
.modal-close {
  position: absolute;
  right: 18px;
  top: 14px;
  font-size: 26px;
  cursor: pointer;
  color: #888;
  gap: 15px;
}
.modal-title-wr {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-right: 30px;
}
.modal-title {
  text-align: center;
  font-weight: 400;
  width: 100%;
  line-height: 1.5;
}
.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hint-alert {
  background-color: #780307;
  color: var(--color-white);
  text-align: center;
  padding: 15px;
}
details {
  transition: all 0.2s ease;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

details.audio-content {
  background-color: #b5957e;
  border: 1px solid rgb(154, 37, 44);
  width: 100%;
  border-radius: 3px;
}

summary {
  padding: 15px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  list-style: none;
  color: #fff;
  background: var(--color-red);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '';
  position: relative;
  right: -25px;
  width: 15px;
  height: 17px;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg width='15' height='17' viewBox='0 0 15 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.65617 15.9032C7.0467 16.2937 7.67986 16.2937 8.07039 15.9032L14.4343 9.53922C14.8249 9.1487 14.8249 8.51553 14.4343 8.12501C14.0438 7.73449 13.4107 7.73449 13.0201 8.12501L7.36328 13.7819L1.70643 8.12501C1.3159 7.73449 0.682738 7.73449 0.292213 8.12501C-0.0983109 8.51553 -0.0983109 9.1487 0.292213 9.53922L6.65617 15.9032ZM7.36328 0L6.36328 0L6.36328 15.1961H7.36328H8.36328V0L7.36328 0Z' fill='white'/%3E%3C/svg%3E");
  transition: transform 0.2s ease;
}

details[open] summary::after {
  transform: rotate(180deg);
}

details .content {
  padding: 16px;
}

details .content ul {
  padding: 0;
  list-style: none;
}

details .content ul li {
  list-style: none;
}
.btn {
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  color: var(--color-white);
  font-size: 16px;
  cursor: pointer;
  font-family: var(--font-main);
  border: 1px solid transparent;
  transition: 0.3s ease-in-out all;
  background-color: var(--color-red);
  font-weight: 500;
  width: fit-content;
}
.btn:hover {
  box-shadow: inset 0 0 15px 5px rgba(255, 255, 255, 0.3);
    color: var(--color-white);
}
#subscribecont {
  padding: 0;
}
.subscribe .subscribe-wr{
  padding: var(--section-padding) 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border-top: 1px var(--color-beige) solid;
    border-bottom: 1px var(--color-beige) solid;
  color: var(--color-white);
}

.subscribe h3 {
  text-align: center;
  font-size: 26px;
  line-height: 1.2;
  margin-bottom: 25px;
}
.subscribe h3 a {
  color: var(--color-red);
}
.subscribe_form {
  display: flex;
  justify-content: center;
}

section#subscribecont p {
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.4;
  font-weight: 300;
  max-width: 800px;
}
.contact_info {
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;
  justify-content: center;
}
.contact-intro {
font-size: 20px;
  text-align: center;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--color-beige);
}
.contacts_info a {
  color: var(--color-red);
}
.table tr td{

 vertical-align: top;
 padding-bottom: 10px;
}
.table tr td:first-child {
 font-weight: 700;

}
.table tr td:last-child {
 padding-left: 15px;

}
.gold-line {
  margin-top: 35px;
  display: block;
  height: 1px;
  width: 100%;
  background-color: var(--color-beige);
}
.audio-wrapper {
  display: inline-block;
  text-align: center;
  background: #fff;
  padding: 10px;
  border-radius: 3px;
}

.rewind-buttons {
  margin-top: 8px;
}

.rewind-buttons button {
  background-color: var(--color-gold);
  border: none;
  padding: 6px 12px;
  margin: 0 5px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
  color: #000;
}

.rewind-buttons button:hover {
opacity: .8;
}

@supports (-moz-appearance: none) {
  .rewind-buttons button {
    background-color: var(--color-brown);
    color: #ffffff;
  }

  .rewind-buttons button:hover {
    background-color:  var(--color-brown);
  }
}
.audio-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 100px 0;
  gap: 50px;
  flex: 1;
}

.audio-container audio::-webkit-media-controls-panel {
  background-color: var(--color-gold);
  border-radius: 0;
}

.audio-container audio::-webkit-media-controls-current-time-display,
.audio-container audio::-webkit-media-controls-time-remaining-display {
  color: #000;
}

.audio-container audio::-webkit-media-controls-timeline {
  background-color: rgb(255, 255, 255) !important;
  border-radius: 2px;
  height: 4px;
  padding: 0;
  margin-left: 10px;
  margin-right: 10px;
  box-shadow: 0 0 5px 1px #ffffff73;
}

/* Скрывает кнопку скачивания во всех Webkit-браузерах */
.audio-container audio::-internal-media-controls-download-button {
  display: none;
}
.audio-container audio::-webkit-media-controls-panel-element {
  -webkit-user-select: none;
}
.buyimg {
  display: flex;
  justify-content: center;
  width: 100%;
}
