@font-face {
  font-family: 'e-Ukraine';
  src: url('../assets/fonts/e-Ukraine-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'e-Ukraine';
  src: url('../assets/fonts/e-Ukraine-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'e-Ukraine';
  src: url('../assets/fonts/e-Ukraine-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'e-Ukraine';
  src: url('../assets/fonts/e-Ukraine-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Philosopher';
  src: url('../assets/fonts/Philosopher-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Philosopher';
  src: url('../assets/fonts/Philosopher-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* * {
  outline: 1px solid red;
} */

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

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
	line-height: 1;
    font-family: 'e-Ukraine', sans-serif;
    font-weight: 400;
    width: 100%;
}
body.no-scroll {
  overflow: hidden;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

header {
    display: flex;
    flex-direction: row;
    padding: 24px 64px;
    justify-content: space-between;
    top: 0;
    left: 0;
    /* position: fixed; */
    position: absolute;
    width: 100%;
    align-items: center;
    z-index: 1000;
}

.header-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
}

.header-btn {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    font-family: 'Philosopher';
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    position: relative;
    background-image: url(../assets/img/header_button-bg.png);
    width: 233px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 0.2s;
}

.header-btn-burger {
    display: none;
  }

.header-btn:hover {
    transform: scale(1.03);
}

.header-btn span {
    background: linear-gradient(to bottom, #FFF975, #FFFFFF); /* градиент сверху вниз */
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 18px;
}

.logo img {
    width: 200px;
}

.header-links {
    display: flex;
    flex-direction: row;
    gap: 50px;
}

.header-links a {
    text-decoration: none;
    color: #6F6144;
    font-family: 'Philosopher';
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.2s;
}

.header-links a:hover {
    color: #9A8B78;
}

/* Burger START */

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.burger span {
  width: 40px;
  height: 3px;
  background: #6F6144;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Burger END */

/* Lang block START */

.lang-dropdown {
    position: relative;
    display: inline-block;
    user-select: none;
  }

  .lang-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    background: #FFF5D5;
    border-radius: 8px;
    border: 1px solid #FFE49E;
    padding: 8px 12px;
    transition: background 0.2s;
  }

.current-lang {
    color: #3B2E18;
}

.lang-trigger:hover {
    background: #fef4d9;
}

  .arrow {
    width: 8px;
    height: 8px;
    border-right: 2px solid #3B2E18;
    border-bottom: 2px solid #3B2E18;
    transform: rotate(45deg);
    transition: transform 0.2s;
    margin-bottom: 2px;
  }

  .lang-menu {
    position: absolute;
    top: 100%;
    left: 0;
    /* background: #FFE49E; */
    border: 1px solid #FFE49E;
    border-radius: 8px;
    list-style: none;
    padding: 6px 0;
    display: none;
    min-width: 100%;
    /* box-shadow: 0 4px 10px rgba(0,0,0,0.4); */
  }

  .lang-dropdown.open .lang-menu {
    display: block;
    animation: fadeIn 0.2s ease;
  }

  .lang-menu li a {
    display: block;
    color: #3B2E18;
    text-decoration: none;
    padding: 8px 12px;
    transition: background 0.2s;
  }

  .lang-menu li a:hover {
    background: #f5e5c1;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
  }


/* Lang block END */

.hero {
    height: 100%;
    width: 100%;
    padding-bottom: 80px;
    background-image: url(../assets/img/mainbg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero::after {
    position: absolute;
    content: "";
    bottom: -20px;
    left: 0px;
    width: 100%;
    height: 32px;
    background: url(../assets/img/divider.svg) center center / contain repeat-x;
    z-index: 1;
}

.main_block {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 472px;
    margin-left: 120px;
}
.main_block h1 {
    text-align: center;
    font-family: 'Philosopher';
    font-weight: bold;
    color: #3B2A21;
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 32px;
}

.main_block-logo {
    width: 472px;
    margin-bottom: 24px;
}

.main_stat {
    display: flex;
    flex-direction: row;
    gap: 24px;
    margin-bottom: 36px;
}

.main_stat-el {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.main_stat-el p {
    color: #9F824A;
}

.main_stat-el span {
    color: #D8BC7F;
    font-size: 12px;
    font-weight: 400;
}

.primary_button {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    font-family: 'Philosopher';
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    position: relative;
    background-image: url(../assets/img/primary_button-bg.png);
    width: 350px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    text-decoration: none;
    margin-bottom: 16px;
    text-transform: uppercase;
    transition: transform 0.3s ease;
}

.primary_button:hover {
    transform: scale(1.06)
}

.primary_button span {
    background: linear-gradient(to bottom, #FFF975, #FFFFFF); /* градиент сверху вниз */
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.secondary_buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 12px;
}

.secondary_button {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    font-family: 'Philosopher';
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    position: relative;
    background-image: url(../assets/img/secondary_button-bg.svg);
    width: 138px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #4A3B1D;
    text-transform: uppercase;
    transition: transform 0.3s ease;
}

.secondary_button:hover {
    transform: scale(1.05);
}

.hero-char {
    width: 538px;
    position: absolute;
    top: 0;
    right: 66px;
    z-index: 0;
}

.hero-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-top: 176px;
    position: relative;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    gap: 136px;
}

.bottom-block {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.serverblock-title {
    font-family: 'Philosopher';
    color: #685a39;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 18px;
    letter-spacing: .5;
    margin-bottom: 20px;
}

.servers {
    display: flex;
    flex-direction: column;
    flex: 1 1 100%;
}

.server-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1 1 100%;
}

.server-el {
    background-color: #fffadf;
    border-radius: 8px;
    flex-flow: row;
    flex-shrink: 0;
    justify-content: space-between;
    align-items: center;
    width: 490px;
    height: auto;
    margin: 0;
    padding: 16px 22px;
    display: flex;
    position: relative;
    border: 1px solid #FFCF54;
    text-decoration: none;
    transition: transform 0.3s ease;
    flex: 1 1 100%;
}

.server-el:hover {
    transform: scale(1.01);
}

.first_server-el {
    background-color: #FFFFFF;
    border-radius: 8px;
    flex-flow: row;
    flex-shrink: 0;
    flex-direction: column;
    width: 490px;
    height: auto;
    margin: 0;
    padding: 16px 22px;
    display: flex;
    position: relative;
    border: 1px solid #FFCF54;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
    flex: 1 1 100%;
}

.first_server-el:hover {
    transform: scale(1.01);
}

.first_server-el-inner {
    display: flex;
    justify-content: space-between;
}

.first_server-desc {
    font-size: 14px;
    color: #8D847C;
    font-weight: 400;
    line-height: 1.5;
}

.server-el_left {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.rates {
    font-size: 24px;
    font-weight: bold;
    color: #413225;
}

.new_span {
    color: red;
    font-size: 12px;
    font-weight: 500;
}

.chronicles {
    font-size: 14px;
    font-weight: 400;
    color: #857A68;
}

.desc {
    font-size: 14px;
    font-weight: 400;
    color: #D1CAB2;
}

.server-el_right {
    background: #CCFBB4;
    display: flex;
    flex-direction: row;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 24px;
}

.online {
    color: #4D7648;
    font-size: 14px;
    font-weight: 500;
}

.online-first {
    color: white;
    font-weight: 400;
}

.server-el_right-red {
    background: red;
}

.server-el_right-purple {
    background: #D738FF;
}

.news_inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 678px;
}

.primary_news {
    width: 678px;
    height: 294px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    /* background-image: url(assets/img/primary_news.jpg); */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #FFCF54;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.primary_news:hover {
    transform: scale(1.01);
}

.primary_news::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #60442400 40%, #50371b 100%);
  pointer-events: none; /* чтобы не блокировал клики по контенту */
}

.primary_news-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: white;
}

.primary_news-tag {
    color: white;
    padding: 6px 8px;
    background-color: #ff0048cd;
    border-radius: 100px;
    border: 1px solid #FF0048;
    font-size: 12px;
    font-weight: 500;
    display: block;
    width: fit-content;
}

.primary_news-text p {
    font-size: 24px;
}

.primary_news-text span {
    color: #CCC5BC;
    font-size: 14px;
    font-weight: 400;
    line-height: 130%;
    width: 80%;
}

.secondary_news {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 8px;
}

.secondary_news-el {
    height: 150px;
    background-color: #d3d3d3;
    border-radius: 8px;
    border: 1px solid #FFCF54;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    flex: 1;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    background-image: url(../assets/img/secondary_news-1.png);
    overflow: hidden;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.secondary_news-el:hover {
    transform: scale(1.01);
}

.secondary_news-el::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #60442400 50%, #50371b 100%);
  pointer-events: none; /* чтобы не блокировал клики по контенту */
}

.secondary_news-el p {
    font-size: 14px;
    font-weight: 400;
}

/* Info block START*/

.info {
    padding: 132px 0px;
    position: relative;
}

.info-char {
    position: absolute;
    transform: scale(0.55);
    top: -531px;
    right: -530px;
    z-index: 2;
}

/* .info::after {
    position: absolute;
    content: "";
    bottom: -90px;
    left: 0px;
    width: 100%;
    height: 32px;
    background: url(assets/img/divider.svg) center center / cover no-repeat;
    z-index: 2;
    transform: scaleY(-1);
} */

.info_inner {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 32px;
    height: 500px;
}

.players_stat {
    width: 474px;
}

.players_stat-content {
    background: linear-gradient(180deg, #FFF7E1 0%, #FFF1CC 100%);
    height: 464px;
    border-radius: 8px;
    border: 1px solid #FFCF54;
    width: 100%;
     display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 0 0 474px;
}

.players_stat-content p {
    color: #766958;
    font-size: 14px;
}

.discord_block-content {
    border-radius: 8px;
    border: 1px solid #FFCF54;
}

.social_block {
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 1;
}

.social_block-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    flex: 1;  
    height: 100%;
}

.social-el {
    display: flex;
    flex-direction: row;
    background: linear-gradient(180deg, #FFF7E1 0%, #FFF1CC 100%);
    border-radius: 8px;
    border: 1px solid #FFCF54;
    flex: 1;
    text-decoration: none;
    padding: 16px 24px;
    align-items: center;
    gap: 12px;
    flex-grow: 1;
    justify-content: space-between;
    /* transition: all 0.3s ease; */
    transition: all 0.3s ease;
}

.social-el:hover {
    transform: scale(1.02);
}

.social-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-el img {
    width: 40px;
}

.social_img-tiktok {
    width: 36px !important;
}

.social-text p {
    font-size: 16px;
    font-weight: 500;
    color: #413225;
}

.social-el span {
    font-size: 12px;
    color: #766958;
}

/* Info block END*/



/* Start block START */

.start {
    /* background: #ffe5a2; */
    background: linear-gradient(180deg, #FFCA8E 0%, #ffca8e27 100%);
    padding: 132px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;

    background-image: url(../assets/img/bg_map.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.start::before {
    position: absolute;
    content: "";
    top: -20px;
    left: 0px;
    width: 100%;
    height: 32px;
    background: url(../assets/img/divider.svg) center center / contain repeat-x;
    z-index: 1;
    transform: scaleY(-1);
    /* background-color: #F4B174; */
}

/* .start::after {
    position: absolute;
    content: "";
    bottom: -20px;
    left: 0px;
    width: 100%;
    height: 32px;
    background: url(assets/img/divider.svg) center center / cover no-repeat;
    z-index: 2;
} */

.start::after {
    position: absolute;
    content: "";
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #ffc27df1 0%, #fff0beec 100%);
    z-index: 0;
}

.start_title {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.start_title p{
    font-size: 20px;
    color: #7f6d46;
    text-transform: uppercase;
    font-weight: 400;
    text-align: center;
}

.start_title h1{
    font-family: "Philosopher";
    font-weight: 600;
    text-transform: uppercase;
    font-size: 54px;
    color: #423120;
    text-align: center;
}

.start_content {
    margin-top: 64px;
    display: flex;
    flex-direction: row;
    gap: 32px;
}

.start-inner {
    width: 70%;
}

.step {
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: center;
    align-items: center;
    background: linear-gradient(180deg, #FFF7E1 0%, #FFF1CC 100%);
    padding: 32px 32px;
    border-radius: 16px;
    border: 1px solid #FFCF54;
    flex: 1;
}

.step h1 {
    font-size: 32px;
    font-family: "Philosopher";
    font-weight: 600;
    text-transform: uppercase;
    color: #423120;
}

.step_number {
    color: #ad9868;
}

.step p {
    color: #8e7357;
    font-size: 14px;
    line-height: 150%;
    text-align: center;
}

.step a {
    text-decoration: none;
    color: #423120;
    padding: 16px 48px;
    border: 1px solid #D1BF95;
    border-radius: 32px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.step a:hover {
    background-color: #f4e6c7;
}



/* Start block END */


/* Footer block START */

footer {
    background-color: #fff;
    padding: 64px 0;
    z-index: 3;
    position: relative;
}

.footer_nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.footer_title {
    font-size: 22px;
    text-transform: uppercase;
    color: #5F5035;
    font-family: "Philosopher";
    font-weight: 600;
}

.footer_row {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer_links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer_links a {
    text-decoration: none;
    color: #BBAE91;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer_links a:hover {
    color: #d7cdb5;
}



/* Footer block END */

/* Adaptive START */

@media (max-width: 1232px) {
    .container {
        padding: 0 32px;
    }

  .bottom-block {
    flex-direction: column;
  }

  .hero-char {
    display: none;
  }

  .header-links {
    display: none;
  }

  .hero-container {
    justify-content: center;
  }

  .first_server-el, .server-el {
    width: auto;
  }

  .news_inner {
    width: auto;
  }

  .primary_news {
    width: auto;
  }

  .main_block {
    margin-left: 0;
  }

  .info_inner {
    flex-wrap: wrap;
  }

  .players_stat {
    flex: 2 100%;
  }

  .discord_block {
    flex: 1;
  }

  .social_block {
    flex: 1;
    height: auto;
  }

  .info_inner {
    height: auto;
  }

  .discord_block-content {
    border: none;
  }

  .info-char {
    display: none;
  }

  .footer_nav {
    flex-direction: column;
  }

  .info-char {
    display: none;
  }

  .start-inner {
    width: 100%;
  }

  .footer_nav {
    gap: 40px;
  }

  .header-btn {
    display: none;
  }

  

  

  /* Burger START */

  .nav {
    position: absolute;
    top: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    gap: 16px;
    width: 100%;
    height: 100vh;
    border-left: 1px solid #ddd;
    display: none; /* скрываем по умолчанию */
  }

  .nav.active {
    display: flex; /* показываем при клике */
  }

  .burger {
    display: flex;
  }

  /* Анимация бургера при открытии */
  .burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  .burger.active span:nth-child(2) {
    opacity: 0;
  }
  .burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5.5px, -5.5px);
  }

  /* Burger END */

  .header-links a {
    font-size: 32px;
  }

  .header-links {
    gap: 32px;
  }

  .header-btn-burger {
    display: block;
  }
}

@media (max-width: 640px) {
    .container {
        padding: 0 24px;
    }

    .start_content {
        flex-direction: column;
    }

    .info_inner {
    flex-wrap: nowrap;
    flex-direction: column;
  }

  .players_stat {
    flex: 1;
    width: 100%;
  }

  .discord_block {
    flex: 1;
  }

  .social_block {
    flex: 1;
  }

  .server-list {
    gap: 4px;
  }

  .desc {
    display: none;
  }

  .bottom-block {
    gap: 40px;
  }

  .primary_news {
    padding: 16px;
  }

  .primary_news-text span {
    width: 100%;
  }

  .secondary_news-el {
    padding: 12px 16px;
  }

  .primary_news-tag {
    font-size: 14px;
    padding: 4px 6px;
  }

  .secondary_news-el p {
    line-height: 130%;
  }

  header {
    padding: 24px 16px;
  }

  .header-btn {
    display: none;
  }

  .main_block-logo {
    width: 392px;
  }

  .hero-inner {
    gap: 80px;
  }

  .server-el {
    padding: 16px;
  }

  .first_server-el {
    padding: 16px;
  }

  .info {
    padding: 80px 0;
  }

  .info_inner {
    gap: 48px;
  }

  .start::before {
    display: none;
  }

  .hero::after {
    display: none;
  }

  .start_title p {
    font-size: 16px;
  }

  .start_title {
    gap: 16px;
  }
}

@media (max-width: 440px) {
    .container {
        padding: 0 16px;
    }

    .main_block-logo {
      width: 360px;
    }

    .secondary_news {
      flex-direction: column;
    }

    .secondary_news-el {
      background-image: none;
      flex-direction: row-reverse;
      background: linear-gradient(180deg, #FFF7E1 0%, #FFF1CC 100%);
      border: 1px solid #FFCF54;
      align-items: center;
    }

    .secondary_news-el::before {
      background: linear-gradient(180deg, #FFF7E1 0%, #FFF1CC 100%);
    }

    .secondary_news-el p {
      color: #3B2A21;
    }
    
    .start_title h1 {
      font-size: 46px;
    }

    .step h1 {
      text-align: center;
      font-size: 30px;
    }
  }

/* Adaptive END */