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

@font-face {
  font-family: "Oswald";
  src: url("../fonts/Oswald-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Oswald";
  src: url("../fonts/Oswald-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Roboto Condensed";
  src: url("../fonts/RobotoCondensed-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

:root {
  --green-primary: #008b46;
  --green-dark: #005c2e;
  --green-light: #00b35a;
  --green-accent: #00e08a;
  --green-soft: #7bf8c6;
  --bg-dark: #0a0a0a;
  --dark-surface: #011313;
  --white: #ffffff;
  --text-white: #FFFFFF;
  --text-gray: #A0A0A0;
  --danger: #ff3232;
  --font-title: "Aachen", "Impact", sans-serif;
  --font-main: "Oswald", sans-serif;
  --font-copy: "Roboto Condensed", sans-serif;
}

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

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

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

body {
  min-height: 100vh;
  color: var(--white);
  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;
  font-family: var(--font-main);
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.01em;
  zoom: 1.1;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

.hero {
  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;
  position: relative;
  z-index: 2;
  overflow: visible;
  border-bottom: 8px solid #ffffff;
}

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

.hero::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;
}

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

.hero_overlay {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: max-content;
  text-align: right;
  z-index: 5;
  text-shadow: 2px 3px 10px rgba(0, 0, 0, 0.8);
}

.hero_overlay h1 {
  font-family: var(--font-title);
  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;
}



.hero_overlay p {
  font-size: 1.2rem;
  margin-top: -6px;
  font-size: clamp(1rem, 2.1vw, 1.2rem);
  font-family: var(--font-main);
  text-transform: lowercase;
  font-weight: 800;
  text-shadow: 2px 2px 0 #000;
  letter-spacing: 0.15em;
  display: block;
  width: fit-content;
  margin-left: auto;
}

.page {
  padding: 200px 16px 18px;
  position: relative;
  z-index: 5;
}

.rules_section,
.job_section {
  width: min(100%, 520px);
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

.rules_title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(4.5rem, 14vw, 7rem);
  line-height: 0.95;
  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);
  letter-spacing: 0.08em;
}

.rules_text_block h3,
.job_info h3 {
  color: var(--green-accent);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: clamp(1.1rem, 3vw, 1.45rem);
  line-height: 1.1;
  margin-bottom: 8px;
}

.rules_text_block p,
.rules_list p,
.rules_list li,
.job_info li,
.job_info p {
  color: var(--green-accent);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: clamp(1.05rem, 2.45vw, 1.25rem);
  line-height: 1.3;
}

.rules_text_block p + p {
  margin-top: 10px;
}

.rules_text_block {
  max-width: 88%;
  margin: 0 auto;
}

.rules_card {
  width: min(100%, 315px);
  margin: 70px auto 70px;
  position: relative;
}

.rules_img {
  width: 88%;
  margin: 0 auto;
}

.rules_overlay {
  position: absolute;
  inset: 22% 6% 30%;
  padding: 12px 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.rules_overlay .rules_text_block {
  max-width: 92%;
  margin: 0 auto;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.42);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.rules_overlay .rules_title {
  margin-top: 2px;
  margin-bottom: 12px;
  font-size: clamp(2.9rem, 10vw, 4.2rem);
}

.rules_overlay .rules_text_block h3 {
  font-size: clamp(1.04rem, 2.95vw, 1.28rem);
  margin-bottom: 9px;
}

.rules_overlay .rules_text_block p {
  font-size: clamp(0.9rem, 2.45vw, 1.08rem);
  line-height: 1.28;
  letter-spacing: 0.015em;
  color: #f2fff8;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

.rules_overlay .rules_text_block p + p {
  margin-top: 12px;
}

.rules_info_row {
  margin: 18px auto 14px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
}

.rules_list {
  text-align: left;
}

.rules_list p {
  margin-bottom: 8px;
}

.rules_list ul {
  list-style: none;
}

.rules_list li {
  position: relative;
  padding-left: 12px;
}

.rules_list li::before {
  content: "-";
  position: absolute;
  left: 0;
}

.info_thief_img {
  width: clamp(120px, 25vw, 170px);
}

.operator_note,
.rules_agree {
  color: var(--danger);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  line-height: 1.3;
}

.operator_note {
  margin-top: 8px;
}

.rules_agree {
  margin-top: 8px;
}

.job_section {
  margin-top: 28px;
  margin-bottom: 110px;
}

.job_title,
.contacts_title {
  font-family: var(--font-title);
  color: #3ed279;
  font-size: clamp(3.45rem, 11.5vw, 5.35rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-shadow:
    0 3px 0 rgba(0, 0, 0, 0.5),
    0 0 18px rgba(0, 255, 175, 0.2);
}

.job_title {
  margin-bottom: 0;
  transform: translateX(46px);
}

.job_badge {
  position: relative;
  width: fit-content;
  margin: 0 36px 0 auto;
}

.splash_bg {
  width: clamp(274px, 44vw, 340px);
  margin: 0 auto;
  filter: drop-shadow(0 0 20px rgba(0, 255, 170, 0.2));
}

.job_labels {
  position: absolute;
  left: 50%;
  top: 53%;
  transform: translate(-44%, -46%);
  min-width: 245px;
}

.job_labels span {
  display: block;
  color: #111;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: clamp(2.18rem, 4.8vw, 2.88rem);
  line-height: 0.86;
}

.job_img {
  width: clamp(220px, 33vw, 270px);
  margin: -44px 0 0;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 28px rgba(255, 255, 255, 0.35))
          drop-shadow(0 0 60px rgba(255, 255, 255, 0.15));
}

.job_content {
  margin-top: -96px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 8px;
  padding-right: 16px;
}

.job_info_card {
  width: min(280px, 54vw);
  position: relative;
  margin-top: 58px;
}

.job_info_bg {
  width: 100%;
}

.job_info h3 {
  margin-top: 0;
  margin-bottom: 4px;
  color: var(--white);
}

.job_info {
  width: auto;
  position: absolute;
  inset: 0;
  padding: 16px 20px 14px 16px;
  text-align: left;
}

.job_info ul {
  list-style: none;
  margin-bottom: 6px;
}

.job_info li,
.job_info p {
  color: var(--white);
  font-size: clamp(0.95rem, 1.9vw, 1.12rem);
  line-height: 1.25;
}

.job_info li::before {
  content: "- ";
}

.requirements_block {
  margin-top: 6px;
  margin-left: -12px;
}

.requirements_block h3 {
  margin-bottom: 2px;
}

.requirements_block p {
  font-size: clamp(0.84rem, 1.45vw, 0.98rem);
  line-height: 1.15;
}

.contacts_title {
  margin-top: 72px;
  margin-bottom: 12px;
  word-break: break-word;
  overflow-wrap: break-word;
}

.contacts_link {
  display: inline-block;
  color: #3ed279;
  text-decoration: none;
  position: relative;
  z-index: 3;
}

.contacts_link:hover {
  opacity: 0.88;
}

.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_img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.footer p {
  color: rgba(255,255,255,0.8);
  font-family: var(--font-title);
  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;
}

@media (max-width: 768px) {
  .hero {
    padding: 20px 0 0;
  }

  .hero_inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='42' height='42' xmlns='http://www.w3.org/2000/svg'%3E%3Ctext x='21' y='28' font-size='16' fill='%23f2fff8' text-anchor='middle' font-family='serif' font-weight='bold' opacity='0.36'%3E%24%3C/text%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 42px 42px;
    z-index: 4;
    pointer-events: none;
    mix-blend-mode: screen;
  }

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

  .job_section {
    margin-bottom: 56px;
  }

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

  .hero_overlay {
    top: 35%;
  }

  .hero_overlay h1 {
    font-size: clamp(3.4rem, 11vw, 4.5rem);
  }

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

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

  .page {
    padding-top: 140px;
  }

  .rules_title {
    font-size: clamp(3.5rem, 12vw, 4.5rem);
    margin-top: -30px;
    -webkit-text-stroke: 1px rgba(0,0,0,0.3);
  }

  .rules_card {
    width: min(100%, 286px);
    margin: 50px auto 50px;
  }

  .rules_img {
    width: 90%;
  }

  .rules_overlay {
    inset: 20% 6% 28%;
    padding: 10px 15px 12px;
  }

  .rules_text_block p,
  .rules_list p,
  .rules_list li {
    font-size: clamp(0.93rem, 3.7vw, 1.08rem);
    line-height: 1.3;
  }

  .job_title {
    transform: translateX(24px);
  }

  .job_badge {
    margin-right: 24px;
  }

  .job_labels span {
    font-size: clamp(1.78rem, 6.3vw, 2.2rem);
  }

  .job_content {
    margin-top: -72px;
    gap: 4px;
    padding-right: 10px;
  }

  .job_img {
    width: clamp(176px, 36vw, 208px);
    margin-top: -34px;
  }

  .job_info_card {
    width: min(210px, 47vw);
    margin-top: 40px;
  }

  .job_info {
    padding: 12px 14px 10px 12px;
  }

  .job_info li,
  .job_info p {
    font-size: clamp(0.78rem, 2.5vw, 0.92rem);
    line-height: 1.2;
  }

  .requirements_block {
    margin-left: -10px;
  }

  .contacts_title {
    margin-top: 18px;
    font-size: clamp(2.8rem, 10vw, 4rem);
  }

  .footer {
    padding: 30px 15px;
  }

  .footer_img {
    max-width: 400px;
  }

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

@media (max-width: 480px) {
  .hero {
    padding: 15px 0 0;
    border-bottom-width: 5px;
  }

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

  .hero_overlay {
    top: 35%;
  }

  .hero_overlay h1 {
    font-size: clamp(2.8rem, 13vw, 3.3rem);
    -webkit-text-stroke: 2px #000;
  }

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

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

  .page {
    padding-top: 100px;
  }

  .rules_title {
    font-size: clamp(2.8rem, 11vw, 3rem);
    margin-top: -20px;
    margin-bottom: 10px;
    -webkit-text-stroke: 1px rgba(0,0,0,0.3);
  }

  .rules_card {
    width: min(100%, 230px);
    margin: 30px auto 2px;
  }

  .rules_img {
    width: 92%;
  }

  .rules_overlay {
    inset: 18% 6% 20%;
    padding: 8px 12px 10px;
  }

  .rules_overlay .rules_text_block h3 {
    font-size: clamp(0.86rem, 3.8vw, 1.04rem);
    margin-bottom: 6px;
  }

  .rules_overlay .rules_text_block p {
    font-size: clamp(0.76rem, 3.2vw, 0.9rem);
    line-height: 1.2;
    letter-spacing: 0.01em;
  }

  .rules_info_row {
    align-items: center;
    gap: 4px;
  }

  .rules_list {
    max-width: 220px;
  }

  .job_labels {
    min-width: 175px;
  }

  .job_title {
    transform: translateX(14px);
  }

  .job_badge {
    margin-right: 10px;
  }

  .job_content {
    margin-top: -52px;
    padding-right: 2px;
  }

  .job_img {
    width: clamp(148px, 37vw, 172px);
    margin-top: -24px;
  }

  .job_info_card {
    width: min(178px, 45vw);
    margin-top: 32px;
  }

  .job_info {
    padding: 8px 10px 7px 8px;
  }

  .job_info h3 {
    font-size: clamp(0.68rem, 3.1vw, 0.82rem);
    margin-bottom: 2px;
  }

  .job_info li,
  .job_info p {
    font-size: clamp(0.62rem, 2.6vw, 0.72rem);
    line-height: 1.1;
  }

  .requirements_block {
    margin-top: 3px;
    margin-left: -4px;
  }

  .job_section {
    margin-bottom: 32px;
  }

  .contacts_title {
    margin-top: 24px;
    font-size: clamp(2.2rem, 9vw, 3rem);
  }

  .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;
  }
}
