@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');

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

body {
  font-family: 'Nunito', sans-serif;
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  background-attachment: fixed;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.6;
}

.container {
  max-width: 1450px;
  margin: 0 auto;
  padding: 0 15px;
}

.header {
  background: rgba(15, 12, 41, 0.7);
  backdrop-filter: blur(12px);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  align-items: center;
}

.header_logo {
  height: 80px;
  width: auto;
  filter: invert(1) drop-shadow(0 0 5px rgba(162, 155, 254, 0.8));
}

.header_nav {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}

.header_nav ul {
  display: flex;
  gap: 40px;
  list-style: none;
}

.header_link {
  text-decoration: none;
  color: #c4c4c4;
  font-weight: 700;
  transition: 0.3s;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
}

.header_link:hover {
  color: #fff;
  text-shadow: 0 0 10px #a29bfe;
}

.header button {
  background: linear-gradient(90deg, #6c5ce7, #a29bfe);
  border: none;
  color: #fff;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(108, 92, 231, 0.5);
  transition: 0.3s;
}

.header button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(108, 92, 231, 0.8);
}

.wellcome {
  position: relative;
  overflow: hidden;
  padding: 150px 0;
  text-align: center;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

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

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(15, 12, 41, 0.8), rgba(15, 12, 41, 0.4), #0f0c29);
}

.wellcome_title {
  font-size: 72px;
  font-weight: 900;
  margin-bottom: 20px;
  background: linear-gradient(to right, #ffffff, #a29bfe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.wellcome_text {
  font-size: 22px;
  color: #d1d8e0;
  max-width: 650px;
  margin: 0 auto 40px;
  font-weight: 700;
}

.wellcome_btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
}

.wellcome_btns button {
  padding: 15px 40px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  min-width: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
}

.wellcome_btns button:first-child {
  background: linear-gradient(45deg, #e056fd, #be2edd);
  border: none;
  color: #fff;
  box-shadow: 0 0 20px rgba(224, 86, 253, 0.4);
}

.wellcome_btns button:last-child {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.wellcome_btns button:hover {
  transform: translateY(-3px);
}

.news {
  padding: 80px 0;
}

.section_title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 50px;
}

.news_grid {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.games {
  color: #d1d8e0;
}

.news_card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  width: 380px;
  transition: 0.4s;
  backdrop-filter: blur(5px);
}

.news_card:hover {
  transform: translateY(-10px);
  border-color: #a29bfe;
}

.news_image_stub {
  width: 100%;
  height: auto;
  overflow: hidden;
}

.news_image_stub img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: rgba(0, 0, 0, 0.5);
}

.pr3 {
  opacity: 0.8;
}

.news_content {
  padding: 25px;
}

.news_date {
  color: #a29bfe;
  font-size: 14px;
  display: block;
  margin-bottom: 10px;
}

.news_name {
  font-size: 22px;
  margin-bottom: 15px;
}

.news_preview {
  color: #b2bec3;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.news_more {
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  border-bottom: 2px solid #e056fd;
}

.footer {
  background: linear-gradient(to bottom, rgba(15, 12, 41, 0.6), #0a081c);
  padding: 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
}

.footer-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  font-size: 28px;
  font-weight: 900;
  background: linear-gradient(to right, #a29bfe, #e056fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
}

.footer-about {
  color: #a4b0be;
  max-width: 250px;
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-copy {
  color: #636e72;
  font-size: 12px;
}

.footer-column h4 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 14px;
}

.footer-column a {
  text-decoration: none;
  color: #a4b0be;
  margin-bottom: 10px;
  font-size: 15px;
  transition: 0.3s;
}

.footer-column a:hover {
  color: #e056fd;
}

.payment-icons {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  color: #444;
  font-weight: 800;
}

.header_nav {
  display: none;
}

.header_actions {
  display: block;
  margin-left: auto;
}

.burger {
  width: 32px;
  height: 24px;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.burger span {
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

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

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.header_nav_mobile {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(15, 12, 41, 0.95);
  backdrop-filter: blur(12px);
  padding: 20px 0;
  display: none;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header_nav_mobile.active {
  display: block;
}

.header_nav_mobile ul {
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.header_nav_mobile .header_link {
  font-size: 18px;
  padding: 10px 0;
  display: block;
  width: 100%;
  text-align: center;
}

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

.wellcome {
  padding: 100px 0 60px;
}

.wellcome_title {
  font-size: 48px;
}

.wellcome_text {
  font-size: 18px;
  max-width: 90%;
}

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

.wellcome_btns button {
  min-width: auto;
  width: 100%;
  max-width: 320px;
  min-width: 250px;
}

.news {
  padding: 60px 0;
}

.news_grid {
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.news_card {
  width: 100%;
  max-width: 420px;
}

.footer-wrapper {
  flex-direction: column;
  gap: 40px;
  align-items: center;
  text-align: center;
}

.footer-column {
  align-items: center;
}

.payment-icons {
  justify-content: center;
}

@media (max-width: 470px) {
  .wellcome_title {
    font-size: 40px;
  }
}

@media (max-width: 400px) {
  .wellcome_title {
    font-size: 38px;
  }

  .wellcome_text {
    font-size: 16px;
  }
}

@media (min-width: 768px) {

  .wellcome_btns {
    flex-direction: row;
    gap: 24px;
    justify-content: center;
    align-items: center;
  }

  .header_nav {
    display: flex;
  }

  .burger,
  .header_nav_mobile {
    display: none;
  }

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

  .wellcome {
    padding: 140px 0 100px;
  }

  .wellcome_title {
    font-size: 60px;
  }

  .wellcome_text {
    font-size: 20px;
  }

  .wellcome_btns button {
    width: auto;
  }

  .news_grid {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .news_card {
    width: 48%;
    max-width: none;
  }

  .footer-wrapper {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: left;
  }

  .footer-column {
    align-items: flex-start;
  }
}

@media (min-width: 1024px) {

  .wellcome_title {
    font-size: 72px;
  }

  .wellcome_text {
    font-size: 22px;
  }

  .news_card {
    width: 380px;
  }

  .container {
    padding: 0 30px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1450px;
    padding: 0 40px;
  }
}