/* ========================================
   STYLES.CSS - MAIN STYLES FOR INDEX PAGE
   ======================================== */

/* ========================================
   FONT FACE DECLARATIONS
   ======================================== */
@font-face {
  font-family: "ProximaNova-Bold";
  src: url("../fonts/ProximaNova-Bold.woff") format("woff");
  font-weight: auto;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ProximaNova-Extrabld";
  src: url("../fonts/ProximaNova-Extrabld.woff") format("woff");
  font-weight: auto;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ProximaNova-Regular";
  src: url("../fonts/ProximaNova-Regular.woff") format("woff");
  font-weight: auto;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ProximaNova-Semibold";
  src: url("../fonts/ProximaNova-Semibold.woff") format("woff");
  font-weight: auto;
  font-style: normal;
  font-display: swap;
}

.navbar-brand {
  padding-top: .3125rem;
  padding-bottom: .3125rem;
  margin-right: 0rem;
  font-size: 1.25rem;
  text-decoration: none;
  white-space: nowrap;
}

/* ========================================
     CSS VARIABLES (CUSTOM PROPERTIES)
     ======================================== */
:root {
  --bg-color: #0E0E0E;
  --text-color-one: #6E6E6E;
  --text-color-two: #FFFFFF;
  --text-color-three: #515151;
  --text-color-four: #292929;
  --text-color-five: #828282;
  --accent-color-one: #BC3131;
  --accent-color-two: #DD3C3C;
  --accent-color-three: #BD3232;
  --accent-color-four: #D83B3B;
  --page3-accent2: #D83B3B;
}

/* ========================================
     BASE STYLES
     ======================================== */
body {
  zoom: 0.85;
  font-family: "ProximaNova", sans-serif;
  min-width: 320px;
  background-color: var(--bg-color);
  color: var(--text-color-one);
}

.back-static {
  display: none;
  width: 60%;
  margin-left: 20%;
}

/* ========================================
     SAVE YOUR HEAD ANIMATION RESPONSIVE CONTROL
     ======================================== */

/* По умолчанию скрываем анимацию для всех разрешений */
.Save-Your-Head-Animation {
  display: none;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  visibility: hidden;
}

/* Показываем back-static для всех разрешений по умолчанию */
.back-static {
  display: block;
  width: 60%;
  margin-left: 20%;
  opacity: 1;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  visibility: visible;
}

/* Показываем Save-Your-Head-Animation ТОЛЬКО для разрешений 1920px и больше */
@media (min-width: 1920px) {
  .Save-Your-Head-Animation {
    display: flex;
    opacity: 1;
    visibility: visible;
  }
  
  .back-static {
    display: none;
    opacity: 0;
    visibility: hidden;
  }
}

/* Скрываем Save-Your-Head-Animation для всех разрешений ниже 1920px */
@media (max-width: 1919px) {
  .Save-Your-Head-Animation {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
  
  .back-static {
    display: block;
    opacity: 1;
    visibility: visible;
  }
}

/* Дополнительные медиа-запросы для разных размеров back-static */
@media (max-width: 1440px) {
  .back-static {
    width: 70%;
    margin-left: 15%;
  }
  
  /* Улучшенная поддержка для средних экранов */
  .pick-em-button {
    max-width: 600px;
    height: clamp(80px, 14vw, 110px);
    border-radius: clamp(16px, 3vw, 22px);
  }
  
  .pick-em-text {
    font-size: clamp(24px, 4vw, 32px);
  }
}

@media (max-width: 1024px) {
  .back-static {
    width: 80%;
    margin-left: 10%;
  }
  
  /* Улучшенная поддержка для средних экранов */
  .pick-em-button {
    max-width: 500px;
    height: clamp(75px, 14vw, 110px);
    border-radius: clamp(14px, 2.5vw, 20px);
  }
  
  .pick-em-text {
    font-size: clamp(22px, 3.5vw, 32px);
  }
}

@media (min-width:768px) and (max-width:1024px){
  .nav {
    border-radius: 24px;
    font-size: 22px;
    height: 90px;
    padding: 0 10px;
    width: 70vw;
}
}

@media (max-width: 768px) {
  .back-static {
    width: 90%;
    margin-left: 5%;
  }
  
  /* Улучшенная поддержка для планшетов */
  .pick-em-button {
    max-width: 400px;
    height: clamp(70px, 13vw, 90px);
    border-radius: clamp(12px, 2.2vw, 18px);
  }
  
  .pick-em-text {
    font-size: clamp(20px, 3.8vw, 28px);
  }
}

@media (max-width: 480px) {
  .back-static {
    width: 95%;
    margin-left: 2.5%;
  }
  
  /* Улучшенная поддержка для маленьких экранов */
  .pick-em-button {
    max-width: 320px;
    height: clamp(60px, 12vw, 80px);
    border-radius: clamp(10px, 2vw, 16px);
  }
  
  .pick-em-text {
    font-size: clamp(18px, 3.5vw, 24px);
    letter-spacing: 1.5px;
  }
}

/* Дополнительные медиа-запросы для лучшей поддержки мобильных устройств */
@media (max-width: 375px) {
  .back-static {
    width: 98%;
    margin-left: 1%;
  }
  
  /* Улучшенная поддержка для маленьких экранов */
  .pick-em-button {
    max-width: 300px;
    height: clamp(55px, 11vw, 75px);
    border-radius: clamp(8px, 1.8vw, 14px);
  }
  
  .pick-em-text {
    font-size: clamp(16px, 3.2vw, 22px);
    letter-spacing: 1px;
  }
}

@media (max-width: 320px) {
  .back-static {
    width: 100%;
    margin-left: 0;
  }
  
  .pick-em-button {
    max-width: 280px;
    height: clamp(50px, 10vw, 70px);
    border-radius: clamp(6px, 1.5vw, 12px);
  }
  
  .pick-em-text {
    font-size: clamp(14px, 3vw, 20px);
    letter-spacing: 0.5px;
  }
}

/* Медиа-запрос для ландшафтной ориентации на мобильных устройствах */
@media (max-height: 500px) and (orientation: landscape) {
  .back-static {
    width: 70%;
    margin-left: 15%;
  }
  
  .pick-em-button {
    height: clamp(50px, 8vw, 70px);
  }
  
  .pick-em-text {
    font-size: clamp(16px, 2.5vw, 20px);
  }
}

/* Медиа-запрос для высоких экранов */
@media (min-height: 1080px) and (max-width: 1919px) {
  .back-static {
    width: 65%;
    margin-left: 17.5%;
  }
}

/* Медиа-запрос для очень широких экранов */
@media (min-width: 2560px) {
  .Save-Your-Head-Animation {
    display: flex;
    opacity: 1;
    visibility: visible;
  }
  
  .back-static {
    display: none;
    opacity: 0;
    visibility: hidden;
  }
  
  /* Улучшенная поддержка для очень широких экранов */
  .pick-em-button {
    width: 100%;
    max-width: 1600px;
    height: clamp(130px, 18vw, 160px);
    border-radius: clamp(28px, 5vw, 36px);
  }
  
  .pick-em-text {
    font-size: clamp(36px, 6vw, 48px);
  }
}

/* Улучшенные стили для анимации */
.doom {
  margin-right: 200px;
  z-index: 3;
  position: absolute;
  opacity: 0;
  transform: translateX(0);
  transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, opacity;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.doom.animate {
  opacity: 1;
  transform: scale(1) translateX(100px);
}

.Save-Your-Head-Title {
  z-index: 5;
  position: absolute;
  opacity: 0;
  transform: scale(0.8) translateY(20px);
  transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, opacity;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.Save-Your-Head-Title.animate {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.gradysa23 {
  margin-left: 200px;
  z-index: 2;
  position: absolute;
  opacity: 0;
  transform: translateX(0);
  transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, opacity;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.gradysa23.animate {
  opacity: 1;
  transform: scale(1) translateX(-100px);
}

.backAnimalTexture {
  z-index: 4;
  position: absolute;
  will-change: transform;
  backface-visibility: hidden;
}

html,
body {
  height: 100%;
}

/* ========================================
     IMAGE PROTECTION STYLES
     ======================================== */
img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
  pointer-events: none;
}

/* ========================================
     LINK STYLES
     ======================================== */
a {
  text-decoration: none;
  color: var(--text-color-one);
  transition: color .3s;
}

a:hover,
a.active {
  color: var(--accent-color-one);
}

a.active {
  border-radius: 5%;
  border-bottom: 4px solid var(--accent-color-one);
  padding-bottom: 3px;
  /* Add padding from text */
}

/* ========================================
     LAYOUT STYLES
     ======================================== */
.img-Rectangle424 {
  z-index: -1;
  width: 100%;
}

.wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.main {
  position: relative;
  z-index: 5;
  padding-top: clamp(00px, 8vw, 00px);
}


/* ========================================
     HEADER & NAVIGATION STYLES
     ======================================== */
.img-Rectangle424 {
  width: 100%;
  z-index: -1;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.header {
  font-family: "ProximaNova-Bold", sans-serif;
  margin-bottom: 50px;
  margin-top: 30px;
}

.nav-links {
  z-index: 1000;
}

nav {

  align-items: center;
  background: #141414;
  border-radius: 44px;
  font-size: 28px;
  height: 140px;
  margin: 0 auto;
  width: 1100px;
}

.img-nav {
  width: 2560px;
  height: 440px;
  position: absolute;
  z-index: 20;
}

a {
  color: var(--text-color-one);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover,
a.active {
  color: var(--page3-accent2);
}

a.active {
  border-bottom: 4px solid var(--accent-color-one);
  border-radius: 5%;
  padding-bottom: 3px;
}

.nav-lin {
  margin: 18px;
  z-index: 21;
}

.navbar-brand {
  z-index: 21;
}


/* ========================================
     MAIN CONTENT SECTIONS
     ======================================== */

/* ========================================
     SAVE YOUR HEAD HERO SECTION
     ======================================== */
.pers2-img {
  width: 1500px;
  position: absolute;
}

.pers1-img {
  width: 1500px;
  z-index: 10;
  position: absolute;
}

.Save-Your-Head-logo {
  z-index: 30;
  margin-top: 800px;
  position: absolute;
  opacity: 0;
  transition: opacity 1s ease;
}

body.loaded .Save-Your-Head-logo {
  opacity: 1;
  transition-delay: 1s;
}

.character {
  margin-top: 590px;
  transform: translateY(-50%);
  opacity: 0;
  transition: transform 1s ease, opacity 1s ease;
}

body.loaded .left {
  transform: translate(-30px, -50%);
  opacity: 1;
  transition-delay: 0s;
}

body.loaded .right {
  transform: translate(30px, -50%);
  opacity: 1;
  transition-delay: 0.5s;
  /* Delay for right character */
}


/* ========================================
     VIDEO RULES SECTION
     ======================================== */
.video-rules-section {
  margin-top: 60px;
  margin-bottom: clamp(60px, 12vw, 50px);
}

/* ========================================
     PICK EM SECTION
     ======================================== */
.pick-em-section {
  margin-top: 40px;
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pick-em-button {
  width: 100%;

  height: clamp(80px, 15vw, 120px);
  background: linear-gradient(135deg, #BC3131 0%, #DD3C3C 50%, #BC3131 100%);
  border: 2px solid #DD3C3C;
  border-radius: clamp(16px, 3vw, 24px);
  box-shadow: 0 8px 32px rgba(221, 60, 60, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin: 0 auto;
}

.pick-em-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.pick-em-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(221, 60, 60, 0.6);
  background: linear-gradient(135deg, #DD3C3C 0%, #BC3131 50%, #DD3C3C 100%);
}

.pick-em-button:hover::before {
  left: 100%;
}

.pick-em-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 20px rgba(221, 60, 60, 0.8);
}

.pick-em-text {
  font-family: 'Proxima Nova', sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 4vw, 36px);
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
}

/* ========================================
     VIDEO CARD
     ======================================== */
.video-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
  background: linear-gradient(135deg, #101010 0%, #151515 100%);
  border: 1px solid #222222;
  border-radius: clamp(24px, 6vw, 48px);
  padding: clamp(24px, 5vw, 48px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.video-thumbnail {
  width: 100%;
}

.video-thumbnail img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: clamp(16px, 4vw, 32px);
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* YouTube embed styles */
.youtube-embed-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  overflow: hidden;
  border-radius: clamp(16px, 4vw, 32px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.youtube-embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: clamp(16px, 4vw, 32px);
}

.video-content {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 3vw, 24px);
}

.video-title {
  font-family: 'Proxima Nova', sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 5vw, 48px);
  line-height: 1.1;
  text-transform: uppercase;
  color: #DD3C3C;
  text-shadow: 0 2px 8px rgba(221, 60, 60, 0.3);
}

.video-description {
  font-family: 'Proxima Nova', sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 1.8vw, 18px);
  line-height: 1.6;
  color: #828282;
  max-height: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
}

/* ========================================
     NEWS SECTION
     ======================================== */
.news-section {
  margin-bottom: clamp(60px, 12vw, 70px);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 4vw, 40px);
  margin: 0 auto;
}

.news-card {
  background: linear-gradient(135deg, #101010 0%, #151515 100%);
  border: 1px solid #222222;
  border-radius: clamp(20px, 4vw, 32px) clamp(20px, 4vw, 32px) clamp(20px, 4vw, 32px) 0;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.news-image {
  width: 100%;
  height: clamp(160px, 20vw, 200px);
  overflow: hidden;
  position: relative;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-content {
  padding: clamp(16px, 3vw, 24px);
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.5vw, 12px);
}

.news-date {
  font-family: 'Proxima Nova', sans-serif;
  font-weight: 600;
  font-size: clamp(10px, 1.2vw, 12px);
  line-height: 1.2;
  text-transform: uppercase;
  color: #333333;
  letter-spacing: 0.05em;
}

.news-title {
  font-family: 'Proxima Nova', sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 2.5vw, 24px);
  line-height: 1.3;
  color: #FFFFFF;
  margin-bottom: clamp(8px, 1.5vw, 12px);
}

.news-text {
  font-family: 'Proxima Nova', sans-serif;
  font-weight: 400;
  font-size: clamp(12px, 1.4vw, 14px);
  line-height: 1.5;
  color: #3a3a3a;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.news-link {
  font-family: 'Proxima Nova', sans-serif;
  font-weight: 600;
  font-size: clamp(11px, 1.3vw, 13px);
  line-height: 1.2;
  text-transform: uppercase;
  color: #BD3232;
  text-decoration: none;
  transition: all 0.3s ease;
  align-self: flex-start;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  letter-spacing: 0.05em;
}

.news-link:hover {
  color: #DD3C3C;
  border-bottom-color: #DD3C3C;
  transform: translateX(4px);
}

/* ========================================
     ESSENTIAL INFORMATION SECTION
     ======================================== */
.Essential-Information {
  font-weight: 700;
  font-size: 40px;
  color: #d83b3b;
}

.A-site-guide-like {
  font-weight: 700;
  font-size: 40px;
  color: #fff;
}

.common-text {
  padding: 55px;
  font-weight: 400;
  font-size: 27px;
  line-height: 119%;
  color: #fff;
}

.common-unit {
  display: flex;
  margin-top: 60px;
  margin-bottom: 30px;
  height: 257px;
}

.common-News {
  border-radius: 33px;
  width: 301px;
  height: 257px;
  background: linear-gradient(270deg, #0f0f0f 0%, #141414 100%);
}

.Vector-News {
  margin-top: 75px;
  position: absolute;
  margin-left: 90px;
}

.Vector-Tournament-bracket {
  margin-top: 75px;
  position: absolute;
  margin-left: 70px;
}

.Tournament-bracket {
  margin-left: 20px;
  border-radius: 33px;
  width: 257px;
  height: 257px;
  background: linear-gradient(270deg, #0f0f0f 0%, #141414 100%);
}

.guide-link {
  text-decoration: none;
  transition: background 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-color-one);
}

.guide-link:hover {
  background: linear-gradient(270deg, #0f0f0f 0%, #291212 100%);
  color: var(--accent-color-two);
}

.guide-icon-wrapper {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-icon {
  width: auto;

}

.Participants {
  margin-left: 20px;
  border-radius: 33px;
  width: 257px;
  height: 257px;
  background: #141414 linear-gradient(270deg, #0f0f0f 0%, #141414 100%);
}

.Vector-Participants {
  margin-top: 75px;
  position: absolute;
  margin-left: 70px;
}

.Sponsors {
  margin-left: 20px;
  border-radius: 33px;
  width: 257px;
  height: 257px;
  background: #141414 linear-gradient(270deg, #0f0f0f 0%, #141414 100%);
}

.Vector-Sponsors {
  margin-top: 75px;
  position: absolute;
  margin-left: 70px;
}

.Essential-Information-text {}

.Contacts {
  margin-left: 20px;
  border-radius: 33px;
  width: 257px;
  height: 257px;
  background: #141414 linear-gradient(270deg, #0f0f0f 0%, #141414 100%);
}

.Vector-Contacts {
  margin-top: 75px;
  position: absolute;
  margin-left: 50px;
}

/*Main*/

/* ========================================
     RESPONSIVE DESIGN - MOBILE ADAPTATION
     ======================================== */

/* ========================================
     MOBILE ADAPTATION FOR NEWS, ESSENTIAL-INFO, AND VIDEO
     ======================================== */

/* Медиа-запрос для разрешения 1024px */
@media (max-width: 1024px) {
  .pick-em-section {
    margin-top: 35px;
    margin-bottom: 35px;
  }

  .pick-em-button {
    max-width: 500px;
    height: clamp(75px, 14vw, 110px);
    border-radius: clamp(14px, 2.5vw, 20px);
  }

  .pick-em-text {
    font-size: clamp(22px, 3.5vw, 32px);
  }
  
  /* Улучшенная поддержка для средних экранов */
  .back-static {
    width: 80%;
    margin-left: 10%;
  }
}

/* Медиа-запрос для разрешения 768px */
@media (max-width: 768px) {
  .pick-em-section {
    margin-top: 35px;
    margin-bottom: 35px;
  }

  .pick-em-button {
    max-width: 400px;
    height: clamp(70px, 13vw, 90px);
    border-radius: clamp(12px, 2.2vw, 18px);
  }

  .pick-em-text {
    font-size: clamp(20px, 3.8vw, 28px);
  }

  .back-static {
    width: 90%;
    margin-left: 5%;
  }

  /* NEWS SECTION: stack cards vertically */
  .news-grid {
    display: block;
    max-width: 100%;
    gap: 0;
  }

  .pers1-img {
    width: 90%;
    margin-left: 50px;
  }

  .pers2-img {
    width: 90%;
    margin-left: 50px;
  }

  .character {
    margin-top: 260px;
  }

  .Save-Your-Head-logo {
    margin-top: 350px;
    margin-left: 40px;
    width: 85%;
  }

  .news-card {
    margin-bottom: 24px;
    border-radius: 20px;
  }

  .news-card:last-child {
    margin-bottom: 0;
  }

  /* ESSENTIAL-INFORMATION: stack blocks vertically */
  .common-unit {
    display: block;
    height: auto;
  }

  .common-News,
  .Tournament-bracket,
  .Participants,
  .Sponsors,
  .Contacts {
    width: 100%;
    height: auto;
    margin-left: 0;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .common-News:last-child,
  .Tournament-bracket:last-child,
  .Participants:last-child,
  .Sponsors:last-child,
  .Contacts:last-child {
    margin-bottom: 0;
  }

  .Vector-News,
  .Vector-Tournament-bracket,
  .Vector-Participants,
  .Vector-Sponsors,
  .Vector-Contacts {
    position: static;
    margin: 0 auto 10px auto;
    display: block;
  }

  .common-text {
    padding: 10px;
    font-size: 20px;
    text-align: center;
  }

  .Essential-Information-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  /* VIDEO SECTION: stack thumbnail and content vertically */
  .video-card {
    display: block;
    padding: 16px;
  }

  .video-thumbnail {
    margin-bottom: 16px;
  }

  .video-content {
    gap: 12px;
  }

  .news-card,
  .video-card,
  .common-News,
  .Tournament-bracket,
  .Participants,
  .Sponsors,
  .Contacts {
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    box-sizing: border-box;
  }

  .Essential-Information {
    font-size: 25px;
  }

  .A-site-guide-like {
    font-size: 30px;
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding-left: 8px;
    padding-right: 8px;
    box-sizing: border-box;
  }

  .main {
    padding-top: clamp(10px, 8vw, 10px);
  }

  .Save-Your-Head {}

  body.loaded .left {
    transform: translate(0px, -50%);
    opacity: 1;
    transition-delay: 0s;
  }

  body.loaded .right {
    transform: translate(0px, -50%);
    opacity: 1;
    transition-delay: 0s;
  }
}

@media (min-width: 425px) and (max-width: 430px) {
  .character {
    margin-left: 50px;
    margin-top: 135px;
  }

  .Save-Your-Head-logo {
    width: 350px;
    margin-left: 40px;
  }

  .Save-Your-Head-logo {
    margin-top: 180px;
  }

  .pers1-img {
    width: 320px;
  }

  .pers2-img {
    width: 320px;
  }

  .back3-img {
    width: 380px;
    margin-left: 17px;
  }

  .Essential-Information-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  /* Улучшенная поддержка для средних экранов */
  .back-static {
    width: 95%;
    margin-left: 2.5%;
  }
  
  .pick-em-button {
    max-width: 330px;
    height: clamp(65px, 12.5vw, 85px);
    border-radius: clamp(11px, 2.1vw, 17px);
  }
  
  .pick-em-text {
    font-size: clamp(19px, 3.6vw, 25px);
    letter-spacing: 1.8px;
  }
}


@media (min-width: 820px) and (max-width: 1024px) {
  .pers1-img {
    width: 90%;
    margin-left: 20px;
  }

  .pers2-img {
    width: 90%;
    margin-left: 70px;
  }

  .character {
    margin-top: 265px;
  }

  .Save-Your-Head-logo {
    margin-top: 380px;
    margin-left: 52px;
    width: 85%;
  }
  
  /* Улучшенная поддержка для планшетов */
  .back-static {
    width: 85%;
    margin-left: 7.5%;
  }
  
  .pick-em-button {
    max-width: 450px;
    height: clamp(75px, 13.5vw, 95px);
    border-radius: clamp(15px, 2.8vw, 21px);
  }
  
  .pick-em-text {
    font-size: clamp(21px, 3.9vw, 29px);
  }

  .news-grid {
    display: block;
    max-width: 100%;
    gap: 0;
  }

  .news-card {
    margin-bottom: 28px;
    border-radius: 22px;
    margin-left: auto;
    margin-right: auto;
    width: 75%;
    box-sizing: border-box;
  }

  .news-card:last-child {
    margin-bottom: 0;
  }

  .news-content {
    padding: 18px 12px;
  }

  .news-title {
    font-size: 22px;
  }

  .video-card {
    display: block;
    padding: 24px 12px;
    border-radius: 22px;
    margin-left: auto;
    margin-right: auto;
    width: 75%;
    box-sizing: border-box;
  }

  .video-thumbnail {
    margin-bottom: 18px;
  }

  .video-title {
    font-size: 28px;
  }

  .video-content {
    gap: 16px;
  }

  .common-unit {
    display: block;
    height: auto;
    margin-top: 40px;
    margin-bottom: 20px;
  }

  .Essential-Information-text {
    margin-left: 13%;
  }

  .common-News,
  .Tournament-bracket,
  .Participants,
  .Sponsors,
  .Contacts {
    width: 75%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 18px;
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
  }

  .common-News:last-child,
  .Tournament-bracket:last-child,
  .Participants:last-child,
  .Sponsors:last-child,
  .Contacts:last-child {
    margin-bottom: 0;
  }

  .Vector-News,
  .Vector-Tournament-bracket,
  .Vector-Participants,
  .Vector-Sponsors,
  .Vector-Contacts {
    position: static;
    margin: 0 auto 12px auto;
    display: block;
  }

  .common-text {
    padding: 16px;
    font-size: 22px;
    text-align: center;
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
  }
}

/* ========================================
     RESPONSIVE DESIGN - LARGE SCREENS
     ======================================== */
@media (min-width: 1440px) and (max-width: 1440px) {
  .Save-Your-Head-Animation {
    display: none;
  }

  .pick-em-button {
    width: 100%;
    max-width: 1400px;
    height: clamp(100px, 15vw, 130px);
    border-radius: clamp(20px, 4vw, 28px);
  }
  
  .pick-em-text {
    font-size: clamp(28px, 4.5vw, 40px);
  }

  .back-static {
    width: 90%;
    margin-left: 5%;
  }

  .page3-desc-wrap {
    display: flex;
    justify-content: flex-start;
  }

  .character {
    margin-left: 60px;
    margin-top: 345px;
  }

  .Save-Your-Head-logo {
    width: 900px;
    margin-left: 70px;
  }

  .Save-Your-Head-logo {
    margin-top: 500px;
  }

  .pers1-img {
    width: 820px;
  }

  .pers2-img {
    width: 820px;
  }

  .back3-img {
    width: 950px;
    margin-left: 30px;
  }

  .text-block-page3-title {
    text-align: left;
  }
}

@media (min-width: 1024px) and (max-width: 1430px) {
  .Save-Your-Head-Animation {
    display: none;
  }

  .pick-em-button {
    width: 100%;
    max-width: 850px;
    height: clamp(90px, 14vw, 120px);
    border-radius: clamp(18px, 3.5vw, 26px);
  }
  
  .pick-em-text {
    font-size: clamp(26px, 4.2vw, 36px);
  }

  .back-static {
    width: 90%;
    margin-left: 5%;
  }

  .page3-desc-wrap {
    display: flex;
    justify-content: flex-start;
  }

  .character {
    margin-left: 60px;
    margin-top: 345px;
  }

  .Save-Your-Head-logo {
    width: 900px;
    margin-left: 70px;
  }

  .Save-Your-Head-logo {
    margin-top: 500px;
  }

  .pers1-img {
    width: 820px;
  }

  .pers2-img {
    width: 820px;
  }

  .back3-img {
    width: 950px;
    margin-left: 30px;
  }

  .text-block-page3-title {
    text-align: left;
  }
}

@media (min-width: 992px) {
  .col-lg-3 {
    flex: 0 0 auto;
    width: 24%;
  }

  .col-lg-8 {
    flex: 0 0 auto;
    width: 100%;
  }
}

@media (min-width: 1200px) {
  .col-xl-2 {
    flex: 0 0 auto;
    width: 12.5%;
  }
}

@media (min-width: 1400px) {

  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {}
}

@media (min-width: 1510px) and (max-width: 1919px) {

  .back-static {
    width: 70%;
    margin-left: 15%;
  }
  
  /* Улучшенная поддержка для больших экранов */
  .pick-em-button {
    width: 100%;
    max-width: 1200px;
    height: clamp(110px, 16vw, 140px);
    border-radius: clamp(22px, 4.5vw, 30px);
  }
  
  .pick-em-text {
    font-size: clamp(30px, 5vw, 42px);
  }

  .col-xl-2 {
    flex: 0 0 auto;
    width: 11.5%;
  }

  .character {

    margin-top: 420px;
  }

  .Save-Your-Head-logo {
    width: 1150px;
  }

  .Save-Your-Head-logo {
    margin-top: 600px;
  }

  .pers1-img {
    width: 1250px;
  }

  .pers2-img {
    width: 1250px;
  }

  .back3-img {
    width: 1350px;
  }

  .text-block-page3-title {
    margin-left: 80px;
  }
}

/* ========================================
     RESPONSIVE DESIGN - MEDIUM SCREENS
     ======================================== */
@media (max-width: 1200px) {
  nav {
    border-radius: 24px;
    font-size: 22px;
    height: 90px;
    padding: 0 10px;
    width: 70vw;
  }

  .img-nav {
    height: auto;
    width: 80px;
  }

  .navbar-brand img {
    height: 60px;
    width: 60px;
  }

  .nav-lin {
    font-size: 18px;
    margin: 10px;
  }

  .page3-desc {
    font-size: 25px;
  }

  .page3-desc-wrap {
    display: flex;
    justify-content: center;
  }

  .page3-info-name {}

  .page3-participant-card {
    padding: 0.4rem;
  }

  .page3-info-card {
    padding: 1.5rem;
  }

  .page3-subtract {
    margin-right: 8px;
    width: 22px;
  }

  .text-block-page3-title {
    margin-left: 15px;
    text-align: center;
  }
}

@media (max-width: 992px) {
  .page3-desc {
    font-size: 22px;
  }

  .page3-desc-wrap {
    display: flex;
    justify-content: center;
  }

  .page3-info-card {
    align-items: stretch;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.2rem;
  }

  .page3-info-content {
    align-items: flex-start;
    text-align: left;
  }

  .page3-participants-grid .row {
    gap: 1rem;
  }

  .page3-participant-card {
    padding: 0.3rem;
  }

  .page3-social-icon {
    height: 24px;
    width: 28px;
  }

  .page3-social-link {
    height: 45px;
    width: 45px;
  }

  .page3-social-links {
    gap: 0.8rem;
  }

  .page3-subtract {
    margin-right: 7px;
    width: 20px;
  }

  .text-block-page3-title {
    margin-left: 12px;
    text-align: center;
  }

  .participant-info-img {
    display: block;
    margin: 0 auto 1.2rem auto;
    max-width: 350px;
    width: 80vw;
  }
}

/* ========================================
     RESPONSIVE DESIGN - SMALL SCREENS
     ======================================== */
@media (max-width: 768px) and (max-width: 1024px) {
  .Save-Your-Head-Animation {
    display: none;
  }

  .pick-em-button {
    width: 100%;
    max-width: 600px;
  }

  .character {
    margin-left: 90px;
    margin-top: 265px;
  }

  .Save-Your-Head-logo {
    width: 650px;
    margin-left: 50px;
  }

  .Save-Your-Head-logo {
    margin-top: 350px;
  }

  .pers1-img {
    width: 570px;
  }

  .pers2-img {
    width: 570px;
  }

  .back3-img {
    width: 690px;
    margin-left: 30px;
  }

  nav {
    width: 90vw;
  }

  .page3-desc {
    font-size: 18px;
  }

  .page3-desc-wrap {
    display: flex;
    justify-content: center;
  }

  .page3-info-card {
    padding: 1rem;
  }

  .page3-info-description p {
    font-size: clamp(0.8rem, 1.3vw, 1rem);
  }

  .page3-info-name {
    font-size: clamp(4rem, 2.5vw, 2.5rem);
  }

  .page3-info-title {
    font-size: clamp(1rem, 1.8vw, 1.3rem);
  }

  .page3-main {
    padding-bottom: 20px;
    padding-top: 20px;
  }

  .page3-participant-info {
    margin-top: 2rem;
  }

  .page3-participants-grid {
    margin-bottom: 2rem;
  }

  .page3-social-icon {
    height: 20px;
    width: 24px;
  }

  .page3-social-link {
    height: 40px;
    width: 40px;
  }

  .page3-social-links {
    gap: 0.6rem;
    justify-content: center;
  }

  .page3-subtract {
    margin-right: 6px;
    width: 18px;
  }

  .text-block-page3-title {
    font-size: 0.9em;
    margin-left: 10px;
    padding: 0 5px;
    text-align: center;
  }

  .page3-info-card {
    align-items: stretch;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.2rem;
  }

  .page3-info-content {
    align-items: center;
    max-width: none;
    text-align: center;
  }

  .participant-info-img {
    display: block;
    margin: 0 auto 1.2rem auto;
    max-width: 350px;
    width: 80vw;
  }

  .page3-title {
    color: var(--page3-title);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
}

@media (max-width: 600px) {
  nav {
    align-items: center;
    border-radius: 12px;
    flex-direction: row;
    font-size: 14px;
    height: 60px;
    justify-content: space-between;
    width: 85vw;
    position: relative;
    padding: 0 15px;
  }

  .img-nav {
    display: none;
  }

  .navbar-brand img {
    height: 32px;
    width: 32px;
  }

  .nav-lin {
    font-size: 13px;
    margin: 4px 0;
    padding: 2px 4px;
  }


}

@media (max-width: 576px) {
  .page3-desc {
    font-size: 16px;
  }

  .page3-desc-wrap {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
  }

  .page3-info-card {
    gap: 0.7rem;
    padding: 0.7rem;
  }

  .page3-info-description p {
    font-size: clamp(0.7rem, 1.1vw, 0.9rem);
  }

  .page3-info-name {
    font-size: clamp(1rem, 2vw, 1.8rem);
  }

  .page3-info-title {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  }

  .page3-main {
    padding-bottom: 15px;
    padding-top: 15px;
  }

  .page3-participant-info {
    margin-top: 1.5rem;
  }

  .page3-participants-grid {
    margin-bottom: 1.5rem;
  }

  .page3-title-section {
    margin-bottom: 1.5rem;
  }

  .page3-social-icon {
    height: 17px;
    width: 20px;
  }

  .page3-social-link {
    height: 35px;
    width: 35px;
  }

  .page3-social-links {
    gap: 0.5rem;
  }

  .page3-subtract {
    margin-right: 5px;
    width: 16px;
  }

  .text-block-page3-title {
    font-size: 0.85em;
    padding: 0 3px;
    text-align: center;
  }

  .page3-info-card {
    align-items: stretch;
    flex-direction: column;
    gap: 0.8rem;
    padding: 0.8rem;
  }

  .page3-info-content {
    align-items: center;
    text-align: center;
  }

  .page3-info-name {
    font-size: 1.3rem;
  }

  .page3-info-title {
    font-size: 0.8rem;
  }

  .page3-info-description p {
    font-size: 0.8rem;
  }

  .page3-social-title {
    font-size: 0.8rem;
  }

  .page3-social-icon {
    height: 28px;
    width: 28px;
  }

  .participant-info-img {
    border-radius: 14px;
    margin: 0 auto 0.7rem auto;
    max-width: 98vw;
    min-width: 0;
    width: 90vw;
  }

  .page3-participants-grid .col-12,
  .page3-participants-grid .col-sm-6,
  .page3-participants-grid .col-md-4,
  .page3-participants-grid .col-lg-3,
  .page3-participants-grid .col-xl-2,
  .page3-participants-grid .col-xl-3 {
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 4px;
    padding-right: 4px;
  }

  .page3-participant-card {
    min-width: 0;
    padding: 0.3rem;
  }

  .page3-avatar-img {
    border-radius: 10px;
  }

  .page3-participant-name {
    font-size: 0.8rem;
    padding: 0.2rem 0.1rem;
  }

  .page3-subtract {
    margin-right: 3px;
    width: 12px;
  }

  nav {
    align-items: center;
    border-radius: 10px;
    flex-direction: row;
    font-size: 11px;
    gap: 6px;
    height: 60px;
    justify-content: space-between;
    padding: 0 8px;
    width: 96vw;
    position: relative;
  }

  .img-nav {
    display: none;
  }

  .navbar-brand img {
    height: 28px;
    width: 28px;
  }

  .nav-lin {
    font-size: 11px;
    margin: 0;
    max-width: 55px;
    min-width: 0;
    overflow: hidden;
    padding: 2px 3px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header {
    margin-bottom: 30px;
    margin-top: 20px;
  }

  .text-block-page3-title {
    font-size: 0.75em;
    padding: 0 2px;
    text-align: center;
  }

  .page3-desc-wrap {
    display: flex;
    justify-content: center;
  }


}


@media (min-width: 2560px) and (max-width: 3840px) {
  .pick-em-button {
    width: 100%;
    max-width: 1400px;
    height: clamp(120px, 17vw, 150px);
    border-radius: clamp(26px, 4.8vw, 34px);
  }
  
  .pick-em-text {
    font-size: clamp(32px, 5.5vw, 44px);
  }

  .img-nav {
    width: 100%;
  }
}

@media (max-width: 430px) and (max-width: 768px) {
  .pick-em-section {
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .pick-em-button {
    max-width: 350px;
    height: clamp(60px, 12vw, 80px);
    border-radius: clamp(10px, 2vw, 16px);
  }

  .pick-em-text {
    font-size: clamp(18px, 3.5vw, 24px);
    letter-spacing: 1.5px;
  }
  
  /* Улучшенная поддержка для маленьких экранов */
  .back-static {
    width: 95%;
    margin-left: 2.5%;
  }

  .video-rules-section {
    margin-top: 30px;
  }

  .character {
    margin-left: 50px;
    margin-top: 135px;
  }

  .Save-Your-Head-logo {
    width: 350px;
    margin-left: 25px;
  }

  .Save-Your-Head-logo {
    margin-top: 180px;
  }

  .pers1-img {
    width: 320px;
  }

  .pers2-img {
    width: 320px;
  }

  .back3-img {
    width: 380px;
    margin-left: 10px;
  }

  nav {
    width: 76vw !important;
  }

  nav {
    position: relative;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
  }

  .img-nav {
    display: none;
  }
}

@media (max-width: 375px) {
  .page3-desc {
    font-size: 10px;
  }

  .page3-info-card {
    gap: 0.4rem;
    padding: 0.4rem;
  }

  .page3-info-name {
    font-size: 1.1rem;
  }

  .page3-info-title {
    font-size: 0.7rem;
  }

  .page3-info-description p {
    font-size: 0.7rem;
  }

  .page3-social-title {
    font-size: 0.7rem;
  }

  .page3-social-icon {
    height: 22px;
    width: 22px;
  }

  .page3-main {
    padding: 0 2px;
  }

  .page3-title {
    font-size: 0.95rem;
  }

  .participant-info-img {
    border-radius: 10px;
    max-width: 99vw;
    width: 96vw;
  }

  .page3-participants-grid .col-12,
  .page3-participants-grid .col-sm-6,
  .page3-participants-grid .col-md-4,
  .page3-participants-grid .col-lg-3,
  .page3-participants-grid .col-xl-2,
  .page3-participants-grid .col-xl-3 {
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 2px;
    padding-right: 2px;
  }

  .page3-participant-card {
    padding: 0.1rem;
  }

  .page3-participant-name {
    font-size: 0.7rem;
    padding: 0.1rem 0.05rem;
  }

  .page3-subtract {
    margin-right: 2px;
    width: 10px;
  }

  .text-block-page3-title {
    font-size: 0.7em;
    padding: 0 1px;
    text-align: center;
  }

  .page3-desc-wrap {
    display: flex;
    justify-content: center;
  }

  nav {
    align-items: center;
    border-radius: 8px;
    flex-direction: row;
    font-size: 11px;
    gap: 8px;
    height: 50px;
    justify-content: space-between;
    padding: 0 8px;
    width: 95vw;
    position: relative;
  }

  .img-nav {
    display: none;
  }

  .navbar-brand img {
    height: 28px;
    width: 28px;
  }

  .nav-lin {
    font-size: 11px;
    margin: 0;
    max-width: 60px;
    overflow: hidden;
    padding: 2px 3px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header {
    margin-bottom: 25px;
    margin-top: 15px;
  }


}

/* ========================================
     BURGER MENU STYLES
     ======================================== */

/* Бургер-кнопка */
.burger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1000;
  padding: 6px;
  background: rgba(20, 20, 20, 0.95);
  border-radius: 6px;
  border: 1px solid rgba(221, 60, 60, 0.3);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.burger-menu:hover {
  background: rgba(30, 30, 30, 0.95);
  border-color: rgba(221, 60, 60, 0.5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.burger-line {
  width: 20px;
  height: 2px;
  background-color: #DD3C3C;
  margin: 2px 0;
  transition: all 0.3s ease;
  border-radius: 1px;
}

/* Анимация бургер-кнопки при активации */
.burger-menu.active .burger-line:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.burger-menu.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Медиа-запрос для 430px */
@media (max-width: 430px) {

  /* Адаптация навигации для мобильных устройств */
  nav {
    position: relative;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
  }

  .img-nav {
    display: none;
  }

  /* Показываем бургер меню */
  .burger-menu {
    display: flex;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
  }

  /* Скрываем обычные ссылки */
  .nav-links {
    display: none;
  }

  .nav-links.active {
    display: flex;
    position: fixed;
    top: 15%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 340px;
    background: linear-gradient(135deg, #0E0E0E 0%, #141414 100%);
    border: 1px solid rgba(221, 60, 60, 0.3);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
    flex-direction: column;
    transition: all 0.3s ease;
    z-index: 999;
    padding: 20px;
    opacity: 1;
    visibility: visible;
    scale: 1;
  }

  .nav-links.active .nav-lin {
    font-size: 18px;
    margin: 8px 0;
    padding: 12px 20px;
    border-radius: 10px;
    background: rgba(221, 60, 60, 0.05);
    border: 1px solid transparent;
    transition: all 0.3s ease;
    text-align: center;
    color: #FFFFFF;
    font-weight: 500;
    white-space: nowrap;
    min-width: 100%;
  }

  .nav-links.active .nav-lin:hover,
  .nav-links.active .nav-lin.active {
    background: rgba(221, 60, 60, 0.15);
    border-color: rgba(221, 60, 60, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(221, 60, 60, 0.2);
  }
}

/* Медиа-запрос для 425px */
@media (max-width: 425px) {
  .nav-links.active {
    top: 28%;
  }
}

/* Медиа-запрос для 400px */
@media (max-width: 400px) {
  .nav-links.active {
    top: 35%;
  }
}

/* Медиа-запрос для 402px */
@media (max-width: 402px) {
  .nav-links.active {
    top: 36%;
  }
}

/* Медиа-запрос для 768px и меньше */
@media (max-width: 768px) {
  .burger-menu {
    display: flex;
    position: absolute;
    right: 24%;
    top: 4.5%;
    transform: translateY(-50%);
  }

  .nav-links {
    display: none;
  }

  .nav-links.active {
    display: flex;
    position: fixed;
    top: 28%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 340px;
    background: linear-gradient(135deg, #0E0E0E 0%, #141414 100%);
    border: 1px solid rgba(221, 60, 60, 0.3);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    flex-direction: column;
    transition: all 0.3s ease;
    z-index: 999;
    padding: 16px;
    opacity: 1;
    visibility: visible;
    scale: 1;
  }

  .nav-links.active .nav-lin {
    font-size: 15px;
    margin: 4px 0;
    padding: 9px 16px;
    border-radius: 7px;
    background: rgba(221, 60, 60, 0.05);
    border: 1px solid transparent;
    transition: all 0.3s ease;
    text-align: center;
    color: #FFFFFF;
    font-weight: 500;
    white-space: nowrap;
    min-width: 100%;
  }

  .nav-links.active .nav-lin:hover,
  .nav-links.active .nav-lin.active {
    background: rgba(221, 60, 60, 0.15);
    border-color: rgba(221, 60, 60, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(221, 60, 60, 0.2);
  }
}

/* Медиа-запрос для 600px и меньше */
@media (max-width: 600px) {
  .burger-menu {
    top: 30px;
    right: 30px;
  }

  .nav-links.active {
    width: 320px;
    padding: 14px;
  }

  .nav-links.active .nav-lin {
    font-size: 14px;
    margin: 3px 0;
    padding: 8px 14px;
    border-radius: 6px;
  }
}

/* Медиа-запрос для 375px и меньше */
@media (max-width: 375px) {
  .burger-menu {
    right: 6px;
  }

  .nav-links.active {
    width: 300px;
    padding: 12px;
    border-radius: 10px;
  }

  .nav-links.active .nav-lin {
    font-size: 13px;
    margin: 2px 0;
    padding: 7px 12px;
    border-radius: 6px;
  }
}

/* ========================================
     FINAL IMAGE PROTECTION
     ======================================== */
img {
  -khtml-user-drag: none;
  -khtml-user-select: none;
  -moz-user-drag: none;
  -moz-user-select: none;
  -o-user-drag: none;
  -o-user-select: none;
  -user-drag: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  pointer-events: none;
  user-select: none;
}

/* ========================================
     PAGE 5 STYLES
     ======================================== */
.page5-hero {
  padding: clamp(60px, 10vw, 120px) 0;
  background: linear-gradient(135deg, #0E0E0E 0%, #151515 100%);
  text-align: center;
}

.page5-content {
  max-width: 800px;
  margin: 0 auto;
}

.page5-title {
  font-family: 'Proxima Nova', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 6vw, 72px);
  color: #DD3C3C;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: clamp(24px, 4vw, 48px);
  text-shadow: 0 4px 16px rgba(221, 60, 60, 0.4);
}

.page5-description {
  font-family: 'Proxima Nova', sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 2.5vw, 24px);
  color: #828282;
  line-height: 1.6;
  margin-bottom: clamp(40px, 6vw, 60px);
}

.page5-actions {
  display: flex;
  gap: clamp(16px, 3vw, 24px);
  justify-content: center;
  flex-wrap: wrap;
}

.page5-button {
  padding: clamp(12px, 2vw, 20px) clamp(24px, 4vw, 40px);
  border-radius: clamp(8px, 1.5vw, 16px);
  font-family: 'Proxima Nova', sans-serif;
  font-weight: 600;
  font-size: clamp(14px, 2vw, 18px);
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.page5-button.primary {
  background: linear-gradient(135deg, #BC3131 0%, #DD3C3C 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(221, 60, 60, 0.4);
}

.page5-button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(221, 60, 60, 0.6);
  background: linear-gradient(135deg, #DD3C3C 0%, #BC3131 100%);
}

.page5-button.secondary {
  background: transparent;
  color: #DD3C3C;
  border: 2px solid #DD3C3C;
}

.page5-button.secondary:hover {
  background: rgba(221, 60, 60, 0.1);
  transform: translateY(-2px);
}

.page5-features {
  padding: clamp(60px, 10vw, 120px) 0;
  background: #0E0E0E;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 4vw, 40px);
}

.feature-card {
  background: linear-gradient(135deg, #101010 0%, #151515 100%);
  border: 1px solid #222222;
  border-radius: clamp(16px, 3vw, 24px);
  padding: clamp(24px, 4vw, 40px);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.feature-icon {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: clamp(16px, 2.5vw, 24px);
}

.feature-title {
  font-family: 'Proxima Nova', sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 3vw, 28px);
  color: #DD3C3C;
  margin-bottom: clamp(12px, 2vw, 16px);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.feature-text {
  font-family: 'Proxima Nova', sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 1.8vw, 16px);
  color: #828282;
  line-height: 1.6;
}

/* ========================================
     RESPONSIVE DESIGN
     ======================================== */

/* Медиа-запрос для разрешения 425px и меньше */
@media (max-width: 425px) {
  .burger-menu{
  right: 20px;
  top: 30px;
  }
  .pick-em-section {
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .pick-em-button {
    max-width: 320px;
    height: clamp(60px, 12vw, 80px);
    border-radius: clamp(10px, 2vw, 16px);
  }

  .pick-em-text {
    font-size: clamp(18px, 3.5vw, 24px);
    letter-spacing: 1.5px;
  }
  
  /* Улучшенная поддержка для маленьких экранов */
  .back-static {
    width: 95%;
    margin-left: 2.5%;
  }
}