@font-face {
  font-family: 'Aachen';
  src: url('../fonts/aachenbtrusbyme_bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

:root {
  --green-primary: #008b46;
  --green-dark: #005c2e;
  --green-light: #00b35a;
  --bg-dark: #0a0a0a;
  --text-white: #FFFFFF;
  --text-gray: #A0A0A0;
  --text-muted: #666666;
  --font-main: 'Aachen', 'Impact', 'Arial Black', sans-serif;
  --transition-fast: 0.2s ease;
}

::selection {
  background: #2d7ff9;
  color: #ffffff;
}

::-moz-selection {
  background: #2d7ff9;
  color: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

body {
  font-size: 18px;
  background-color: var(--bg-dark);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 L35 30 L30 55 L25 30Z' fill='none' stroke='%23222222' stroke-width='0.8'/%3E%3Cpath d='M5 30 L30 25 L55 30 L30 35Z' fill='none' stroke='%23222222' stroke-width='0.8'/%3E%3Ccircle cx='30' cy='30' r='1.5' fill='%23252525'/%3E%3Ccircle cx='0' cy='0' r='1.5' fill='%23252525'/%3E%3Ccircle cx='60' cy='0' r='1.5' fill='%23252525'/%3E%3Ccircle cx='0' cy='60' r='1.5' fill='%23252525'/%3E%3Ccircle cx='60' cy='60' r='1.5' fill='%23252525'/%3E%3C/svg%3E");
  background-repeat: repeat;
  color: var(--text-white);
  font-family: var(--font-main);
  text-align: center;
  text-transform: uppercase;
  zoom: 1.1;
}

.header {
  width: 100%;
  background:
    url("data:image/svg+xml,%3Csvg width='50' height='50' xmlns='http://www.w3.org/2000/svg'%3E%3Ctext x='25' y='32' font-size='18' fill='%23003d1f' text-anchor='middle' font-family='serif' font-weight='bold' opacity='0.5'%3E%24%3C/text%3E%3C/svg%3E"),
    var(--green-primary);
  background-repeat: repeat;
  padding: 40px 0 0 0;
  position: relative;
  z-index: 2;
  overflow: visible;
  border-bottom: 8px solid #ffffff;
}

.header_inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 220px;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.4) 40%,
    rgba(10,10,10,0.8) 70%,
    rgba(10,10,10,1) 100%
  );
  pointer-events: none;
}

.header_img {
  width: 100%;
  transform: scale(1.2) rotate(-3deg);
  height: auto;
  display: block;
  position: relative;
  z-index: 3;
  margin-bottom: -200px;
}

.header_overlay {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: max-content;
  z-index: 5;
  text-align: right;
}

.header_overlay h1 {
  font-family: var(--font-main);
  font-size: 6rem;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-shadow:
    4px 4px 0 #000,
    -2px -2px 0 #000,
    2px -2px 0 #000,
    -2px 2px 0 #000,
    0 6px 20px rgba(0,0,0,0.8);
  -webkit-text-stroke: 3px #000;
  paint-order: stroke fill;
}

.header_overlay p {
  font-size: 1.2rem;
  color: #ffffff;
  letter-spacing: 0.15em;
  text-align: right;
  margin-top: -6px;
  text-transform: lowercase;
  text-shadow: 2px 2px 0 #000;
  display: block;
  width: fit-content;
  margin-left: auto;
}

.contact_section {
  padding: 200px 20px 20px 20px;
  position: relative;
  z-index: 5;
}

.contact_text {
  max-width: 700px;
  margin: 0 auto;
}

.contact_text h1 {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 7rem;
  margin-bottom: 16px;
  margin-top: -50px;
  position: relative;
  z-index: 4;
  color: #3ed279;
  text-shadow: 4px 4px 12px rgba(0,0,0,0.8);
  -webkit-text-stroke: 2px rgba(0,0,0,0.3);
}

.contact_text p {
  color: #3ed279;
  margin-bottom: 28px;
  line-height: 1.4;
  font-size: 1.6rem;
}

.buttons_group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  max-width: 700px;
  margin: 0 auto;
}

.buttons_row {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.contact_section_btn {
  flex: 1;
  background: #008c3f;
  color: #ffffff;
  border: 2px solid #008c3f;
  padding: 16px 30px;
  font-size: 1.8rem;
  font-weight: 700;
  font-family: var(--font-main);
  letter-spacing: 0.1em;
  cursor: pointer;
  border-radius: 50px;
  text-transform: uppercase;
  transition: all var(--transition-fast);
}

.contact_section_btn:hover {
  background: var(--green-light);
  border-color: var(--green-light);
}

.contact_section_btn_operator {
  width: 100%;
  max-width: 500px;
  background: #ffffff;
  color: #36b76a;
  border: 2px solid #ffffff;
  padding: 18px 30px;
  font-size: 3rem;
  font-weight: 700;
  font-family: var(--font-main);
  letter-spacing: 0.05em;
  cursor: pointer;
  border-radius: 50px;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease;
  -webkit-text-stroke: 2px rgba(0,0,0,0.3);
  text-shadow: 2px 2px 6px rgba(0,0,0,0.3);
  position: relative;
  z-index: 3;
  margin-bottom: 0;
}

.contact_section_btn_operator:hover {
  background: #f0f0f0;
  border-color: #f0f0f0;
}

.price_section {
  position: relative;
  margin-top: 0;
  padding-top: 0;
}

.price_section::before {
  display: none;
}

.price_wrap {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.price_img {
  width: 100%;
  display: block;
}

.price_overlay {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.price_overlay h1 {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 5rem;
  letter-spacing: 0;
  text-shadow: 3px 3px 10px rgba(0,0,0,0.8);
}

.price_link {
  text-decoration: none;
  color: inherit;
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.price_link:hover .price_overlay h1 {
  text-shadow: 3px 3px 14px rgba(0,0,0,0.9), 0 0 20px rgba(62,210,121,0.4);
}

.legalizer_link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

.legalizer_link:hover h2 {
  text-shadow: 0 0 15px rgba(255,255,255,0.4);
}

.price_text {
  padding: 20px 0;
}

.price_text h1 {
  font-family: var(--font-main);
  font-size: 2.5rem;
  color: var(--text-white);
  letter-spacing: 0.2em;
}

.info_section {
  background-color: var(--bg-dark);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 L35 30 L30 55 L25 30Z' fill='none' stroke='%23222222' stroke-width='0.8'/%3E%3Cpath d='M5 30 L30 25 L55 30 L30 35Z' fill='none' stroke='%23222222' stroke-width='0.8'/%3E%3Ccircle cx='30' cy='30' r='1.5' fill='%23252525'/%3E%3Ccircle cx='0' cy='0' r='1.5' fill='%23252525'/%3E%3Ccircle cx='60' cy='0' r='1.5' fill='%23252525'/%3E%3Ccircle cx='0' cy='60' r='1.5' fill='%23252525'/%3E%3Ccircle cx='60' cy='60' r='1.5' fill='%23252525'/%3E%3C/svg%3E");
  background-repeat: repeat;
  padding: 20px 20px 40px 20px;
  text-align: center;
  position: relative;
  overflow: visible;
}

.chat_links_row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  max-width: 700px;
  margin: 30px auto 40px auto;
  padding: 30px 40px;
  border: 2px solid rgba(26,172,122,0.25);
  border-radius: 16px;
  background: radial-gradient(ellipse at center, rgba(26,172,122,0.06) 0%, transparent 70%);
  box-shadow: 0 0 30px rgba(26,172,122,0.08), inset 0 0 30px rgba(26,172,122,0.04);
}

.chat_links_row a {
  text-decoration: none;
  font-family: var(--font-main);
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.05;
  text-align: center;
}

.chat_logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.chat_links_row a.info_link_green {
  color: #1aac7a;
  text-shadow:
    0 0 10px rgba(26,172,122,0.6),
    0 0 30px rgba(26,172,122,0.3),
    2px 2px 4px rgba(0,0,0,0.8);
  -webkit-text-stroke: 1px rgba(255,255,255,0.15);
}

.chat_links_row a.info_link_blue {
  color: #1e94a1;
  text-shadow:
    0 0 10px rgba(30,148,161,0.6),
    0 0 30px rgba(30,148,161,0.3),
    2px 2px 4px rgba(0,0,0,0.8);
  -webkit-text-stroke: 1px rgba(255,255,255,0.15);
}

.info_img {
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.telegram_row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 700px;
  margin: -30px auto 10px auto;
  text-align: left;
}

.telegram_text {
  flex: 1;
}

.telegram_text p {
  color: var(--text-gray);
  font-size: 1.1rem;
  line-height: 1.4;
  margin-bottom: 12px;
}

.telegram_text h2 {
  font-family: var(--font-main);
  font-size: 4rem;
  color: var(--text-white);
  letter-spacing: 0;
}

.fortuna_img {
  width: 280px;
  height: auto;
  flex-shrink: 0;
  margin-top: -40px;
}

.cities_section {
  position: relative;
  max-width: 700px;
  margin: 30px auto;
  min-height: 300px;
  overflow: hidden;
}

.cities_bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  z-index: 0;
  opacity: 0.9;
}

.cities_content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px;
}

.bosyak_img {
  width: 380px;
  height: auto;
  flex-shrink: 0;
}

.cities_text {
  text-align: center;
  flex: 1;
}

.cities_text h2 {
  font-family: var(--font-main);
  font-size: 3.5rem;
  color: var(--text-white);
  letter-spacing: 0;
  margin-bottom: 8px;
  text-shadow: 3px 3px 8px rgba(0,0,0,0.7);
}

.cities_subtitle {
  color: #ffffff !important;
  font-size: 1.2rem !important;
  margin-bottom: 8px;
}

.cities_text p {
  color: var(--text-white);
  font-size: 1.3rem;
  line-height: 1.6;
}

.rules_row {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 700px;
  margin: 40px auto;
}

.rules_text {
  flex: 1;
  text-align: center;
  text-decoration: none;
  display: block;
  pointer-events: auto;
}

.rules_text h2 {
  font-family: var(--font-main);
  font-size: 4rem;
  color: var(--text-white);
  letter-spacing: 0;
  line-height: 1;
  text-shadow: 3px 3px 8px rgba(0,0,0,0.7);
}

.info_guy_img {
  width: 300px;
  height: auto;
  flex-shrink: 0;
}

.footer {
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.2) 100%),
    url("data:image/svg+xml,%3Csvg width='50' height='50' xmlns='http://www.w3.org/2000/svg'%3E%3Ctext x='25' y='32' font-size='18' fill='%23003d1f' text-anchor='middle' font-family='serif' font-weight='bold' opacity='0.5'%3E%24%3C/text%3E%3C/svg%3E"),
    var(--green-primary);
  background-repeat: repeat;
  border-top: 8px solid #ffffff;
  padding: 40px 20px;
  text-align: center;
  margin-top: 0;
}

.footer p {
  color: rgba(255,255,255,0.8);
  font-family: var(--font-main);
  letter-spacing: 0.2em;
  margin-top: 20px;
  margin-bottom: 0;
  font-size: 1.2rem;
}

.footer_link {
  color: inherit;
  text-decoration: none;
  text-transform: none;
}

.footer_link:hover {
  opacity: 0.8;
}

.footer_img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  body {
    zoom: 1;
    font-size: 16px;
  }

  .header {
    padding: 20px 0 0 0;
  }

  .header_inner {
    max-width: 100%;
    padding: 0 15px;
  }

  .header_img {
    transform: scale(1.1) rotate(-2deg);
    margin-bottom: -120px;
  }

  .header::after {
    height: 160px;
  }

  .header_overlay h1 {
    font-size: 4.5rem;
  }

  .header_overlay p {
    font-size: 1rem;
  }

  .contact_section {
    padding: 140px 15px 15px 15px;
  }

  .contact_text h1 {
    font-size: 4.5rem;
    margin-top: -30px;
  }

  .contact_text p {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }

  .buttons_group {
    max-width: 100%;
  }

  .contact_section_btn {
    font-size: 1.5rem;
    padding: 14px 24px;
  }

  .contact_section_btn_operator {
    font-size: 2.2rem;
    max-width: 400px;
    padding: 14px 24px;
  }

  .price_overlay h1 {
    font-size: 3.5rem;
  }

  .price_text h1 {
    font-size: 2rem;
  }

  .info_section {
    padding: 15px 15px 30px 15px;
  }

  .chat_links_row {
    flex-direction: row;
    gap: 20px;
    padding: 25px 20px;
    margin: 20px auto 30px auto;
  }

  .chat_links_row a {
    font-size: 2.8rem;
  }

  .chat_logos {
    gap: 4px;
  }

  .info_img {
    width: 70px;
    height: 70px;
  }

  .telegram_row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: -10px auto 10px auto;
    gap: 15px;
  }

  .telegram_text {
    text-align: center;
  }

  .telegram_text h2 {
    font-size: 3rem;
  }

  .telegram_text p {
    font-size: 1rem;
  }

  .fortuna_img {
    width: 220px;
    margin-top: 0;
  }

  .cities_section {
    margin: 20px auto;
    min-height: auto;
  }

  .cities_content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .bosyak_img {
    width: 280px;
  }

  .cities_bg {
    width: 80%;
    top: auto;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    height: 60%;
  }

  .cities_text h2 {
    font-size: 2.8rem;
  }

  .cities_text p {
    font-size: 1.1rem;
  }

  .rules_row {
    flex-direction: column-reverse;
    gap: 15px;
    margin: 30px auto;
  }

  .rules_text h2 {
    font-size: 3rem;
  }

  .info_guy_img {
    width: 240px;
  }

  .footer {
    padding: 30px 15px;
  }

  .footer_img {
    max-width: 400px;
  }

  .footer p {
    font-size: 1rem;
    margin-top: 15px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  .header {
    padding: 15px 0 0 0;
    border-bottom-width: 5px;
  }

  .header_img {
    transform: scale(1.05) rotate(-1.5deg);
    margin-bottom: -80px;
  }

  .header::after {
    height: 120px;
  }

  .header_overlay {
    top: 35%;
  }

  .header_overlay h1 {
    font-size: 3.2rem;
    -webkit-text-stroke: 2px #000;
  }

  .header_overlay p {
    font-size: 0.8rem;
  }

  .contact_section {
    padding: 100px 12px 12px 12px;
  }

  .contact_text h1 {
    font-size: 3rem;
    margin-top: -20px;
    margin-bottom: 10px;
    -webkit-text-stroke: 1px rgba(0,0,0,0.3);
  }

  .contact_text p {
    font-size: 1rem;
    margin-bottom: 16px;
  }

  .buttons_row {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .contact_section_btn {
    font-size: 1.3rem;
    padding: 12px 20px;
    width: 100%;
  }

  .contact_section_btn_operator {
    font-size: 1.6rem;
    max-width: 100%;
    padding: 12px 20px;
    -webkit-text-stroke: 1px rgba(0,0,0,0.3);
  }

  .price_overlay h1 {
    font-size: 2.5rem;
  }

  .price_text {
    padding: 12px 0;
  }

  .price_text h1 {
    font-size: 1.5rem;
    letter-spacing: 0.1em;
  }

  .chat_links_row {
    flex-direction: column;
    gap: 20px;
    padding: 20px 15px;
    margin: 15px 12px 25px 12px;
  }

  .chat_links_row a {
    font-size: 2.5rem;
  }

  .chat_logos {
    flex-direction: row;
    gap: 12px;
  }

  .info_img {
    width: 55px;
    height: 55px;
  }

  .telegram_row {
    margin: 0 auto 10px auto;
    gap: 10px;
    padding: 0 12px;
  }

  .telegram_text h2 {
    font-size: 2.2rem;
  }

  .telegram_text p {
    font-size: 0.9rem;
  }

  .fortuna_img {
    width: 180px;
  }

  .cities_section {
    margin: 15px auto;
  }

  .cities_content {
    padding: 15px 12px;
  }

  .bosyak_img {
    width: 220px;
  }

  .cities_bg {
    width: 100%;
    height: 50%;
    opacity: 0.6;
  }

  .cities_text h2 {
    font-size: 2.2rem;
  }

  .cities_subtitle {
    font-size: 1rem !important;
  }

  .cities_text p {
    font-size: 1rem;
  }

  .rules_row {
    margin: 20px auto;
    gap: 10px;
    padding: 0 12px;
  }

  .rules_text h2 {
    font-size: 2.5rem;
  }

  .info_guy_img {
    width: 180px;
  }

  .footer {
    padding: 25px 12px;
    border-top-width: 5px;
  }

  .footer_img {
    max-width: 280px;
  }

  .footer p {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    margin-top: 12px;
  }
}

/* Кнопки контактов стали ссылками (<a>, href из links.json) — выглядят как прежние <button>. */
a.contact_section_btn,
a.contact_section_btn_operator {
  display: inline-block;
  box-sizing: border-box;
  text-align: center;
  text-decoration: none;
}

/* href="#" в links.json = кнопка выключена. */
a[data-link-id][href="#"] {
  opacity: 0.45;
  pointer-events: none;
}
