@font-face {
    font-family: 'Intro';
    src: url(../fonts/Intro-Regular.ttf) format('truetype');
    font-style: normal;
    font-weight: normal;
}
@font-face {
    font-family: 'Intro';
    src: url(../fonts/Intro-Bold.ttf) format('truetype');
    font-style: normal;
    font-weight: bold;
}
@font-face {
    font-family: 'AmapolaModern';
    src: url(../fonts/AmapolaModern.ttf) format('truetype');
    font-style: normal;
    font-weight: normal;
}
@font-face {
    font-family: 'AlbertusBold';
    src: url(../fonts/Albertus-Bold.ttf) format('truetype');
    font-style: normal;
    font-weight: normal;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: "Intro", sans-serif;
    font-weight: normal;
    font-size: 17px;
    line-height: 1.2;
    color: #fff;
    background-color: #2a190d;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
    text-rendering: optimizeSpeed;
}
.body-wrapper {
    overflow: hidden;
    margin: 0;
}
a {
    text-decoration: none;
    transition: all .2s ease-out;
    color: #fff;
}
img {
    max-width: 100%;
    display: block;
}
header {
    position: fixed;
    width: 100%;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 36px;
    padding-top: 10px;
    z-index: 3;
}
.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 84px;
    backdrop-filter: blur(12px);
    background: rgba(0, 0, 0, 0.7); 
    border-radius: 10px;
    font-size: 18px;
    padding: 10px 54px;
    font-weight: bold;
    font-size: 15px;
    line-height: 1;
    text-transform: uppercase;
}
.header__left {
    display: flex;
    gap: 50px;
    align-items: center;
}
.nav-el {
    padding: 10px 0;
    text-align: center;
}
.nav-el.active {
    color: #ffe775;
}
.nav-el:not(.active):hover {
    color: #ffebbb;
}
.header__right {
    display: flex;
    align-items: center;
    gap: 50px;
}
.languages {
    display: flex;
    gap: 14px;
}
.language-item {
    opacity: 0.5;
}
.language-item.active {
    opacity: 1;
}
.language-item:hover {
    opacity: 1;
}
.account {
    display: flex;
  justify-content: center;
  align-items: center;
  width: 241px;
  height: 50px;
  background: url(../picture/button/header-btn.png) center no-repeat;
    background-size: auto;
  background-size: contain;
  font-size: 14px;
}
.account:hover {
    filter: brightness(120%);
}
section {
    display: flex;
    justify-content: center;
    position: relative;
}

.container {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* WELCOME */
section.welcome {
    background: url(../picture/sections/general-4.png);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}
section.welcome::after {
    display: none;
}
section.welcome .container {
    padding-top: 157px;
    padding-bottom: 150px;
    text-align: center;
    gap: 40px;
}
.welcome__title {
    font-family: "AmapolaModern";
    font-size: 34px;
    color: #ffcd38;
    text-transform: uppercase;
    text-shadow: 0 0px 3px rgb(0, 0, 1), 0 0px 18px rgb(0, 0, 1), 0 0px 46px rgb(0, 0, 0.99);;
    
}
.welcome__title_des {
    font-family: "AmapolaModern";
    font-size: 34px;
    color: #ffcd38;
    text-transform: uppercase;
    text-shadow: 0 0px 3px rgb(0, 0, 1), 0 0px 18px rgb(0, 0, 1), 0 0px 46px rgb(0, 0, 0.99);;
    
}
.subtitle {
    max-width: 768px;
  font-size: 22px;
}
.welcome__subtitle {
    line-height: 30px;
}
.welcome__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 358px;
    height: 98px;
    background: url(../picture/button/welcome-btn.png) center no-repeat;
    background-size: contain;
    font-weight: bold;
    font-size: 23px;
    color: #fffde1;
    text-transform: uppercase;
}
.welcome__btn:hover {
    filter: brightness(120%);
}

/* NEWS */
section.news {
    background: url(../picture/sections/general-5.png) center no-repeat;
    background-size: cover;
    box-shadow: 0px 8px 12px 6px rgba(0, 0, 0, 0.15), 0px 4px 4px 0px rgba(0, 0, 0, 0.30), 0px -4px 4px 0px rgba(0, 0, 0, 0.30);
}
section.news .container {
    padding-top: 75px;
    padding-bottom: 160px;
}
.title {
    font-family: "AmapolaModern";
    color: #ffefbe;
    font-size: 36px;
    text-transform: uppercase;
    text-shadow: 0 0 13px rgba(255, 134, 15, 0.69);
    line-height: 1;
}
.title {
    padding-top: 0px;
    padding-bottom: 20px;
}
.news__list {
    padding-top: 46px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 46px;
}
.news__list-item {
    display: flex;
  gap: 15px;
  flex-direction: column;
  width: 312px;
  height: 402px;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  border-radius: 10px;
  padding-left: 20px;
  padding-right: 25px;
  padding-bottom: 35px;
  padding-top: 35px;

}
.news__list-item::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.89) 50%, rgba(255, 255, 255, 0) 100%),
                linear-gradient(to top, rgba(177, 54, 1, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
    opacity: 0.89;
    z-index: -1;
    border-radius: 10px;
    transition: all .3s ease-in-out;
}
.news__list-item::after {
    content: "";
    position: absolute;
    width: 326px;
    height: 451px;
    bottom: -23px;
    left: -7px;
    z-index: 2;
    background: url(../picture/feature/feature-border.png) center no-repeat;
    background-size: contain;
    border-radius: 12px;
    transition: all .3s ease-in-out;
    overflow: hidden;
}
.news-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -2;
    overflow: hidden;
    border-radius: 12px;
}
.news-img img {
    transition: all .35s ease-in-out;
    object-fit: cover;
}
.news-name {
    font-family: "AmapolaModern";
    font-size: 15px;
    line-height: 26px;
    text-transform: uppercase;
    z-index: 3;
    padding-bottom: 35px;
}
.news-desc {
    color: #b5b5b5;
  font-size: 15px;
  line-height: 22px;
  z-index: 3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;

}
.news__list-item:hover::before {
    opacity: 0.85;
    filter: brightness(140%);
}
.news__list-item:hover::after {
    filter: brightness(140%);
}
.news__list-item:hover .news-img img {
    transform: scale(1.2);
}

.news-date {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: 14px;
  color: #8c8c7c;
  opacity: 0.9;
  letter-spacing: 1px;
}

/* RACE */
section.race {
    background: url(../picture/sections/race-bg.jpg) center no-repeat;
    background-size: cover;
}
section.race .container {
    padding-top: 140px;
    padding-bottom: 163px;
}
.race__list {
    padding-top: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 54px;
}
.race__list-item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 426px;
    height: 586px;
    border: 12px;
    gap: 30px;
    padding: 50px;
}
.race-name {
    font-family: "AmapolaModern";
    font-size: 28px;
    text-transform: uppercase;
    line-height: 1;
    z-index: 3;
}
.race-desc {
    color: #b5b5b5;
    line-height: 28px;
    z-index: 3;
}
.race__list-item:nth-child(1) {
    background: url(../picture/race-1-bg.png) center no-repeat;
    background-size: cover;
}
.race__list-item:nth-child(2) {
    background: url(../picture/race-2-bg.png) center no-repeat;
    background-size: cover;
}
.race__list-item:nth-child(3) {
    background: url(../picture/race-3-bg.png) center no-repeat;
    background-size: cover;
}
.race__list-item::after {
    content: "";
    position: absolute;
    width: 440px;
    height: 622px;
    bottom: -15px;
    left: -7px;
    z-index: 2;
    background: url(../picture/race-1-border.png) center no-repeat;
    background-size: contain;
    border-radius: 12px;
}
.race__list-item:nth-child(2)::after {
    background: url(../picture/race-2-border.png) center no-repeat;
    background-size: contain;
}
.race__list-item:nth-child(3)::after {
    background: url(../picture/race-3-border.png) center no-repeat;
    background-size: contain;
}

/* DOWNLOAD */
section.download {
    background: url(../picture/sections/general-5.png) center no-repeat;
    background-size: cover;
}
section.download .container {
    width: 100%;
  margin-top: 108px;
}
.download__steps {
    padding-top: 122px;
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 60px;
}
.step {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 1386px;
    width: 100%;
    min-height: 323px;
    padding-top: 34px;
    padding-bottom: 56px;
    background: url(../picture/step/step-1-bg.png)center no-repeat;
    background-size: cover;
    border-radius: 12px;
    z-index: 1;
}
.second {
    background: url(../picture/step/step-2-bg.png)center no-repeat;
    background-size: cover;
    min-height: 769px;
}
.third {
    background: url(../picture/step/step-3-bg.png)center no-repeat;
    background-size: cover;
    min-height: 268px;
}
.second {
    background: url(../picture/step/step-2-bg.png)center no-repeat;
    background-size: cover;
}
.third {
    background: url(../picture/step/step-3-bg.png)center no-repeat;
    background-size: cover;
}
.step-title {
    font-family: "AmapolaModern";
    font-size: 30px;
    line-height: 1;
    text-transform: uppercase;
    padding-bottom: 16px;
}
.step-subtitle {
    font-size: 15px;
    color: #b5b5b5;
    line-height: 1;
    padding-bottom: 27px;
}
.step-btn {
    margin-bottom: 24px;
}
.step-icon {
    position: absolute;
    top: -111px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}
.yel-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 16px;
    line-height: 1;
    max-width: 298px;
    width: 100%;
    min-height: 65px;
    background: url(../picture/button/yellow-btn.png) center no-repeat;
    background-size: cover;
    text-transform: uppercase;
}
.yel-btn:hover {
    filter: brightness(120%);
}
.step-subbtn {
    font-size: 15px;
    color: #b5b5b5;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.step-subbtn:hover {
    filter: brightness(120%);
}
.step-download {
    position: relative;
    max-width: 752px;
    width: 100%;
    min-height: 264px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    background: #000;
}
.step-download.d-1 {
    margin-bottom: 27px;
}
.step-download::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 10px;
    padding: 3px;
    background: linear-gradient(to bottom, #2e2315 0%, #483b27 100%);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}
.step-download_title {
    font-family: "AmapolaModern";
    font-size: 22px;
    text-transform: uppercase;
    line-height: 1;
}
.step-download_subtitle {
    font-size: 15px;
    line-height: 1;
    color: #b5b5b5;
    padding-bottom: 12px;
}
.step-download_options {
    display: grid;
    grid-template-columns: auto auto auto;
    grid-template-rows: auto auto;
    justify-content: center;
    align-items: center;
    gap: 16px;
}
.option {
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1;
    border-radius: 12px;
    background: url(../picture/button/download-btn.png) center no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 210px;
    height: 46px;
}
.option:hover {
    filter: brightness(130%);
}
.step-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}
.step-socials-item {
    width: 240px;
    height: 52px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    background: url(../picture/button/step-social-btn.png) center no-repeat;
    background-size: cover;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
}
.step-socials-item:hover {
    filter:  brightness(120%);
}

/* GIFTS */
section.gifts {
    background: url(../picture/sections/gifts-bg.png) center no-repeat;
    background-size: cover;
}
section.gifts .container {
    padding-top: 75px;
    padding-bottom: 150px;
    width: 100%;
    min-width: 0;
    max-width: 1240px;
}
.slider {
    padding-top: 65px;
    padding-bottom: 150px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 66px;
}
.slider .slick-arrow {
    font-size: 0;
    line-height: 0;
    background: none;
    outline: none;
    border: none;
    margin: 0;
    padding: 0;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: opacity 0.3s ease-in-out;
}
.slider .slick-arrow:after {
    content: "";
    width: 82px;
    aspect-ratio: 1/1;
    display: block;
}
.slider .slick-arrow.slick-prev::after {
    background: url(../picture/slider/slider-arrow-left.png);
    background-size: 100% 100%;
}
.slider .slick-arrow.slick-next::after {
    background: url(../picture/slider/slider-arrow-right.png);
    background-size: 100% 100%;
}
.slider .slick-arrow.slick-disabled {
    opacity: 0.3;
}
.slider .slick-list {
    width: 100%;
    z-index: 1;
}
.slider--arrow .slick-list {
    width: calc(100% - 164px - 40px);
}
.gifts__slider {
    width: 100%;
    min-height: 413px;
}
.gifts__slider .slick-list {
    overflow: visible;
}
.gifts__slider .slick-track {
    display: flex;
    align-items: stretch;
}
.gifts__slider-item {
    height: auto;
    transform: scale(0.9);
    opacity: 0.5;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}
.gifts__slider-item.slick-active {
    transform: scale(1);
    opacity: 1;
}
.gifts__slider-item-content {
    min-height: 413px;
    position: relative;
    z-index: 1;
}
.gifts__slider-item-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    border-radius: 16px;
    overflow: hidden;
}
.gifts__slider-item-content::before {
    content: "";
    position: absolute;
    width: calc(100% + 12px);
    height: calc(100% + 12px);
    background: url(../picture/slider/slider-background.png) center no-repeat;
    background-size: 100% 100%;
    z-index: 3;
    top: -6px;
    left: -6px;
}
.gifts__slider-item-bg img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 1;
    border-radius: 16px;
}
.gifts__slider-item-info {
    position: absolute;
    top: 110px; /* регулируй */
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    text-align: center;
    color: #fff;
    z-index: 5;
    padding: 0;

}
.gifts__slider-title {
    font-family: "AmapolaModern";
    font-size: 30px;
    line-height: 1.2em;
    font-weight: 700;
    text-transform: uppercase;
}
.gifts__slider-desc {
    font-size: 17px;
    line-height: 30px;
    color: #b5b5b5;
    max-width: 780px;
    text-align: center;
}
.gifts__slider-item-info p {
    font-size: 20px;
    line-height: 1.5em;
}
.gifts__slider-item-info p:not(:first-child) {
    margin-top: 5px;
}
.gifts__slider-item-button {
    width: 100%;
    max-width: 280px;
    margin-top: 20px;
}


/* socials */
.socials {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.socials__list {
    padding-top: 68px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 52px;
    flex-wrap: wrap;
}
.socials-item {
    position: relative;
    width: 312px;
    height: 402px;
    border-radius: 12px;
    background: url(../picture/race/race-1-bg.png) center no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 10px;
    gap: 33px;
    z-index: 1;
}
.socials-item2 {
    position: relative;
    width: 312px;
    height: 402px;
    border-radius: 12px;
    background: url(../picture/race/race-2-bg.png) center no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 10px;
    gap: 33px;
    z-index: 1;
}
.socials-item3 {
    position: relative;
    width: 312px;
    height: 402px;
    border-radius: 12px;
    background: url(../picture/race/race-3-bg.png) center no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 10px;
    gap: 33px;
    z-index: 1;
}
.socials-item::before {
    content: "";
    width: 326px;
    height: 452px;
    position: absolute;
    background: url(../picture/slider/socials-border.png) center no-repeat;
    background-size: contain;
    top: -29px;
    left: -7px;
    z-index: -1;
}
.socials-item2::before {
    content: "";
    width: 326px;
    height: 452px;
    position: absolute;
    background: url(../picture/slider/socials-border.png) center no-repeat;
    background-size: contain;
    top: -29px;
    left: -7px;
    z-index: -1;
}
.socials-item3::before {

    content: "";
    width: 326px;
    height: 452px;
    position: absolute;
    background: url(../picture/slider/socials-border.png) center no-repeat;
    background-size: contain;
    top: -29px;
    left: -7px;
    z-index: -1;
}
.socials-name {
    font-family: "AmapolaModern";
    font-size: 26px;
    text-transform: uppercase;
    line-height: 1;
    color: #ffd800;
}
.socials-desp {
    font-family: "AmapolaModern";
    font-size: 12px;
    text-transform: uppercase;
    line-height: 2;
    text-align: center;
    color: #ffd489;
}

.socials-updates {
    font-family: "AmapolaModern";
    font-size: 11px;
    text-transform: uppercase;
    line-height: 2;
    text-align: center;
}



.socials-btn {
    max-width: 210px;
    width: 100%;
    min-height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    border-radius: 12px;
    background: url(../picture/button/social-btn.png) center no-repeat;
    background-size: cover;
}
.socials-btn:hover {
    filter: brightness(150%);
}

/* FOOTER */
footer {
    background: url(../picture/sections/footer-bg.png);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}

.footer__container {
    padding: 66px 260px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #8c8c7c;
    line-height: 1;
}
.footer__left {
    font-size: 13px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    /*! align-items: last baseline; */
}
.copyright {
    padding-top: 22px;
    padding-bottom: 16px;
    color: #a7a7a7;
}
.terms {
    display: flex;
    gap: 25px;
    justify-content: left;
    align-items: center;
}
.agreement {
    color: #a7a7a7;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-skip-ink: none;
}
.agreement:hover {
    filter: brightness(140%);
}
.watermark {
    display: flex;
  margin-top: 32px;
  width: 45px;
}
}
.watermark:hover {
    filter: brightness(150%);
}
.footer__right {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    gap: 114px;
}
.footer__class {
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 27px;
}
.footer__class-name {
    font-family: "AlbertusBold";
    font-size: 18px;
    padding-bottom: 7px;
    color: #ffefbe;
    text-transform: uppercase;
    text-shadow: 0 0 13px rgba(255, 134, 15, 0.69);
    line-height: 1;
}
.footer__class-item {
    color: #a7a7a7;
    white-space: nowrap;
}
.footer__class-item:hover {
    filter: brightness(140%);
}

/* ADAPTIVE */
.burger {
    position: relative;
    width: 40px;
    height: 40px;
    border: none;
    display: none;
    z-index: 1002;
    background-color: transparent;
    cursor: pointer;
}
.burger span {
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: #ffe083;
    left: 8px;
    transition: transform .5s;
    will-change: transform;
}
.burger span:nth-child(1) {
    transform: translateY(-10px);
} 
.burger span:nth-child(3) {
    transform: translateY(10px);
} 
.burger.active span:nth-child(1) {
    transform: translateY(0) rotate(45deg);
} 
.burger.active span:nth-child(3) {
    transform: translateY(0) rotate(-45deg);
}
.burger.active span:nth-child(2) {
    display: none;
} 
.menu {
    display: none;
    visibility: hidden;
    z-index: 1001;
    min-height: 100vh;
}
.menu__list {
    display: flex;
    align-items: center;
    list-style-type: none;
    padding: 0;
    margin: 0;
}
@media(max-width: 1560px) {
    .header__left, .header__right {
        gap: 30px;
    }
    .slider .slick-arrow::after {
        width: 60px;
    }
    .footer__container {
        padding: 66px 66px;
    }
}

@media(max-width: 1420px) {
    section {
        padding: 120px 20px;
    }
    section .container {
        padding: 0;
    }
    .languages {
        gap: 12px;
    }
    .nav-el, .account {
        display: none;
    }
    .burger {
        display: block;
        position: relative;
    }
    .menu__list {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .menu__list li {
        padding: 4px 0;
        text-transform: uppercase;
        text-align: center;
        font-size: 16px;
    }
    .menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        padding: 100px 50px;
        transform: translateX(100%);
        transition: all .5s;
        display: block;
    }
    .menu.active {
        transform: translateX(0);
        visibility: visible;
    }
    .menu__item a {
        font-family: serif;
        color: #ffe083;
        font-weight: bold;
        font-size: 20px;
        font-family: "AmapolaModern";
    }
    .no-scroll {
        overflow: hidden;
    }

    
    section.welcome .container, section.features .container, section.race .container, section.download .container, section.gifts .container {
        padding: 0;
    }
    section.welcome .container {
        padding-top: 244px;
    }
    .welcome__title {
        text-shadow: 0 0 27px rgb(0, 0, 0);
    }
    .welcome__title, .title {
        font-size: 30px;   
    }
    .subtitle {
        font-size: 16px;
    }

    .features__list {
        display: grid;
                grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .race__list {
        flex-wrap: wrap;
    }
    .race__list-item {
        width: 360px;
        height: 495px;
    }
    .race__list-item::after {
        width: 371px;
        height: 525px;
        bottom: -12px;
        left: -6px;
    }
    .race-img {
        width: 200px;
    }
    .race-name {
        font-size: 20px;
    }
    .race-desc {
        font-size: 15px;
        line-height: 25px;
    }
    
    .download__steps {

    }
    .step {
        padding-left: 30px;
        padding-right: 30px;
        border: 3px solid rgb(219, 186, 145);
    }
    .step::after {
        display: none;
        width: 100%;
        background-size: cover;
        background-repeat: round;
        left: 0;
    }
    .step-title {
        font-size: 25px;
    }
    .step-subtitle, .step-download_subtitle {
        font-size: 13px;
    }
    .step-download_title {
        font-size: 20px;
    }
    .step-download_subtitle {
        font-size: 13px;
    }
    .step-subbtn {
        font-size: 13px;
    }
    .step-socials-item {
        width: 200px;
    }

    /* section.gifts .container {
        max-width: 800px;
    } */
    .slider {
        column-gap: 0px;
    }
    .gifts__slider {
        min-height: 360px;
        padding-left: 30px;
        padding-right: 30px;
    }
    .gifts__slider-item {
        min-height: 360px;
    }
    .gifts__slider-item-content {
        min-height: 360px;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }
    .gifts__slider-item-content::before {
        background-size: cover;
        background-repeat: round;
    }
    .gifts__slider-item-info {
        padding-top: 60px;
        gap: 20px;
    }
    .gifts__slider-title {
        font-size: 25px;
    }
    .gifts__slider-desc {
        font-size: 15px;
    }
    .slider .slick-arrow::after {
        width: 40px; 
    }

    .footer__container {
        flex-direction: column;
        gap: 66px;
    }
    .footer__left {
        align-items: center;
    }   
}

@media(max-width: 800px) {
    header {
        padding: 0;
    }
    .header__container {
        padding: 0 10px;
        border-radius: 0;
    }
    .language-item {
        width: 30px;
    }

    section {
        padding: 66px 10px;
    }
    section::after {
        height: 20px;
    }
    section.welcome .container {
        padding-top: 63px;
    }
    .welcome__title, .title {
        font-size: 25px;
        line-height: 32px;
        text-align: center;
    }
    .welcome__title {
        text-shadow: 0 0 27px rgb(0, 0, 0);
    }
    .welcome__btn {
        width: 300px;
        font-size: 18px;
    }
    .subtitle {
        font-size: 14px;
        text-align: center;
    }

    .features__list {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
    }
    .features__list-item {
        width: 280px;
        height: 360px;
        padding: 20px 10px;
        border: 2px solid rgb(115 115 108);
    }
    .features__list-item::after {
        display: none;
    }
    
    .race__list {
        gap: 30px;
        padding-top: 40px;
    }
    .race__list-item {
        width: 280px;
        height: 400px;
        border-radius: 10px;
        padding: 20px 10px;
        gap: 20px;
        border: 2px solid rgb(191 166 128);
    }
    .race__list-item::after {
        display: none;
    }
    .race-name {
        font-size: 16px;
    }
    .race-desc {
        font-size: 13px;
        line-height: 24px;
    }
    .race-img {
        width: 170px;
    }
    
    .download__steps {
        gap: 30px;
        padding-top: 80px;
    }
    .step {
        text-align: center;
        padding: 40px 10px;
        padding-top: 60px;
        border: 3px solid rgb(219, 186, 145);
        min-height: 250px;
    }
    .step-icon {
        pointer-events: none;
        width: 100px;
        top: -76px;
    }
    .step-title {
        font-size: 18px;
    }
    .step-subtitle {
        font-size: 11px;
    }
    .yel-btn {
        font-size: 13px;
        max-width: 250px;
        min-height: 55px;
        background-size: contain;
    }
    .step-download {
        padding: 20px 10px;
    }
    .step-download_title {
        font-size: 16px;
    }
    .step-download_subtitle {
        font-size: 11px;
        padding-bottom: 5px;
    }
    .step-download_options {
        grid-template-columns: auto auto;
        grid-template-rows: auto auto auto;
    }
    .option {
        width: 136px;
        font-size: 14px;
    }
    .step-socials {
        flex-wrap: wrap;
        /* gap: 20px; */
    }
    .step-socials-item {
        width: 160px;
        font-size: 14px;
    }

    .gifts__slider {
        min-height: 280px;
        padding: 30px 20px;
        padding-bottom: 60px;
    }
    .gifts__slider-item {
        min-height: 280px;
    }
    .gifts__slider-item-content {
        min-height: 280px;
    }
    .gifts__slider-item-content::before {
        background-size: cover;
        background-repeat: round;
    }
    .gifts__slider-item-info {
        height: 100%;
        padding: 20px;
        padding-top: 23px;
        gap: 20px;
        text-align: center;
    }
    .gifts__slider-title {
        font-size: 18px;
    }
    .gifts__slider-desc {
        font-size: 13px;
        line-height: 23px;
    }
    .slider .slick-arrow::after {
        width: 30px;
    }
    .gifts__slider-item-content::before {
        display: none;
    }
    .gifts__slider-item-content {
        border: 2px solid rgb(219, 186, 145);
        border-radius: 12px;
    }
    .socials__list {
        padding-top: 40px;
        gap: 30px;
    }
    .socials-item {
        width: 220px;
        height: auto;
        gap: 25px;
        border: 1px solid rgb(113 113 110);
    }
    .socials-item::before {
        display: none;
    }
    .social-img {
        width: 100px;
    }
    .socials-name {
        font-size: 20px;
    }
    .socials-btn {
        max-width: 160px;
        font-size: 14px;
        background-size: contain;
    }

    .footer__container {
        padding: 33px 10px;
    }
    .copyright {
        padding-top: 12px;
        padding-bottom: 12px;
        font-size: 11px;
    }
    .terms {
        flex-wrap: wrap;
        gap: 10px;
    }
    .agreement {
        font-size: 11px;
    }
    .watermark {
        margin-top: 20px;
    }
    .footer__right {
        justify-content: center;
        gap: 30px 60px;
        flex-wrap: wrap;
        padding-left: 30px;
        padding-right: 30px;
        flex-wrap: wrap;
    }
    .footer__class {
        gap: 17px;
        align-items: center;
    }
    .footer__class-name {
        font-size: 14px;
    }
    .footer__class-item {
        font-size: 11px;
    }
}

@media(min-width:1921px) {
    section.welcome {
        background: url(../picture/sections/welcome-bg_wide.jpg) center no-repeat;
        background-position-y: 40px;
        background-size: cover;
    }
}

section.privacy {
    padding-top: 200px;
    background: url(../picture/sections/page.png) center no-repeat;
    background-size: cover;
    line-height: 1.2;
    color: #b5b5b5;
}
section.privacy a {
    filter: brightness(140%);
    text-decoration: underline;
}
section.privacy .container {
    text-align: left;
    align-items: inherit;
    padding: 90px;
    padding-top: 0;
}
section.privacy::after {
    content: none;
}
.privacy__title {
    font-family: "AmapolaModern";
    color: #ffefbe;
    font-size: 36px;
    text-transform: uppercase;
    text-shadow: 0 0 13px rgba(255, 134, 15, 0.69);
    line-height: 1.4;
    padding-bottom: 60px;
    text-align: center;
}
.wp-block-heading {
    color: #ffe083;
    font-size: 26px;
    line-height: 1;
    text-transform: uppercase;
    margin: 10px 0;
    margin-top: 30px;
    line-height: 1.2;
}
section.privacy .container p {
    margin: 7px 0;
}
section.privacy .container .wp-block-heading:not(:first-child) {
  padding-top: 10px;
}
@media(max-width: 800px) {
    section.privacy {
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 124px;
        padding-bottom: 0;
    }
    .privacy__title {
        font-size: 22px;
        padding-bottom: 0;
    }
    .wp-block-heading {
        font-size: 18px;
    }
    section.privacy .container p, section.privacy .container li {
        font-size: 14px;
    }
}
.welcome__bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
section.welcome > :not(.welcome__bg-video) {
    z-index: 1;
}



/* NEW DESIGN */
.features__list-item {
    position: relative;
}

.news-btn {
    position: relative;
    z-index: 10;
}

.news-btn {
  position: relative;
  z-index: 10;
}
.news-btn {
  width: 33%;
  min-height: 27px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  border-radius: 10px;
  background: url(../picture/button/social-btn.png) center no-repeat;
    background-size: auto;
  background-size: cover;
  font-size: 12px;
  align-self: flex-end;
  margin-top: 10px;
  top: 20px;
}

.features__list-item {
    position: relative;
}

.feature-date {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 14px;
    color: #8c8c7c;
    opacity: 0.9;
    letter-spacing: 1px;
}

.logo {
  max-width: 4%;
}
.floating-socials {
    position: fixed;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.floating-socials a {
    width: 48px;
    height: 48px;
    background: rgba(0,0,0,0.7);
    color: #c9b37e;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    backdrop-filter: blur(6px);
}

.floating-socials a:hover {
    background: #c9b37e;
    color: #000;
    transform: translateX(-5px);
}

.welcome__logo img {
    max-width: 630px;
    animation: logoGlow 3s infinite alternate;
}

@keyframes logoGlow {
    from {
        filter: drop-shadow(0 0 10px rgba(255,120,0,0.4));
    }
    to {
        filter: drop-shadow(0 0 30px rgba(255,120,0,0.9));
    }
}

.welcome__logo {
   
    animation: floatLogo 4s ease-in-out infinite;
}

@keyframes floatLogo {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.hero-video {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.gifts__slider-item-bg {
    position: relative;
    height: 450px;
    overflow: hidden;
}

.gifts__slider-item-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* заполняет полностью */
}
.gifts__slider-item-content {
    position: relative;
    text-align: center;
}

.gifts__slider-item-bg {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.gifts__slider-item-bg video {
    width: 100%;
    height: 500px;              /* можешь подкорректировать */
    object-fit: cover;          /* красиво заполняет */
    display: block;
}

.gifts__slider-item-info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    color: #fff;
}

.gifts__slider-item-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}

.gifts__slider-item-info {
    position: absolute;
    left: 50%;
    bottom: 80px; /* вместо top: 50% */
    transform: translateX(-50%);
    width: 80%;
    text-align: center;
    color: #fff;
}

.gifts__slider-item-info {
    position: absolute;
    top: 30%; /* регулируй */
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    text-align: center;
}

.gifts__slider-item-content {
    position: relative;
    text-align: center;
}

/* Видео */
.gifts__slider-item-bg {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.gifts__slider-item-bg video {
    width: 100%;
    height: 500px;              /* можешь изменить под свой размер */
    object-fit: cover;
    display: block;
}

/* Текст поверх видео */
.gifts__slider-item-info {
    position: absolute;
    top: 22%;                   /* регулируй: 18%–28% */
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    text-align: center;
    color: #fff;
    z-index: 5;
}

/* Заголовок */
.gifts__slider-title {
   font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-align: center;
  color: #ffd800;
    
   position: relative;
   top: -35px;
}

/* Описание */
.gifts__slider-desc {
    font-size: 18px;
    opacity: 0.9;
    position: relative;
    top: -50px;
}

.gifts__slider-item-content {
    position: relative;
}

.gifts__news {
    position: absolute;
    top: 120px;      /* регулируй тут */
    left: 0;
    width: 100%;
    text-align: center;
    transform: none; /* ВАЖНО убрать translate */
    z-index: 5;
    color: #fff;
}

.gifts__news {
    position: absolute;
  left: 50%;
  transform: translateX(-50%);
  /*! width: 70%; */
  text-align: center;
  color: #fff;
  margin-top: -160px; /* регулируй отступ от верха */
}
.gifts__news {
    display: flex;
    flex-direction: column;
    align-items: center;   /* ВАЖНО */
    justify-content: center;
    text-align: center;
}
.gifts__slider{
    margin-top: 20px;
}

.color-accent {
  color: #f3cd00;
  color: rgb(251, 212, 4);
}

.social-img {
  width: 138px;
}

/* FEATURES */
.features {
    display: grid;
    grid-template-columns: 1fr;
}

section.features {
    background: url(../picture/sections/features-bg.png) center no-repeat;
    background-size: cover;
    box-shadow: 0px 8px 12px 6px rgba(0, 0, 0, 0.15), 0px 4px 4px 0px rgba(0, 0, 0, 0.30), 0px -4px 4px 0px rgba(0, 0, 0, 0.30);
}
section.features .container {
    padding-top: 75px;
    padding-bottom: 160px;
}
.title {
    font-family: "AmapolaModern";
    color: #ffefbe;
    font-size: 36px;
    text-transform: uppercase;
    text-shadow: 0 0 13px rgba(255, 134, 15, 0.69);
    line-height: 1;
}
.title {
    padding-top: 0px;
    padding-bottom: 20px;
}
.features__list {
    padding-top: 46px;
    justify-content: center;
    gap: 46px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.features__list-item {
    display: flex;
  gap: 15px;
  flex-direction: column;
  width: 312px;
  height: 402px;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  border-radius: 10px;
  padding-left: 20px;
  padding-right: 25px;
  padding-bottom: 35px;
  padding-top: 35px;
  background: url(../picture/sections/video-bg.jpg);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;

}
.features__list-item::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.89) 50%, rgba(255, 255, 255, 0) 100%),
                linear-gradient(to top, rgba(177, 54, 1, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
    opacity: 0.89;
    z-index: -1;
    border-radius: 12px;
    transition: all .3s ease-in-out;
}
.features__list-item::after {
    content: "";
    position: absolute;
    width: 326px;
    height: 451px;
    bottom: -23px;
    left: -7px;
    z-index: 2;
    background: url(../picture/feature/feature-border.png) center no-repeat;
    background-size: contain;
    border-radius: 12px;
    transition: all .3s ease-in-out;
    overflow: hidden;
}
.feature-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -2;
    overflow: hidden;
    border-radius: 12px;
}
.feature-img img {
    transition: all .35s ease-in-out;
    object-fit: cover;
}
.feature-name {
    font-family: "AmapolaModern";
    font-size: 15px;
    line-height: 26px;
    text-transform: uppercase;
    z-index: 3;
    padding-bottom: 15px;
}
.feature-desc {
       color: #b5b5b5;
    font-size: 15px;
    line-height: 20px;
    z-index: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;

}
.features__list-item:hover::before {
    opacity: 0.85;
    filter: brightness(140%);
}
.features__list-item:hover::after {
    filter: brightness(140%);
}
.features__list-item:hover .feature-img img {
    transform: scale(1.2);
}


.feature__dec {
    background-image: url(../picture/feature/decor.png);
    width: 11.1875rem;
    height: 11.25rem;
    left: calc(50% - 5.59375rem);
    top: 1.25rem;
}
.feature__dec, .feature__eye {
    background-color: transparent;
    background-size: contain;
    background-position: 50%;
    background-repeat: no-repeat;
    position: absolute;
    z-index: 2;
    pointer-events: none;
}



.section-divider {
    background: #b98a57;
    transform: translateY(-50%);
    pointer-events: none;
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 1;
    height: 5px;
    margin-bottom: 10px;
    box-shadow: 0px 8px 12px 6px rgba(0, 0, 0, 0.15), 0px 4px 4px 0px rgba(0, 0, 0, 0.30), 0px -4px 4px 0px rgba(0, 0, 0, 0.30);

}


.dev-premium {
    display: inline-block;
    text-decoration: none;
    position: relative;
    padding: 2px;
    border-radius: 10px;
    background-size: 200% 200%;
    animation: goldFlow 6s linear infinite;
    transition: 0.4s;
    width: 294px;
    margin-top: 10px;
}

.dev-premium-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 4px 13px;
    border-radius: 10px;
    background: linear-gradient(145deg, #0b0b0b, #151515);
}

.dev-premium img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(212,175,55,0.6));
}

.dev-premium-text {
    display: flex;
    flex-direction: column;
}

.dev-powered {
    font-size: 11px;
    color: #888;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.dev-name {
    font-size: 14px;
    font-weight: 600;
    color: #838080;
    letter-spacing: 0.5px;
    transition: 0.3s;
}

/* Hover эффект */
.dev-premium:hover {
    transform: translateY(-4px);
}

.dev-premium:hover .dev-name {
    color: #ffffff;
}

/* Анимация перелива золота */
@keyframes goldFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

span.wp-block-test {
    color: #ffd800;
}


/* статуса серверов на 2 сервера */
.server-status-wrap {
  position: absolute;
  top: 150px;
  left: 40px;
  z-index: 8;
  width: 420px;
}

.server-status-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.server-status-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
  padding: 14px 16px 14px 18px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 210, 120, 0.18);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.04),
    0 10px 24px rgba(0,0,0,0.32);
  backdrop-filter: blur(4px);
}

.server-status-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.server-status-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.server-status-left {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.server-status-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #f4d28d;
  font-size: 24px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.15), rgba(255,255,255,0.04) 45%, rgba(0,0,0,0.22) 100%);
  border: 1px solid rgba(255, 220, 150, 0.18);
  box-shadow:
    inset 0 1px 3px rgba(255,255,255,0.15),
    0 4px 12px rgba(0,0,0,0.28);
}

.server-status-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.server-status-name {
  color: #f7f1e4;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.server-status-sub {
  color: #f0b54d;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
}

.server-status-badge {
  min-width: 112px;
  height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  position: relative;
  z-index: 1;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 6px 14px rgba(0,0,0,0.24);
}

.server-status-card-online {
  background: linear-gradient(180deg, #4a9a18 0%, #2f6e0d 100%);
  min-width: 112px;
  height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  position: relative;
  z-index: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 6px 14px rgba(0,0,0,0.24);
}

.server-status-card-offline{
  background: linear-gradient(180deg, #a22121 0%, #6d1010 100%);
  min-width: 112px;
  height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  position: relative;
  z-index: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 6px 14px rgba(0,0,0,0.24);
}

.server-status-card.online {
  border: 1px solid rgba(255, 194, 92, 0.18);
}

.server-status-card.offline {
  /*! border-color: rgba(201, 70, 70, 0.20); */
}

@media (max-width: 768px) {
  .server-status-wrap {
    position: static;
    width: 100%;
    margin: 20px 0;
  }

  .server-status-card {
    min-height: 82px;
    padding: 12px 12px 12px 14px;
  }

  .server-status-name {
    font-size: 16px;
  }

  .server-status-sub {
    font-size: 13px;
  }

  .server-status-badge {
    min-width: 96px;
    height: 38px;
    font-size: 16px;
  }
}

.server-status-wrap {
  position: absolute;
  top: 150px;
  left: 40px;
  z-index: 8;
  width: 420px;
}

.server-status-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.server-status-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  padding: 14px 16px 14px 18px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,210,120,.18);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), 0 10px 24px rgba(0,0,0,.32);
  backdrop-filter: blur(4px);
}

.server-status-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.server-status-left {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.server-status-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #f4d28d;
  font-size: 24px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.15), rgba(255,255,255,.04) 45%, rgba(0,0,0,.22) 100%);
  border: 1px solid rgba(255,220,150,.18);
  box-shadow: inset 0 1px 3px rgba(255,255,255,.15), 0 4px 12px rgba(0,0,0,.28);
}

.server-status-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.server-status-name {
  color: #f7f1e4;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: .4px;
}

.server-status-sub {
  color: #f0b54d;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
}

.server-status-badge {
  min-width: 112px;
  height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  position: relative;
  z-index: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 6px 14px rgba(0,0,0,.24);
}

.server-status-card.online .server-status-badge {
  background: linear-gradient(180deg, #4a9a18 0%, #2f6e0d 100%);
}

.server-status-card.offline .server-status-badge {
  background: linear-gradient(180deg, #a22121 0%, #6d1010 100%);
}

.server-countdown-box {
  padding: 16px 18px;
  border-radius: 10px;
  /*! background: linear-gradient(90deg, rgba(20,20,24,.92) 0%, rgba(34,34,40,.84) 100%); */
  border: 1px solid rgba(255, 194, 92, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), 0 10px 24px rgba(0,0,0,.30);
}

.server-countdown-title {
  color: #f1c66b;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
  text-align: center;
}

.server-countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.count-item {
  min-width: 74px;
  padding: 10px 8px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 185, 70, 0.29), rgba(255, 145, 25, 0.28));
  border: 1px solid rgba(255,210,120,.18);
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.count-item span {
  display: block;
  color: #fff1d1;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.count-item small {
  display: block;
  margin-top: 6px;
  color: #d7b06c;
  font-size: 12px;
  text-transform: uppercase;
}

.count-sep {
  color: #f1c66b;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 768px) {
  .server-status-wrap {
    position: static;
    width: 100%;
    margin: 20px 0;
  }

  .server-status-card {
    min-height: 82px;
    padding: 12px;
  }

  .server-status-name {
    font-size: 16px;
  }

  .server-status-sub {
    font-size: 13px;
  }

  .server-status-badge {
    min-width: 96px;
    height: 38px;
    font-size: 16px;
  }

  .server-countdown {
    flex-wrap: wrap;
    gap: 10px;
  }

  .count-item {
    min-width: 64px;
  }

  .count-item span {
    font-size: 22px;
  }

  .count-sep {
    display: none;
  }
}


/* статистики в стиле твоего сайта */
.rating-radio-section {
  width: 100%;
  padding: 40px 20px;
  box-sizing: border-box;
}

.rating-radio-wrap {
  max-width: 1220px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rating-radio-title {
  margin: 0 0 24px;
  text-align: center;
  color: #f2ddb0;
  font-size: 42px;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0,0,0,.45);
}

.rating-radio-wrap input[type="radio"] {
  display: none;
}

.rating-server-row,
.rating-tab-row {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.rating-server-row {
  margin-bottom: 18px;
}

.rating-tab-row {
  margin-bottom: 28px;
}

.rating-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 54px;
  padding: 0 26px;
  /*! border: 1px solid rgba(255,255,255,0.08); */
  background: linear-gradient(180deg, #2f3442 0%, #171b27 100%);
  color: #d8dbe4;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(9% 0, 91% 0, 100% 50%, 91% 100%, 9% 100%, 0 50%);
  /*! box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 8px 18px rgba(0,0,0,0.25); */
  background: url(../picture/button/header-btn.png) center no-repeat;
}

.rating-btn::before,
.rating-btn::after {
  /*! content: ""; */
  /*! position: absolute; */
  /*! top: 50%; */
  /*! width: 12px; */
  /*! height: 12px; */
  /*! border: 2px solid rgba(255,255,255,0.18); */
  /*! transform: translateY(-50%) rotate(45deg); */
  /*! box-sizing: border-box; */
}

.rating-btn::before {
  left: 16px;
}

.rating-btn::after {
  right: 16px;
}

#server-x300:checked ~ .rating-server-row .server-btn-x300,
#server-x30:checked ~ .rating-server-row .server-btn-x30,
#x300-pvp:checked ~ .rating-tab-row label[for="x300-pvp"],
#x300-pk:checked ~ .rating-tab-row label[for="x300-pk"],
#x300-clans:checked ~ .rating-tab-row label[for="x300-clans"],
#x300-exp:checked ~ .rating-tab-row label[for="x300-exp"],
#x300-castles:checked ~ .rating-tab-row label[for="x300-castles"],
#x30-pvp:checked ~ .rating-tab-row label[for="x30-pvp"],
#x30-pk:checked ~ .rating-tab-row label[for="x30-pk"],
#x30-clans:checked ~ .rating-tab-row label[for="x30-clans"],
#x30-exp:checked ~ .rating-tab-row label[for="x30-exp"],
#x30-castles:checked ~ .rating-tab-row label[for="x30-castles"] {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 250px;
  /*! height: 98px; */
  background: url(../picture/button/welcome-btn.png) center no-repeat;
  background-size: auto;
  background-size: contain;
}

#server-x300:checked ~ .server-block-x300,
#server-x30:checked ~ .server-block-x30 {
  display: block;
}

.server-block {
  display: none;
  width: 100%;
}

.rating-tables .rating-table-box {
  display: none;
}

#x300-pvp:checked ~ .rating-tables .table-x300-pvp,
#x300-pk:checked ~ .rating-tables .table-x300-pk,
#x300-clans:checked ~ .rating-tables .table-x300-clans,
#x300-exp:checked ~ .rating-tables .table-x300-exp,
#x300-castles:checked ~ .rating-tables .table-x300-castles,
#x30-pvp:checked ~ .rating-tables .table-x30-pvp,
#x30-pk:checked ~ .rating-tables .table-x30-pk,
#x30-clans:checked ~ .rating-tables .table-x30-clans,
#x30-exp:checked ~ .rating-tables .table-x30-exp,
#x30-castles:checked ~ .rating-tables .table-x30-castles {
  display: block;
}

.rating-table-box {
  width: 100%;
  overflow-x: auto;
  background: url(../picture/step/step-2-bg.png)center no-repeat;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
}

.rating-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  border-radius: 10px;
}

.rating-table thead th {
  padding: 22px 18px;
  text-align: left;
  color: #d7ad63;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,.10);
  /*! background: rgba(10, 16, 28, 0.92); */
}

.rating-table tbody td {
  padding: 20px 18px;
  color: #f1eadb;
  font-size: 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

@media (max-width: 900px) {
  .rating-radio-title {
    font-size: 28px;
  }

  .rating-btn {
    min-width: 100%;
    clip-path: none;
    border-radius: 10px;
  }

  .rating-table thead th,
  .rating-table tbody td {
    padding: 14px 12px;
    font-size: 14px;
  }
}

.table-wrap {
  position: relative;
}

.table-frame {
  position: absolute;
  top: 18px;
  bottom: 18px;

  /* двигай рамку по горизонтали */
  left: 37%;
  width: 26%;

  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 18px;
  pointer-events: none;
  box-shadow:
    0 0 12px rgba(255,255,255,0.08),
    inset 0 0 12px rgba(255,255,255,0.03);
}

/* верхние ромбы */
.table-wrap {
  position: relative;
}

.table-frame {
  position: absolute;
  top: 18px;
  bottom: 18px;

  /* двигай рамку по горизонтали */
  left: 37%;
  width: 26%;

  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 18px;
  pointer-events: none;
  box-shadow:
    0 0 12px rgba(255,255,255,0.08),
    inset 0 0 12px rgba(255,255,255,0.03);
}

/* верхние ромбы */
.table-frame::before,
.table-frame::after {
  content: "";
  position: absolute;
  top: -8px;
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.9);
  transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(255,255,255,0.35);
}

.table-frame::before {
  left: 42%;
}

.table-frame::after {
  right: 42%;
}

/* центральные маленькие ромбы */
.table-wrap::before,
.table-wrap::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.9);
  transform: translateX(-50%) rotate(45deg);
  box-shadow: 0 0 8px rgba(255,255,255,0.35);
  pointer-events: none;
  z-index: 2;
}

.table-wrap::before {
  top: 22px;
}

.table-wrap::after {
  bottom: 22px;
}

.table-frame {
  position: absolute;
  top: 191px;
  bottom: 23px;
  left: 16.8%;
  width: 66.4%;
  border: 2px solid rgba(255,255,255,0.42);
  border-radius: 10px;
  pointer-events: none;
  height: 61.1%;
}
.table-wrap {
  position: relative;
}

.table-outer-frame {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  pointer-events: none;
  z-index: 2;
}

.table-outer-frame::before,
.table-outer-frame::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.9);
  transform: translateX(-50%) rotate(45deg);
  box-shadow: 0 0 8px rgba(255,255,255,0.35);
}

.table-outer-frame::before {
  top: -5px;
}

.table-outer-frame::after {
  bottom: -5px;
}


/* стримы */
.streams-section {
  width: 100%;
  padding: 40px 20px 50px;
  box-sizing: border-box;
}

.streams-wrap {
  max-width: 1320px;
  margin: 0 auto;
}

.streams-title {
  margin: 0 0 28px;
  text-align: center;
  color: #f2ddb0;
  font-size: 42px;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.streams-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 24px;
}

.stream-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: #fff;
  background: rgba(7, 12, 22, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.03),
    0 10px 28px rgba(0,0,0,0.24);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.stream-card:hover {
  transform: translateY(-3px);
  filter: brightness(1.04);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.05),
    0 14px 32px rgba(0,0,0,0.3);
}

.stream-card__frame {
  pointer-events: none;
  position: absolute;
  inset: 8px;
  clip-path: polygon(6% 0, 94% 0, 100% 18%, 100% 82%, 94% 100%, 6% 100%, 0 82%, 0 18%);
  z-index: 2;
}

.stream-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #251a12;
}

.stream-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.02) contrast(1.02);
}

.stream-card__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,8,14,0.08) 0%, rgba(5,8,14,0.18) 100%);
}

.stream-card__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 66px;
  height: 46px;
  border-radius: 14px;
  background: #ff1e1e;
  transform: translate(-50%, -50%);
  z-index: 3;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

.stream-card__play::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-38%, -50%);
  width: 0;
  height: 0;
  border-left: 16px solid #fff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.stream-card__badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 3;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.stream-card__badge--live {
  background: #d61d1d;
  color: #fff;
}

.stream-card__badge--offline {
  background: #f0f0f0;
  color: #222;
}

.stream-card__overlay-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 800;
  color: rgba(255,255,255,0.9);
  background: linear-gradient(180deg, rgba(10,12,18,0.45), rgba(10,12,18,0.72));
  z-index: 2;
}

.stream-card__body {
  padding: 14px 16px 16px;
  position: relative;
  z-index: 3;
}

.stream-card__name {
  color: #f0e6d4;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  min-height: 44px;
  margin-bottom: 6px;
}

.stream-card__author {
  color: #cdb182;
  font-size: 14px;
  font-weight: 600;
}

.streams-footer {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.streams-more-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  height: 58px;
  padding: 0 30px;
  color: #f0e3c9;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  clip-path: polygon(8% 0, 92% 0, 100% 50%, 92% 100%, 8% 100%, 0 50%);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 250px;
  background: url(../picture/button/welcome-btn.png) center no-repeat;
  background-size: auto;
  background-size: auto;
  background-size: contain;
}

.streams-more-btn::before,
.streams-more-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255,255,255,0.18);
  transform: translateY(-50%) rotate(45deg);
  box-sizing: border-box;
}

.streams-more-btn::before {
  left: 18px;
}

.streams-more-btn::after {
  right: 18px;
}

.streams-more-btn:hover {
  filter: brightness(1.08);
}

@media (max-width: 1200px) {
  .streams-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .streams-title {
    font-size: 30px;
  }

  .streams-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .streams-section {
    padding: 28px 12px 34px;
  }

  .streams-grid {
    grid-template-columns: 1fr;
  }

  .streams-more-btn {
    min-width: 100%;
    clip-path: none;
    border-radius: 10px;
  }

  .stream-card {
    clip-path: none;
    border-radius: 14px;
  }

  .stream-card__frame {
    clip-path: none;
    border-radius: 10px;
  }
}

.stream-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(7, 12, 22, 0.72);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.stream-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 220, 150, 0.22);
  border-radius: 18px;
  pointer-events: none;
  z-index: 3;
}

.stream-card::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  pointer-events: none;
  z-index: 3;
}

.server-status-wrap {
  z-index: 1 !important;
}

.stream-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #251a12;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  width: 268px;
}

.stream-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 220, 150, 0.22);
  border-radius: 18px;
  pointer-events: none;
  z-index: 3;
}

.stream-card::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  pointer-events: none;
  z-index: 3;
}
/* ===== WIKI PAGE ===== */
.wiki-page{
  max-width:1280px;
  margin:0 auto;
  /*! padding:28px 18px 40px; */
}

.top-switch{
  display:flex;
  justify-content:center;
  gap:28px;
  margin-bottom:26px;
  flex-wrap:wrap;
}

.rate-btn{
  min-width:230px;
  height:60px;
  border:none;
  cursor:pointer;
  position:relative;
  font-size:18px;
  font-weight:700;
  color:#f6eadf;
  background:linear-gradient(180deg,#d49b64,#9d5c2d 55%,#7f4723);
  border-radius:10px;
  box-shadow:inset 0 0 0 2px rgba(255,255,255,.14),0 4px 14px rgba(0,0,0,.18);
  transition:.18s ease;
}

.rate-btn:hover{transform:translateY(-1px)}

.rate-btn.alt{
  color:#949494;
  background:#251a12;
  box-shadow:inset 0 0 0 2px rgb(37, 26, 18),0 4px 14px rgb(37, 26, 18);
}

.rate-btn::before,
.rate-btn::after{
  content:"";
  position:absolute;
  left:50%;
  width:16px;
  height:16px;
  transform:translateX(-50%) rotate(45deg);
  background:inherit;
  border-left:1px solid rgba(255,255,255,.4);
  border-top:1px solid rgba(255,255,255,.4);
}

.rate-btn::before{top:-8px}
.rate-btn::after{bottom:-8px;transform:translateX(-50%) rotate(225deg)}

.rate-btn.active{
  transform:translateY(-1px);
  box-shadow:inset 0 0 0 2px rgba(255,255,255,.18),0 8px 18px rgba(157,92,45,.26);
}

.layout{
  display:grid;
  grid-template-columns:390px 1fr;
  gap:18px;
  align-items:start;
}

.sidebar,
.content{
  border-radius:10px;
  box-shadow:0 10px 24px rgba(0,0,0,.18);
  border:1px solid rgba(0,0,0,.08);
}

.sidebar{
  display:block;
  min-height:720px;
  padding:14px 12px;
  position:relative;
  z-index:5;
}

.menu{
  
  flex-direction:column;
  gap:12px;
  visibility:visible !important;
}

.menu-btn{
  width:100%;
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px;
  min-height:84px;
  text-align:left;
  cursor:pointer;
  transition:.18s ease;
  color:#101010;
  opacity:1 !important;
  visibility:visible !important;
  border-radius: 10px;
  background: #251a12;
  margin-top: 10px;
}

.menu-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 8px 18px rgba(0,0,0,.08);
}

.menu-btn.active{
  background: linear-gradient(180deg,#d49b64,#9d5c2d 55%,#7f4723);
}

.menu-icon{
  width:54px;
  height:54px;
  flex:0 0 54px;
  border-radius:18px;
  display:grid;
  place-items:center;
  font-size:29px;
  color:#9f120d;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 1px 3px rgba(0,0,0,.12);
  opacity:1 !important;
  visibility:visible !important;
}

.menu-text,
.menu-text strong,
.menu-text span{
  opacity:1 !important;
  visibility:visible !important;
}

.menu-text strong{
  display:block;
  color:#9f120d;
  font-size:18px;
  line-height:1.15;
  margin-bottom:4px;
}

.menu-text span{
  display:block;
  color:#949494;
  font-size:15px;
  line-height:1.3;
}

.content-header{
  padding:14px 18px;
  border-bottom:1px solid rgba(0,0,0,.09);
  font-size:15px;
  color:#202020;
}



.content-body{padding:18px}

.hero,
.section-card{
  width:100%;
  border-radius:10px;
  padding:18px 18px 20px;
  margin-bottom:16px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
  background: #251a12;
  border: 1px solid #37302b;
}

.hero h1{
  margin:0 0 10px;
  color:#9f120d;
  font-size:28px;
  line-height:1.15;
  text-transform:uppercase;
}

.hero h2{
  margin:0 0 12px;
  color:#ab863f;
  font-size:18px;
  line-height:1.25;
  font-weight:700;
}

.hero p,
.section-card p{
  margin:0 0 12px;
  font-size:17px;
  line-height:1.65;
  color:#fff;
}

.section-title{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:12px;
  color:#9f120d;
  font-size:18px;
  font-weight:700;
  text-transform:uppercase;
}

.small-icon{
  width:28px;
  height:28px;
  border-radius:10px;
  display:grid;
  place-items:center;
  color:#9f120d;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 1px 3px rgba(0,0,0,.12);
  font-size:15px;
}

.diamond-list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:10px;
}

.diamond-list li{
  position:relative;
  padding-left:18px;
  line-height:1.65;
  font-size:17px;
  color:#fff;
}

.diamond-list li::before{
  content:"◆";
  position:absolute;
  left:0;
  top:0;
  color:#c58a49;
  font-size:11px;
  line-height:2;
}

.tab-panel{display:none}
.tab-panel.active{display:block}

.footer-line{
  height:22px;
  border:1px solid rgba(0,0,0,.18);
  border-radius:4px;
  margin-top:10px;
}

@media (max-width: 980px){
  .layout{grid-template-columns:1fr}
  .top-switch{gap:16px}
  .rate-btn{min-width:180px}
  .sidebar{min-height:auto}
}

@media (max-width: 640px){
  .wiki-page{padding:18px 10px 28px}
  .top-switch{flex-direction:column;align-items:center}
  .rate-btn{width:100%;max-width:360px}
  .hero h1{font-size:22px}
  .menu-btn{min-height:72px;padding:12px}
  .menu-icon{width:46px;height:46px;flex-basis:46px}
  .menu-text strong{font-size:16px}
  .menu-text span,.hero p,.section-card p,.diamond-list li{font-size:15px}
}
.wiki-frame {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: 36px 28px 28px;
}

.wiki-frame__decor {
  position: absolute;
  inset: 10px;
  border: 3px solid #b98a57;
  border-radius: 10px;
  pointer-events: none;
  box-shadow:
    0 0 0 1px rgba(255, 224, 180, 0.18),
    inset 0 0 0 1px rgba(255, 240, 220, 0.08),
    0 0 24px rgba(120, 62, 24, 0.18);
  width: 1391px;
  height: 935px;
  top: -4px;
  left: -3px;
}

/* ромбы сверху */
.wiki-frame__decor::before,
.wiki-frame__decor::after {
  content: "";
  position: absolute;
  top: -8px;
  width: 12px;
  height: 12px;
  background: #1d1a17;
  border: 3px solid #b98a57;
  transform: rotate(45deg);
  box-sizing: border-box;
}

/* верхний левый ромб */
.wiki-frame__decor::before {
  left: 43%;
}

/* верхний правый ромб */
.wiki-frame__decor::after {
  right: 43%;
}

/* нижние ромбы */
.wiki-frame::before,
.wiki-frame::after {
  content: "";
  position: absolute;
  bottom: 4px;
  width: 12px;
  height: 12px;
  background: #1d1a17;
  border: 3px solid #b98a57;
  transform: rotate(45deg);
  box-sizing: border-box;
  pointer-events: none;
  z-index: 2;
}

.wiki-frame::before {
  left: 36%;
}

.wiki-frame::after {
  right: 36%;
}

.menu-btn,
.menu-btn.active,
.menu-btn::before,
.menu-btn::after {
  border: none !important;
  box-shadow: none !important;
}


.start-frame {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: 36px 28px 28px;
}

.start-frame__decor {
  position: absolute;
  inset: 10px;
  border: 3px solid #b98a57;
  border-radius: 22px;
  pointer-events: none;
  box-shadow:
    0 0 0 1px rgba(255, 224, 180, 0.18),
    inset 0 0 0 1px rgba(255, 240, 220, 0.08),
    0 0 24px rgba(120, 62, 24, 0.18);
  width: 1391px;
  height: 775px;
  top: -4px;
  left: -3px;
}

.start-frame__decor::before,
.start-frame__decor::after {
  content: "";
  position: absolute;
  top: -8px;
  width: 12px;
  height: 12px;
  background: #1d1a17;
  border: 3px solid #b98a57;
  transform: rotate(45deg);
  box-sizing: border-box;
}

.start-frame__decor::before {
  left: 43%;
}

.start-frame__decor::after {
  right: 43%;
}

.start-frame::before,
.start-frame::after {
  content: "";
  position: absolute;
  bottom: 4px;
  width: 12px;
  height: 12px;
  background: #1d1a17;
  border: 3px solid #b98a57;
  transform: rotate(45deg);
  box-sizing: border-box;
  pointer-events: none;
  z-index: 2;
}

.start-frame::before {
  left: 36%;
}

.start-frame::after {
  right: 36%;
}



.start-on-frame {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: 36px 28px 28px;
}

.start-on-frame__decor {
  position: absolute;
  inset: 10px;
  border: 3px solid #b98a57;
  border-radius: 22px;
  pointer-events: none;
  box-shadow:
    0 0 0 1px rgba(255, 224, 180, 0.18),
    inset 0 0 0 1px rgba(255, 240, 220, 0.08),
    0 0 24px rgba(120, 62, 24, 0.18);
width: 1391px;
  height: 277px;
  top: -4px;
  left: -3px;
}


.start-on-frame__decor::before,
.start-on-frame__decor::after {
  content: "";
  position: absolute;
  top: -8px;
  width: 12px;
  height: 12px;
  background: #1d1a17;
  border: 3px solid #b98a57;
  transform: rotate(45deg);
  box-sizing: border-box;
}

.start-on-frame__decor::before {
  left: 43%;
}

.start-on-frame__decor::after {
  right: 43%;
}

.start-on-frame::before,
.start-on-frame::after {
  content: "";
  position: absolute;
  bottom: 4px;
  width: 12px;
  height: 12px;
  background: #1d1a17;
  border: 3px solid #b98a57;
  transform: rotate(45deg);
  box-sizing: border-box;
  pointer-events: none;
  z-index: 2;
}

.start-on-frame::before {
  left: 36%;
}

.start-on-frame::after {
  right: 36%;
}



.start-on1-frame {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: 36px 28px 28px;
}

.start-on1-frame__decor {
  position: absolute;
  inset: 10px;
  border: 3px solid #b98a57;
  border-radius: 22px;
  pointer-events: none;
  box-shadow:
    0 0 0 1px rgba(255, 224, 180, 0.18),
    inset 0 0 0 1px rgba(255, 240, 220, 0.08),
    0 0 24px rgba(120, 62, 24, 0.18);
width: 1391px;
  height: 331px;
  top: -4px;
  left: -3px;
}


.start-on1-frame__decor::before,
.start-on1-frame__decor::after {
  content: "";
  position: absolute;
  top: -8px;
  width: 12px;
  height: 12px;
  background: #1d1a17;
  border: 3px solid #b98a57;
  transform: rotate(45deg);
  box-sizing: border-box;
}

.start-on1-frame__decor::before {
  left: 43%;
}

.start-on1-frame__decor::after {
  right: 43%;
}

.start-on1-frame::before,
.start-on1-frame::after {
  content: "";
  position: absolute;
  bottom: 4px;
  width: 12px;
  height: 12px;
  background: #1d1a17;
  border: 3px solid #b98a57;
  transform: rotate(45deg);
  box-sizing: border-box;
  pointer-events: none;
  z-index: 2;
}

.start-on1-frame::before {
  left: 36%;
}

.start-on1-frame::after {
  right: 36%;
}

/* =========================
   MOBILE + TABLET ADAPTIVE
   вставить в самый конец
========================= */

/* ---------- до 1400 ---------- */
@media (max-width: 1400px) {
  .header__container {
    padding: 10px 24px;
  }

  .header__left {
    gap: 28px;
  }

  .header__right {
    transform: none !important;
    margin-left: auto;
    gap: 20px;
  }

  .logo {
    max-width: 56px;
  }

  .server-status-wrap {
    left: 20px;
    top: 130px;
    width: 360px;
  }

  .wiki-frame__decor,
  .start-frame__decor,
  .start-on-frame__decor,
  .start-on1-frame__decor {
    width: auto !important;
    height: auto !important;
    inset: 8px !important;
    left: auto !important;
    top: auto !important;
  }
}

/* ---------- планшеты ---------- */
@media (max-width: 1200px) {
  header {
    padding: 0 12px;
    padding-top: 10px;
  }

  .header__container {
    height: 76px;
    padding: 10px 18px;
    gap: 14px;
  }

  .header__left {
    gap: 18px;
  }

  .nav-el {
    font-size: 13px;
  }

  .account {
    width: 190px;
    height: 44px;
    font-size: 12px;
    background-size: contain;
  }

  .server-status-wrap {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    max-width: 720px;
    margin: 110px auto 0;
    padding: 0 10px;
  }

  .server-status-list {
    gap: 12px;
  }

  .server-status-card {
    min-height: 84px;
    padding: 12px 14px;
  }

  .server-status-name {
    font-size: 17px;
  }

  .server-status-sub {
    font-size: 13px;
  }

  .server-status-badge {
    min-width: 96px;
    height: 38px;
    font-size: 15px;
  }

  .server-countdown {
    gap: 6px;
    flex-wrap: wrap;
  }

  .count-item {
    min-width: 68px;
    padding: 10px 6px;
  }

  .count-item span {
    font-size: 24px;
  }

  .count-item small {
    font-size: 11px;
  }

  .floating-socials {
    right: 12px;
    gap: 10px;
  }

  .floating-socials a {
    width: 42px;
    height: 42px;
    font-size: 13px;
  }

  .wiki-page {
    padding: 18px 12px 24px;
  }

  .layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .sidebar {
    min-height: auto;
    order: 2;
  }

  .content {
    order: 1;
  }

  .top-switch {
    gap: 16px;
    margin-bottom: 18px;
  }

  .rate-btn {
    min-width: 180px;
    height: 54px;
    font-size: 16px;
  }

  .menu-btn {
    min-height: 76px;
    padding: 12px 14px;
  }

  .menu-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    font-size: 24px;
  }

  .menu-text strong {
    font-size: 16px;
  }

  .menu-text span {
    font-size: 14px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .hero h2 {
    font-size: 17px;
  }

  .hero p,
  .section-card p,
  .diamond-list li {
    font-size: 16px;
  }

  .streams-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .stream-card {
    width: 100%;
  }

  .rating-server-row,
  .rating-tab-row {
    gap: 14px;
  }

  .rating-btn {
    min-width: 180px;
    font-size: 14px;
  }

  .rating-table {
    min-width: 760px;
  }

  .footer__container {
    padding: 44px 20px;
    flex-direction: column;
    gap: 34px;
    align-items: flex-start;
  }

  .footer__right {
    width: 100%;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

/* ---------- мобильные ---------- */
@media (max-width: 900px) {
  .nav-el,
  .account {
    display: none !important;
  }

  .burger {
    display: block !important;
  }

  .header__container {
    height: 70px;
    padding: 10px 14px;
    border-radius: 10px;
  }

  .header__left {
    gap: 12px;
  }

  .logo {
    max-width: 48px;
  }

  .menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    background: rgba(0,0,0,.94);
    padding: 90px 24px 30px;
    transform: translateX(100%);
    transition: transform .35s ease;
    display: block;
    visibility: visible;
    overflow-y: auto;
  }

  .menu.active {
    transform: translateX(0);
  }

  .menu__list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
    justify-content: flex-start;
  }

  .menu__list li a {
    font-family: "AmapolaModern";
    font-size: 24px;
    color: #ffe083;
    text-transform: uppercase;
  }

  .server-status-wrap {
    margin-top: 96px;
    max-width: 100%;
    padding: 0 8px;
  }

  .server-status-card {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  .server-status-icon {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
    font-size: 20px;
  }

  .server-status-name {
    font-size: 15px;
  }

  .server-status-sub {
    font-size: 12px;
  }

  .server-status-badge {
    min-width: 84px;
    height: 34px;
    font-size: 13px;
    padding: 0 10px;
  }

  .server-countdown-box {
    padding: 14px 12px;
  }

  .server-countdown-title {
    font-size: 14px;
  }

  .count-item {
    min-width: 58px;
  }

  .count-item span {
    font-size: 20px;
  }

  .count-sep {
    display: none;
  }

  .welcome__logo img {
    max-width: 360px;
  }

  .welcome__title,
  .welcome__title_des,
  .title {
    font-size: 24px;
    line-height: 1.2;
    text-align: center;
  }

  .subtitle,
  .welcome__subtitle {
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
  }

  .welcome__btn {
    width: 280px;
    height: 76px;
    font-size: 17px;
  }

  .news__list,
  .features__list,
  .race__list,
  .socials__list {
    gap: 24px;
  }

  .news__list-item,
  .features__list-item,
  .socials-item,
  .socials-item2,
  .socials-item3 {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .race__list-item {
    width: 100%;
    max-width: 320px;
    height: auto;
    min-height: 360px;
    padding: 24px 14px;
  }

  .race__list-item::after,
  .news__list-item::after,
  .features__list-item::after,
  .socials-item::before,
  .socials-item2::before,
  .socials-item3::before {
    display: none !important;
  }

  .step {
    padding: 54px 12px 28px;
    min-height: auto;
    text-align: center;
  }

  .second {
    min-height: auto;
  }

  .third {
    min-height: auto;
  }

  .step-title {
    font-size: 20px;
  }

  .step-subtitle,
  .step-download_subtitle,
  .step-subbtn {
    font-size: 12px;
  }

  .step-icon {
    width: 88px;
    top: -58px;
  }

  .step-download {
    max-width: 100%;
    min-height: auto;
    padding: 20px 12px;
  }

  .step-download_options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }

  .option {
    width: 100%;
    min-width: 0;
    font-size: 13px;
  }

  .step-socials {
    flex-wrap: wrap;
    gap: 10px;
  }

  .step-socials-item {
    width: calc(50% - 5px);
    min-width: 140px;
    font-size: 13px;
  }

  .gifts__slider {
    min-height: auto;
    padding: 20px 8px 40px;
  }

  .gifts__slider-item-content,
  .gifts__slider-item {
    min-height: 260px;
  }

  .gifts__slider-item-bg video {
    height: 320px;
  }

  .gifts__slider-title {
    font-size: 22px;
    top: 0;
    margin-bottom: 10px;
  }

  .gifts__slider-desc {
    font-size: 14px;
    line-height: 1.5;
    top: 0;
  }

  .gifts__slider-item-info,
  .gifts__news {
    width: 88%;
  }

  .floating-socials {
    display: none;
  }

  .streams-section {
    padding: 24px 12px 30px;
  }

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

  .streams-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stream-card {
    max-width: 360px;
    margin: 0 auto;
  }

  .streams-more-btn {
    min-width: 240px;
    width: 100%;
    max-width: 320px;
    font-size: 16px;
  }

  .rating-radio-section {
    padding: 26px 10px;
  }

  .rating-radio-title {
    font-size: 26px;
  }

  .rating-server-row,
  .rating-tab-row {
    gap: 10px;
  }

  .rating-btn {
    min-width: 100%;
    max-width: 320px;
    width: 100%;
    clip-path: none;
    border-radius: 10px;
    background-size: cover;
  }

  .rating-table {
    min-width: 640px;
  }

  .rating-table thead th,
  .rating-table tbody td {
    padding: 12px 10px;
    font-size: 13px;
  }

  .wiki-page {
    padding: 14px 8px 24px;
  }

  .top-switch {
    flex-direction: row;
    justify-content: center;
    gap: 12px;
  }

  .rate-btn {
    min-width: 150px;
    height: 50px;
    font-size: 15px;
  }

  .layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .sidebar,
  .content {
    width: 100%;
  }

  .sidebar {
    padding: 10px;
    order: 2;
  }

  .content {
    order: 1;
  }

  .content-header {
    padding: 12px 14px;
    font-size: 14px;
  }

  .content-body {
    padding: 12px;
  }

  .menu {
    gap: 10px;
  }

  .menu-btn {
    min-height: 68px;
    padding: 10px 12px;
    border-radius: 12px;
  }

  .menu-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    font-size: 22px;
  }

  .menu-text strong {
    font-size: 15px;
  }

  .menu-text span {
    font-size: 13px;
  }

  .hero,
  .section-card {
    padding: 14px;
    border-radius: 10px;
    margin-bottom: 12px;
  }

  .hero h1 {
    font-size: 22px;
    line-height: 1.15;
  }

  .hero h2 {
    font-size: 16px;
  }

  .hero p,
  .section-card p,
  .diamond-list li {
    font-size: 15px;
    line-height: 1.6;
  }

  .section-title {
    font-size: 16px;
  }

  .small-icon {
    width: 24px;
    height: 24px;
    font-size: 13px;
  }

  .wiki-frame,
  .start-frame,
  .start-on-frame,
  .start-on1-frame {
    padding: 16px 8px 20px;
  }

  .wiki-frame__decor,
  .start-frame__decor,
  .start-on-frame__decor,
  .start-on1-frame__decor {
    inset: 0 !important;
    width: auto !important;
    height: auto !important;
    border-width: 2px;
    border-radius: 12px;
  }

  .footer__container {
    padding: 30px 12px;
    gap: 24px;
    align-items: center;
  }

  .footer__left,
  .footer__right {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .footer__right {
    justify-content: center;
    gap: 22px;
  }

  .terms {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .agreement {
    font-size: 11px;
  }

  .copyright {
    font-size: 11px;
    text-align: center;
  }

  .dev-premium {
    width: 100%;
    max-width: 320px;
  }
}

/* ---------- маленькие телефоны ---------- */
@media (max-width: 640px) {
  header {
    padding: 0;
    padding-top: 0;
  }

  .header__container {
    height: 64px;
    border-radius: 0;
    padding: 8px 10px;
  }

  .logo {
    max-width: 42px;
  }

  .server-status-wrap {
    margin-top: 80px;
    padding: 0 6px;
  }

  .server-status-card {
    padding: 10px;
    gap: 8px;
  }

  .server-status-left {
    gap: 10px;
  }

  .server-status-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    font-size: 18px;
  }

  .server-status-name {
    font-size: 14px;
  }

  .server-status-sub {
    font-size: 11px;
  }

  .server-status-badge {
    min-width: 74px;
    height: 30px;
    font-size: 12px;
    border-radius: 5px;
  }

  .server-countdown-box {
    padding: 12px 8px;
  }

  .server-countdown-title {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .server-countdown {
    gap: 6px;
  }

  .count-item {
    min-width: 52px;
    padding: 8px 4px;
    border-radius: 10px;
  }

  .count-item span {
    font-size: 18px;
  }

  .count-item small {
    font-size: 10px;
    margin-top: 4px;
  }

  .welcome__logo img {
    max-width: 280px;
  }

  .welcome__title,
  .welcome__title_des,
  .title {
    font-size: 20px;
    line-height: 1.2;
  }

  .welcome__btn {
    width: 240px;
    height: 64px;
    font-size: 15px;
  }

  .subtitle,
  .welcome__subtitle {
    font-size: 13px;
    line-height: 1.5;
  }

  .step-download_options {
    grid-template-columns: 1fr;
  }

  .step-socials-item {
    width: 100%;
  }

  .option {
    height: 42px;
    font-size: 12px;
  }

  .streams-title,
  .rating-radio-title {
    font-size: 22px;
  }

  .stream-card__name {
    font-size: 15px;
    min-height: auto;
  }

  .stream-card__author {
    font-size: 13px;
  }

  .top-switch {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .rate-btn {
    width: 100%;
    max-width: 280px;
    min-width: 0;
  }

  .menu-btn {
    min-height: 64px;
    padding: 10px;
  }

  .menu-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    font-size: 18px;
  }

  .menu-text strong {
    font-size: 14px;
  }

  .menu-text span {
    font-size: 12px;
  }

  .hero h1 {
    font-size: 19px;
  }

  .hero h2 {
    font-size: 15px;
  }

  .hero p,
  .section-card p,
  .diamond-list li {
    font-size: 14px;
  }

  .section-title {
    font-size: 15px;
  }

  .footer__class-name {
    font-size: 13px;
  }

  .footer__class-item {
    font-size: 11px;
  }
}

/* =========================
   FIX MOBILE RATING/TABLE
========================= */

@media (max-width: 900px) {
  .rating-radio-section {
    padding: 24px 10px !important;
    overflow: hidden;
  }

  .rating-radio-wrap {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
  }

  .rating-server-row,
  .rating-tab-row {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
  }

  .rating-btn {
    width: 100% !important;
    max-width: 320px !important;
    min-width: 0 !important;
    height: 56px !important;
    clip-path: none !important;
    border-radius: 12px !important;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    font-size: 15px !important;
  }

  #server-x300:checked ~ .rating-server-row .server-btn-x300,
  #server-x30:checked ~ .rating-server-row .server-btn-x30,
  #x300-pvp:checked ~ .rating-tab-row label[for="x300-pvp"],
  #x300-pk:checked ~ .rating-tab-row label[for="x300-pk"],
  #x300-clans:checked ~ .rating-tab-row label[for="x300-clans"],
  #x300-exp:checked ~ .rating-tab-row label[for="x300-exp"],
  #x300-castles:checked ~ .rating-tab-row label[for="x300-castles"],
  #x30-pvp:checked ~ .rating-tab-row label[for="x30-pvp"],
  #x30-pk:checked ~ .rating-tab-row label[for="x30-pk"],
  #x30-clans:checked ~ .rating-tab-row label[for="x30-clans"],
  #x30-exp:checked ~ .rating-tab-row label[for="x30-exp"],
  #x30-castles:checked ~ .rating-tab-row label[for="x30-castles"] {
    width: 100% !important;
    max-width: 320px !important;
    height: 56px !important;
    background-size: contain !important;
  }

  .server-block {
    width: 100% !important;
  }

  .rating-tables {
    width: 100% !important;
  }

  .rating-table-box {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    border-radius: 10px !important;
  }

  .rating-table {
    min-width: 640px !important;
    width: 640px !important;
  }

  .rating-table thead th,
  .rating-table tbody td {
    padding: 12px 10px !important;
    font-size: 13px !important;
    white-space: nowrap;
  }

  .table-wrap {
    width: 100% !important;
    overflow: hidden !important;
  }

  .table-frame,
  .table-outer-frame {
    display: none !important;
  }

  .table-wrap::before,
  .table-wrap::after {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .rating-radio-section {
    padding: 18px 8px !important;
  }

  .rating-radio-title {
    font-size: 22px !important;
    margin-bottom: 18px !important;
  }

  .rating-btn {
    max-width: 280px !important;
    height: 52px !important;
    font-size: 14px !important;
  }

  #server-x300:checked ~ .rating-server-row .server-btn-x300,
  #server-x30:checked ~ .rating-server-row .server-btn-x30,
  #x300-pvp:checked ~ .rating-tab-row label[for="x300-pvp"],
  #x300-pk:checked ~ .rating-tab-row label[for="x300-pk"],
  #x300-clans:checked ~ .rating-tab-row label[for="x300-clans"],
  #x300-exp:checked ~ .rating-tab-row label[for="x300-exp"],
  #x300-castles:checked ~ .rating-tab-row label[for="x300-castles"],
  #x30-pvp:checked ~ .rating-tab-row label[for="x30-pvp"],
  #x30-pk:checked ~ .rating-tab-row label[for="x30-pk"],
  #x30-clans:checked ~ .rating-tab-row label[for="x30-clans"],
  #x30-exp:checked ~ .rating-tab-row label[for="x30-exp"],
  #x30-castles:checked ~ .rating-tab-row label[for="x30-castles"] {
    max-width: 280px !important;
    height: 52px !important;
  }

  .rating-table {
    min-width: 334px !important;
    width: 334px !important;
  }

  .rating-table thead th,
  .rating-table tbody td {
    padding: 10px 8px !important;
    font-size: 12px !important;
  }
}


.section-divider {
  background: #b98a57;
  transform: translateY(-50%);
  pointer-events: none;
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 1;
  height: 5px;
  margin-bottom: 10px;
  box-shadow: 0px 8px 12px 6px rgba(0, 0, 0, 0.15),
              0px 4px 4px 0px rgba(0, 0, 0, 0.30),
              0px -4px 4px 0px rgba(0, 0, 0, 0.30);
}

@media (max-width: 900px) {
  .section-divider {
    height: 3px;
    margin-bottom: 0;
    box-shadow: 0px 4px 8px 2px rgba(0, 0, 0, 0.18),
                0px 2px 3px 0px rgba(0, 0, 0, 0.22);
  }
}

@media (max-width: 640px) {
  .section-divider {
    background: #b98a57;
    transform: translateY(-50%);
    pointer-events: none;
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 1;
    height: 5px;
    margin-bottom: 10px;
    box-shadow: 0px 8px 12px 6px rgba(0, 0, 0, 0.15), 0px 4px 4px 0px rgba(0, 0, 0, 0.30), 0px -4px 4px 0px rgba(0, 0, 0, 0.30);
   
  }
}



.socials {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 45px;
}

@media (max-width: 900px) {
  .socials {
    padding-top: 30px;
  }
}

@media (max-width: 640px) {
  .socials {
    padding-top: 20px;
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 640px) {
  .rating-server-row,
  .rating-tab-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px !important;
  }

  .rating-btn,
  #server-x300:checked ~ .rating-server-row .server-btn-x300,
  #server-x30:checked ~ .rating-server-row .server-btn-x30,
  #x300-pvp:checked ~ .rating-tab-row label[for="x300-pvp"],
  #x300-pk:checked ~ .rating-tab-row label[for="x300-pk"],
  #x300-clans:checked ~ .rating-tab-row label[for="x300-clans"],
  #x300-exp:checked ~ .rating-tab-row label[for="x300-exp"],
  #x300-castles:checked ~ .rating-tab-row label[for="x300-castles"],
  #x30-pvp:checked ~ .rating-tab-row label[for="x30-pvp"],
  #x30-pk:checked ~ .rating-tab-row label[for="x30-pk"],
  #x30-clans:checked ~ .rating-tab-row label[for="x30-clans"],
  #x30-exp:checked ~ .rating-tab-row label[for="x30-exp"],
  #x30-castles:checked ~ .rating-tab-row label[for="x30-castles"] {
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    height: 60px !important;
    flex: 0 0 150px !important;
    clip-path: none !important;
    border-radius: 10px !important;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    font-size: 14px !important;
    padding: 0 !important;
  }
}

@media (max-width: 640px) {
  label[for="x300-castles"],
  label[for="x30-castles"] {
    display: none !important;
  }
}

section.gifts {
  background: url(../picture/sections/gifts-bg.png) center no-repeat;
  background-size: cover;
  padding-top: 0px;
}

@media (max-width: 900px) {
  section.gifts {
    background-position: center top;
    background-size: cover;
    padding-top: 20px;
  }
}

@media (max-width: 640px) {
  section.gifts {
    background-position: center top;
    background-size: cover;
    padding-top: 10px;
  }
}

@media (max-width: 640px) {
  .server-status-wrap {
    display: none !important;
  }
}


@media (max-width: 640px) {
  .layout {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .sidebar {
    order: 1 !important;
    min-height: auto !important;
    padding: 8px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
  }

  .menu {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    width: max-content;
  }

  .menu-btn {
    width: 56px !important;
    min-width: 56px !important;
    max-width: 56px !important;
    height: 56px !important;
    min-height: 56px !important;
    padding: 0 !important;
    border-radius: 14px !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .menu-text {
    display: none !important;
  }

  .menu-icon {
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px !important;
    font-size: 20px !important;
    margin: 0 !important;
  }

  .content {
    order: 2 !important;
  }
}

@media (max-width: 640px) {
  .layout {
    grid-template-columns: 72px 1fr !important;
    gap: 10px !important;
    align-items: start;
  }

  .sidebar {
    display: block !important;
    min-height: auto !important;
    padding: 8px 6px !important;
    width: 72px !important;
    overflow: visible !important;
  }

  .menu {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  .menu-btn {
    width: 60px !important;
    min-width: 60px !important;
    height: 60px !important;
    min-height: 60px !important;
    padding: 0 !important;
    justify-content: center !important;
    align-items: center !important;
    border-radius: 14px !important;
  }

  .menu-icon {
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px !important;
    font-size: 20px !important;
    margin: 0 !important;
  }

  .menu-text {
    display: none !important;
  }

  .content {
    min-width: 0 !important;
  }

  .content-header {
    padding: 10px 12px !important;
  }

  .content-body {
    padding: 10px !important;
  }
}

@media (max-width: 640px) {
  .wiki-page {
    padding: 12px 6px 20px !important;
  }

  .layout {
    display: grid !important;
    grid-template-columns: 64px 1fr !important;
    gap: 8px !important;
    align-items: start !important;
  }

  .sidebar {
    display: block !important;
    position: relative !important;
    z-index: 20 !important;
    width: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    min-height: auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  .menu {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  .menu-btn {
    width: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    height: 64px !important;
    min-height: 64px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    margin-top: 10px;
  }

  .menu-icon {
    width: 42px !important;
    height: 42px !important;
    flex: 0 0 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    margin: 0 !important;
  }

  .menu-text {
    display: none !important;
  }

  .content {
    width: 100% !important;
    min-width: 0 !important;
    position: relative !important;
    z-index: 5 !important;
  }

  .content-header,
  .footer-line {
    display: none !important;
  }

  .content-body {
    padding: 0 !important;
  }

  .hero,
  .section-card {
    width: 100% !important;
    margin: 0 0 12px 0 !important;
  }

  .wiki-frame__decor,
  .start-frame__decor,
  .start-on-frame__decor,
  .start-on1-frame__decor {
    display: none !important;
  }
}


.rating-table-wrap {
  position: relative;
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
}

.rating-table-box {
  position: relative;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 2px solid rgba(220, 220, 230, 0.75);
  border-radius: 18px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05) inset,
    0 0 12px rgba(255,255,255,0.06);
}

.rating-table-box::before,
.rating-table-box::after {
  content: "";
  position: absolute;
  top: -8px;
  width: 12px;
  height: 12px;
  background: #e8e8e8;
  transform: rotate(45deg);
  z-index: 5;
}

.rating-table-box::before {
  left: 43%;
}

.rating-table-box::after {
  right: 43%;
}


/* музыка */
.header-music-player {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 320px;
  max-width: 420px;
  height: 54px;
  padding: 8px 14px;
  border-radius: 14px;
  background: rgba(8, 8, 12, 0.75);
  border: 1px solid rgba(185, 138, 87, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 4px 18px rgba(0,0,0,0.25);
  backdrop-filter: blur(6px);
}

.music-btn {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  flex: 0 0 38px;
  color: #f2d1a0;
  font-size: 16px;
  line-height: 1;
  background: linear-gradient(180deg, #9b622f 0%, #6a3d1f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 2px 8px rgba(0,0,0,0.3);
  transition: .2s ease;
}

.music-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.music-play {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
  font-size: 17px;
}

.music-info {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.music-title {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.music-status {
  color: #d3a35a;
  font-size: 12px;
  margin-top: 2px;
}

@media (max-width: 1200px) {
  .header-music-player {
    min-width: 260px;
    max-width: 320px;
    padding: 8px 10px;
  }

  .music-title {
    font-size: 13px;
  }
}

@media (max-width: 900px) {
  .header-music-player {
    display: none;
  }
}