body {
  margin: 0;
  padding: 0;
  background: #f9f5f0;
}

body,
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  outline: none;
  font-family: Arial, Helvetica, sans-serif;
  border: none;
}

.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main {
  flex: 1 1 auto;
}
/* === AGE BANNER === */
.age-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #432323;
  color: #f9f5f0;
  text-align: center;
  padding: 6px 10px;
  font-size: 14px;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.age-banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.age-text {
  font-weight: bold;
  letter-spacing: 1px;
}

.age-subtext {
  font-size: 13px;
  opacity: 0.9;
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 42px; /* под баннером */
  width: 100%;
  background-color: #f2ead3;
  border-bottom: 2px solid #f4991a;
  z-index: 999;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.container {
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #344f1f;
  font-weight: 700;
  font-size: 18px;
  transition: color 0.3s ease;
}

.nav-logo img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f4991a;
}

.nav-logo:hover {
  color: #f4991a;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-menu a {
  text-decoration: none;
  color: #37353e;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu .active {
  color: #f4991a;
}

/* Отступ вниз, чтобы контент не перекрывался */
.wrapper {
  padding-top: 101px;
}
/* === HERO BANNER === */
.banner {
  position: relative;
  background: url("../images/home-banner.jpeg") center/cover no-repeat;
  color: #f9f5f0;
  text-align: center;
  padding: 140px 20px;
  min-height: 100vh;
}

.banner-overlay {
  background-color: rgba(55, 53, 62, 0.55);
  padding: 80px 20px;
  border-radius: 12px;
  max-width: 950px;
  margin: 0 auto;
}

.banner h1 {
  font-size: 42px;
  font-weight: 800;
  color: #f9f5f0;
  margin-bottom: 20px;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

.banner h1 span {
  color: #f4991a;
}

.banner p {
  font-size: 18px;
  line-height: 1.6;
  color: #f2ead3;
  margin-bottom: 35px;
}

.banner-btn {
  display: inline-block;
  background: linear-gradient(90deg, #f4991a, #344f1f);
  color: #f9f5f0;
  padding: 14px 36px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(67, 35, 35, 0.3);
}

.banner-btn:hover {
  transform: translateY(-3px);
  background: linear-gradient(90deg, #344f1f, #f4991a);
}

/* адаптив */
@media (max-width: 768px) {
  .banner h1 {
    font-size: 32px;
  }

  .banner p {
    font-size: 16px;
  }

  .banner-btn {
    font-size: 16px;
    padding: 12px 28px;
  }
}
/* === PARALLAX SECTION === */
.about-section {
  position: relative;
  overflow: hidden;
  color: #37353e;
  padding: 100px 0;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 130%;
  background: url("../images/home-paralax.jpeg") center/cover fixed no-repeat;
  transform: translateZ(0);
  z-index: 0;
  opacity: 0.35;
}
.about-container {
  position: relative;
  z-index: 2;
}

.flexbox {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.flexbody {
  flex: 1 1 50%;
  color: #344f1f;
}

.h2 {
  font-size: 36px;
  color: #432323;
  margin-bottom: 20px;
  font-weight: 800;
}

.para {
  font-size: 18px;
  line-height: 1.7;
  color: #37353e;
  background-color: rgba(249, 245, 240, 0.85);
  padding: 20px;
  border-radius: 8px;
}

.image {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
}

.image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(67, 35, 35, 0.25);
  border: 2px solid #f4991a;
  background-color: #f2ead3;
}

/* Анимация появления */
.about-section .h2,
.about-section .para,
.about-section .image img {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-section.visible .h2,
.about-section.visible .para,
.about-section.visible .image img {
  opacity: 1;
  transform: translateY(0);
}

/* адаптив */
@media (max-width: 768px) {
  .h2 {
    font-size: 28px;
  }
  .para {
    font-size: 16px;
  }
  .flexbox {
    flex-direction: column;
  }
}
/* === GAME SHOWCASE SECTION === */
.section-legion {
  background-color: #F9F5F0;
  padding: 100px 0;
}

.section-legion .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.flexbox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}

.img {
  flex: 1 1 45%;
  display: block;
  transition: transform 0.4s ease;
}

.img img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(67, 35, 35, 0.25);
  border: 2px solid #F4991A;
}

.img:hover {
  transform: scale(1.03);
}

.flexbody {
  flex: 1 1 50%;
  color: #344F1F;
}

.h2 {
  font-size: 38px;
  color: #432323;
  font-weight: 800;
  margin-bottom: 20px;
}

.para {
  font-size: 18px;
  line-height: 1.7;
  color: #37353E;
  margin-bottom: 30px;
  background-color: rgba(242, 234, 211, 0.75);
  padding: 20px;
  border-radius: 8px;
  border-left: 5px solid #F4991A;
}

.cta-btn {
  display: inline-block;
  background: linear-gradient(90deg, #F4991A, #344F1F);
  color: #F9F5F0;
  font-size: 18px;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(67, 35, 35, 0.3);
}

.cta-btn:hover {
  transform: translateY(-3px);
  background: linear-gradient(90deg, #344F1F, #F4991A);
}

/* адаптив */
@media (max-width: 900px) {
  .flexbox {
    flex-direction: column;
  }
  .img, .flexbody {
    flex: 1 1 100%;
  }
  .h2 {
    font-size: 30px;
  }
  .para {
    font-size: 16px;
  }
  .cta-btn {
    font-size: 16px;
    padding: 12px 28px;
  }
}
/* === FOOTER === */
.footer {
  background-color: #432323;
  color: #F9F5F0;
  padding: 70px 20px;
  text-align: center;
  border-top: 3px solid #F4991A;
}

.footer h2 {
  color: #F4991A;
  font-size: 28px;
  margin-bottom: 25px;
  font-weight: 800;
}

.footer .para {
  color: #F2EAD3;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.footerlinks {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-bottom: 30px;
}

.footerlinks a {
  color: #F9F5F0;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
  border-bottom: 2px solid transparent;
}

.footerlinks a:hover {
  color: #F4991A;
  border-bottom: 2px solid #F4991A;
}

.copyrights {
  font-size: 14px;
  color: #F2EAD3;
  margin-top: 20px;
  opacity: 0.9;
}

/* адаптив */
@media (max-width: 768px) {
  .footer {
    padding: 60px 15px;
  }

  .footer h2 {
    font-size: 24px;
  }

  .footerlinks {
    gap: 18px;
  }

  .footerlinks a {
    font-size: 15px;
  }
}
/* === GAME IFRAME SECTION === */
.game-section {
  background-color: #F2EAD3;
  padding: 100px 20px;
  text-align: center;
}

.game-title {
  font-size: 38px;
  font-weight: 800;
  color: #432323;
  margin-bottom: 15px;
}

.game-subtitle {
  color: #344F1F;
  font-size: 18px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 50px;
}

.iframe-wrapper {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  border: 3px solid #F4991A;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(67, 35, 35, 0.25);
}

.iframe-wrapper iframe {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
  background-color: #000;
}

.note {
  margin-top: 25px;
  font-size: 15px;
  color: #37353E;
  opacity: 0.9;
}

/* адаптив */
@media (max-width: 768px) {
  .game-title {
    font-size: 28px;
  }

  .game-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .iframe-wrapper iframe {
    height: 420px;
  }
}
/* === ABOUT / VISION SECTION === */
.vision-section {
  background-color: #F2EAD3;
  color: #37353E;
  padding: 100px 20px;
  text-align: left;
}

.vision-section h4 {
  color: #432323;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 15px;
  border-left: 5px solid #F4991A;
  padding-left: 12px;
}

.vision-section .para {
  font-size: 17px;
  line-height: 1.7;
  color: #344F1F;
  margin-bottom: 40px;
  background-color: rgba(249, 245, 240, 0.8);
  padding: 18px 20px;
  border-radius: 8px;
  border-left: 4px solid #F4991A;
}

/* адаптив */
@media (max-width: 768px) {
  .vision-section h4 {
    font-size: 22px;
  }
  .vision-section .para {
    font-size: 15px;
    padding: 15px;
  }
}
/* === CONTACT FORM SECTION === */
.formsection {
  background-color: #F2EAD3;
  color: #344F1F;
  padding: 100px 20px;
  text-align: center;
}

.form-title {
  font-size: 36px;
  color: #432323;
  font-weight: 800;
  margin-bottom: 40px;
}

.formbox {
  max-width: 650px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.formfield,
.textarea-cu {
  width: 100%;
  padding: 15px 18px;
  font-size: 16px;
  border-radius: 8px;
  border: 2px solid #F4991A;
  background-color: #F9F5F0;
  color: #37353E;
  font-family: Arial, Helvetica, sans-serif;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.formfield:focus,
.textarea-cu:focus {
  border-color: #344F1F;
  box-shadow: 0 0 8px rgba(52, 79, 31, 0.3);
  outline: none;
}

.textarea-cu {
  min-height: 140px;
  resize: vertical;
}

.center {
  display: flex;
  justify-content: center;
}

.submit-btn {
  background: linear-gradient(90deg, #F4991A, #344F1F);
  color: #F9F5F0;
  font-weight: 700;
  font-size: 17px;
  padding: 14px 36px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(67, 35, 35, 0.3);
}

.submit-btn:hover {
  background: linear-gradient(90deg, #344F1F, #F4991A);
  transform: translateY(-3px);
}

/* адаптив */
@media (max-width: 768px) {
  .form-title {
    font-size: 28px;
  }
  .formfield,
  .textarea-cu {
    font-size: 15px;
  }
  .submit-btn {
    font-size: 16px;
    padding: 12px 28px;
  }
}
/* === DISCLAIMER SECTION === */
.disclaimer-section {
  background-color: #F9F5F0;
  color: #344F1F;
  padding: 100px 20px;
  line-height: 1.7;
}

.disclaimer-section h4 {
  font-size: 24px;
  color: #432323;
  margin-bottom: 10px;
  font-weight: 800;
  border-left: 5px solid #F4991A;
  padding-left: 12px;
}

.disclaimer-section .para {
  background-color: rgba(242, 234, 211, 0.8);
  border-left: 4px solid #F4991A;
  padding: 18px 20px;
  margin-bottom: 35px;
  border-radius: 8px;
  color: #37353E;
  font-size: 17px;
}

.disclaimer-section a {
  color: #F4991A;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.disclaimer-section a:hover {
  color: #344F1F;
}

/* адаптив */
@media (max-width: 768px) {
  .disclaimer-section h4 {
    font-size: 20px;
  }
  .disclaimer-section .para {
    font-size: 15px;
    padding: 15px;
  }
}
/* === PRIVACY POLICY SECTION === */
.privacy-section {
  background-color: #F9F5F0;
  color: #344F1F;
  padding: 100px 20px;
  line-height: 1.7;
}

.privacy-section h4 {
  font-size: 24px;
  color: #432323;
  margin-bottom: 10px;
  font-weight: 800;
  border-left: 5px solid #F4991A;
  padding-left: 12px;
}

.privacy-section .para {
  background-color: rgba(242, 234, 211, 0.85);
  border-left: 4px solid #F4991A;
  padding: 18px 20px;
  margin-bottom: 35px;
  border-radius: 8px;
  color: #37353E;
  font-size: 17px;
}

.privacy-section a {
  color: #F4991A;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.privacy-section a:hover {
  color: #344F1F;
}

/* адаптив */
@media (max-width: 768px) {
  .privacy-section h4 {
    font-size: 20px;
  }

  .privacy-section .para {
    font-size: 15px;
    padding: 15px;
  }
}
/* === TERMS OF USE SECTION === */
.terms-section {
  background-color: #F9F5F0;
  color: #344F1F;
  padding: 100px 20px;
  line-height: 1.7;
}

.terms-section h4 {
  font-size: 24px;
  color: #432323;
  margin-bottom: 10px;
  font-weight: 800;
  border-left: 5px solid #F4991A;
  padding-left: 12px;
}

.terms-section .para {
  background-color: rgba(242, 234, 211, 0.85);
  border-left: 4px solid #F4991A;
  padding: 18px 20px;
  margin-bottom: 35px;
  border-radius: 8px;
  color: #37353E;
  font-size: 17px;
}

.terms-section a {
  color: #F4991A;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.terms-section a:hover {
  color: #344F1F;
}

/* адаптив */
@media (max-width: 768px) {
  .terms-section h4 {
    font-size: 20px;
  }
  .terms-section .para {
    font-size: 15px;
    padding: 15px;
  }
}
/* === AGE VERIFICATION MODAL === */
.age-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(55, 53, 62, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  backdrop-filter: blur(4px);
}

.age-modal-content {
  background: #F9F5F0;
  color: #344F1F;
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 8px 25px rgba(67, 35, 35, 0.3);
  border: 3px solid #F4991A;
  animation: popIn 0.4s ease;
}

@keyframes popIn {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.age-modal-content h2 {
  color: #432323;
  margin-bottom: 15px;
  font-size: 26px;
  font-weight: 800;
}

.age-modal-content p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.age-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid #F4991A;
  margin-bottom: 20px;
  object-fit: cover;
}

.age-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.btn-yes,
.btn-no {
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-yes {
  background: linear-gradient(90deg, #F4991A, #344F1F);
  color: #F9F5F0;
}

.btn-yes:hover {
  transform: translateY(-2px);
  background: linear-gradient(90deg, #344F1F, #F4991A);
}

.btn-no {
  background: #432323;
  color: #F9F5F0;
}

.btn-no:hover {
  background: #37353E;
}

.hidden {
  display: none !important;
}
/* === COOKIES BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #F2EAD3;
  color: #37353E;
  border: 2px solid #F4991A;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(67, 35, 35, 0.25);
  padding: 18px 20px;
  max-width: 320px;
  font-size: 14px;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: slideIn 0.5s ease;
}

@keyframes slideIn {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-banner a {
  color: #F4991A;
  text-decoration: none;
  font-weight: 600;
}

.cookie-banner a:hover {
  color: #344F1F;
}

.cookie-banner button {
  align-self: flex-end;
  background: linear-gradient(90deg, #F4991A, #344F1F);
  color: #F9F5F0;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-banner button:hover {
  background: linear-gradient(90deg, #344F1F, #F4991A);
  transform: translateY(-2px);
}

.cookie-banner.hidden {
  display: none !important;
}
