@import url('adaptive.css');

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

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Regular.ttf');
}
@font-face {
  font-family: 'Montserrat Bold';
  src: url('../fonts/Montserrat-Bold.ttf');
}

html {
  height: 100%;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.125vw;
  background: #282A2E;
  color: #fff;
  min-height: 100%;
}

/* Хедер */
.header {
  height: 100px;
  display: flex;
  align-items: center;
  background: #282A2E;
  justify-content: space-around;
}

.header-menu-wrapper {
  display: flex;
}

.header-menu-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style-type: none;
}

.header-menu-nav-items {
  margin-left: 5vw;
}

.header-menu-nav-items a:hover {
  color: #6e1faa;
}

.header-menu-nav-items-link {
  text-decoration: none;
  color: #8c90a3;
  font-family: 'Montserrat Bold';
  font-weight: 300;
  font-size: 1.125vw;
}

.menu, .menu-mobile {
  display: none;
}

/* Карусель */
.carousel-container {
  height: 60vw;
  background: #212429 url('../images/vamp_background.png') no-repeat center center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-text {
  gap: 4vw;
  display: flex;
  flex-direction: column;
}

.carousel-text-title {
  width: 40vw;
  font-family: 'Montserrat Bold';
  font-weight: 900;
  font-size: 2vw;
  padding-left: 8vw;
  align-self: flex-end;
}

.carousel-text-text {
  width: 40vw;
  font-size: 1.25vw;
  text-align: justify;
  padding-left: 8vw;
}

.carousel-button {
  width: 13vw;
  height: 3.5vw;
  border-radius: 2vw;
  border: none;
  background: linear-gradient(180deg, #6A021D 0%, #2C061D 100%);
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.30));
  align-self: baseline;
  justify-self: center;
}

.carousel-button-text {
  text-decoration: none;
  font-family: 'Montserrat';
  font-weight: 700;
  font-size: 1vw;
  color: #F0EAEA;
}

.carousel-main-item {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-content: center;
  align-items: center;
  width: 73vw;
  height: 40vw;
  flex-shrink: 0;
  border-radius: 3.125rem;
  background: url('../images/vamp_background.png') no-repeat center center;
  background-size: cover;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.30));
}

.carousel-img {
  width: 37vw;
  height: 50vw;
  flex-shrink: 0;
  grid-column: 2;
  grid-row: 1 / 4;
}

/* О разделе игры */
.about-game-one,
.about-game-two {
  height: 50vw;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.about-game-two {
  background: #212429;
}

.about-game-container-one,
.about-game-container-two {
  width: 86vw;
  height: 28vw;
  background: url('../images/golem_background.png') no-repeat center center;
  background-size: cover;
  display: flex;
  gap: 4.5vw;
  align-items: center;
  border-radius: 1.875rem;
  box-shadow: 0px 4px 20px 0px #1B1919;
}

.about-game-container-one {
  align-self: flex-end;
}

.about-game-container-two {
  align-self: flex-start;
}

.about-game-title {
  font-family: 'Montserrat Bold';
  font-weight: 700;
  font-size: 3vw;
  margin-left: 14.5vw;
}

.about-game-img {
  align-self: center;
  width: 38vw;
  height: 50vw;
  margin-bottom: 8vw;
}

.about-game-text {
  display: flex;
  flex-direction: column;
  gap: 2vw;
  width: 29vw;
}

.about-game-name {
  font-family: 'Montserrat Bold';
  font-weight: 700;
  font-size: 2.2vw;
}

.about-game-text-text {
  font-family: 'Montserrat';
  font-size: 1.125vw;
  color: #bec1d1;
  text-align: justify;
}

.about-game-button {
  width: 13vw;
  height: 3.5vw;
  border-radius: 2vw;
  border: none;
  background: radial-gradient(50% 50% at 50% 50%, #263576 0%, #524F99 100%);
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.30));
  align-self: flex-end;
}

.about-game-button-text {
  text-decoration: none;
  font-family: 'Montserrat';
  font-weight: 700;
  font-size: 1vw;
  color: #F0EAEA;
}

/* Новости */
.news {
  background: #212429;
  height: 50vw;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.news-container {
  display: flex;
  gap: 4vw;
  justify-content: center;
  align-content: center;
}

.news-title {
  font-family: 'Montserrat Bold';
  font-weight: 700;
  font-size: 3vw;
  margin-left: 14.5vw;
}

[class^="news-block-"] {
  width: 21vw;
  height: 32vw;
  border-radius: 1.5vw;
  background: #282A2E;
  box-shadow: 0px 4px 20px 0px #1B1919;
}

.news-img {
  width: 100%;
  height: 40%;
  border-radius: 1.5vw 1.5vw 0 0;
}

.text-block-one {
  display: flex;
  flex-direction: column;
  gap: 2vw;
  padding: 0 1vw;
}

.title-news-block-one {
  font-family: 'Montserrat Bold';
  font-weight: 700;
  font-size: 1.3vw;
}

.text-news-block-one {
  font-size: 1.125vw;
  color: #bec1d1;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  border: none;
  background-color: inherit;
  color: rgb(126, 81, 194);
  font-size: 1.125vw;
  cursor: pointer;
  display: inline-block;
}

.svg-img {
  width: 100%;
}

/* О компании */
.about-company {
  padding: 3vw 0;
  background: #212429;
  color: #bec1d1;
  font-size: 1.125vw;
}

.about-company-title {
  font-family: 'Montserrat Bold';
  font-weight: 700;
  font-size: 3vw;
  margin-bottom: 2vw;
  text-align: center;
  color: #fff;
}

.about-company-container {
  display: flex;
  gap: 4vw;
  justify-content: center;
  align-items: flex-start;
  max-width: 90vw;
  margin: 0 auto;
  background: #282A2E;
  padding: 2vw;
  border-radius: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.about-company-text {
  flex: 1 1 60%;
}

.about-company-text h2 {
  font-family: 'Montserrat Bold';
  font-weight: 700;
  font-size: 1.75vw;
  margin: 1.5vw 0 1vw 0;
  color: #fff;
}

.about-company-text ul {
  list-style: inside disc;
  margin-bottom: 1.5vw;
}

.about-company-text li {
  margin-bottom: 0.8vw;
  line-height: 1.4;
  font-size: 1.125vw;
  color: #bec1d1;
}

.about-company-text strong {
  color: #fff;
}

.about-company-text p {
  margin-top: 1.5vw;
  line-height: 1.6;
  font-size: 1vw;
  color: #a1a4b0;
}

/* Картинка */
.about-company-img {
  flex: 0 0 25%;
  max-width: 250px;
  object-fit: contain;
}

/* Футер */
.footer {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 150px;
  width: 100%;
}

.border-gradient {
  border: 5px solid;
  border-image-slice: 1;
}

.only-top {
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
}

.only-bottom {
  border-left: 0;
  border-right: 0;
  border-top: 0;
}

.border-gradient-purple {
  border-image-source: linear-gradient(to left, #f48516, #6e1faa);
}

.footer p {
  color: #8c90a3;
}

.footer-pages {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2vw;
}

.footer a {
  text-decoration: none;
  color: #F0EAEA;
  font-family: 'Montserrat Bold';
  font-weight: 700;
}

.footer a:hover {
  color: #6e1faa;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 1vw;
}

.footer h3 {
  font-family: 'Montserrat Bold';
}

.footer-copyright {
  display: flex;
  flex-direction: column;
  gap: 2vw;
}

.footer-socials {
  display: flex;
  justify-content: space-evenly;
}

.footer-button-socials {
  border: none;
  background-color: inherit;
  cursor: pointer;
  display: inline-block;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #ffffff;
  padding: 2vw;
  border-radius: 1vw;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  position: relative;
}

.modal-content h2 {
  margin-top: 0;
  font-size: 1.5em;
}

.modal-content label {
  display: block;
  margin-top: 1em;
  font-weight: bold;
}

.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 0.8em;
  margin-top: 0.5em;
  border: 1px solid #ccc;
  border-radius: 0.4em;
  font-size: 1em;
}

.modal-submit {
  margin-top: 1.5em;
  padding: 0.8em 2em;
  background-color: #222;
  color: #fff;
  border: none;
  border-radius: 0.5em;
  cursor: pointer;
  font-size: 1em;
  transition: background 0.3s;
}

.modal-submit:hover {
  background-color: #444;
}

.close-button {
  position: absolute;
  top: 1em;
  right: 1em;
  font-size: 1.5em;
  cursor: pointer;
  color: #666;
}

.request-button-wrapper {
  text-align: center;
  margin: 3em 0;
}

.open-request-button {
  padding: 1em 2em;
  font-size: 1.1em;
  background-color: #222;
  color: #fff;
  border: none;
  border-radius: 0.6em;
  cursor: pointer;
  transition: background 0.3s;
}

.open-request-button:hover {
  background-color: #444;
}

